|
@@ -91,7 +91,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</mescroll-uni>
|
|
</mescroll-uni>
|
|
- <image src="../../static/imgs/cirlce/add.png" mode="widthFix" class="add" @click="toCreateCircle"></image>
|
|
|
|
|
|
+ <image v-if='hidden!="隐藏"' src="../../static/imgs/cirlce/add.png" mode="widthFix" class="add" @click="toCreateCircle"></image>
|
|
<u-toast ref="uToast"></u-toast>
|
|
<u-toast ref="uToast"></u-toast>
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
<u-modal :show="showAuthorizePhone" :showConfirmButton="false">
|
|
<u-modal :show="showAuthorizePhone" :showConfirmButton="false">
|
|
@@ -189,6 +189,7 @@
|
|
fontSize: "32rpx",
|
|
fontSize: "32rpx",
|
|
background: "#18254C"
|
|
background: "#18254C"
|
|
},
|
|
},
|
|
|
|
+ hidden:'',
|
|
searchVal: '',
|
|
searchVal: '',
|
|
circleList: [],
|
|
circleList: [],
|
|
userInfo: {},
|
|
userInfo: {},
|
|
@@ -221,7 +222,6 @@
|
|
receiveId: this.userInfo.id,
|
|
receiveId: this.userInfo.id,
|
|
status: 1
|
|
status: 1
|
|
}, failres => {
|
|
}, failres => {
|
|
- console.log('res+++++', failres.errmsg)
|
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
icon: "none",
|
|
icon: "none",
|
|
title: failres.errmsg,
|
|
title: failres.errmsg,
|
|
@@ -238,13 +238,21 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
|
|
+ this.$request.baseRequest('admin.dictData', 'list', {
|
|
|
|
+ dictType:'circle_friends'
|
|
|
|
+ }, failres => {
|
|
|
|
+
|
|
|
|
+ }).then( res => {
|
|
|
|
+ console.log(res,11111)
|
|
|
|
+ this.hidden=res.data.items[0].dictLabel
|
|
|
|
+ })
|
|
if (uni.getStorageSync("userInfo").phone) {
|
|
if (uni.getStorageSync("userInfo").phone) {
|
|
|
|
+
|
|
this.userInfo = uni.getStorageSync("userInfo")
|
|
this.userInfo = uni.getStorageSync("userInfo")
|
|
this.$request.baseRequest('admin.unimall.cardExchangeInfo', 'list', {
|
|
this.$request.baseRequest('admin.unimall.cardExchangeInfo', 'list', {
|
|
receiveId: this.userInfo.id,
|
|
receiveId: this.userInfo.id,
|
|
status: 1
|
|
status: 1
|
|
}, failres => {
|
|
}, failres => {
|
|
- console.log('res+++++', failres.errmsg)
|
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
icon: "none",
|
|
icon: "none",
|
|
title: failres.errmsg,
|
|
title: failres.errmsg,
|
|
@@ -260,7 +268,7 @@
|
|
} else {
|
|
} else {
|
|
this.showAuthorizePhone = true
|
|
this.showAuthorizePhone = true
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
//获取昵称输入内容
|
|
//获取昵称输入内容
|
|
@@ -300,11 +308,9 @@
|
|
},
|
|
},
|
|
async getPhoneNumber(e) {
|
|
async getPhoneNumber(e) {
|
|
that.userInfo = await this.$request.wxlogin()
|
|
that.userInfo = await this.$request.wxlogin()
|
|
- this.$nextTick(function() {
|
|
|
|
- that.userInfo.phone = that.$request.getPhone(e, that.userInfo)
|
|
|
|
- that.showAuthorizePhone = false
|
|
|
|
- that.showAuthorizeUser = true
|
|
|
|
- });
|
|
|
|
|
|
+ that.userInfo.phone = await this.$request.getPhone(e, that.userInfo)
|
|
|
|
+ this.showAuthorizePhone = false
|
|
|
|
+ this.showAuthorizeUser = true
|
|
|
|
|
|
},
|
|
},
|
|
delSearchVal() {
|
|
delSearchVal() {
|