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
f39e26dd
Commit
f39e26dd
authored
Jul 21, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f966f330
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
317 additions
and
117 deletions
+317
-117
index.vue
pages/share/index/index.vue
+53
-5
user-center.vue
pages/user-center/user-center.vue
+264
-112
icon-balance-recharge-bg.png
static/images/icon/icon-balance-recharge-bg.png
+0
-0
shareTop.png
static/images/shareTop.png
+0
-0
No files found.
pages/share/index/index.vue
View file @
f39e26dd
<
template
>
<view
class=
"shareindexStyle"
:style=
"
{'height':contentHeight}">
<view
class=
"headStatus"
v-if=
""
:style=
"[headStyle]"
>
<view
class=
"arrow"
@
click=
"redirectPrev"
>
<u-icon
name=
"arrow-left"
size=
"48"
color=
"#000"
></u-icon>
</view>
<view
class=
"title"
>
{{
pageTitle
}}
</view>
</view>
<view
class=
"shareadd"
v-if=
" sharestatus.Status==1"
>
<u-empty
text=
" "
mode=
"data"
></u-empty>
<Text
style=
'margin: 10px 0;'
>
{{
sharestatus
.
Msg
}}
</Text>
...
...
@@ -7,7 +17,7 @@
<Text>
{{
sharestatus
.
ApplyForName
}}
</Text>
</view>
</view>
<view
v-if=
"sharestatus.Status==
2
"
style=
"width: 100%;display: flex;flex-direction: column;align-items: center;"
>
<view
v-if=
"sharestatus.Status==
3
"
style=
"width: 100%;display: flex;flex-direction: column;align-items: center;"
>
<image
src=
"../../../static/images/icon/img-share-status.png"
style=
"width: 100%;height: 165px;"
></image>
<Text
style=
'margin-top: 70px;'
>
谢谢您的支持,请等待审核
</Text>
<view
style=
"display: flex;align-items: center;justify-content: center;margin-top: 60rpx;"
>
...
...
@@ -21,7 +31,7 @@
<u-button
shape=
"circle"
type=
"error"
size=
"medium"
@
click=
'goshoping'
>
去商城逛逛
</u-button>
</view>
-->
</view>
<view
style=
"width: 100%;height: 100%;"
v-if=
"sharestatus.Status==
3
"
>
<view
style=
"width: 100%;height: 100%;"
v-if=
"sharestatus.Status==
4
"
>
<view
class=
"sharebox_top"
:style=
"
{background:mainColor}">
<view
class=
"sharebox_top_t"
>
<view
class=
"top_t_l"
>
...
...
@@ -121,15 +131,17 @@
userinfo
:{},
sharedata
:{},
showAuth
:
false
showAuth
:
false
,
nav
:
0
,
headStyle
:{}
}
},
created
(){
this
.
contentHeight
=
this
.
$utils
.
calcContentHeight
(
-
40
)
+
'px'
;
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
secondary
=
this
.
$uiConfig
.
secondary
;
this
.
nav
=
uni
.
getMenuButtonBoundingClientRect
().
top
+
'px'
;
this
.
headStyle
.
paddingTop
=
this
.
nav
;
},
mounted
()
{
let
currentPages
=
getCurrentPages
();
...
...
@@ -232,6 +244,14 @@
}
},
redirectPrev
()
{
if
(
this
.
prevPage
!=
""
)
{
uni
.
navigateBack
({
delta
:
1
,
});
}
},
goUrl
(
url
){
console
.
log
(
url
)
uni
.
navigateTo
({
...
...
@@ -326,4 +346,32 @@
font-size
:
13px
;
margin
:
5px
0
;
}
.shareindexStyle
.headStatus
{
overflow
:
hidden
;
position
:
relative
;
width
:
140vw
;
padding-right
:
40vw
;
padding-bottom
:
10px
;
position
:
fixed
;
left
:
0
;
right
:
0
;
top
:
0
;
display
:
flex
;
background
:
#FFFFFF
;
}
.shareindexStyle
.headStatus
.arrow
{
height
:
24px
;
margin
:
5px
10px
;
width
:
24px
;
}
.shareindexStyle
.headStatus
.title
{
font-size
:
18px
;
color
:
#000
;
flex
:
1
;
width
:
1px
;
margin-left
:
10px
;
line-height
:
34px
;
/* text-align: center; */
}
</
style
>
pages/user-center/user-center.vue
View file @
f39e26dd
This diff is collapsed.
Click to expand it.
static/images/icon/icon-balance-recharge-bg.png
0 → 100644
View file @
f39e26dd
9.24 KB
static/images/shareTop.png
0 → 100644
View file @
f39e26dd
10.2 KB
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