This commit is contained in:
parent
91fdcf3c1d
commit
bb3f7d341d
|
@ -15,7 +15,7 @@
|
||||||
<image v-if="vipNameType=='2'" class="my-head-vip" style="width:120rpx; height: 36rpx;" src="../../static/vip/membership7.gif"></image>
|
<image v-if="vipNameType=='2'" class="my-head-vip" style="width:120rpx; height: 36rpx;" src="../../static/vip/membership7.gif"></image>
|
||||||
<span>{{vipNameType=='0'?'':vipNameType=='1'?'':''}}</span>
|
<span>{{vipNameType=='0'?'':vipNameType=='1'?'':''}}</span>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="my-head-texa">
|
<view class="my-head-texa">
|
||||||
<span>{{phone}}</span>
|
<span>{{phone}}</span>
|
||||||
|
@ -38,9 +38,9 @@
|
||||||
<view>钱包金额(元)</view>
|
<view>钱包金额(元)</view>
|
||||||
<view class="my-head-mian-top-yuE">{{money}}</view>
|
<view class="my-head-mian-top-yuE">{{money}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="my-head-mian-top-view">
|
<view class="my-head-mian-top-view">
|
||||||
<view class="my-head-mian-top-view-chong" @click="chonghi('充值')">充值</view>
|
<view class="my-head-mian-top-view-chong" @click="chonghi('充值')">充值</view>
|
||||||
<!--<view class="my-head-mian-top-view-ming" @click="chonghi('明细')">明细</view>-->
|
<!--<view class="my-head-mian-top-view-ming" @click="chonghi('明细')">明细</view>-->
|
||||||
|
@ -106,11 +106,11 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="my-serve-list" @click="tuangou()">
|
<view class="my-serve-list" @click="tuangou()">
|
||||||
<image src="../../static/my-liaocheng2.png" mode=""></image>
|
<image src="../../static/my-liaocheng2.png" mode=""></image>
|
||||||
<span class="my-serve-list-text">拼团</span>
|
<span class="my-serve-list-text">新人拼团</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="my-serve-list" @click="miaoshao()">
|
<view class="my-serve-list" @click="miaoshao()">
|
||||||
<image src="../../static/my-liaocheng3.png" mode=""></image>
|
<image src="../../static/my-liaocheng3.png" mode=""></image>
|
||||||
<span class="my-serve-list-text">限时秒杀</span>
|
<span class="my-serve-list-text">秒杀</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -133,7 +133,7 @@
|
||||||
<span class="xiaoer item-view-biao">{{item.classifyName}}</span>
|
<span class="xiaoer item-view-biao">{{item.classifyName}}</span>
|
||||||
<span>已售{{item.sales}} | 好评{{item.esteemRate}}%</span>
|
<span>已售{{item.sales}} | 好评{{item.esteemRate}}%</span>
|
||||||
</view> -->
|
</view> -->
|
||||||
|
|
||||||
<view class="item-view-bottom">
|
<view class="item-view-bottom">
|
||||||
<view class="item-view-bottom-qian">
|
<view class="item-view-bottom-qian">
|
||||||
<span>¥</span>
|
<span>¥</span>
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
<span v-if="item.type!='104'">¥{{item.oldPrice}}/{{item.serviceCount?item.serviceCount:''}}{{item.type=='105'||item.type=='106'?'次':'元'}}</span>
|
<span v-if="item.type!='104'">¥{{item.oldPrice}}/{{item.serviceCount?item.serviceCount:''}}{{item.type=='105'||item.type=='106'?'次':'元'}}</span>
|
||||||
<span v-if="item.type=='104'">¥{{item.oldPrice}}/套</span>
|
<span v-if="item.type=='104'">¥{{item.oldPrice}}/套</span>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="shop_label" v-if="item.tagsData!=''">
|
<view class="shop_label" v-if="item.tagsData!=''">
|
||||||
<span v-for="tag in item.tagsData" :key="tag">{{tag}}</span>
|
<span v-for="tag in item.tagsData" :key="tag">{{tag}}</span>
|
||||||
|
@ -162,14 +162,15 @@
|
||||||
查看
|
查看
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="prompt-text">-当你累了 想起盛安到家-</view>
|
<view class="prompt-text">-当你累了 想起盛安到家-</view>
|
||||||
<view class="kefu" @click="goMsg">
|
<view class="kefu" @click="goMsg">
|
||||||
<image src="../../static/kefu.png" mode=""></image>
|
<image src="../../static/kefu.png" mode=""></image>
|
||||||
|
<span>联系客服</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -230,11 +231,11 @@
|
||||||
if (this.userId) {
|
if (this.userId) {
|
||||||
this.isLogin = false
|
this.isLogin = false
|
||||||
this.getUserInfo()
|
this.getUserInfo()
|
||||||
|
|
||||||
this.getAmount()
|
this.getAmount()
|
||||||
this.getIsVip()
|
this.getIsVip()
|
||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.isShop = 0;
|
this.isShop = 0;
|
||||||
this.isAgency = 0;
|
this.isAgency = 0;
|
||||||
|
@ -247,7 +248,7 @@
|
||||||
this.avatar = '../../static/logo.png'
|
this.avatar = '../../static/logo.png'
|
||||||
this.isVip = 0
|
this.isVip = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
goMsg() {//客服聊天
|
goMsg() {//客服聊天
|
||||||
|
@ -260,15 +261,10 @@
|
||||||
this.$Request.postJson('/app/chat/insertChatConversation', data).then(res => {
|
this.$Request.postJson('/app/chat/insertChatConversation', data).then(res => {
|
||||||
if (res.data) {
|
if (res.data) {
|
||||||
let id = this.ordersId == res.data.userId ? res.data.focusedUserId : this.ordersId
|
let id = this.ordersId == res.data.userId ? res.data.focusedUserId : this.ordersId
|
||||||
|
uni.navigateTo({
|
||||||
var list={
|
url: '/pages/msg/im?chatConversationId=' + res.data.chatConversationId +
|
||||||
chatConversationId:res.data.chatConversationId,
|
'&byUserId=' + res.data.userId
|
||||||
byUserId:res.data.userId
|
})
|
||||||
}
|
|
||||||
uni.setStorageSync('wbescokt',list)
|
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/msg/im'
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -294,7 +290,7 @@
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
goChat() {
|
goChat() {
|
||||||
let kefu = this.$queue.getData('kefu'); // 用户端联系方式 1 手机号 2企业微信
|
let kefu = this.$queue.getData('kefu'); // 用户端联系方式 1 手机号 2企业微信
|
||||||
let kefuPhone = this.$queue.getData('kefuPhone');
|
let kefuPhone = this.$queue.getData('kefuPhone');
|
||||||
if (kefu == 1) {
|
if (kefu == 1) {
|
||||||
uni.makePhoneCall({
|
uni.makePhoneCall({
|
||||||
|
@ -378,7 +374,7 @@
|
||||||
that.isVip = 0
|
that.isVip = 0
|
||||||
that.avatar = '../../static/logo.png'
|
that.avatar = '../../static/logo.png'
|
||||||
that.userId = uni.getStorageSync('userId')
|
that.userId = uni.getStorageSync('userId')
|
||||||
|
|
||||||
} else if (res.cancel) {
|
} else if (res.cancel) {
|
||||||
console.log('用户点击取消');
|
console.log('用户点击取消');
|
||||||
}
|
}
|
||||||
|
@ -400,8 +396,8 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
//成为按摩师 跳转商户端
|
//成为按摩师 跳转商户端
|
||||||
bindFb() {
|
bindFb() {
|
||||||
|
@ -497,11 +493,11 @@
|
||||||
this.avatar = res.data.avatar ? res.data.avatar : '../../static/logo.png'
|
this.avatar = res.data.avatar ? res.data.avatar : '../../static/logo.png'
|
||||||
this.isAuthentication = res.data.isAuthentication
|
this.isAuthentication = res.data.isAuthentication
|
||||||
this.isAgency = res.data.isAgency ? res.data.isAgency : 0; //是否是推广员 1是 2否
|
this.isAgency = res.data.isAgency ? res.data.isAgency : 0; //是否是推广员 1是 2否
|
||||||
|
|
||||||
|
|
||||||
this.money = res.data.money
|
this.money = res.data.money
|
||||||
this.couponnum = res.data.member
|
this.couponnum = res.data.member
|
||||||
|
|
||||||
// uni.setStorageSync('isAuthentication', res.data.isAuthentication)
|
// uni.setStorageSync('isAuthentication', res.data.isAuthentication)
|
||||||
this.isShop = res.data.isShop ? res.data.isShop : 0;
|
this.isShop = res.data.isShop ? res.data.isShop : 0;
|
||||||
uni.setStorageSync('avatar', res.data.avatar)
|
uni.setStorageSync('avatar', res.data.avatar)
|
||||||
|
@ -509,7 +505,7 @@
|
||||||
uni.setStorageSync('invitationCode', res.data.invitationCode)
|
uni.setStorageSync('invitationCode', res.data.invitationCode)
|
||||||
uni.setStorageSync('zhiFuBao', res.data.zhiFuBao)
|
uni.setStorageSync('zhiFuBao', res.data.zhiFuBao)
|
||||||
uni.setStorageSync('zhiFuBaoName', res.data.zhiFuBaoName)
|
uni.setStorageSync('zhiFuBaoName', res.data.zhiFuBaoName)
|
||||||
|
|
||||||
if (res.data.isAuthentication == 0 || res.data.isAuthentication == null) {
|
if (res.data.isAuthentication == 0 || res.data.isAuthentication == null) {
|
||||||
this.renzheng = 0
|
this.renzheng = 0
|
||||||
uni.setStorageSync("renzheng", this.renzheng)
|
uni.setStorageSync("renzheng", this.renzheng)
|
||||||
|
@ -532,10 +528,10 @@
|
||||||
this.renzheng = 6
|
this.renzheng = 6
|
||||||
uni.setStorageSync("renzheng", this.renzheng)
|
uni.setStorageSync("renzheng", this.renzheng)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
let clientid = plus.push.getClientInfo().clientid;
|
let clientid = plus.push.getClientInfo().clientid;
|
||||||
let sysPhone = 1;
|
let sysPhone = 1;
|
||||||
|
@ -552,7 +548,7 @@
|
||||||
}
|
}
|
||||||
//#endif
|
//#endif
|
||||||
},
|
},
|
||||||
|
|
||||||
getIsVip() {
|
getIsVip() {
|
||||||
this.$Request.get("/app/UserVip/selectUserVip").then(res => {
|
this.$Request.get("/app/UserVip/selectUserVip").then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
@ -589,9 +585,9 @@
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
youhui(link){//优惠劵,券码兑换,积分兑换 跳页
|
youhui(link){//优惠劵,券码兑换,积分兑换 跳页
|
||||||
if (this.userId) {
|
if (this.userId) {
|
||||||
|
@ -703,8 +699,9 @@
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
margin-bottom:100rpx;
|
margin-bottom: 20%;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
|
background-color: #fff;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
.shop_label{
|
.shop_label{
|
||||||
|
@ -788,7 +785,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0px 10px;
|
padding: 0px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-detail {
|
.item-detail {
|
||||||
padding: 5rpx 15rpx;
|
padding: 5rpx 15rpx;
|
||||||
border-radius: 10rpx;
|
border-radius: 10rpx;
|
||||||
|
@ -796,7 +793,7 @@
|
||||||
color: white;
|
color: white;
|
||||||
background-color: #007AFF;
|
background-color: #007AFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-line {
|
.item-line {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0rpx;
|
bottom: 0rpx;
|
||||||
|
@ -861,14 +858,13 @@
|
||||||
padding: 1px 2px;
|
padding: 1px 2px;
|
||||||
border-radius: 6rpx;
|
border-radius: 6rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prompt-text{
|
.prompt-text{
|
||||||
font-size: 21rpx;
|
font-size: 21rpx;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
height: 170rpx;
|
height: 170rpx;
|
||||||
text-align: top;
|
text-align: top;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 20rpx 0;
|
|
||||||
}
|
}
|
||||||
.my-use-list-text{
|
.my-use-list-text{
|
||||||
color: #6C6C6C;
|
color: #6C6C6C;
|
||||||
|
@ -925,7 +921,7 @@
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-serve-title,.my-use-title{
|
.my-serve-title,.my-use-title{
|
||||||
width: 95%;
|
width: 95%;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
@ -967,7 +963,7 @@
|
||||||
}
|
}
|
||||||
.my-head-mian-bottom-list-text{
|
.my-head-mian-bottom-list-text{
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: #6C6C6C;
|
color: #6C6C6C;
|
||||||
}
|
}
|
||||||
.my-head-mian-bottom-list{
|
.my-head-mian-bottom-list{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -981,7 +977,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding-bottom: 30rpx;
|
padding-bottom: 30rpx;
|
||||||
margin-top:30rpx;
|
margin-top:30rpx;
|
||||||
border-top: 1px #F6F6F6 solid;
|
border-top: 1px #F6F6F6 solid;
|
||||||
padding-top: 20rpx;
|
padding-top: 20rpx;
|
||||||
|
@ -1144,7 +1140,7 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.div-with-background {
|
.div-with-background {
|
||||||
|
|
||||||
width: 300px; /* 你的容器宽度 */
|
width: 300px; /* 你的容器宽度 */
|
||||||
height: 200px; /* 你的容器高度 */
|
height: 200px; /* 你的容器高度 */
|
||||||
}
|
}
|
||||||
|
@ -1169,4 +1165,4 @@
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in New Issue