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
d1cb9a02
Commit
d1cb9a02
authored
Apr 26, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改一些样式问题
parent
04d7f8ce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
28 deletions
+48
-28
index.vue
components/rubik/index.vue
+1
-1
index.vue
pages/index/index.vue
+3
-4
index.vue
pages/share/index/index.vue
+44
-23
No files found.
components/rubik/index.vue
View file @
d1cb9a02
...
...
@@ -27,7 +27,7 @@ export default {
}
},
created
()
{
console
.
log
(
this
.
ad
)
//
console.log(this.ad)
this
.
ad
.
list
.
forEach
((
x
)
=>
{
x
.
formatStyle
=
{
width
:
x
.
width
,
...
...
pages/index/index.vue
View file @
d1cb9a02
...
...
@@ -726,7 +726,8 @@
setTimeout
(()
=>
{
let
UserId
=
uni
.
getStorageSync
(
'mall_UserInfo'
)?
uni
.
getStorageSync
(
'mall_UserInfo'
).
UserId
:
0
;
uni
.
navigateTo
({
url
:
"/pages/share/salesvolume?UserId="
+
UserId
,
// url: "/pages/share/salesvolume?UserId="+UserId,
url
:
'/pages/share-order/share-order'
});
},
10
)
},
...
...
@@ -1203,9 +1204,7 @@
yj
(){
uni
.
navigateTo
({
url
:
'/pages/blindDate/userList'
// url: '/pages/share/index/index'
url
:
'/pages/share/index/index'
})
}
...
...
pages/share/index/index.vue
View file @
d1cb9a02
...
...
@@ -36,8 +36,8 @@
<image
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/img-share-status.png"
style=
"width: 100%;height: 165px;"
></image>
<Text
style=
'margin-top: 70px;'
>
{{
sharestatus
.
Msg
}}
</Text>
</view>
<view
style=
"width: 100%;height: 100%;"
v-if=
"sharestatus.Status==3"
>
<view
class=
"sharebox_top"
>
<view
style=
"width: 100%;height: 100%;
background: #f3f4f6;
"
v-if=
"sharestatus.Status==3"
>
<view
class=
"sharebox_top"
:style=
"
{height:topHeight+'rpx'}"
>
<view
class=
"sharebox_top_nav"
:style=
"
{paddingTop:nav+'px'}">
<view
class=
"arrow"
@
click=
"redirectPrev"
>
<u-icon
name=
"arrow-left"
size=
"48"
color=
"#fff"
></u-icon>
...
...
@@ -50,12 +50,12 @@
<u-avatar
:src=
"sharedata.UserInfo.Photo"
size=
"130"
></u-avatar>
<view
style=
"display: flex;flex-direction: column;color: #fff;margin-left: 16px;"
>
<view
style=
"display: flex;flex-direction: row;align-items: center"
>
<Text
style=
'font-size:
18px;max-width: 150
px;overflow: hidden;display: inline-block;white-space: nowrap; text-overflow:ellipsis;'
>
<Text
style=
'font-size:
36rpx;max-width: 300r
px;overflow: hidden;display: inline-block;white-space: nowrap; text-overflow:ellipsis;'
>
{{
sharedata
.
UserInfo
.
UserName
}}
</Text>
<view
class=
"sj_style"
style=
""
@
click=
"goUrl('/pages/share/level/level_t')"
v-if=
"sharedata.UserInfo.IsEnableFXGrade==1"
>
<image
src=
"../../../static/images/sj.png"
style=
"width: 9px;height:
10
px;"
></image>
<text
style=
"font-size:
10
px;color: #fff;"
>
<image
src=
"../../../static/images/sj.png"
style=
"width: 9px;height:
20r
px;"
></image>
<text
style=
"font-size:
20r
px;color: #fff;"
>
升级规则
</text>
</view>
...
...
@@ -67,30 +67,30 @@
</text>
</view>
</view>
<Text
style=
'font-size:
12
px;margin-top: 5px;'
>
{{
sharedata
.
CustomModel
.
ReferrerName
}}
:
{{
sharedata
.
UserInfo
.
SuperiorName
!=
''
&&
sharedata
.
UserInfo
.
SuperiorName
!=
null
?
sharedata
.
UserInfo
.
SuperiorName
:
'总部'
}}
</Text>
<Text
style=
'font-size:
24r
px;margin-top: 5px;'
>
{{
sharedata
.
CustomModel
.
ReferrerName
}}
:
{{
sharedata
.
UserInfo
.
SuperiorName
!=
''
&&
sharedata
.
UserInfo
.
SuperiorName
!=
null
?
sharedata
.
UserInfo
.
SuperiorName
:
'总部'
}}
</Text>
<view
style=
"display:flex;align-items: center;margin-top: 5px;"
>
<Text
style=
'font-size:
12
px;'
>
等级:
</Text>
<Text
style=
'font-size:
24r
px;'
>
等级:
</Text>
<image
v-if=
"sharedata.UserInfo.GradeIcon!=null && sharedata.UserInfo.GradeIcon!=''"
:src=
"sharedata.UserInfo.GradeIcon"
style=
"width:67px;height:22px;"
></image>
<text
v-else
style=
"font-size:
12
px;"
>
{{
sharedata
.
UserInfo
.
GradeName
}}
</text>
<text
v-else
style=
"font-size:
24r
px;"
>
{{
sharedata
.
UserInfo
.
GradeName
}}
</text>
</view>
<Text
style=
'font-size: 12px;margin-top: 5px;height:
19
px;'
>
{{
sharedata
.
UserInfo
.
IsEnableFXGrade
==
1
&&
sharedata
.
UserInfo
.
IsVip
==
1
?
'会员日期:'
+
sharedata
.
UserInfo
.
VipExpiryDate
:
''
}}
</Text>
<Text
style=
'font-size: 12px;margin-top: 5px;height:
38r
px;'
>
{{
sharedata
.
UserInfo
.
IsEnableFXGrade
==
1
&&
sharedata
.
UserInfo
.
IsVip
==
1
?
'会员日期:'
+
sharedata
.
UserInfo
.
VipExpiryDate
:
''
}}
</Text>
</view>
</view>
</view>
<view
class=
"sharebox_topc"
>
<view
class=
"center_item"
style=
"font-size:
12
px;color: #FFFFFF;justify-content: space-between;"
>
<view
class=
"center_item"
style=
"font-size:
24r
px;color: #FFFFFF;justify-content: space-between;"
>
<Text>
{{
sharedata
.
CustomModel
.
CommissionWithdrawnName
}}
</Text>
<Text>
{{
sharedata
.
UserInfo
.
TXCommission
!=
null
?
sharedata
.
UserInfo
.
TXCommission
:
0
}}
元
</Text>
</view>
<view
style=
"width: 2px;height: 25px;background: #FFFFFF;justify-content: space-between;"
></view>
<view
class=
"center_item"
style=
"font-size:
12
px;color: #FFFFFF;"
>
<view
class=
"center_item"
style=
"font-size:
24r
px;color: #FFFFFF;"
>
<Text>
{{
sharedata
.
CustomModel
.
OutstandingCommissionName
}}
</Text>
<Text>
{{
sharedata
.
UserInfo
.
WJSCommission
!=
null
?
sharedata
.
UserInfo
.
WJSCommission
:
0
}}
元
</Text>
</view>
<view
style=
"width: 2px;height: 25px;background: #FFFFFF;justify-content: space-between;"
></view>
<view
class=
"center_item"
style=
"font-size:
12
px;color: #FFFFFF;"
@
click=
"gosales()"
>
<view
class=
"center_item"
style=
"font-size:
24r
px;color: #FFFFFF;"
@
click=
"gosales()"
>
<Text>
销售额
</Text>
<Text>
{{
sharedata
.
UserInfo
.
MySellMoney
!=
null
?
sharedata
.
UserInfo
.
MySellMoney
.
toFixed
(
0
)
:
0
}}
元
</Text>
<Text>
{{
sharedata
.
UserInfo
.
MySellMoney
?
sharedata
.
UserInfo
.
MySellMoney
.
toFixed
(
0
)
:
0
}}
元
</Text>
</view>
</view>
<!-- 会员购买 -->
...
...
@@ -237,6 +237,7 @@
IsEducation
:
0
,
orderPopupdata
:{},
//离线收益的弹窗
showorder
:
false
,
//显示弹出
topHeight
:
500
,
//头部高度
}
},
created
()
{
...
...
@@ -250,6 +251,23 @@
(
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
?
uni
.
getStorageSync
(
'basedata'
).
mall
.
setting
.
mallStyle
.
IsEducation
:
0
)
:
0
;
let
that
=
this
;
uni
.
getSystemInfo
({
success
:
function
(
res
)
{
console
.
log
(
res
);
if
(
res
.
windowHeight
<=
600
){
that
.
topHeight
=
550
}
if
(
res
.
windowHeight
<=
640
){
that
.
topHeight
=
510
}
if
(
res
.
safeAreaInsets
.
top
==
44
){
that
.
topHeight
=
530
}
}
});
},
mounted
()
{
let
currentPages
=
getCurrentPages
();
...
...
@@ -359,7 +377,8 @@
setTimeout
(()
=>
{
let
UserId
=
uni
.
getStorageSync
(
'mall_UserInfo'
)?
uni
.
getStorageSync
(
'mall_UserInfo'
).
UserId
:
0
;
uni
.
navigateTo
({
url
:
'/pages/share/salesvolume?UserId='
+
UserId
// url: '/pages/share/salesvolume?UserId='+UserId
url
:
'/pages/share-order/share-order'
});
},
10
)
...
...
@@ -458,7 +477,7 @@
.shareindexStyle
.sharebox_top
{
width
:
100%
;
height
:
242
px
;
height
:
540
r
px
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
...
...
@@ -473,8 +492,10 @@
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-between
;
height
:
44px
;
/* height: 44px; */
line-height
:
34px
;
padding
:
0
10px
;
}
.shareindexStyle
.sharebox_top
.sharebox_top_t
{
...
...
@@ -483,7 +504,7 @@
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-between
;
margin-top
:
20
px
;
margin-top
:
40
r
px
;
}
.shareindexStyle
.sharebox_top
.sharebox_top_t
.top_t_l
{
...
...
@@ -499,10 +520,10 @@
align-items
:
center
;
justify-content
:
center
;
background
:
rgba
(
55
,
55
,
55
,
0.1
);
width
:
70
px
;
height
:
20
px
;
border-radius
:
10
px
;
margin-left
:
20
px
;
width
:
140
r
px
;
height
:
40
r
px
;
border-radius
:
20
r
px
;
margin-left
:
40
r
px
;
}
.shareindexStyle
.steatus_t
{
...
...
@@ -514,13 +535,13 @@
.shareindexStyle
.sharebox_topc
{
width
:
100%
;
height
:
40
px
;
height
:
76
r
px
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-between
;
padding
:
0
10px
;
margin-top
:
18
px
;
margin-top
:
34
r
px
;
}
.shareindexStyle
.sharebox_c
{
...
...
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