|
@@ -6,8 +6,8 @@
|
|
|
<view class="info">
|
|
|
<image class="chuandaimg fl" src="/static/img/55.png" mode="widthFix"></image>
|
|
|
<view class="chuandazi fl ml-30">
|
|
|
- <view class="text-size-lg text-weight-b text-overflow-2 mt-20">Hahhhnxsm_</view>
|
|
|
- <view class="tm-cartCellListFood-label text-size-s text-grey">15077854701</view>
|
|
|
+ <view class="text-size-lg text-weight-b text-overflow-2 mt-20">普通用户</view>
|
|
|
+ <view class="tm-cartCellListFood-label text-size-s text-grey">{{mobile}}</view>
|
|
|
<tm-button size="s" class="mt-10">编辑个人资料</tm-button>
|
|
|
</view>
|
|
|
<view style="clear: both;"></view>
|
|
@@ -61,6 +61,7 @@ import{myRequest} from '@/api/request.js'
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
+ mobile:'',
|
|
|
show:false,
|
|
|
on:true,
|
|
|
libiaoList:[
|
|
@@ -81,6 +82,9 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.sys = uni.getSystemInfoSync();
|
|
|
+ if (uni.getStorageSync("mobile")) {
|
|
|
+ this.mobile=uni.getStorageSync("mobile");
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
tiaozhuan(type){
|
|
@@ -146,7 +150,7 @@ export default {
|
|
|
data:{}
|
|
|
}).then(res => {
|
|
|
uni.setStorageSync("token","")
|
|
|
- uni.redirectTo({
|
|
|
+ uni.reLaunch({
|
|
|
url:"/pages/login/index"
|
|
|
})
|
|
|
})
|