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