rk
2026-05-22 552238172036acf08ccf36134282a06b5e21b936
small-program/shop/pages/store-info/store-info.vue
@@ -8,7 +8,7 @@
            <text class="text-input align-left" style="font-weight: 600;margin-left: 30rpx;">{{info.name}}</text>
         </view>
         <view class="form-group">
            <text class="label">门店头像</text>
            <text class="label">门店头像<text class="required">*</text></text>
            <view class="upload-row" style="margin-top: 20rpx;">
               <view class="upload-box" @click="chooseAndUploadImage(1)">
                  <view class="upload-plus">+</view>
@@ -22,7 +22,7 @@
         <view class="divider"></view>
         <view class="form-group textarea-group">
            <text class="label">门店介绍</text>
            <input v-model="form.content" class="text-input align-left" type="text" placeholder="请输入门店介绍" placeholder-style="color: #B2B2B2;" />
            <textarea v-model="form.content"   maxlength="200" placeholder="请输入门店介绍"  class="text-area charge-area" placeholder-style="color: #B2B2B2;" auto-height></textarea>
         </view>
         <view class="divider"></view>
         <view class="form-group switch-group">
@@ -40,15 +40,15 @@
               <text class="label">营业时间</text>
               <text class="required">*</text>
            </view>
            <input v-model="form.shopHours" class="text-input align-left" type="text" placeholder="必填,请输入门店营业时间" placeholder-style="color: #B2B2B2;" />
            <textarea v-model="form.shopHours"  maxlength="200" placeholder="必填,请输入门店营业时间"  class="text-area charge-area" placeholder-style="color: #B2B2B2;" auto-height></textarea>
         </view>
         <view class="divider"></view>
         <view class="form-group">
            <text class="label">寄存类型</text>
            <input v-model="form.depositTypes" class="text-input align-left" type="text" placeholder="请输入可寄存类型" placeholder-style="color: #B2B2B2;" />
            <textarea v-model="form.depositTypes"   maxlength="200" placeholder="请输入可寄存类型"  class="text-area charge-area" placeholder-style="color: #B2B2B2;" auto-height></textarea>
         </view>
         <view class="divider"></view>
         <view class="form-group">
         <!-- <view class="form-group">
            <view class="label-row">
               <text class="label">配送范围</text>
               <text class="required">*</text>
@@ -59,14 +59,14 @@
            </view>
         </view>
         <view class="divider"></view>
         <view class="divider"></view> -->
         <view class="form-group textarea-group last-group">
            <view class="label-row">
               <text class="label">收费标准</text>
               <text class="required">*</text>
            </view>
            <textarea v-model="form.feeStandard" class="text-area charge-area" placeholder="必填,请输入门店收费标准" placeholder-style="color: #B2B2B2;" auto-height></textarea>
            <textarea v-model="form.feeStandard"  placeholder="必填,请输入门店收费标准" class="text-area charge-area" placeholder-style="color: #B2B2B2;" auto-height></textarea>
         </view>
      </view>
@@ -90,7 +90,7 @@
              businessType: 0,
              content: "",
              coverImg: "",
              deliveryArea: 0,
            //   deliveryArea: 0,
              depositTypes:"" ,
              feeStandard:"" ,
              shopHours: ""
@@ -124,7 +124,7 @@
                    businessType: res.data.businessType || 0,
                    content: res.data.content || '',
                    coverImg:  res.data.coverImg || '',
                    deliveryArea: res.data.deliveryArea || 0,
                  //   deliveryArea: res.data.deliveryArea || 0,
                    depositTypes: res.data.depositTypes || '',
                    feeStandard:res.data.feeStandard || '',
                    shopHours: res.data.shopHours || '',
@@ -136,6 +136,13 @@
            if(this.loading){
               return;
            }
            if(!this.form.coverImg){
               uni.showToast({
                  title:"请上传门店头像",
                  icon:'none'
               })
               return
            }
            if(!this.form.shopHours){
               uni.showToast({
                  title:"请填写营业时间",
@@ -143,13 +150,13 @@
               })
               return
            }
            if(!this.form.deliveryArea){
               uni.showToast({
                  title:"请填写配送范围",
                  icon:'none'
               })
               return
            }
            // if(!this.form.deliveryArea){
            //    uni.showToast({
            //       title:"请填写配送范围",
            //       icon:'none'
            //    })
            //    return
            // }
            if(!this.form.feeStandard){
               uni.showToast({
                  title:"请填写收费标准",