liudan 4 months ago
parent c4d4c58bba
commit 037a86c086
  1. 291
      components/weikuan.vue
  2. 6
      pages.json
  3. 38
      pages/goods/order_details/index.vue
  4. 18
      pages/goods/order_list/index.vue
  5. 18
      pages/user/index.vue
  6. 557
      pages/users/mima/index.vue
  7. 11
      pages/users/user_info/index.vue

@ -1,108 +1,95 @@
<template>
<view>
<view class="address-window" :class="address.address==true?'on':''">
<view class='title'>{{$t(`选择地址`)}}<text class='iconfont icon-guanbi' @tap='close'></text></view>
<view class='list'>
<view class='item acea-row row-between-wrapper' :class='active==index?"font-num":""'
v-for="(item,index) in addressList" @tap='tapAddress(index,item.id)' :key='index'>
<text class='iconfont icon-ditu' :class='active==index?"font-num":""'></text>
<view class='address'>
<view class='name' :class='active==index?"font-num":""'>{{item.real_name}}<text
class='phone'>{{item.phone}}</text></view>
<view class='line1'>{{item.province}}{{item.city}}{{item.district}}{{item.detail}}</view>
<view class="address-window" :class="show==true?'on':''">
<view class="weikuan">
<view class="title">
确认商品数量
</view>
<view v-for="item in info.cartInfo">
<view class="product">
<image :src="item.productInfo.image" mode=""></image>
<view class="details">
<view class="pTitle">
{{item.productInfo.store_name}}
</view>
<view class="price">
{{item.attrInfo.price}}
</view>
</view>
</view>
<view class="num">
<text>数量:{{item.cart_num}}</text>
</view>
<text class='iconfont icon-complete' :class='active==index?"font-num":""'></text>
</view>
<view class="totalInfo">
<view class="totalItem">
<text class="totalTitle">总计:</text>
<text class="totalDesc">¥{{info.total_price}}</text>
</view>
<view class="totalItem">
<text class="totalTitle">已支付:</text>
<text class="totalDesc">¥{{info.pay_price}}</text>
</view>
<view class="totalItem">
<text class="totalTitle">剩余尾款:</text>
<text class="totalDesc">¥{{info.pay_money_wei}}</text>
</view>
</view>
<view class="btnPay" @click="payHandle">
支付尾款
</view>
</view>
<!-- 无地址 -->
<view class='pictrue' v-if="!is_loading && !addressList.length">
<image :src="imgHost + '/statics/images/noAddress.png'"></image>
</view>
<view class='addressBnt bg-color' @tap='goAddressPages'>{{$t(`选择其它地址`)}}</view>
</view>
<view class='mask' catchtouchmove="true" :hidden='address.address==false' @tap='close'></view>
<view class='mask' catchtouchmove="true" :hidden='show==false' @tap='close'></view>
</view>
</template>
<script>
import {
getAddressList
} from '@/api/user.js';
import {
HTTP_REQUEST_URL
} from '@/config/app';
export default {
props: {
pagesUrl: {
type: String,
default: '',
},
address: {
type: Object,
default: function() {
return {
address: true,
addressId: 0,
};
}
},
isLog: {
show: {
type: Boolean,
default: false,
default: true
},
info:{
type:Object,
default:()=>{
return {}
}
}
},
data() {
return {
imgHost: HTTP_REQUEST_URL,
active: 0,
//
addressList: [],
is_loading: true
};
},
methods: {
tapAddress: function(e, addressid) {
this.active = e;
this.$emit('OnChangeAddress', addressid);
},
close: function() {
this.$emit('changeClose');
this.$emit('changeTextareaStatus');
this.$emit("close")
},
goAddressPages: function() {
this.$emit('changeClose');
this.$emit('changeTextareaStatus');
uni.navigateTo({
url: this.pagesUrl
});
},
getAddressList: function() {
let that = this;
getAddressList({
page: 1,
limit: 5
}).then(res => {
let addressList = res.data;
//
for (let i = 0, leng = addressList.length; i < leng; i++) {
if (addressList[i].id == that.address.addressId) {
that.active = i;
}
}
that.$set(that, 'addressList', addressList);
that.is_loading = false;
if (addressList.length) {
this.$emit('onHaveAddressList', true)
}
})
payHandle(){
this.$emit("weikuanPay")
}
}
},
}
</script>
<style scoped lang="scss">
.address-window {
border-radius: 20rpx 20rpx 0 0;
background-color: #fff;
position: fixed;
bottom: 0;
@ -116,77 +103,91 @@
.address-window.on {
transform: translate3d(0, 0, 0);
}
.address-window .title {
font-size: 32rpx;
font-weight: bold;
text-align: center;
height: 123rpx;
line-height: 123rpx;
position: relative;
}
.address-window .title .iconfont {
position: absolute;
right: 30rpx;
color: #8a8a8a;
font-size: 35rpx;
}
.address-window .list .item {
margin-left: 30rpx;
padding-right: 30rpx;
border-bottom: 1px solid #eee;
height: 129rpx;
font-size: 25rpx;
color: #333;
}
.address-window .list .item .iconfont {
font-size: 37rpx;
color: #2c2c2c;
}
.address-window .list .item .iconfont.icon-complete {
font-size: 30rpx;
color: #fff;
}
.address-window .list .item .address {
width: 560rpx;
}
.address-window .list .item .address .name {
font-size: 28rpx;
font-weight: bold;
color: #282828;
margin-bottom: 4rpx;
}
.address-window .list .item .address .name .phone {
margin-left: 18rpx;
}
.address-window .addressBnt {
font-size: 30rpx;
font-weight: bold;
color: #fff;
width: 690rpx;
height: 86rpx;
border-radius: 43rpx;
text-align: center;
line-height: 86rpx;
margin: 85rpx auto;
}
.address-window .pictrue {
width: 414rpx;
height: 336rpx;
margin: 0 auto;
}
.address-window .pictrue image {
width: 100%;
height: 100%;
.weikuan{
padding:30rpx 24rpx 53rpx 24rpx;
.title {
text-align: center;
font-family: Alibaba PuHuiTi;
font-weight: 400;
font-size: 34rpx;
color: #333333;
}
.product{
display: flex;
margin-top:36rpx;
image{
width: 160rpx;
height: 160rpx;
background: #EEEEEE;
border-radius: 20rpx;
}
.details{
flex:1;
margin-left:20rpx;
.pTitle{
margin-top: 16rpx;
font-weight: 400;
font-size: 30rpx;
color: #333333;
}
.price{
font-family: Alibaba PuHuiTi;
font-weight: 400;
font-size: 24rpx;
color: #E4884E;
margin-top:25rpx;
}
}
}
.num{
margin-top:60rpx;
font-family: Alibaba PuHuiTi;
font-weight: 400;
font-size: 28rpx;
color: #999999;
}
.totalInfo{
display: flex;
margin-top:40rpx;
.totalItem{
margin-right:31rpx;
.totalTitle{
font-family: Alibaba PuHuiTi;
font-weight: 400;
font-size: 24rpx;
color: #999999;
}
.totalDesc{
font-family: Alibaba PuHuiTi;
font-weight: 400;
font-size: 24rpx;
color: #333333;
}
}
}
.btnPay{
margin-top:50rpx;
line-height: 98rpx;
height: 98rpx;
background: #A8D178;
border-radius: 49px;
border: 1px solid #A8D178;
font-family: Alibaba PuHuiTi;
font-weight: 400;
font-size: 30rpx;
color: #FFFFFF;
text-align: center;
}
}
</style>

@ -342,6 +342,12 @@
"navigationBarTitleText": "实名认证"
}
},
{
"path": "mima/index",
"style": {
"navigationBarTitleText": "密码设置"
}
},
{
"path": "user_vip_areer/index",
"style": {

@ -221,13 +221,13 @@
<span class="iconfont icon-kefu"></span>
<span>{{ $t(`联系客服`) }}</span>
</button>
</div>
<div class="goodCall" v-else>
</div> -->
<div class="goodCall">
<button hover-class="none" open-type="contact">
<span class="iconfont icon-kefu"></span>
<span>{{ $t(`联系客服`) }}</span>
</button>
</div> -->
</div>
<!-- #endif -->
<view class="wrapper" v-if="isReturen == 1">
<view class="item acea-row row-between">
@ -433,6 +433,14 @@
>
{{ cartInfo.length > 1 ? $t(`批量退款`) : $t(`申请退款`) }}
</view> -->
<navigator
class="bnt bg-color"
v-if="status.type == 6"
hover-class="none"
:url="'/pages/goods/cashier/index?order_id=' + orderInfo.order_id+'&from_type=order'"
>
{{ $t(`支付尾款`) }}
</navigator>
<navigator
class="bnt cancel"
v-if="orderInfo.delivery_type == 'express' && status.class_status == 3 && status.type == 2 && !split.length"
@ -1397,13 +1405,13 @@ export default {
.goodCall {
color: var(--view-theme);
text-align: center;
width: 100%;
width: auto;
height: 86rpx;
padding: 0 30rpx;
margin: 0 24rpx;
border-top: 1rpx solid #eee;
font-size: 30rpx;
line-height: 86rpx;
background: #fff;
border-radius: 20rpx;
.icon-kefu {
font-size: 36rpx;
@ -1902,15 +1910,15 @@ export default {
}
.goodCall {
color: var(--view-theme);
text-align: center;
width: 100%;
height: 86rpx;
padding: 0 30rpx;
border-bottom: 1rpx solid #eee;
font-size: 30rpx;
line-height: 86rpx;
background: #fff;
// color: var(--view-theme);
// text-align: center;
// width: 100%;
// height: 86rpx;
// padding: 0 30rpx;
// border-bottom: 1rpx solid #eee;
// font-size: 30rpx;
// line-height: 86rpx;
// background: #fff;
.icon-kefu {
font-size: 36rpx;

@ -156,7 +156,7 @@
</view>
</view>
<zmm-watermark></zmm-watermark>
<weikuan></weikuan>
<weikuan @close="weikuanShow=false" ref="weikuan" :show="weikuanShow" @weikuanPay="weikuanPayHandle" :info="info"></weikuan>
<!-- #ifndef MP -->
<home></home>
<!-- #endif -->
@ -212,7 +212,9 @@
totalPrice: '0',
initIn: false,
isAuto: false, //
isShowAuth: false //
isShowAuth: false, //
weikuanShow:false,
info:{}
};
},
computed: mapGetters(['isLogin']),
@ -336,7 +338,17 @@
})
},
goPayWei(item){
console.log(item,"777")
this.info = item
this.weikuanShow = true;
this.$refs.weikuan.info = this.info
console.log(this.$refs.weikuan.info,"hjhj")
},
weikuanPayHandle(){
this.weikuanShow = false;
this.goPay(this.info.pay_price, this.info.order_id)
},
/**
* 去订单详情

@ -71,21 +71,15 @@
<image src="/static/images/svip.png"></image>
</view>
</view>
<view class="num" v-if="isLogin" @click="goEdit()" style="justify-content: space-between;">
<view class="num-txt">{{userInfo.phone}}</view>
<view class="num" v-if="isLogin" @click="goEdit()" style="justify-content: space-between;margin-top: 16rpx;">
<view class="num-txt" v-if="userInfo.phone">{{userInfo.phone}}</view>
<button class="phone" v-if="!userInfo.phone" open-type="getPhoneNumber"
@getphonenumber.stop="getphonenumber">{{$t(`绑定手机号`)}}</button>
<view style="position: relative;right: -38rpx;" @click.stop="goShiming">
{{userInfo.renzheng.status?(userInfo.renzheng.status==0?'未认证':userInfo.renzheng.status==1?'已通过':userInfo.renzheng.status==2?'已拒绝':userInfo.renzheng.status==3?'审核中':''):'未认证'}}
</view>
</view>
<!-- #ifdef MP -->
<button class="phone" v-if="!userInfo.phone && isLogin" open-type="getPhoneNumber"
@getphonenumber="getphonenumber">{{$t(`绑定手机号`)}}</button>
<!-- #endif -->
<!-- #ifndef MP -->
<view class="phone" v-if="!userInfo.phone && isLogin" @tap="bindPhone">
{{$t('绑定手机号')}}
</view>
<!-- #endif -->
</view>
<view class="message">
<navigator v-if="isLogin" url="/pages/users/user_info/index" hover-class="none">
@ -1107,6 +1101,8 @@
z-index: 20;
position: relative;
display: flex;
position: relative;
top: 30rpx;
.headwear {
position: absolute;

@ -0,0 +1,557 @@
<template>
<view class="wrapper" :style="colorStyle">
<view class="page-form">
<view style="margin:24rpx;border-radius:20rpx;overflow: hidden;">
<view class="item">
<view class="itemTitle">
手机号码
</view>
<input type='number' :placeholder='$t(`填写手机号码`)' placeholder-class='placeholder' v-model="phone"
:maxlength="11"></input>
</view>
<view class="item acea-row row-between-wrapper">
<view class="itemTitle">
短信验证码
</view>
<input type='number' :placeholder='$t(`填写验证码`)' placeholder-class='placeholder' :maxlength="6"
class="codeIput" v-model="captcha"></input>
<view class="line">
</view>
<button class="code font-num" :class="disabled === true ? 'on' : ''" :disabled='disabled' @click="code">
{{ text }}
</button>
</view>
</view>
<view class="newPsd" style="margin:24rpx;border-radius:20rpx;overflow: hidden;">
<view class="item">
<view class="itemTitle">
新密码
</view>
<input :placeholder='$t(`请输入`)' placeholder-class='placeholder' v-model="newPsd"
></input>
</view>
<view class="item">
<view class="itemTitle">
确认密码
</view>
<input type='number' :placeholder='$t(`请输入`)' placeholder-class='placeholder' v-model="renewPsd"
></input>
</view>
</view>
<view class="btn" @click="submitData">
确认
</view>
</view>
<view class="protocol" v-if="pageType == 0 && !canGetPrivacySetting">
<checkbox-group @click.stop='ChangeIsDefault'>
<checkbox :class="inAnimation?'trembling':''" @animationend='inAnimation=false'
:checked="protocol ? true : false" /> <text @click.stop='ChangeIsDefault'>{{$t(`已阅读并同意`)}}</text>
<text class="main-color" @click.stop="privacy(4)">{{$t(`《用户协议》`)}}</text>
{{$t(``)}}<text class="main-color" @click.stop="privacy(3)">{{$t(`《隐私协议》`)}}</text>
</checkbox-group>
</view>
<Verify @success="success" :captchaType="'clickWord'" :imgSize="{ width: '330px', height: '155px' }"
ref="verify"></Verify>
<editUserModal :isShow="isShow" @closeEdit="closeEdit" @editSuccess="editSuccess">
</editUserModal>
<!-- #ifdef MP -->
<privacyAgreementPopup v-if="canGetPrivacySetting" @onReject="onReject" @onAgree="onAgree">
</privacyAgreementPopup>
<!-- #endif -->
</view>
</template>
<script>
const app = getApp();
let statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px';
import sendVerifyCode from "@/mixins/SendVerifyCode";
import colors from '@/mixins/color.js';
import editUserModal from '@/components/eidtUserModal/index.vue'
import privacyAgreementPopup from '@/components/privacyAgreementPopup/index.vue'
import {
bindingUserPhone,
verifyCode,
registerVerify,
updatePhone
} from '@/api/api.js';
import {
loginMobile,
getCodeApi,
getUserInfo,
phoneSilenceAuth
} from "@/api/user.js";
import {
phoneLogin,
wechatBindingPhone
} from '@/api/public.js'
import Routine from '@/libs/routine';
import Verify from '../components/verify/index.vue';
import Cache from '@/utils/cache';
export default {
mixins: [sendVerifyCode, colors],
components: {
Verify,
editUserModal,
privacyAgreementPopup
},
data() {
return {
statusBarHeight: statusBarHeight,
pageType: 1, // 0 1
phone: '',
captcha: '',
text: '获取验证码',
isShow: false,
protocol: false,
inAnimation: false,
authKey: "",
backUrl: "",
pageTitle: '绑定手机号',
configData: Cache.get('BASIC_CONFIG'),
canGetPrivacySetting: false,
newPsd:null,
renewPsd:null,
}
},
onLoad(options) {
if (options.authKey) {
this.authKey = options.authKey
}
// #ifdef MP
if (wx.getPrivacySetting) {
this.canGetPrivacySetting = true
}
// #endif
this.backUrl = options.backUrl || ''
if (options.pageType) {
this.pageType = options.pageType || 1
this.pageTitle = options.pageType == 1 ? '绑定手机号' : '手机号登录'
}
let pages = getCurrentPages();
let prePage = pages[pages.length - 2];
if (prePage && prePage.route == 'pages/order_addcart/order_addcart') {
this.isHome = true;
} else {
this.isHome = false;
}
},
methods: {
onAgree() {
this.protocol = true
},
submitData() {
let that = this;
if (this.pageType == 0) {
this.isLogin()
return
}
if (!this.rules()) return
if (!this.authKey) {
let key = this.$Cache.get('snsapiKey');
this.phoneAuth(key)
} else {
this.phoneAuth(this.authKey)
}
},
rules() {
let that = this;
if (!this.protocol && this.pageType == 0) {
uni.showToast({
title: this.$t('请先阅读并同意协议'),
icon: 'none',
duration: 2000
});
return false
}
if (!that.phone) {
that.$util.Tips({
title: that.$t(`请填写手机号码`)
});
return false
}
if (!(/^1(3|4|5|7|8|9|6)\d{9}$/i.test(that.phone))) {
that.$util.Tips({
title: that.$t(`请输入正确的手机号码`)
});
return false
}
if (!that.captcha) {
return that.$util.Tips({
title: that.$t(`请填写验证码`)
});
return false
}
return true
},
isLogin() {
if (!this.rules()) return
uni.showLoading({
title: this.$t(`正在登录中`)
});
Routine.getCode()
.then(code => {
phoneLogin({
code,
spread_spid: app.globalData.spid,
spread_code: app.globalData.code,
phone: this.phone,
captcha: this.captcha,
}).then(res => {
uni.hideLoading();
let time = res.data.expires_time - this.$Cache.time();
this.$store.commit('LOGIN', {
token: res.data.token,
time: time
});
this.getUserInfo(res.data.bindName);
})
.catch(err => {
uni.hideLoading();
uni.showToast({
title: err,
icon: 'none',
duration: 2000
});
});
})
.catch(err => {
console.log(err)
});
},
phoneAuth(key) {
uni.showLoading({
title: this.$t(`正在登录中`)
});
let met
// #ifdef MP
met = phoneLogin
// #endif
// #ifndef MP
met = wechatBindingPhone
// #endif
met({
phone: this.phone,
captcha: this.captcha,
key
}).then(res => {
let time = res.data.expires_time - this.$Cache.time();
this.$store.commit('LOGIN', {
token: res.data.token,
time: time
});
this.getUserInfo(res.data.bindName);
}).catch(error => {
uni.hideLoading()
this.$util.Tips({
title: error
})
})
},
/**
* 获取个人用户信息
*/
getUserInfo(new_user) {
let that = this;
getUserInfo().then(res => {
uni.hideLoading();
that.userInfo = res.data;
uni.setStorageSync('mark',res.data.renzheng.company_name)
that.$store.commit('SETUID', res.data.uid);
that.$store.commit('UPDATE_USERINFO', res.data);
if (new_user) {
this.isShow = true
} else {
// // #ifdef MP
// that.$util.Tips({
// title: that.$t(``),
// icon: 'success'
// }, {
// tab: 3,
// url: this.configData.wechat_auth_switch ? 2 : 1
// });
// // #endif
// // #ifndef MP
// that.$util.Tips({
// title: that.$t(``),
// icon: 'success'
// }, {
// url: this.backUrl || 'pages/user/index'
// });
// // #endif
if(res.data.renzheng.status==1){
uni.showToast({
title: '登录成功',
icon: 'none',
duration: 2000
});
uni.switchTab({
url:"/pages/user/index",
})
}else{
uni.showToast({
title: '登录成功',
icon: 'none',
duration: 2000
});
uni.redirectTo({
url:"/pages/users/shiming/index"
})
}
}
});
},
success(data) {
this.$refs.verify.hide()
let that = this;
verifyCode().then(res => {
registerVerify(that.phone, 'reset', res.data.key, this.captchaType, data.captchaVerification)
.then(res => {
that.$util.Tips({
title: res.msg
});
that.sendCode();
}).catch(err => {
return that.$util.Tips({
title: err
});
});
});
},
/**
* 发送验证码
*
*/
async code() {
let that = this;
if (!that.phone) return that.$util.Tips({
title: that.$t(`请填写手机号码`)
});
if (!(/^1(3|4|5|7|8|9|6)\d{9}$/i.test(that.phone))) return that.$util.Tips({
title: that.$t(`请输入正确的手机号码`)
});
this.$refs.verify.show();
return;
},
ChangeIsDefault() {
this.$set(this, 'protocol', !this.protocol);
},
closeEdit() {
this.isShow = false
this.$util.Tips({
title: this.$t(`登录成功`),
icon: 'success'
}, {
tab: 3,
url: 2
});
},
editSuccess() {
this.isShow = false
},
back() {
uni.navigateBack({
delta: this.configData.wechat_auth_switch ? 2 : 1
})
},
privacy(type) {
uni.navigateTo({
url: "/pages/users/privacy/index?type=" + type
})
},
}
}
</script>
<style lang="scss" scoped>
.wrapper {
background-color: #F5F6F7;
min-height: 100vh;
position: relative;
.bag {
position: absolute;
top: 0;
left: 0;
width: 750rpx;
height: 460rpx;
background: var(--view-linear);
}
.page-msg {
padding-top: 160rpx;
margin-left: 72rpx;
.title {
font-size: 48rpx;
font-weight: 500;
color: #333333;
line-height: 68rpx;
}
.tip {
font-size: 28rpx;
font-weight: 400;
color: #333333;
line-height: 40rpx;
}
}
.page-form {
.item {
// width: 100%;
/* height: 88rpx; */
// background: #F5F5F5;
/* border-radius: 45rpx; */
padding: 40rpx 30rpx;
// margin-bottom: 32rpx;
display: flex;
border-bottom: 1px solid #EAEAEA;
background-color: #fff;
.itemTitle{
width:200rpx;
}
input {
flex:1;
height: 100%;
font-size: 32rpx;
}
.placeholder {
color: #BBBBBB;
font-size: 28rpx;
}
input.codeIput {
width: 300rpx;
}
.line {
width: 2rpx;
height: 28rpx;
background: #CCCCCC;
}
.code {
font-size: 28rpx;
color: var(--view-theme);
background-color: rgba(255, 255, 255, 0);
}
.code.on {
color: #BBBBBB !important;
}
}
.btn {
margin: 80rpx 24rpx;
height: 98rpx;
background: var(--view-theme);
border-radius: 200rpx 200rpx 200rpx 200rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 32rpx;
font-family: PingFang SC-Regular, PingFang SC;
font-weight: 400;
color: #FFFFFF;
line-height: 44rpx;
letter-spacing: 1px;
}
}
}
.title-bar {
position: relative;
display: flex;
align-items: center;
justify-content: center;
font-size: 34rpx;
font-weight: 500;
color: #333333;
line-height: 48rpx;
}
.icon {
position: absolute;
left: 30rpx;
top: 0;
display: flex;
align-items: center;
justify-content: center;
width: 80rpx;
height: 80rpx;
image {
width: 35rpx;
height: 35rpx;
}
}
.protocol {
position: fixed;
bottom: 52rpx;
left: 0;
width: 100%;
margin: 0 auto;
color: #999999;
font-size: 24rpx;
line-height: 22rpx;
text-align: center;
bottom: calc(52rpx+ constant(safe-area-inset-bottom)); /// IOS<11.2/
bottom: calc(52rpx + env(safe-area-inset-bottom)); /// IOS>11.2/
.main-color {
color: var(--view-theme);
}
.trembling {
animation: shake 0.6s;
}
}
/deep/ uni-checkbox .uni-checkbox-input {
width: 28rpx;
height: 28rpx;
}
/deep/ uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked::before {
font-size: 24rpx;
}
/deep/ uni-checkbox .uni-checkbox-wrapper {
margin-bottom: 1px;
}
/*checkbox 选项框大小 */
/deep/ checkbox .wx-checkbox-input {
width: 28rpx;
height: 28rpx;
}
/*checkbox选中后样式 */
/deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked {
background: white;
}
/*checkbox选中后图标样式 */
/deep/ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
width: 28rpx;
height: 28rpx;
line-height: 28rpx;
text-align: center;
font-size: 22rpx;
background: transparent;
transform: translate(-50%, -50%) scale(1);
-webkit-transform: translate(-50%, -50%) scale(1);
}
</style>

@ -128,6 +128,12 @@
{{userInfo.renzheng.status?(userInfo.renzheng.status==0?'未认证':userInfo.renzheng.status==1?'已通过':userInfo.renzheng.status==2?'已拒绝':userInfo.renzheng.status==3?'审核中':''):'未认证'}}<text class="iconfont icon-xiangyou"></text>
</navigator>
</view>
<view class="item acea-row row-between-wrapper">
<view>{{$t(`支付密码`)}}</view>
<navigator url="/pages/users/mima/index" hover-class="none" class="input">
{{$t(`设置密码`)}}<text class="iconfont icon-xiangyou"></text>
</navigator>
</view>
<view class="item acea-row row-between-wrapper">
<view>{{$t(`用户协议`)}}</view>
<navigator url="/pages/users/privacy/index?type=4" hover-class="none" class="input">
@ -440,8 +446,11 @@
.then(res => {
// uni.clearStorage()
that.$store.commit("LOGOUT");
// uni.reLaunch({
// url: '/pages/index/index'
// })
uni.reLaunch({
url: '/pages/index/index'
url:'/pages/users/wechat_login/index'
})
})
.catch(err => {});

Loading…
Cancel
Save