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