调整按钮样式
This commit is contained in:
parent
338fcd9de6
commit
6a5a7335cd
|
|
@ -143,7 +143,7 @@
|
|||
</view>
|
||||
<!-- 下一步 -->
|
||||
<view class="cu-bar tabbar border shop fixed-bottom-bar bg-back">
|
||||
<button class="bg-main-color long-btn margin-lr" @click="nextStep">下一步</button>
|
||||
<button class="margin-lr cu-btn bg-main-color shadow-blur long-btn" @click="nextStep">下一步</button>
|
||||
</view>
|
||||
</form>
|
||||
<view v-else-if="curStep === 1" class="margin-top-sm">
|
||||
|
|
@ -229,8 +229,8 @@
|
|||
</view>
|
||||
<!-- 下一步 -->
|
||||
<view class="cu-bar tabbar border shop fixed-bottom-bar bg-back">
|
||||
<button class="bg-white long-btn margin-lr" @click="preStep">上一步</button>
|
||||
<button class="bg-main-color long-btn margin-lr" @click="submit">提交</button>
|
||||
<button class="margin-lr-sm cu-btn bg-white shadow-blur long-btn" @click="preStep">上一步</button>
|
||||
<button class="margin-lr-sm cu-btn bg-main-color shadow-blur long-btn" @click="submit">提交</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -424,6 +424,15 @@
|
|||
this.curStep = this.curStep === 0 ? 0 : --this.curStep;
|
||||
},
|
||||
nextStep() {
|
||||
if (this.curStep === 0){
|
||||
if (!this.realNameInfo.name || !this.realNameInfo.idCardNum || !this.realNameInfo.idCardImgList || !this.realNameInfo.idCardImgList.length) {
|
||||
uni.showToast({
|
||||
title: '请完成必填项的填写',
|
||||
icon: 'none'
|
||||
})
|
||||
return;
|
||||
}
|
||||
}
|
||||
this.curStep = this.curStep === this.stepList.length - 1 ? this.curStep : ++this.curStep;
|
||||
},
|
||||
/* 经营主体 start */
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
</view>
|
||||
<!-- 下一步 -->
|
||||
<view class="cu-bar tabbar border shop fixed-bottom-bar bg-back">
|
||||
<button class="bg-main-color long-btn margin-lr" @click="nextStep">下一步</button>
|
||||
<button class="margin-lr cu-btn bg-main-color shadow-blur long-btn" @click="nextStep">下一步</button>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 服务技能 -->
|
||||
|
|
@ -107,9 +107,9 @@
|
|||
</view>
|
||||
<!-- 下一步 -->
|
||||
<view class="cu-bar tabbar border shop fixed-bottom-bar bg-back">
|
||||
<button class="bg-white long-btn margin-lr" @click="preStep">上一步</button>
|
||||
<button class="margin-lr-sm cu-btn bg-white shadow-blur long-btn" @click="preStep">上一步</button>
|
||||
<!-- <button class="bg-main-color long-btn margin-lr" @click="nextStep">下一步</button> -->
|
||||
<button class="bg-main-color long-btn margin-lr" @click="submit">提交</button>
|
||||
<button class="margin-lr-sm cu-btn bg-main-color shadow-blur long-btn" @click="submit">提交</button>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="false" class="margin-top-sm">
|
||||
|
|
|
|||
Loading…
Reference in New Issue