Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
efbd2c11
Commit
efbd2c11
authored
Oct 22, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5772ac75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
97 additions
and
0 deletions
+97
-0
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+97
-0
No files found.
pages/jiuzhai/jz_LineDetail.vue
View file @
efbd2c11
...
...
@@ -43,6 +43,61 @@
</view>
</view>
</view>
<!-- 佣金显示 -->
<!--
<view
class=
"is_share"
v-if=
"g.share > 0 && hideshare == false && setting.is_show_korea == 0"
style=
"top: 240px"
>
-->
<view
class=
"sharebox"
v-if=
" hideshare == false && shareData && shareData.IsShow && (shareData.Data.MaxShare>0|| shareData.Data.MyBuyCommission>0)"
:style=
"
{top:topheight+'px'}">
<view
class=
"is_share"
v-if=
"shareData.Data.MaxShare>0"
>
<image
src=
"@/static/images/icon/WechatIMG424.png"
style=
"width: 18px; margin-left: 12px; opacity: 1; height: auto"
mode=
"widthFix"
/>
<view
style=
"display: flex;
flex-direction: column;
margin-left: 8px;
font-size: 10px;
color: #fff;
opacity: 1;
"
>
<Text>
即刻分享赚
</Text>
<Text>
¥
{{
shareData
.
Data
.
MaxShare
}}
</Text>
</view>
<u-icon
name=
"close"
style=
"position: absolute; right: 4px; top: 10px"
color=
"#fff"
size=
"36"
@
click=
"hideshare = true"
></u-icon>
</view>
<!-- 佣金返的一样这个暂时注释掉 -->
<!--
<view
class=
"is_share"
v-if=
"shareData.Data.MyBuyCommission>0"
>
<image
src=
"@/static/images/icon/WechatIMG424.png"
style=
"width: 18px; margin-left: 12px; opacity: 1; height: auto"
mode=
"widthFix"
/>
<view
style=
"
display: flex;
flex-direction: column;
margin-left: 8px;
font-size: 10px;
color: #fff;
opacity: 1;
"
>
<Text>
即刻购买省
</Text>
<Text>
¥
{{
shareData
.
Data
.
MyBuyCommission
}}
</Text>
</view>
<u-icon
v-if=
"shareData.Data.MaxShare==0"
name=
"close"
style=
"position: absolute; right: 4px; top: 10px"
color=
"#fff"
size=
"36"
@
click=
"hideshare = true"
></u-icon>
</view>
-->
</view>
<!-- #ifdef MP-WEIXIN -->
<view
@
click=
"goback"
...
...
@@ -1032,6 +1087,9 @@ export default {
U
:
{},
appid
:
encodeURIComponent
(
JSON
.
stringify
({
appId
:
"2021002181604459"
})),
userId
:
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserId
,
hideshare
:
false
,
topheight
:
0
,
shareData
:
null
};
},
created
()
{},
...
...
@@ -1046,6 +1104,10 @@ export default {
this
.
delMsg
.
cityId
=
option
.
cityId
;
}
this
.
getDetails
();
this
.
U
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
if
(
this
.
U
)
{
this
.
getLXYProductSharf
()
}
let
that
=
this
;
uni
.
getSystemInfo
({
success
(
res
)
{
...
...
@@ -1054,6 +1116,7 @@ export default {
paddingTop
:
`
${
res
.
statusBarHeight
}
px`
,
opacity
:
0
,
};
that
.
topheight
=
55
+
res
.
statusBarHeight
},
});
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
...
...
@@ -1123,6 +1186,7 @@ export default {
// },
reloadUserinfo
()
{
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
this
.
getLXYProductSharf
()
},
//关闭登录窗口
gbAuth
()
{
...
...
@@ -1190,6 +1254,20 @@ export default {
:
Math
.
floor
(
e
.
detail
.
scrollTop
-
100
)
/
100
;
this
.
$forceUpdate
();
},
getLXYProductSharf
(){
//获取显示返佣金额
this
.
request2
(
{
url
:
"/api/appletgoods/GetLXYProductSharfCommission"
,
data
:{
TCID
:
this
.
delMsg
.
tcid
},
},
(
res
)
=>
{
this
.
shareData
=
res
.
data
;
},
(
err
)
=>
{
}
);
},
//获取详情
getDetails
()
{
this
.
apipost
(
...
...
@@ -1983,4 +2061,23 @@ export default {
padding-left
:
30
rpx
;
/* #endif */
}
.sharebox
{
position
:
absolute
;
top
:
57px
;
right
:
0
;
z-index
:
99
;
}
.is_share
{
width
:
125px
;
height
:
38px
;
border-top-left-radius
:
22.5px
;
border-bottom-left-radius
:
22.5px
;
background
:
#111
;
opacity
:
0.8
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
margin-bottom
:
5px
;
}
</
style
>
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