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 2eb0d067
authored
Oct 09, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.0' of
http://192.168.3.233:8090/saas/mini-program/zhwy
into v1.0.0
2 parents
4b1428df
6e8d6265
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
59 additions
and
16 deletions
packageEquity/pages/freecard/freecard.js
pages/tab/mall/components/CarOwner/CarOwner.scss
pages/tab/mall/components/CarOwner/CarOwner.wxml
pages/tab/mall/index.scss
pages/tab/mine/index.wxml
packageEquity/pages/freecard/freecard.js
View file @
2eb0d06
...
@@ -191,12 +191,9 @@ Page({
...
@@ -191,12 +191,9 @@ Page({
async
onLoad
(
options
)
{
async
onLoad
(
options
)
{
let
system
=
wx
.
getSystemInfoSync
()
let
system
=
wx
.
getSystemInfoSync
()
const
authStatus
=
await
wx
.
p
.
router
.
intercept
(
false
)
const
authStatus
=
await
wx
.
p
.
router
.
intercept
(
false
)
// const { merchantId } = wx.p.storage.get('merchant_info')
const
{
merchantId
}
=
wx
.
p
.
storage
.
get
(
'merchant_info'
)
// this.setData({
// merchantId
// })
this
.
setData
({
this
.
setData
({
merchantId
:
options
.
merchantId
merchantId
})
})
wx
.
p
.
wxApi
.
showLoading
()
wx
.
p
.
wxApi
.
showLoading
()
const
{
const
{
...
...
pages/tab/mall/components/CarOwner/CarOwner.scss
View file @
2eb0d06
...
@@ -22,17 +22,18 @@ page {
...
@@ -22,17 +22,18 @@ page {
height
:
184rpx
;
height
:
184rpx
;
.image_text
{
.image_text
{
box-sizing
:
border-box
;
display
:
inline-block
;
display
:
inline-block
;
margin-right
:
16
rpx
;
margin-right
:
18
rpx
;
.box
{
.box
{
border-radius
:
16
rpx
;
border-radius
:
8
rpx
;
position
:
relative
;
position
:
relative
;
.icon
{
.icon
{
width
:
120rpx
;
width
:
120rpx
;
height
:
120rpx
;
height
:
120rpx
;
border-radius
:
16
rpx
;
border-radius
:
8
rpx
;
}
}
.icon_active
{
.icon_active
{
...
@@ -77,15 +78,59 @@ page {
...
@@ -77,15 +78,59 @@ page {
.goods_ctnr_row
{
.goods_ctnr_row
{
padding
:
20rpx
;
padding
:
20rpx
;
.titleBg
{
box-sizing
:
border-box
;
width
:
750rpx
;
height
:
160rpx
;
margin-left
:
-20rpx
;
background-image
:
url(https://img02.glsx.com.cn/weapp/resource/miniprogram/wuye/mall/goodsBg.png)
;
background-size
:
cover
;
background-position
:
center
;
font-family
:
PingFangSC-Medium
;
padding
:
8rpx
30rpx
;
font-weight
:
500
;
font-size
:
36rpx
;
color
:
#333333
;
line-height
:
56rpx
;
// border-radius: 16rpx 24rpx 16rpx 16rpx 0 0;
}
.goods_box
{
.goods_box
{
box-sizing
:
border-box
;
padding
:
16rpx
;
margin-bottom
:
32rpx
;
margin-bottom
:
32rpx
;
margin-top
:
-80rpx
;
display
:
flex
;
display
:
flex
;
width
:
690rpx
;
height
:
204rpx
;
background
:
#FFFFFF
;
border-radius
:
8rpx
;
.cover
{
.cover
{
border-radius
:
16rpx
;
position
:
relative
;
border-radius
:
8rpx
;
width
:
196rpx
;
width
:
196rpx
;
height
:
172rpx
;
height
:
172rpx
;
flex-shrink
:
0
;
flex-shrink
:
0
;
&
:
:
after
{
position
:
absolute
;
left
:
0
;
top
:
0rpx
;
content
:
'爆款必入'
;
display
:
block
;
clear
:
both
;
width
:
112rpx
;
height
:
36rpx
;
background
:
#EC3C1F
;
border-radius
:
8rpx
0
8rpx
0
;
text-align
:
center
;
line-height
:
36rpx
;
font-family
:
PingFangSC-Regular
;
font-weight
:
400
;
font-size
:
22rpx
;
color
:
#FFFFFF
;
}
}
}
.info
{
.info
{
...
@@ -183,7 +228,7 @@ page {
...
@@ -183,7 +228,7 @@ page {
width
:
344rpx
;
width
:
344rpx
;
.cover
{
.cover
{
border-radius
:
16
rpx
;
border-radius
:
8
rpx
;
flex-shrink
:
0
;
flex-shrink
:
0
;
width
:
344rpx
;
width
:
344rpx
;
height
:
344rpx
;
height
:
344rpx
;
...
@@ -292,7 +337,7 @@ page {
...
@@ -292,7 +337,7 @@ page {
}
}
.cover
{
.cover
{
border-radius
:
16
rpx
;
border-radius
:
8
rpx
;
flex-shrink
:
0
;
flex-shrink
:
0
;
width
:
344rpx
;
width
:
344rpx
;
}
}
...
@@ -382,7 +427,7 @@ page {
...
@@ -382,7 +427,7 @@ page {
.publicity-img
{
.publicity-img
{
width
:
100%
;
width
:
100%
;
height
:
540rpx
;
height
:
540rpx
;
border-radius
:
16
rpx
;
border-radius
:
8
rpx
;
margin-bottom
:
16rpx
;
margin-bottom
:
16rpx
;
}
}
...
@@ -391,7 +436,7 @@ page {
...
@@ -391,7 +436,7 @@ page {
display
:
flex
;
display
:
flex
;
.cover
{
.cover
{
border-radius
:
16
rpx
;
border-radius
:
8
rpx
;
width
:
240rpx
;
width
:
240rpx
;
height
:
240rpx
;
height
:
240rpx
;
flex-shrink
:
0
;
flex-shrink
:
0
;
...
...
pages/tab/mall/components/CarOwner/CarOwner.wxml
View file @
2eb0d06
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
</view>
</view>
<view wx:if="{{categoryStyle>-1}}" class="{{ categoryStyle=='2' ? 'goods_ctnr_waterfall': categoryStyle=='3' ? 'goods_ctnr_grass_B' : categoryStyle=='1' ? 'goods_ctnr_row' : 'goods_ctnr_col' }}">
<view wx:if="{{categoryStyle>-1}}" class="{{ categoryStyle=='2' ? 'goods_ctnr_waterfall': categoryStyle=='3' ? 'goods_ctnr_grass_B' : categoryStyle=='1' ? 'goods_ctnr_row' : 'goods_ctnr_col' }}">
<view wx:if="{{categoryStyle==0 || categoryStyle==1}}" class="goods_wrap">
<view wx:if="{{categoryStyle==0 || categoryStyle==1}}" class="goods_wrap">
<view class="titleBg">热销爆款</view>
<view catch:tap="toGoodsDetail" data-item="{{item}}" class="goods_box" wx:for="{{goodsList}}" wx:key="index">
<view catch:tap="toGoodsDetail" data-item="{{item}}" class="goods_box" wx:for="{{goodsList}}" wx:key="index">
<image mode="aspectFill" class="cover" src="{{item.commerceVideo ? item.coverUrl : item.goodsImage}}" />
<image mode="aspectFill" class="cover" src="{{item.commerceVideo ? item.coverUrl : item.goodsImage}}" />
<view class="info {{categoryStyle?'flex_cccb':''}}">
<view class="info {{categoryStyle?'flex_cccb':''}}">
...
...
pages/tab/mall/index.scss
View file @
2eb0d06
...
@@ -19,9 +19,9 @@ page{
...
@@ -19,9 +19,9 @@ page{
width
:
690rpx
;
width
:
690rpx
;
height
:
280rpx
;
height
:
280rpx
;
border-radius
:
10rpx
;
border-radius
:
10rpx
;
margin
:
24
rpx
auto
0
;
margin
:
30
rpx
auto
0
;
text-align
:
center
;
text-align
:
center
;
}
}
.layout
{
.layout
{
padding-top
:
6
4px
;
padding-top
:
8
4px
;
}
}
\ No newline at end of file
\ No newline at end of file
pages/tab/mine/index.wxml
View file @
2eb0d06
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<text class="member-price-text">{{memberInfo.goodPrice}}元</text>
<text class="member-price-text">{{memberInfo.goodPrice}}元</text>
/年
/年
</view>
</view>
<view class="describe" wx:else>{{vipInfo.
time}}
到期</view>
<view class="describe" wx:else>{{vipInfo.
renewDay}} 天后
到期</view>
</view>
</view>
</view>
</view>
<view wx:if="{{!isMember}}" class="member-button" bindtap="toBuyMember">开通会员</view>
<view wx:if="{{!isMember}}" class="member-button" bindtap="toBuyMember">开通会员</view>
...
...
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