MrShi
2026-04-29 39131d006a588a264ec82109df146f29a99d8f6a
small-program/pages/details-entry/details-entry.vue
@@ -5,7 +5,7 @@
            <image :src="statusIcon" mode="widthFix"></image>
            <text>{{ statusText }}</text>
         </view>
         <view class="head-bottom">
         <view class="head-bottom" v-if="statusBottomText">
            {{ statusBottomText }}
         </view>
      </view>
@@ -38,76 +38,17 @@
            <view class="list-item-label">联系人电话</view>
            <view class="list-item-value">{{ form.linkPhone }}</view>
         </view>
         <view class="list-item">
            <view class="list-item-label">联系人身份证</view>
            <view class="list-item-value">{{ form.idcard }}</view>
         </view>
         <template v-if="form.companyType === 0">
            <view class="list-item">
               <view class="list-item-label">联系人身份证</view>
               <view class="list-item-value">{{ form.idcard }}</view>
            </view>
            <view class="list-item">
               <view class="list-item-label">支付宝账号</view>
               <view class="list-item-value">{{ form.aliAccount }}</view>
            </view>
         </template>
         <template v-if="form.companyType === 0">
            <view class="list-item">
               <view class="list-item-label">支付宝姓名</view>
               <view class="list-item-value">{{ form.aliName }}</view>
            </view>
         </template>
         <view class="list-item" style="flex-direction: column; align-items: flex-start;">
            <view class="list-item-label" style="margin-bottom: 30rpx;">{{form.companyType === 0 ? '身份证正反面' : '法人身份证正反面'}}</view>
            <view class="idcard">
               <view class="idcard-image" v-if="form.idcardImg" @click="previewImage(form.idcardImg)">
                  <image :src="getFullPath(form.idcardImg)" mode="aspectFill"></image>
               </view>
               <view class="idcard-image" v-if="form.idcardImgBack" @click="previewImage(form.idcardImgBack)">
                  <image :src="getFullPath(form.idcardImgBack)" mode="aspectFill"></image>
               </view>
            </view>
         </view>
         <view class="list-item" style="flex-direction: column; align-items: flex-start;">
            <view class="list-item-label" style="margin-bottom: 30rpx;">门店门头照片</view>
            <view class="imgList">
               <view class="imgItem" v-for="(img, index) in form.storeFrontImgs" :key="index" @click="previewImage(img)">
                  <image :src="getFullPath(img)" mode="aspectFill"></image>
               </view>
            </view>
         </view>
         <view class="list-item" style="flex-direction: column; align-items: flex-start;">
            <view class="list-item-label" style="margin-bottom: 30rpx;">门店内部照片</view>
            <view class="imgList">
               <view class="imgItem" v-for="(img, index) in form.storeInteriorImgs" :key="index" @click="previewImage(img)">
                  <image :src="getFullPath(img)" mode="aspectFill"></image>
               </view>
            </view>
         </view>
         <view class="list-item" style="flex-direction: column; align-items: flex-start;">
            <view class="list-item-label" style="margin-bottom: 30rpx;">其他材料</view>
            <view class="imgList">
               <view class="imgItem" v-for="(img, index) in form.otherMaterialImgs" :key="index" @click="previewImage(img)">
                  <image :src="getFullPath(img)" mode="aspectFill"></image>
               </view>
            </view>
         </view>
         <template v-if="form.companyType === 0">
            <view class="list-item" style="flex-direction: column; align-items: flex-start;">
               <view class="list-item-label" style="margin-bottom: 30rpx;">有效劳工合同</view>
               <view class="imgList">
                  <view class="imgItem" v-for="(img, index) in form.laborContractImgs" :key="index" @click="previewImage(img)">
                     <image :src="getFullPath(img)" mode="aspectFill"></image>
                  </view>
               </view>
            </view>
            <view class="list-item" style="flex-direction: column; align-items: flex-start;">
               <view class="list-item-label" style="margin-bottom: 30rpx;">有效社保缴纳证明</view>
               <view class="imgList">
                  <view class="imgItem" v-for="(img, index) in form.socialSecurityImgs" :key="index" @click="previewImage(img)">
                     <image :src="getFullPath(img)" mode="aspectFill"></image>
                  </view>
               </view>
            </view>
         </template>
         <template v-else>
         <template v-if="form.companyType === 1">
            <view class="list-item">
               <view class="list-item-label">法人姓名</view>
               <view class="list-item-value">{{ form.legalPersonName }}</view>
