caiyuqin 4 месяцев назад
Родитель
Сommit
9f02fd8404

+ 1 - 1
pages/login/components/classification.vue

@@ -70,7 +70,7 @@ export default {
   left: 0;
   display: flex;
   align-items: end;
-  z-index: 999;
+  z-index: 9999999;
 
   .content {
     width: 100%;

+ 70 - 38
pages/login/settled.vue

@@ -1,8 +1,6 @@
 <template>
-	<view>
-		<cu-custom :bgColor="title == '申请入驻' ? 'bg-gradual-blue1' : 'bg-fff'" :isBack="true">
-			<block slot="content">{{ title }}</block>
-		</cu-custom>
+	<view class='home-content'>
+		 <u-navbar :title="title" :autoBack="true" :placeholder="true" bgColor="linear-gradient( 0deg, #D6E9FF 0%, #FFFFFF 100%);"></u-navbar>
 		<view class="progress" v-if="!merchantId">
 			<view class="progress-style progress-bag">
 				<view v-if="tab == 1" class="progress-icon"></view>
@@ -37,7 +35,7 @@
 					</view>
 				</view> -->
 
-				<view class="borderRadiu margin-top1" style="height: 67vh;overflow-y: auto;">
+				<view class="borderRadiu margin-top1">
 					<view class="flex cu-form-group ">
 						<view class="content ">
 							<text class="text-bold text-500 head-title">提交经营主体资料</text>
@@ -48,9 +46,8 @@
 						<view class="title" style="text-align: center;">营业执照</view>
 						<view style="border-bottom: 1px solid #EEEEEE;">
 							<view class="business-img flex align-center">
-								<image :src="businessLicenseImg ? businessLicenseImg : '/static/login/yingyezhizhao.png'" mode=""
-									@click="businessChange('businessLicense')">
-								</image>
+								<image :src="businessLicenseImg ? businessLicenseImg : '/static/login/yingyezhizhao.png'" mode="" v-if='form.localMerchantInfoExamine.status==0'></image>
+								<image :src="businessLicenseImg ? businessLicenseImg : '/static/login/yingyezhizhao.png'" mode="" v-else @click="businessChange('businessLicense')"></image>
 							</view>
 						</view>
 						<view class="business-prompt">
@@ -59,43 +56,49 @@
 					</view>
 					<view class=" cu-form-group">
 						<view class="title"> 主体类型</view>
-						<view style="display: flex;width: 74%;justify-content: space-between;" @click="showSelectLocality = true">
+						<text class='edit-class' v-if='form.localMerchantInfoExamine.status==0'> {{ typeLabel }}</text>
+
+						<view style="display: flex;width: 74%;justify-content: space-between;" @click="showSelectLocality = true" v-else>
 							<view style="font-size: 30rpx;">
 								<text v-if="typeLabel"> {{ typeLabel }}</text>
 								<text v-else class='phone-placeholder'>请选择主体类型</text>
 							</view>
 							<u-icon name="arrow-right" style="margin-left: 17rpx;color: #C7C6CA"></u-icon>
 						</view>
+					
 						<!-- <u-select v-model="showSelectLocality" :list="selectLocality" @confirm="confirmLocality"></u-select> -->
 					</view>
 					<view class="cu-form-group">
 						<view class="title">公司名称</view>
-						<input placeholder="请输入公司名称" v-model="form.corporateName" name="input" placeholder-class="phone-placeholder"></input>
+						<text class='edit-class' v-if='form.localMerchantInfoExamine.status==0'> {{ form.corporateName }}</text>
+						<input placeholder="请输入公司名称" v-model="form.corporateName" name="input" placeholder-class="phone-placeholder" v-else/>
 					</view>
 					<view class="cu-form-group">
 						<view class="title">统一代码</view>
-						<input placeholder="请输入统一社会信用代码" v-model="form.creditCode" name="input" placeholder-class="phone-placeholder"></input>
+						<text class='edit-class' v-if='form.localMerchantInfoExamine.status==0'> {{ form.creditCode }}</text>
+						<input placeholder="请输入统一社会信用代码" v-model="form.creditCode" name="input" placeholder-class="phone-placeholder" v-else/> 
 					</view>
 					<view class="cu-form-group">
 						<view class="title">证件期限 </view>
 						<!-- <uni-data-checkbox  v-model="form.lifespan" :localdata="lifespanOption"></uni-data-checkbox> -->
 						<radio-group @change="typeChang($event, 'lifespanType')" v-model="form.lifespanType">
 							<label class="margin-left-sm">
-								<radio :class="form.lifespanType == '1' ? 'checked blue' : ''"
-									:checked="form.lifespanType == '1' ? true : false" value="1"></radio>
+								<radio :class="form.lifespanType == '1' ? 'checked blue' : 'transparent'"
+									:checked="form.lifespanType == '1' ? true : false" value="1" ></radio>
 								<!-- <checkbox class=' blue' :class="form.type?'checked':''" :checked="form.type?true:false" value="1"></checkbox> -->
 								<text class="margin-left-sm">长期有效</text>
 							</label>
 							<label class="margin-left-sm">
-								<radio :class="form.lifespanType == '2' ? 'checked blue' : ''"
-									:checked="form.lifespanType == '2' ? true : false" value="2"></radio>
+								<radio :class="form.lifespanType == '2' ? 'checked blue' : 'transparent'"
+									:checked="form.lifespanType == '2' ? true : false" value="2" ></radio>
 								<text class="margin-left-sm">固定期限</text>
 							</label>
 						</radio-group>
 					</view>
 					<view class="cu-form-group" v-if="form.lifespanType == 2">
 						<view class="title">有效期起</view>
-						<view style="display: flex;width: 74%;justify-content: space-between;" @click="selectDate">
+						<text class='edit-class' v-if='form.localMerchantInfoExamine.status==0'> {{ form.lifespanBegin }}--{{form.lifespanEnd}}</text>
+						<view style="display: flex;width: 74%;justify-content: space-between;" @click="selectDate" v-else>
 							<view style="font-size: 30rpx;">
 								<text v-if="form.lifespanBegin"> {{ form.lifespanBegin }}--{{form.lifespanEnd}}</text>
 								<text v-else style="color: grey">请选择</text>
@@ -106,8 +109,9 @@
 					</view>
 					<view class="cu-form-group" style="display: block;">
 						<view class="title">经营范围</view>
+
 						<view class="scope" style="width: 100%;height: auto;">
-							<u-input v-model="form.businessScope" type="textarea" placeholder-class="phone-placeholder"
+							<u-input v-model="form.businessScope" type="textarea" placeholder-class="phone-placeholder" :disabled='form.localMerchantInfoExamine.status==0'
 								style="width: 100%;min-height: 165rpx;max-height: 300rpx; background-color:#F7F8FC;padding: 0 16rpx;margin: 0;overflow-y: auto;" />
 						</view>
 					</view>
@@ -126,23 +130,29 @@
 					</view>
 					<view class="cu-form-group  ">
 						<view class="title">法人姓名</view>
-						<input placeholder="请输入法人姓名" v-model="form.legalPerson" name="input" placeholder-class="phone-placeholder"></input>
+							<text class='edit-class' v-if='form.localMerchantInfoExamine.status==0'> {{ form.legalPerson }}</text>
+						<input placeholder="请输入法人姓名" v-model="form.legalPerson" name="input" placeholder-class="phone-placeholder" v-else/>
 					</view>
 					<view class="cu-form-group">
 						<view class="title">法人证件号</view>
-						<input placeholder="请输入法人证件号" v-model="form.legalPersonCode" name="input" placeholder-class="phone-placeholder"></input>
+						<text class='edit-class' v-if='form.localMerchantInfoExamine.status==0'> {{ form.legalPersonCode }}</text>
+						<input placeholder="请输入法人证件号" v-model="form.legalPersonCode" name="input" placeholder-class="phone-placeholder" v-else/>
 					</view>
 					<view class="customize">
 						<view class="title">法人证件照片</view>
 						<view style="padding: 16upx 0;border-bottom: 1px solid #EEEEEE;">
 							<view class="flex upload justify-between">
 								<view class="imgOcr-border">
+										<image :src="identityOneImg ? identityOneImg : '/static/login/code1.png'" mode=""
+									 v-if='form.localMerchantInfoExamine.status==0'></image>
 									<image :src="identityOneImg ? identityOneImg : '/static/login/code1.png'" mode=""
-										@click="businessChange('identityOne')"></image>
+										@click="businessChange('identityOne')" v-else></image>
 								</view>
 								<view class="imgOcr-border">
 									<image :src="identityTwoImg ? identityTwoImg : '/static/login/code2.png'" mode=""
-										@click="businessChange('identityTwo')"></image>
+									 v-if='form.localMerchantInfoExamine.status==0'></image>
+									<image :src="identityTwoImg ? identityTwoImg : '/static/login/code2.png'" mode=""
+										@click="businessChange('identityTwo')" v-else></image>
 								</view>
 							</view>
 						</view>
@@ -168,7 +178,8 @@
 					</view>
 					<view class="cu-form-group">
 						<view class="title"><span>*</span>门店名称</view>
-						<input placeholder="请输入门店名称" v-model="form.storeName" name="input" placeholder-class="phone-placeholder"></input>
+						<text class='edit-class' v-if='form.localMerchantInfoExamine.status==0'> {{ form.storeName }}</text>
+						<input placeholder="请输入门店名称" v-model="form.storeName" name="input" placeholder-class="phone-placeholder" v-else/>
 					</view>
 					<view class="cu-form-group">
 						<view class="title"><span>*</span>所在地区</view>
@@ -189,10 +200,15 @@
 					</view>
 					<view class="cu-form-group">
 						<view class="title"><span>*</span>店铺面积</view>
+						<text class='edit-class' v-if='form.localMerchantInfoExamine.status==0'> {{ form.storeExtent }}</text>
 						<input placeholder="请输入店铺面积" style="width: 200rpx !important;" v-model="form.storeExtent"
-							name="input" placeholder-class="phone-placeholder"></input>㎡
+							name="input" placeholder-class="phone-placeholder" v-else />㎡
 					</view>
-					<view class="cu-form-group address-box"  @click="selectAddress">
+					<view class="cu-form-group address-box"   v-if='form.localMerchantInfoExamine.status==0'>
+						<view class="title"><span>*</span>地理位置</view>
+						<tdmap :allowSelection="false" :showCoordinates="false" :key="mapKey" style="height: 300rpx;pointer-events: none"></tdmap>
+					</view>
+					<view class="cu-form-group address-box"  @click="selectAddress" v-else>
 						<view class="title"><span>*</span>地理位置</view>
 						<tdmap :allowSelection="false" :showCoordinates="false" :key="mapKey" style="height: 300rpx;pointer-events: none"></tdmap>
 					</view>
@@ -206,17 +222,20 @@
 					</view>
 					<view class="cu-form-group">
 						<view class="title"><span>*</span>姓名</view>
+						<text class='edit-class' v-if='form.localMerchantInfoExamine.status==0'> {{ form.leaderName }}</text>
 						<input placeholder="门店负责人姓名" v-model="form.leaderName" name="input"
-							placeholder-class="phone-placeholder"/>
+							placeholder-class="phone-placeholder" v-else/>
 					</view>
 					<view class="cu-form-group">
 						<view class="title"><span>*</span>手机号</view>
+						<text class='edit-class' v-if='form.localMerchantInfoExamine.status==0'> {{ form.storePhone }}</text>
 						<input placeholder="门店负责人手机号" v-model="form.storePhone" name="input"
-							placeholder-class="phone-placeholder"/>
+							placeholder-class="phone-placeholder" v-else/>
 					</view>
-					<view class="cu-form-group" @click="openClass">
+					<view class="cu-form-group" >
 						<view class="title"><span>*</span>分类</view>
-						<view class="u-flex-1 u-flex u-row-between">
+						<text class='edit-class' v-if='form.localMerchantInfoExamine.status==0'> {{ form.categoryName }}</text>
+						<view class="u-flex-1 u-flex u-row-between" v-else @click="openClass">
 							<view style="font-size: 30rpx;">
 								<text v-if="form.categoryName"> {{ form.categoryName }}</text>
 								<text v-else class="phone-placeholder">请选择分类</text>
@@ -224,6 +243,7 @@
 							<u-icon name="arrow-right" style="margin-left: 17rpx;color: #999"></u-icon>
 						</view>
 					</view>
+					
 				</view>
 
 
@@ -235,7 +255,8 @@
 						</view>
 					</view>
 					<view class="business-img flex align-center">
-						<Upload  width="360" height="218" :maxCount="1" :fileList.sync="item.specialArr"  delIcon='trash' :showProgress='false'
+						<image class='img' :src="item.special ? item.special : '/static/login/shiping.png'" mode="" v-if='form.localMerchantInfoExamine.status==0'></image>
+						<Upload  width="360" height="218" :maxCount="1" :fileList.sync="item.specialArr"  delIcon='trash' :showProgress='false' v-else
 							:isImage='true' @complete="onUpload($event, item)" @loadIng='loadIng'>
 							 <image class='img' :src="item.special ? item.special : '/static/login/shiping.png'" mode=""></image>
 						</Upload>
@@ -957,10 +978,8 @@
 						realname: userInfo.realname
 					})
 					this.$store.commit('SET_AVATAR', userInfo.avatar)
