# Conflicts:
#	config.js
This commit is contained in:
Vinjor 2025-04-28 17:32:57 +08:00
commit d5ce1f4394
3 changed files with 27 additions and 13 deletions

View File

@ -2,7 +2,7 @@
module.exports = {
// baseUrl: 'https://www.ddtg.site/noticeApi',
baseUrl: 'https://www.ddtg.site/noticeApi',
// baseUrl: 'http://192.168.1.17:8099',
// baseUrl: 'http://192.168.1.4:8099',
// 应用信息
appInfo: {
// 应用名称
@ -43,4 +43,4 @@ module.exports = {
}
]
}
}
}

View File

@ -23,10 +23,10 @@
</view>
</view>
<view class="item-field" style="align-items: center;">
<view class="my-suggest-dom" @click="viewRichText()">
<text>了解通告券</text>
<uni-icons type="right" color="#363636" size="14"></uni-icons>
</view>
<!-- <view class="my-suggest-dom" @click="viewRichText()">-->
<!-- <text>了解通告券</text>-->
<!-- <uni-icons type="right" color="#363636" size="14"></uni-icons>-->
<!-- </view>-->
<view class="my-suggest-dom" @click="goMyCoupon(1)">
<text>购买记录</text>
<uni-icons type="right" color="#363636" size="14"></uni-icons>

View File

@ -21,6 +21,7 @@
<view class="title-box">
{{userInfo.nickName || ''}}
<image v-if="ifHasCard" src="@/static/mine/huang.png" mode="aspectFit"></image>
<view style="font-size: 20rpx;">{{userInfo.cardName||''}}</view>
</view>
<view class="bottom-box">
<view class="fans-box">
@ -228,15 +229,20 @@
memberEndDate: "",
}
},
onShow() {},
mounted() {
if (null != getJSONData(constant.userInfo)) {
this.userInfo = getJSONData(constant.userInfo)
this.getDetail()
}
},
onShow() {
if (null != getJSONData(constant.userInfo)) {
this.userInfo = getJSONData(constant.userInfo)
this.getDetail()
}
},
onLoad() {
},
mounted() {
if (null != getJSONData(constant.userInfo)) {
this.userInfo = getJSONData(constant.userInfo)
this.getDetail()
}
},
computed: {
windowHeight() {
@ -256,6 +262,11 @@
}
},
getDetail() {
let param = {
userId: this.userInfo.userId,
userType: this.localUserType
}
console.log(param,'param')
queryDetail({
userId: this.userInfo.userId,
userType: this.localUserType
@ -267,12 +278,15 @@
this.userInfo.coupon = res.data.coupon.toString()
this.userInfo.addNotice = res.data.addNotice.toString()
this.userInfo.avatar = this.imageUrl + res.data.avatar
this.userInfo.cardName = res.data.cardName
if (res.data.memberEndDate && null != res.data.memberEndDate) {
this.ifHasCard = true
this.memberEndDate = res.data.memberEndDate
} else {
this.ifHasCard = false
}
console.log(this.userInfo,'THIS.USERINFO')
this.$forceUpdate()
})
},
/**