Commit dbf84fcb authored by Mac's avatar Mac

修改样式

parent 072df52d
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
</view> </view>
</view> </view>
<view class="box-item" style="justify-content: space-between;" > <view class="box-item" style="justify-content: space-between;" v-if="addMsg.IsOpenEnroll==1">
<text style="font-size:12px;color: #666666;">是否区分性别</text> <text style="font-size:12px;color: #666666;">是否区分性别</text>
<view class="flex-row"> <view class="flex-row">
<u-radio-group v-model="addMsg.Distinguish" > <u-radio-group v-model="addMsg.Distinguish" >
...@@ -519,7 +519,7 @@ export default { ...@@ -519,7 +519,7 @@ export default {
}) })
return return
} }
if(this.addMsg.Distinguish==0){ if(this.addMsg.Distinguish==0 && this.addMsg.IsOpenEnroll==1){
if(this.addMsg.ManNum=='' && this.addMsg.ManNum==0){ if(this.addMsg.ManNum=='' && this.addMsg.ManNum==0){
uni.showToast({ uni.showToast({
title: '男性数量大于0', title: '男性数量大于0',
...@@ -536,7 +536,7 @@ export default { ...@@ -536,7 +536,7 @@ export default {
} }
}else{ }else{
if(this.addMsg.ManNum=='' && this.addMsg.ManNum==0){ if(this.addMsg.ManNum=='' && this.addMsg.ManNum==0 && this.addMsg.IsOpenEnroll==1){
uni.showToast({ uni.showToast({
title: '总人数数量大于0', title: '总人数数量大于0',
icon: 'none', icon: 'none',
......
...@@ -307,6 +307,7 @@ ...@@ -307,6 +307,7 @@
this.secondary = this.$uiConfig.secondary; this.secondary = this.$uiConfig.secondary;
this.pricecolor = this.$uiConfig.pricecolor; this.pricecolor = this.$uiConfig.pricecolor;
this.windowWidth = this.$utils.SystemInfo().windowWidth; this.windowWidth = this.$utils.SystemInfo().windowWidth;
let basedata = wx.getStorageSync("basedata")
this.isAttestation = basedata.user_info.isAttestation?basedata.user_info.isAttestation:0; this.isAttestation = basedata.user_info.isAttestation?basedata.user_info.isAttestation:0;
}, },
mounted() { mounted() {
......
<template> <template>
<view class="userStyle" style="height: 100vh;"> <view class="userStyle" style="height: 100%;">
<view class="headStatus" v-if="scrollTop > 50" :style="[headStyle, <view class="headStatus" v-if="scrollTop > 50" :style="[headStyle,
{ {
zIndex: scrollTop < 10 ? 'unset' : 2, zIndex: scrollTop < 10 ? 'unset' : 2,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment