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
38fc677d
Commit
38fc677d
authored
Aug 25, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报错的修改
parent
49483c1f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
user-center.vue
pages/user-center/user-center.vue
+8
-4
No files found.
pages/user-center/user-center.vue
View file @
38fc677d
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<text
style=
"font-size: 21px;"
>
{{
user_info
.
footprint
?
user_info
.
footprint
:
0
}}
</text>
<text
style=
"font-size: 21px;"
>
{{
user_info
.
footprint
?
user_info
.
footprint
:
0
}}
</text>
<text>
{{
meueData
.
user_center
.
foot_bar
[
1
].
name
}}
</text>
<text>
{{
meueData
.
user_center
.
foot_bar
[
1
].
name
}}
</text>
</view>
</view>
<view
class=
"top_b_item"
v-if=
"meueData.user_center.is_account_status == 1"
@
click=
"goUrl(couponsObj.link_url)"
>
<view
class=
"top_b_item"
v-if=
"meueData.user_center
&&meueData.user_center
.is_account_status == 1"
@
click=
"goUrl(couponsObj.link_url)"
>
<text
style=
"font-size: 21px;"
>
{{
user_info
.
coupon
?
user_info
.
coupon
:
0
}}
</text>
<text
style=
"font-size: 21px;"
>
{{
user_info
.
coupon
?
user_info
.
coupon
:
0
}}
</text>
<text>
{{
couponsObj
.
name
}}
</text>
<text>
{{
couponsObj
.
name
}}
</text>
</view>
</view>
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
<u-icon
name=
"location"
color=
"#fff"
size=
"23"
></u-icon>
<u-icon
name=
"location"
color=
"#fff"
size=
"23"
></u-icon>
<Text
style=
"color: #fff;font-size: 12px;margin-left: 20rpx;"
>
收货地址
</Text>
<Text
style=
"color: #fff;font-size: 12px;margin-left: 20rpx;"
>
收货地址
</Text>
</view>
</view>
<view
class=
"Receiptbalance"
v-if=
"meueData.user_center.is_account_status == 1"
>
<view
class=
"Receiptbalance"
v-if=
"meueData.user_center
&&meueData.user_center
.is_account_status == 1"
>
<view
class=
"Receiptbalance_item"
v-for=
"(item, index) in meueData.user_center.account"
:key=
"index"
<view
class=
"Receiptbalance_item"
v-for=
"(item, index) in meueData.user_center.account"
:key=
"index"
v-if=
"item.link_url == '/pages/balance/balance'"
@
click=
"goUrl(item.link_url)"
>
v-if=
"item.link_url == '/pages/balance/balance'"
@
click=
"goUrl(item.link_url)"
>
<image
:src=
"item.icon_url"
style=
"width: 22px;height: auto"
mode =
'widthFix'
></image>
<image
:src=
"item.icon_url"
style=
"width: 22px;height: auto"
mode =
'widthFix'
></image>
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
</view>
</view>
</view>
</view>
<view
:class=
"meueData.user_center.menu_style == 1 ? 'menus2' : 'menus'"
v-if=
"meueData.user_center.is_menu_status == 1"
>
<view
:class=
"meueData.user_center.menu_style == 1 ? 'menus2' : 'menus'"
v-if=
"meueData.user_center
&& meueData.user_center
.is_menu_status == 1"
>
<view
<view
:class=
"meueData.user_center.menu_style == 1 ? 'menus_item2' : 'menus_item'"
:class=
"meueData.user_center.menu_style == 1 ? 'menus_item2' : 'menus_item'"
v-for=
"(item, index) in meueData.user_center.menus"
v-for=
"(item, index) in meueData.user_center.menus"
...
@@ -299,7 +299,11 @@ export default {
...
@@ -299,7 +299,11 @@ export default {
})
})
}
}
);
);
let
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
if
(
u
){
this
.
getMicroShopBasics
()
this
.
getMicroShopBasics
()
}
},
},
getMicroShopBasics
(){
getMicroShopBasics
(){
this
.
request2
(
this
.
request2
(
...
...
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