|
|
|
@ -14,40 +14,37 @@
|
|
|
|
|
</view> |
|
|
|
|
<view class="phones" v-if="phone">{{phone.substr(0,4)}}****{{phone.substr(8,11)}}</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="noLogin" @tap="checkLogin()" v-else>登录</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="info-jifen"> |
|
|
|
|
<view class="wdjf">账户资金</view> |
|
|
|
|
<view class="shouye_item"> |
|
|
|
|
<view class="shouye_item_left" @tap="myMoneyMessage"> |
|
|
|
|
<view class="shouye_item_money"><span style="font-size: 28rpx;">¥</span>{{myMoney}}</view> |
|
|
|
|
<view class="shouye_item_text">账户余额</view> |
|
|
|
|
<view class="shouye_item_money"><span style="font-size: 28rpx;">¥</span>{{myMoney}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="shouye_item_center" @tap="moneyMessage"> |
|
|
|
|
<view class="shouye_item_money"><span style="font-size: 28rpx;">¥</span>{{money}}</view> |
|
|
|
|
<view class="shouye_item_text">不可用金额</view> |
|
|
|
|
<view class="shouye_item_money"><span style="font-size: 28rpx;">¥</span>{{money}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="shouye_item_right" @tap="cashMoneyMessage"> |
|
|
|
|
<view class="shouye_item_money"><span style="font-size: 28rpx;">¥</span>{{cashMoney}}</view> |
|
|
|
|
<view class="shouye_item_text">可用金额</view> |
|
|
|
|
|
|
|
|
|
<view class="shouye_item_money"><span style="font-size: 28rpx;">¥</span>{{cashMoney}}</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
<view class="line"></view> |
|
|
|
|
<view class="tuandui_item"> |
|
|
|
|
<view class="shouye_item_left" @tap="goPageLogin('/pages/my/recharge')"> |
|
|
|
|
<image class="shouye_item_img" src="../../static/img/my/zhcz.png"></image> |
|
|
|
|
<image class="shouye_item_img" src="../../static/img/my/chongzhi.png"></image> |
|
|
|
|
<view class="shouye_item_text">账户充值</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="shouye_item_center" @tap="goPageLogin('/pages/my/withdrawal')"> |
|
|
|
|
<image class="shouye_item_img" src="../../static/img/my/yetx.png"></image> |
|
|
|
|
<image class="shouye_item_img" src="../../static/img/my/tixian.png"></image> |
|
|
|
|
<view class="shouye_item_text">余额提现</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="shouye_item_right" @tap="goPageLogin('/pages/my/balanceHistory')"> |
|
|
|
|
<image class="shouye_item_img" src="../../static/img/my/yels.png"></image> |
|
|
|
|
<image class="shouye_item_img" src="../../static/img/my/lishi.png"></image> |
|
|
|
|
<view class="shouye_item_text">余额历史</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -57,35 +54,35 @@
|
|
|
|
|
<view class="integrals-box"> |
|
|
|
|
<view class="integral" @tap="goPageLoginByMerchant('/pages/my/toExamine')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/spsh.png"></image> |
|
|
|
|
<image src="../../static/img/my/dingdan.png"></image> |
|
|
|
|
<text>我的订单</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> |
|
|
|
|
<view class="integral" @tap="goPageLoginByMerchant('/pages/my/myshop')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/wddp.png"></image> |
|
|
|
|
<image src="../../static/img/my/dianpu.png"></image> |
|
|
|
|
<text>我的店铺</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> |
|
|
|
|
<view class="integral" @tap="goPageLoginByMerchant('../activity/index')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/hdgl.png"></image> |
|
|
|
|
<image src="../../static/img/my/huodong.png"></image> |
|
|
|
|
<text>活动管理</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> |
|
|
|
|
<view class="integral" @tap="goPageLogin('/pages/my/cooperation')"> |
|
|
|
|
<!-- <view class="integral" @tap="goPageLogin('/pages/my/cooperation')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/dlhz.png"></image> |
|
|
|
|
<text>代理合作</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> |
|
|
|
|
</view> --> |
|
|
|
|
<view class="integral" @tap="goPageLogin('/pages/my/customer')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/lxkf.png"></image> |
|
|
|
|
<image src="../../static/img/my/lianxikefu.png"></image> |
|
|
|
|
<text>联系客服</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
@ -94,35 +91,36 @@
|
|
|
|
|
<view class="integrals-box"> |
|
|
|
|
<view class="integral" @tap="goPageLogin('/pages/my/account?className=商家教程')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/sjjc.png"></image> |
|
|
|
|
<image src="../../static/img/my/jiaocheng.png"></image> |
|
|
|
|
<text>商家教程</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> |
|
|
|
|
<view class="integral" v-if="userId" @tap='loginOut()'> |
|
|
|
|
<!-- <view class="integral" v-if="userId" @tap='loginOut()'> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/qwyhd.png"></image> |
|
|
|
|
<text>前往用户端</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> |
|
|
|
|
</view> --> |
|
|
|
|
<view class="integral"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/fenxiang.png"></image> |
|
|
|
|
<button open-type="share" style="background: #FFFFFF;border: none;padding-left: 34rpx;font-size: 30rpx;font-weight: 500;">分享给其他商家</button> |
|
|
|
|
<image src="../../static/img/my/share.png"></image> |
|
|
|
|
<button open-type="share" |
|
|
|
|
style="background: #FFFFFF;border: none;padding-left: 34rpx;font-size: 30rpx;font-weight: 500;">分享给其他商家</button> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> |
|
|
|
|
<view class="integral" @tap="goPageLogin('/pages/my/account?className=关于我们')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/gywm.png"></image> |
|
|
|
|
<image src="../../static/img/my/about.png"></image> |
|
|
|
|
<text>关于我们</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
|
</view> |
|
|
|
|
<view class="integral" @tap="goPageLogin('/pages/member/feedback')"> |
|
|
|
|
<view class="left"> |
|
|
|
|
<image src="../../static/img/my/fankui.png"></image> |
|
|
|
|
<image src="../../static/img/my/yjfk.png"></image> |
|
|
|
|
<text>意见反馈</text> |
|
|
|
|
</view> |
|
|
|
|
<text class="right cuIcon-right"></text> |
|
|
|
@ -143,12 +141,12 @@
|
|
|
|
|
avatar: "/static/img/logo.jpg", |
|
|
|
|
member: 0, |
|
|
|
|
total: 0, |
|
|
|
|
tuiguang:'', |
|
|
|
|
backgroundImageUrl:'', |
|
|
|
|
tuiguang: '', |
|
|
|
|
backgroundImageUrl: '', |
|
|
|
|
CompanylinkUrl: '', |
|
|
|
|
Companyname: '', |
|
|
|
|
userId: '', |
|
|
|
|
shopcourse:'', |
|
|
|
|
shopcourse: '', |
|
|
|
|
nickName: "", |
|
|
|
|
isStudent: -1, |
|
|
|
|
MerchantList: 0, |
|
|
|
@ -230,7 +228,7 @@
|
|
|
|
|
let token = this.$queue.getData('token'); |
|
|
|
|
let userId = this.$queue.getData('userId'); |
|
|
|
|
if (token) { |
|
|
|
|
if(!url){ |
|
|
|
|
if (!url) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if (url.indexOf('/pages/') !== -1) { |
|
|
|
@ -276,13 +274,14 @@
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
getShopList(userId) { |
|
|
|
|
this.$Request.getT('/goodsMerchant/selectGoodsMerchantPage?page=1&limit=10&userId=' + userId + '&status=2').then(res => { |
|
|
|
|
if (res.code == 0) { |
|
|
|
|
if (res.data.records.length > 0) { |
|
|
|
|
this.$queue.setData('merchantId', res.data.records[0].merchantId); |
|
|
|
|
this.$Request.getT('/goodsMerchant/selectGoodsMerchantPage?page=1&limit=10&userId=' + userId + '&status=2') |
|
|
|
|
.then(res => { |
|
|
|
|
if (res.code == 0) { |
|
|
|
|
if (res.data.records.length > 0) { |
|
|
|
|
this.$queue.setData('merchantId', res.data.records[0].merchantId); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
checkMerchant(userId) { |
|
|
|
|
this.$Request.getT('/goodsMerchant/selectGoodsMerchantList?userId=' + userId + '&status=1').then(res => { |
|
|
|
@ -516,7 +515,7 @@
|
|
|
|
|
|
|
|
|
|
.header { |
|
|
|
|
width: 100%; |
|
|
|
|
height: 600rpx; |
|
|
|
|
height: 500rpx; |
|
|
|
|
display: block; |
|
|
|
|
position: relative; |
|
|
|
|
// background: #fff; |
|
|
|
@ -533,11 +532,11 @@
|
|
|
|
|
height: 425rpx; |
|
|
|
|
position: absolute; |
|
|
|
|
z-index: 15; |
|
|
|
|
padding: 100upx 30upx 0; |
|
|
|
|
padding: 0 30upx; |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
// background: #FF4701; |
|
|
|
|
background-image: url(../../static/img/my/myuser.png); |
|
|
|
|
|
|
|
|
|
background-size: 100%; |
|
|
|
|
|
|
|
|
|
.user-info-box { |
|
|
|
@ -567,7 +566,7 @@
|
|
|
|
|
margin-left: 20rpx; |
|
|
|
|
font-size: 40upx; |
|
|
|
|
font-weight: 800; |
|
|
|
|
color: #FEFEFE; |
|
|
|
|
color: #333333; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.user-info { |
|
|
|
@ -587,7 +586,7 @@
|
|
|
|
|
height: 38upx; |
|
|
|
|
line-height: 38upx; |
|
|
|
|
font-weight: 800; |
|
|
|
|
color: #fff; |
|
|
|
|
color:#333333; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.nick_image { |
|
|
|
@ -611,7 +610,7 @@
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.phones { |
|
|
|
|
color: #fff; |
|
|
|
|
color:#333333!important; |
|
|
|
|
margin-top: 15rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -647,10 +646,10 @@
|
|
|
|
|
width: 92%; |
|
|
|
|
height: 360rpx; |
|
|
|
|
position: absolute; |
|
|
|
|
background: #fff; |
|
|
|
|
background: linear-gradient(50deg, #FF4848 0%, #FF6E6E 100%); |
|
|
|
|
border-radius: 15rpx; |
|
|
|
|
z-index: 15; |
|
|
|
|
margin: 235upx 30upx 0; |
|
|
|
|
margin: 120upx 30upx 0; |
|
|
|
|
padding: 20upx; |
|
|
|
|
box-sizing: border-box; |
|
|
|
|
box-shadow: 0 0 3px 1px #ccc; |
|
|
|
@ -659,28 +658,34 @@
|
|
|
|
|
margin-top: 10rpx; |
|
|
|
|
font-size: 34rpx; |
|
|
|
|
font-weight: 400; |
|
|
|
|
color: #806C30; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.line{ |
|
|
|
|
height: 1px; |
|
|
|
|
background-color: #FFFFFF; |
|
|
|
|
margin-top: 20px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.shouye_item { |
|
|
|
|
margin-top: 20rpx; |
|
|
|
|
display: flex; |
|
|
|
|
width: 100%; |
|
|
|
|
color: #333333; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
// text-align: justify; |
|
|
|
|
text-align: center; |
|
|
|
|
padding: 0rpx 20rpx; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
|
|
.shouye_item_text { |
|
|
|
|
color: #806C30; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
font-size: 24rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.shouye_item_money { |
|
|
|
|
margin-top: 10rpx; |
|
|
|
|
font-size: 38rpx; |
|
|
|
|
color: #FF4701; |
|
|
|
|
font-size: 20px; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.shouye_item_left { |
|
|
|
@ -732,7 +737,7 @@
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.shouye_item_text { |
|
|
|
|
color: #999; |
|
|
|
|
color: #FFFFFF; |
|
|
|
|
font-size: 24rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|