@@ -116,19 +57,66 @@
               <view class="list-item-label">企业支付宝账号</view>
               <view class="list-item-value">{{ form.aliAccount }}</view>
            </view>
            <view class="list-item">
               <view class="list-item-label">支付宝姓名</view>
               <view class="list-item-value">{{ form.aliName }}</view>
         </template>
         <view class="list-item" style="flex-direction: column; align-items: flex-start;">
            <view class="list-item-label" style="margin-bottom: 30rpx;">{{form.companyType === 0 ? '身份证正反面' : '法人身份证正反面'}}</view>
            <view class="idcard">
               <view class="idcard-image" v-if="form.idcardImg" @click="previewImage(form.idcardImg)">
                  <image :src="getFullPath(form.idcardImg)" mode="heightFix"></image>
               </view>
               <view class="idcard-image" v-if="form.idcardImgBack" @click="previewImage(form.idcardImgBack)">
                  <image :src="getFullPath(form.idcardImgBack)" mode="heightFix"></image>
               </view>
            </view>
            <view class="list-item">
               <view class="list-item-label">法人身份证号</view>
               <view class="list-item-value">{{ form.legalPersonCard }}</view>
         </view>
         <view class="list-item" style="flex-direction: column; align-items: flex-start;">
            <view class="list-item-label" style="margin-bottom: 30rpx;">门店门头照片</view>
            <view class="imgList">
               <view class="imgItem" v-for="(img, index) in form.storeFrontImgs" :key="index" @click="previewImage(img)">
                  <image style="height: 100%;" :src="getFullPath(img)" mode="heightFix"></image>
               </view>
            </view>
         </view>
         <view class="list-item" style="flex-direction: column; align-items: flex-start;">
            <view class="list-item-label" style="margin-bottom: 30rpx;">门店内部照片</view>
            <view class="imgList">
               <view class="imgItem" v-for="(img, index) in form.storeInteriorImgs" :key="index" @click="previewImage(img)">
                  <image style="height: 100%;" :src="getFullPath(img)" mode="heightFix"></image>
               </view>
            </view>
         </view>
         <view class="list-item" style="flex-direction: column; align-items: flex-start;">
            <view class="list-item-label" style="margin-bottom: 30rpx;">其他材料</view>
            <view class="imgList">
               <view class="imgItem" v-for="(img, index) in form.otherMaterialImgs" :key="index" @click="previewImage(img)">
                  <image style="height: 100%;" :src="getFullPath(img)" mode="heightFix"></image>
               </view>
            </view>
         </view>
         <template v-if="form.companyType === 0">
            <view class="list-item" style="flex-direction: column; align-items: flex-start;">
               <view class="list-item-label" style="margin-bottom: 30rpx;">有效劳工合同</view>
               <view class="imgList">
                  <view class="imgItem" v-for="(img, index) in form.laborContractImgs" :key="index" @click="previewImage(img)">
                     <image style="height: 100%;" :src="getFullPath(img)" mode="heightFix"></image>
                  </view>
               </view>
            </view>
            <view class="list-item" style="flex-direction: column; align-items: flex-start;">
               <view class="list-item-label" style="margin-bottom: 30rpx;">社保缴纳证明</view>
               <view class="imgList">
                  <view class="imgItem" v-for="(img, index) in form.socialSecurityImgs" :key="index" @click="previewImage(img)">
                     <image style="height: 100%;" :src="getFullPath(img)" mode="heightFix"></image>
                  </view>
               </view>
            </view>
         </template>
         <template v-else>
            <view class="list-item" style="flex-direction: column; align-items: flex-start;">
               <view class="list-item-label" style="margin-bottom: 30rpx;">营业执照</view>
               <view class="imgList">
                  <view class="imgItem" v-if="form.businessImg" @click="previewImage(form.businessImg)">
                     <image :src="getFullPath(form.businessImg)" mode="aspectFill"></image>
                     <image style="height: 100%;" :src="getFullPath(form.businessImg)" mode="heightFix"></image>
                  </view>
               </view>
            </view>
@@ -173,7 +161,8 @@
               businessImg: '',
               depositAmount: '',
               aliName: '',
               legalPersonCard: ''
               legalPersonCard: '',
               auditRemark: ''
            },
            imgPrefix: '',
            statusText: '平台审核中',
@@ -196,7 +185,7 @@
            return arr.join('/')
         }
      },
      onLoad() {
      onShow() {
         this.getMyShopData()
      },
      methods: {
@@ -305,11 +294,12 @@
                     3: '门店已入驻'
                  }
                  this.shopAuditStatus = data.auditStatus || 0
                  this.form.auditRemark = data.auditRemark || ''
                  this.statusText = statusMap[this.shopAuditStatus] || '平台审核中'
                  const bottomTextMap = {
                     0: '审核结果将通过短信/订阅消息通知您',
                     1: '请支付门店入驻押金',
                     2: '营业执照过期,请重新提交审核',
                     2: this.form.auditRemark,
                     3: ' '
                  }
                  this.statusBottomText = bottomTextMap[this.shopAuditStatus] || bottomTextMap[0]
@@ -357,7 +347,7 @@
                  border-radius: 8rpx;
                  overflow: hidden;
                  image {
                     width: 100%;
                     height: 100%;
                  }
               }
            }
@@ -391,7 +381,9 @@
      }
      .head {
         width: 100%;
         height: 248rpx;
         // height: 248rpx;
         padding: 70rpx 0;
         box-sizing: border-box;
         display: flex;
         flex-direction: column;
         align-items: center;