-						uni.showToast({
-						icon: 'none',
-						title: res.data.message
-					})
+						
+					this.$tip.success(res.data.result || '成功')
 					this.merchantId= result.localMerchantInfo.id
 					await  this.getInfoBus()
 				} else {
@@ -982,11 +1001,21 @@
 	}
 </script>
 <style scoped lang="scss">
-	page {
-		background: #F8F8FA;
-		padding-bottom:120rpx;
-	}
+.home-content{
+	background: #F8F8FA;
+	height:100vh;
+	overflow:auto;
+	min-height: 100vh;
+  padding-bottom: 130rpx;
+}
+::v-deep .u-navbar{
+	 background: linear-gradient(180deg, #D6E9FF 0%, #ffffff 100%);
+}
 
+.edit-class{
+	font-size:28rpx;
+	color:#333333
+}
 	.cu-form-group .title {
 		width: 132rpx;
 		padding: 0;
@@ -997,7 +1026,10 @@
 	}
 
 	.cu-bg {
-		background: linear-gradient(180deg, #D6E9FF 0%, #FFFFFF 100%);
+		 background: linear-gradient( -90deg, #fff 0%, #D6E9FF 100%);
+	}
+	.progress{
+		border-top:1rpx solid #EEEEEE;
 	}
 
 	.tab-top {

+ 1 - 1
pages/store/adVideo.vue

@@ -19,7 +19,7 @@
               <view class="uni-uploader__file" v-if="video">
                 <view class="uploader_video">
                   <uni-icons class="icon iconfont icon-cuo" type="trash-filled" size="20"
-                    @tap="delectVideo"></uni-icons>
+                    @tap="delectVideo" v-if='form.renovationStatus.status!=0'></uni-icons>
                   <video :src="video" class="video-container"></video>
                 </view>
               </view>

+ 9 - 13
pages/store/advertising.vue

@@ -13,22 +13,14 @@
 							<i class="text-bg-w"></i>
 						</view>
 					</view>
-					<!-- <view class="grid col-4 grid-square flex-sub booder-top">
-						<view class="bg-img" v-for="(item, index) in form.photo" :key="index" @tap="ViewImage"
+					<view class="grid col-4 grid-square flex-sub booder-top" v-if='form.renovationStatus.status==0'>
+						<view class="bg-img" v-for="(item, index) in form.photo" :key="index" @tap="ViewImage" 
 							:data-url="form.photo[index]">
 							<image :src="form.photo[index]" mode="aspectFill"></image>
-							<view class="cu-tag bg-red" @tap.stop="DelImg" :data-index="index">
-								<text class='cuIcon-close'></text>
-							</view>
 							
 						</view>
-						
-						<view class="solids" @tap="ChooseImage" v-if="form.photo.length < 20">
-							<text class='cuIcon-cameraadd'></text>
-						</view>
-						
-					</view> -->
-					<shmily-drag-image v-model="form.photo" :addImage="ChooseImage" :delImage="delImage"></shmily-drag-image>
+					</view>
+					<shmily-drag-image v-model="form.photo" :addImage="ChooseImage" :delImage="delImage" v-else></shmily-drag-image>
 					<view class="business-prompt">
 						最多上传20张,每张大小不超过5M,建议宽高比9:16
 					</view>
@@ -79,8 +71,9 @@
 				this.form = obj
 				this.form.renovationStatus=obj.renovationStatus.filter(item => item.type === 2)[0]|| {status:null} //1入口图 2经营相册 3视频
 				let content=this.form.renovationStatus.context
-				const photoArr= this.form.renovationStatus ? content && content.split(',') : []
+				const photoArr= content ? content && content.split(',') : []
 				 this.$set(this.form, 'photo', photoArr);
+				 console.log(this.form)
 			}
 
 		},
@@ -434,4 +427,7 @@
 			bottom:4rpx;
 
 		}
+	.col-4{
+		width: auto;
+	}
 </style>

+ 6 - 5
pages/store/headPhoto.vue

@@ -16,12 +16,12 @@
 					<view class="grid col-4 grid-square flex-sub booder-top">
 						<view class="bg-img" v-for="(item, index) in form.headPhoto" :key="index" @tap="ViewImage"
 							:data-url="form.headPhoto[index]">
-							<image :src="item" mode="aspectFill"></image>
-							<view class="cu-tag bg-red" @tap.stop="DelImg(index)" :data-index="index">
+							<image :src="item" mode="aspectFill" v-if='form.renovationStatus.status==0'></image>
+							<view class="cu-tag bg-red" @tap.stop="DelImg(index)" :data-index="index" v-else>
 								<text class='cuIcon-close'></text>
 							</view>
 						</view>
-						<view class="grid col-4 grid-square flex-sub booder-top" >
+						<view class="grid col-4 grid-square flex-sub booder-top" v-if='form.renovationStatus.status!=0'>
 							<view class="solids" @tap="ChooseImage" >
 								<text class='cuIcon-cameraadd'></text>
 							</view>
@@ -58,7 +58,7 @@
 		data() {
 			return {
 				photoList: [],
-				form: {headPhoto:'',renovationStatus:{status:null}},
+				form: {headPhoto:[],renovationStatus:{status:null}},
 				src: '',
 				cameraList: [{
 						value: 'back',
@@ -79,7 +79,8 @@
 				this.form = obj
         this.form.renovationStatus=obj.renovationStatus.filter(item => item.type === 1)[0] || {status:null} //1入口图 2经营相册 3视频
 				let content=this.form.renovationStatus.context
-				this.form.headPhoto = this.form.renovationStatus ? content && content.split(',') : []
+				this.form.headPhoto = content ? content && content.split(',') : []
+				console.log(this.form)
 			}
 
 		},

+ 10 - 8
pages/store/newSettings.vue

@@ -1,6 +1,5 @@
 <template>
   <view>
-    <view class="top"></view>
     <u-navbar title="店铺设置" :autoBack="false" :placeholder="true" :custom-back='goPage'></u-navbar>
     <view class='pub-box'>
       <view class='title-box'>
@@ -66,7 +65,8 @@
     <!-- 开业时间 -->
     <u-picker v-model="timeShow" mode="time" @confirm="selectTime" title='开业时间'></u-picker>
     <!-- 门店电话 -->
-    <TipModal :isShow="phoneShow" title='门店电话' @close='phoneShow=false' @sure='phoneSure' type='number'></TipModal>
+    <TipModal :isShow="phoneShow" title='门店电话' @close='phoneShow=false' @sure='phoneSure' type='number'
+      ref='storePhone'></TipModal>
     <!-- 设施服务 -->
     <Upopup :isShow="serverShow" title='选择配套设施' @close='serverShow=false' @sure='serverSure'>
       <view class="server-box">
@@ -167,7 +167,7 @@ export default {
       return [
         {
           title: '店铺logo',
-          content: `${this.renovationStatus.length? '已配置' : '去配置'}`,
+          content: `${this.renovationStatus.length ? '已配置' : '去配置'}`,
           class: `${this.renovationStatus.length ? 'active' : 'item-p'}`,
           status: false, //是否有状态
           isMore: true, //是否显示更多 
@@ -278,6 +278,10 @@ export default {
         this.timeShow = true
       } else if (item.type == 7) {
         this.phoneShow = true
+
+        this.$nextTick(() => {
+          this.$refs.storePhone.setValue(this.indexOption.storePhone)
+        })
       } else if (item.type == 8) {
         uni.navigateTo({
           url: `/pages/store/storeAdress?params=${queryString}`
@@ -326,11 +330,9 @@ export default {
 
       this.$http.post('/localMerchantInfoChangeExamine/localMerchantInfoChangeExamine/add', params).then(res => {
         if (res.data.success) {
-          uni.showToast({
-            icon: 'none',
-            title: '提交成功'
-          })
+          this.$tip.success(res.data.result || '成功')
           this.modalShow = false
+          this.getInit()
         } else {
           uni.showToast({
             icon: 'none',
@@ -439,7 +441,7 @@ export default {
       uni.switchTab({
         url: '/pages/index/index'
       })
-    }
+    },
   }
 }
 </script>

+ 5 - 6
pages/store/shopQualifications.vue

@@ -1,6 +1,5 @@
 <template>
   <view class="storeInfo-content">
-    <view class="top"></view>
     <u-navbar title="门店资质" :autoBack="true" :placeholder="true"></u-navbar>
     <view class="pub-box">
       <view class="flex justify-between">
@@ -43,8 +42,8 @@
         <view class="info-list" v-for="(item,index) in infoList" :key='index'>
           <view class='info-label'>{{item.title}}</view>
           <u-radio-group v-model="infoObj.lifespanType" v-if='item.isRadio'>
-            <u-radio activeColor="#449AFF" name="1">长期有效</u-radio>
-            <u-radio activeColor="#449AFF" name="2">固定期限</u-radio>
+            <u-radio activeColor="#449AFF" name="1" :disabled='item.isRadio!=2'>长期有效</u-radio>
+            <u-radio activeColor="#449AFF" name="2" :disabled='item.isRadio!=1'> 固定期限</u-radio>
           </u-radio-group>
           <view v-else class='u-flex-1 one-line-text'>{{item.content}}</view>
         </view>
@@ -77,9 +76,9 @@
     </view>
 
     <view class="u-flex btn-box sub-bottom">
-      <button v-if='!index' class="cu-btn bg-blue-gra round u-flex-1" @click.native='index=1'>下一步</button>
+      <button v-if='!index' class="cu-btn bg-blue-gra round u-flex-1" @click='index=1'>下一步</button>
       <view v-if='index==1' class='nex-box'>
-        <button class="cu-btn bg-blue-border round " @click.native='index=0'>上一步</button>
+        <button class="cu-btn bg-blue-border round " @click='index=0'>上一步</button>
         <button class="cu-btn bg-blue-gra round " @click='goPage'>返回</button>
       </view>
     </view>
@@ -141,7 +140,7 @@ export default {
         },
         {
           title: '有效期起',
-          content: `${data.lifespanBegin} --${data.lifespanEnd}`,
+          content: `${data.lifespanBegin} -- ${data.lifespanEnd}`,
           type: 5
         },
       ]

+ 4 - 3
pages/store/shopRenovation.vue

@@ -1,6 +1,5 @@
 <template>
   <view class="content-wap">
-    <view class="top"></view>
     <u-navbar title="店铺装修" :autoBack="true" :placeholder="true"></u-navbar>
 
     <!-- Tab 栏 -->
@@ -17,13 +16,13 @@
     <swiper class="image-swiper" :current="currentIndex" @change="onSwiperChange" :circular="false">
       <swiper-item v-for="(item, index) in tabList" :key="index">
         <view class="custom-slide">
-          <image :src="item.image" mode="widthFix" class="slide-image"></image>
+          <image :src="item.image" mode="aspectFit" class="slide-image"></image>
           <view class="image-caption" :class='["image-caption"+(index+1)]'>
             <image :src="item.bar" mode="widthFix" class="slide-bar"></image>
             <view class='info'>
               <view class='title'>{{item.title}}</view>
               <view class="tip">{{item.content}}</view>
-              <view class='btn-box' @click.native='set(item)'>
+              <view class='btn-box' @click='set(item)'>
                 <view class='btn'>去设置</view>
               </view>
             </view>
@@ -116,6 +115,7 @@ export default {
 .image-swiper {
   width: 100%;
   height: calc(100vh - 202rpx);
+  overflow: auto;
 }
 .custom-slide {
   position: relative;
@@ -126,6 +126,7 @@ export default {
   width: 100%;
   height: 100%;
   padding: 0 40rpx;
+  
 }
 .image-caption {
   width: 100%;

+ 1 - 2
pages/store/storeAdress.vue

@@ -1,6 +1,5 @@
 <template>
   <view class="content-wap">
-    <view class="top"></view>
     <u-navbar title="门店地址" :autoBack="true" :placeholder="true"></u-navbar>
     <form>
       <view class="form-box">
@@ -30,7 +29,7 @@
       <Tmap :allowSelection="false" :showCoordinates="false" :key="mapKey" class='map-cont'></Tmap>
     </view>
     <view class="padding flex sub-bottom">
-      <button class="cu-btn bg-blue-gra round u-flex-1" @click.native="submit">提交</button>
+      <button class="cu-btn bg-blue-gra round u-flex-1" @click="submit">提交</button>
     </view>
 
     <w-picker class="picker-style" :visible.sync="visible" ref="picker" mode="region" :value="form.locality"

+ 1 - 2
pages/store/storeInfo.vue

@@ -1,6 +1,5 @@
 <template>
   <view class="storeInfo-content">
-    <view class="top"></view>
     <u-navbar title="经营信息" :autoBack="true" :placeholder="true"></u-navbar>
     <view class="pub-box">
       <view class="flex justify-between">
@@ -30,7 +29,7 @@
     </view>
 
     <view class="u-flex btn-box sub-bottom">
-      <button class="cu-btn round line-gray  shadow " @click.native='goPage'>返回</button>
+      <button class="cu-btn round line-gray  shadow " @click='goPage'>返回</button>
       <button class="cu-btn bg-blue-gra round u-flex-1 " @click='submit'
         v-if='infoObj.nameStatus.status || infoObj.nameStatus.status==null'>提交审核</button>
     </view>

+ 2 - 7
pages/store/storeQualification.vue

@@ -1,6 +1,5 @@
 <template>
   <view class="storeInfo-content">
-    <view class="top"></view>
     <u-navbar title="经营资质" :autoBack="true" :placeholder="true"></u-navbar>
     <view class="pub-box">
       <view class="flex justify-between">
@@ -40,8 +39,7 @@
     </view>
     <view class="u-flex btn-box sub-bottom">
       <view class="btn cancel" @click='goPage'>返回</view>
-      <button class="cu-btn bg-blue-gra round u-flex-1" @click.native="submit" :disabled='disabled'
-        v-if='infoObj.shopStatus.status || infoObj.shopStatus.status==null'>提交审核</button>
+      <button class="cu-btn bg-blue-gra round u-flex-1" @click="submit" :disabled='disabled' v-if='infoObj.shopStatus.status || infoObj.shopStatus.status==null'>提交审核</button>
     </view>
   </view>
 
@@ -130,10 +128,7 @@ export default {
 
       this.$http.post('/localMerchantInfoChangeExamine/localMerchantInfoChangeExamine/add', params).then(res => {
         if (res.data.success) {
-          uni.showToast({
-            icon: 'none',
-            title: '提交成功'
-          })
+          this.$tip.success(res.data.result || '成功')
           this.disabled = false
           this.goPage()
         } else {