Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
6d3d92f8
Commit
6d3d92f8
authored
Jun 17, 2020
by
zhangjianguo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3763a45f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
19 deletions
+32
-19
balance.vue
pages/balance/balance.vue
+17
-8
goods.vue
pages/goods/goods.vue
+2
-2
refunds-list.vue
pages/order/after-sale/refunds-list.vue
+3
-3
refunds.vue
pages/order/after-sale/refunds.vue
+1
-1
cash.vue
pages/share/cash/cash.vue
+3
-3
user-center.vue
pages/user-center/user-center.vue
+6
-2
No files found.
pages/balance/balance.vue
View file @
6d3d92f8
<
template
>
<view
class=
"balanceStyle"
:style=
"
{'height':contentHeight}" >
<view
:style=
"
{'backgroundImage':'url('+(g.setting.bj_pic_url.url?g.setting.bj_pic_url.url:'')+')',backgroundSize: 'cover'}"
class="balance_top" >
<view
class=
"balance_top"
>
<Text
style=
'margin-top:50rpx ;color: #fff;;font-size: 24rpx;'
>
账户余额(元)
</Text>
<Text
style=
'margin-top:50rpx ;color: #fff;;font-size: 36px;'
>
{{
g
.
balance
?
g
.
balance
:
0
}}
</Text>
<Text
style=
'margin-top:50rpx ;color: #fff;;font-size: 36px;'
>
{{
balance
}}
</Text>
<view
class=
"recharge"
@
click=
"goUrl('/pages/balance/recharge')"
>
<Text
style=
'color: #fff;;font-size: 28rpx;'
>
充值
</Text>
</view>
...
...
@@ -64,7 +64,7 @@
data
()
{
return
{
pageTitle
:
"余额记录"
,
balance
:
0
,
showAuth
:
false
,
contentHeight
:
0
,
mainColor
:
""
,
...
...
@@ -105,7 +105,8 @@
title
:
this
.
pageTitle
,
});
},
onLoad
(){
onLoad
(
option
){
this
.
balance
=
option
.
balance
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
if
(
!
this
.
u
)
{
this
.
u
=
{
...
...
@@ -229,10 +230,15 @@
return
i
;
},
goUrl
(
url
){
console
.
log
(
url
)
uni
.
navigateTo
({
url
:
url
})
// console.log(url )
// uni.navigateTo({
// url: url
// })
uni
.
showToast
({
title
:
'正在开发,敬请期待'
,
icon
:
"none"
});
},
godetail
(
item
){
uni
.
navigateTo
({
...
...
@@ -264,6 +270,9 @@
flex-direction
:
column
;
align-items
:
center
;
position
:
relative
;
background-image
:
url(../../static/images/icon/privilegebg.jpeg)
;
background-repeat
:
no-repeat
;
background-size
:
100%
215px
;
}
.balanceStyle
.recharge
{
width
:
90px
;
...
...
pages/goods/goods.vue
View file @
6d3d92f8
...
...
@@ -299,9 +299,9 @@ export default {
},
onShareAppMessage
(
res
)
{
return
{
title
:
this
.
g
.
name
,
title
:
this
.
g
.
app_share_title
!=
null
?
this
.
g
.
app_share_title
:
this
.
g
.
name
,
path
:
"/pages/goods/goods?id"
+
this
.
id
,
imageUrl
:
this
.
g
.
pic_url
[
0
].
pic_url
,
imageUrl
:
this
.
g
.
app_share_pic
!=
null
?
this
.
g
.
app_share_pic
:
this
.
g
.
pic_url
[
0
].
pic_url
,
};
},
methods
:
{
...
...
pages/order/after-sale/refunds-list.vue
View file @
6d3d92f8
...
...
@@ -90,10 +90,10 @@
</view>
<view>
<text
style=
"font-size: 24rpx; color: gray;"
>
申请
数量
:
</text
>
申请
金额
:
</text
>
<text
style=
"font-size: 26rpx; color: #000;"
>
{{
item
.
OrderDetailModel
.
Number
<text
style=
"font-size: 26rpx; color: #000;"
>
¥
{{
item
.
OrderDetailModel
.
Final_Price
}}
</text>
</view>
</view>
...
...
pages/order/after-sale/refunds.vue
View file @
6d3d92f8
...
...
@@ -184,7 +184,7 @@ export default {
this
.
forms
.
ReNumber
=
res
.
data
.
Number
;
if
(
this
.
forms
.
Type
==
1
)
{
this
.
forms
.
Refund
=
res
.
data
.
Final_Price
-
res
.
data
.
FreightMoney
;
this
.
forms
.
Refund
=
res
.
data
.
Final_Price
;
}
this
.
loading
=
false
;
uni
.
hideNavigationBarLoading
();
...
...
pages/share/cash/cash.vue
View file @
6d3d92f8
...
...
@@ -3,8 +3,8 @@
<view
class=
"cashBox"
>
<view
class=
"cashBox_top"
>
<Text
style=
'font-size: 18px;margin-top: 10px;'
>
账户剩余余额:
{{
cash
.
CommissionWithdrawal
}}
元
</Text>
<Text
style=
'font-size: 14px;color:#333 ;margin-top: 10px;'
>
今日剩余提现金额:
{{
cash
.
CanRemitMoney
}}
元
</Text>
<Text
style=
'font-size: 14px;color:#333 ;margin-top: 10px;'
>
最少提现额度:
{{
cash
.
MinimumWithdrawalLimit
!=-
1
?
cash
.
MinimumWithdrawalLimit
+
'元'
:
'不限'
}}
</Text>
<Text
style=
'font-size: 14px;color:#333 ;margin-top: 10px;'
>
今日剩余提现金额:
{{
cash
.
CanRemitMoney
==-
1
?
'不限'
:
cash
.
CanRemitMoney
+
'元'
}}
</Text>
<Text
style=
'font-size: 14px;color:#333 ;margin-top: 10px;'
>
最少提现额度:
{{
cash
.
MinimumWithdrawalLimit
}}
元
</Text>
<Text
style=
'font-size: 14px;color:#333 ;margin-top: 10px;'
>
手续费 百分比:
{{
cash
.
WithdrawFee
}}
%
</Text>
<!--
<view
style=
"display: flex;flex-direction: row;align-items: center;margin-top: 10px;"
>
<Text
style=
'font-size: 12px;color:#333 '
>
今日提现金额无限制
</Text>
...
...
@@ -254,7 +254,7 @@
}
this
.
msg
.
Fee
=
this
.
cash
.
WithdrawFee
*
0.01
*
this
.
msg
.
AppliedMoney
;
this
.
msg
.
AppliedMoney
=
this
.
msg
.
AppliedMoney
-
this
.
msg
.
Fee
;
//最终提现要减去 手续费
uni
.
showNavigationBarLoading
();
this
.
request2
(
{
...
...
pages/user-center/user-center.vue
View file @
6d3d92f8
...
...
@@ -6,7 +6,7 @@
<u-avatar
:src=
"user_info.avatar"
size=
"140"
style=
"margin-left: 50rpx;"
></u-avatar>
<view
style=
"display: flex;flex-direction: column;justify-content: center;"
>
<Text
style=
"color: #FFF;margin-left: 20rpx;font-size: 36rpx;"
@
click=
"login(user_info)"
>
{{
user_info
.
nickname
?
user_info
.
nickname
:
'立即登录'
}}
</Text>
<view
class=
"member"
@
click=
"goUrl('/pages/member/index/index')"
v-if=
'user_info.nickname'
>
<view
class=
"member"
v-if=
'user_info.nickname'
>
<image
:src=
"meueData.user_center.top_pic_url"
mode=
'aspectFill'
style=
"width: 26px;height: 26px;border-radius: 13px;"
></image>
<Text
style=
'margin-right: 10px;'
>
{{
user_info
.
identity
.
level_name
!=
null
?
user_info
.
identity
.
level_name
:
'普通用户'
}}
</Text>
</view>
...
...
@@ -16,7 +16,7 @@
<view
style=
"display: flex;flex-direction: column;align-items: center;"
v-if=
"meueData.user_center.top_style == 2"
>
<u-avatar
:src=
"user_info.avatar"
size=
"140"
></u-avatar>
<Text
style=
"color: #FFF;margin-left: 20rpx;font-size: 36rpx;"
@
click=
"login(user_info)"
>
{{
user_info
.
nickname
?
user_info
.
nickname
:
'立即登录'
}}
</Text>
<view
class=
"member"
@
click=
"goUrl('/pages/member/index/index')"
v-if=
'user_info.nickname'
>
<view
class=
"member"
v-if=
'user_info.nickname'
>
<image
:src=
"meueData.user_center.top_pic_url"
mode=
'aspectFill'
style=
"width: 26px;height: 26px;border-radius: 13px;"
></image>
<Text
style=
'margin-right: 10px;'
>
{{
user_info
.
identity
.
level_name
!=
null
?
user_info
.
identity
.
level_name
:
'普通用户'
}}
</Text>
</view>
...
...
@@ -199,6 +199,10 @@ console.log(wx.getStorageSync('basedata'))
uni
.
navigateTo
({
url
:
'/pages/order/after-sale/refunds-list'
});
}
else
if
(
url
==
'/pages/balance/balance'
){
uni
.
navigateTo
({
url
:
'/pages/balance/balance?balance='
+
this
.
user_info
.
balance
});
}
else
{
uni
.
navigateTo
({
url
:
url
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment