Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
zhwy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a8dfa1e0
authored
Oct 08, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
8a9144fc
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
19 deletions
packageEquity/pages/gCoupons/index.js
packageEquity/pages/gCoupons/index.scss
packageEquity/pages/gCoupons/index.wxml
packageIndex/pages/carLife/index.js
packagePlugin/pages/index/index.js
packageEquity/pages/gCoupons/index.js
View file @
a8dfa1e
...
@@ -37,6 +37,7 @@ Page({
...
@@ -37,6 +37,7 @@ Page({
wx
.
p
.
api
.
couponsApi
.
getEquityCoupons
({
couponId
:
this
.
couponId
,
merchantId
:
detailInfo
.
merchantId
}).
then
(
res
=>
{
wx
.
p
.
api
.
couponsApi
.
getEquityCoupons
({
couponId
:
this
.
couponId
,
merchantId
:
detailInfo
.
merchantId
}).
then
(
res
=>
{
wx
.
hideLoading
();
wx
.
hideLoading
();
if
(
res
)
{
if
(
res
)
{
wx
.
p
.
wxApi
.
showToast
(
'优惠券领取成功!'
)
this
.
setData
({
this
.
setData
({
handleStatus
:
1
handleStatus
:
1
})
})
...
...
packageEquity/pages/gCoupons/index.scss
View file @
a8dfa1e
.container
{
width
:
100%
;
height
:
100vh
;
}
.container
{
padding-top
:
482rpx
;
padding-bottom
:
140rpx
;
}
.main_box
{
.main_box
{
width
:
100%
;
width
:
100%
;
height
:
660rpx
;
height
:
664rpx
;
position
:
absolute
;
position
:
relative
;
left
:
50%
;
bottom
:
306rpx
;
transform
:
translateX
(
-50%
);
.title
{
.title
{
position
:
absolute
;
position
:
absolute
;
...
@@ -81,10 +78,7 @@
...
@@ -81,10 +78,7 @@
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
position
:
absolute
;
margin-top
:
30rpx
;
left
:
50%
;
bottom
:
140rpx
;
transform
:
translateX
(
-50%
);
.
title
:
:
before
{
.
title
:
:
before
{
...
...
packageEquity/pages/gCoupons/index.wxml
View file @
a8dfa1e
<view style="background: url({{IMGURL}}equity/{{handleStatus==1?'lq_get_bg':'lq__wait_bg'}}.png);background-size: 100% 100%;" class="container">
<view style="background: url({{IMGURL}}equity/coupons/lq_bg_max.png);background-size: 100% 100%;" class="container">
<!-- <glsx-image webp src="equity/wait_lq_bg.png" class="banner"></glsx-image> -->
<view style="background: url({{IMGURL}}equity/coupons/{{handleStatus==1?'lq_g_bg':'lq_w_bag'}}.png);background-size: 100% 100%;" class="main_box">
<view class="main_box">
<view wx:if="{{detailInfo.denomination}}" class="title">
<view wx:if="{{detailInfo.denomination}}" class="title">
<text class="price">{{detailInfo.denomination || ''}}</text>
<text class="price">{{detailInfo.denomination || ''}}</text>
<text class="unit">元</text>
<text class="unit">元</text>
...
...
packageIndex/pages/carLife/index.js
View file @
a8dfa1e
...
@@ -106,7 +106,6 @@ Page({
...
@@ -106,7 +106,6 @@ Page({
})
})
}
else
if
(
env
==
'test'
||
env
==
'beta'
)
{
}
else
if
(
env
==
'test'
||
env
==
'beta'
)
{
equityList
.
forEach
(
el
=>
{
equityList
.
forEach
(
el
=>
{
if
(
el
.
goodsCategory
==
'智能出行'
)
{
if
(
el
.
equityGoodsGroupDescDtos
)
{
if
(
el
.
equityGoodsGroupDescDtos
)
{
el
.
equityGoodsGroupDescDtos
.
forEach
(
item
=>
{
el
.
equityGoodsGroupDescDtos
.
forEach
(
item
=>
{
tripMenu
.
push
({
tripMenu
.
push
({
...
@@ -116,7 +115,6 @@ Page({
...
@@ -116,7 +115,6 @@ Page({
})
})
})
})
}
}
}
})
})
}
}
this
.
setData
({
this
.
setData
({
...
...
packagePlugin/pages/index/index.js
View file @
a8dfa1e
...
@@ -23,7 +23,6 @@ Page({
...
@@ -23,7 +23,6 @@ Page({
},
},
async
toJump
(
e
)
{
async
toJump
(
e
)
{
const
flag
=
await
this
.
checkLogin
()
const
flag
=
await
this
.
checkLogin
()
console
.
log
(
flag
);
if
(
flag
)
return
if
(
flag
)
return
const
{
id
}
=
e
.
currentTarget
.
dataset
const
{
id
}
=
e
.
currentTarget
.
dataset
let
url
=
''
let
url
=
''
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment