| | |
| | | </view> |
| | | <view class="userinfo-value-box"> |
| | | <view class="user-nickname">{{ vuex_is_login ? vuex_user :'昵称' }}</view> |
| | | <view class="user-nickname">{{ vuex_is_login ? company :'昵称' }}</view> |
| | | <!-- <view class="user-company">{{ vuex_is_login ? usercode :'暂未登录' }}</view> --> |
| | | </view> |
| | | </view> |
| | |
| | | </uni-grid-item> |
| | | </view> |
| | | </uni-grid> |
| | | <view v-else style="background-color: #ffffff; margin-top: 30px;margin-bottom: 120px;"></view> |
| | | <u--form style="width: 80%; position: absolute;bottom: 60px;" labelPosition="left" :model="model2" |
| | | <view v-else style="background-color: #ffffff; margin-top: 30px;margin-bottom: 30px;"></view> |
| | | <!--<u--form style="width: 80%; position: absolute;bottom: 60px;" labelPosition="left" :model="model2" |
| | | :rules="rules2" ref="uForm"> |
| | | <u-form-item required label="手机号:" prop="userInfo.phone" borderBottom ref="item1" labelWidth="60px"> |
| | | <u--input v-model="model2.userInfo.phone" border="none" placeholder="请输入电话"></u--input> |
| | |
| | | <u-code :seconds="seconds" ref="uCode" @change="codeChange"></u-code> |
| | | <u-button slot="right" type="primary" size="small" @tap="getCode2">{{tips}}</u-button> |
| | | </u-form-item> |
| | | </u--form> |
| | | </u--form> --> |
| | | </u-modal> |
| | | <u-modal buttonReverse confirmText="保存" :show="showinfo" :title="titleinfo" @cancel="cancelinfo" |
| | | @confirm="confirminfo" ref="uModal" :showCancelButton="true"> |
| | |
| | | tag: '', |
| | | value: 0, |
| | | guizi: [], |
| | | appversion: 'v1.0.6', |
| | | appversion: 'v1.0.7', |
| | | downloadUrl: '', |
| | | text1: [], |
| | | isguizi: false, |
| | |
| | | |
| | | }, |
| | | cancelfaka() { |
| | | if (this.model2.userInfo.phone == '' || this.model2.userInfo.yzm == '') { |
| | | this.$refs.refSuccess.showBox({ |
| | | type: 'error', |
| | | txt: '请先输入手机号和验证码' |
| | | }); |
| | | } else if (this.model2.userInfo.yzm != this.yzm) { |
| | | this.$refs.refSuccess.showBox({ |
| | | type: 'error', |
| | | txt: '验证码有误' |
| | | }); |
| | | } else |
| | | // if (this.model2.userInfo.phone == '' || this.model2.userInfo.yzm == '') { |
| | | // this.$refs.refSuccess.showBox({ |
| | | // type: 'error', |
| | | // txt: '请先输入手机号和验证码' |
| | | // }); |
| | | // } else if (this.model2.userInfo.yzm != this.yzm) { |
| | | // this.$refs.refSuccess.showBox({ |
| | | // type: 'error', |
| | | // txt: '验证码有误' |
| | | // }); |
| | | // } else |
| | | if (this.isguizi == false) { |
| | | this.$refs.refSuccess.showBox({ |
| | | type: 'error', |
| | |
| | | } |
| | | }, |
| | | confirmfaka() { |
| | | if (this.model2.userInfo.phone == '' || this.model2.userInfo.yzm == '') { |
| | | this.$refs.refSuccess.showBox({ |
| | | type: 'error', |
| | | txt: '请先输入手机号和验证码' |
| | | }); |
| | | } else if (this.model2.userInfo.yzm != this.yzm) { |
| | | this.$refs.refSuccess.showBox({ |
| | | type: 'error', |
| | | txt: '验证码有误' |
| | | }); |
| | | } else |
| | | // if (this.model2.userInfo.phone == '' || this.model2.userInfo.yzm == '') { |
| | | // this.$refs.refSuccess.showBox({ |
| | | // type: 'error', |
| | | // txt: '请先输入手机号和验证码' |
| | | // }); |
| | | // } else if (this.model2.userInfo.yzm != this.yzm) { |
| | | // this.$refs.refSuccess.showBox({ |
| | | // type: 'error', |
| | | // txt: '验证码有误' |
| | | // }); |
| | | // } else |
| | | if (this.checked == false) { |
| | | this.$refs.refSuccess.showBox({ |
| | | type: 'error', |
| | |
| | | // 'content-type': contentType, |
| | | // }, |
| | | timeout: 5000, //设置超时时间,默认5秒 |
| | | success: (rep) => { //具体捕获请看自己接口返回的形式 |
| | | success: (rep) => { //具体捕获请看自己接口返回的形式 |
| | | console.log(rep); |
| | | if (rep.data > 0) { |
| | | const params = { |