-
zhangwei
2025-03-24 2d43a1df3f5ba42710e6d21c27d1e13bdb8dfd56
src/pages/default/index.vue
@@ -2,7 +2,7 @@
   <view class="content">
      <view class="chuany-flex chuany-flex-direction chuany-paddingbottom-100 chuany-align-center">
         <view class="logo">
            <image src="/static/logo.png"></image>
            <image mode="widthFix" src="/static/boss.png"></image>
         </view>
         <text class="title chuany-padding18 c-m-t-10">欢迎来到寿安工业区</text>
         <text class="title"> </text>
@@ -10,7 +10,7 @@
      </view>
      <view class="titlecon chuany-flex chuany-align-center" @click="goEnterprise">
         <view class="logo">
            <image src="/static/boss.png"></image>
            <image mode="widthFix" src="/static/logo.png"></image>
         </view>
         <view class="chuany-flex chuany-justify-between chuany-paddingleft-28 vwidth">
            <text class="chuany-font36">我是企业</text>
@@ -20,7 +20,7 @@
      </view>
      <view class="titlecon chuany-flex chuany-align-center c-m-b-140" @click="goWorker">
         <view class="logo">
            <image src="/static/worker.png"></image>
            <image mode="widthFix" src="/static/worker.png"></image>
         </view>
         <view class="chuany-flex chuany-justify-between chuany-paddingleft-28 vwidth">
            <text class="chuany-font36">我是工人</text>
@@ -42,7 +42,7 @@
         uni.getStorage({
            key: 'identity',
            success: function (res) {
               console.log('identity',res.data);
               console.log('identity   www',res.data);
               if(res.data){
                  uni.switchTab({
                     url: '/pages/index/index'
@@ -86,13 +86,13 @@
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background-color: #e8eaed;
      background: linear-gradient(to bottom, #B4DEFF, #ffffff);
      height: 100vh;
   }
   .logo {
      height: 140rpx;
      width: 140rpx;
      height: 160rpx;
      width: 160rpx;
      /* margin-top: 200rpx; */
      /* margin-left: auto;
      margin-right: auto; */
@@ -101,7 +101,7 @@
      /* 超出容器的图片部分将被隐藏 */
      image {
         width: 100%;
         width: 80%;
         /* 图片宽度自适应容器宽度 */
         height: 100%;
         /* 图片高度自适应容器高度 */