Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
hmd
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 046bcf18
authored
Jul 19, 2023
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.0' of
http://192.168.3.233:8090/saas/mini-program/hmd
into v1.0.0
2 parents
ed49e7b1
47aa409d
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
33 additions
and
26 deletions
components/SearchBox/SearchBox.wxml
components/image/index.js
packageEquity/pages/open/open.json
packageEquity/pages/packageDetail/packageDetail.js
packageEquity/pages/packageDetail/packageDetail.wxml
packageIndex/pages/bannerJumpPage/bannerJumpPage.js
packageMall/pages/pay/pay.scss
packageMall/pages/pay/pay.wxml
pages/tab/equity/index.wxml
pages/tab/index/components/store-equity/store-equity.wxss
pages/tab/index/index.scss
pages/tab/index/index.wxml
pages/tab/mall/components/SearchBox/SearchBox.wxml
pages/tab/mall/components/SearchBox/SearchBox.wxss
utils/network.js
components/SearchBox/SearchBox.wxml
View file @
046bcf1
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<input type="text" bindinput="input" bindblur="blur" value="{{inputValue}}" placeholder-class="input-placeholder" placeholder="{{placeholder}}" confirm-type="search" class="input" bindconfirm="confirm" />
<input type="text" bindinput="input" bindblur="blur" value="{{inputValue}}" placeholder-class="input-placeholder" placeholder="{{placeholder}}" confirm-type="search" class="input" bindconfirm="confirm" />
<block wx:if="{{inputValue}}">
<block wx:if="{{inputValue}}">
<view class="clear-box" bindtap="clear">
<view class="clear-box" bindtap="clear">
<
view class="sprite-icon icon-clear"></view
>
<
icon type="clear" size="20" class="icon"></icon
>
</view>
</view>
</block>
</block>
</view>
</view>
...
...
components/image/index.js
View file @
046bcf1
...
@@ -17,11 +17,11 @@ Component({
...
@@ -17,11 +17,11 @@ Component({
observer
:
async
function
(
url
,
o
)
{
observer
:
async
function
(
url
,
o
)
{
if
(
url
)
{
if
(
url
)
{
let
isWebp
=
url
.
includes
(
'webp'
)
let
isWebp
=
url
.
includes
(
'webp'
)
let
checkList
=
[
'https://'
,
'http://'
]
let
checkList
=
[
'https://'
,
'http://'
,
'data:image'
]
let
isFullAdd
=
checkList
.
map
(
item
=>
url
.
includes
(
item
)).
some
(
item
=>
item
)
let
isFullAdd
=
checkList
.
map
(
item
=>
url
.
includes
(
item
)).
some
(
item
=>
item
)
this
.
setData
({
this
.
setData
({
isWebp
,
isWebp
,
imagePath
:
`
${
isFullAdd
?
''
:
IMG_URL
}${
url
}
?v=`
+
await
systemApi
.
getImageVersion
(
)
imagePath
:
`
${
isFullAdd
?
''
:
IMG_URL
}${
url
}
`
+
(
isFullAdd
?
''
:
`?v=
${
await
systemApi
.
getImageVersion
()}
`
)
})
})
}
}
}
}
...
...
packageEquity/pages/open/open.json
View file @
046bcf1
{
{
"usingComponents"
:
{},
"usingComponents"
:
{},
"navigationBarTitleText"
:
"
权益
中心"
"navigationBarTitleText"
:
"
会员
中心"
}
}
\ No newline at end of file
\ No newline at end of file
packageEquity/pages/packageDetail/packageDetail.js
View file @
046bcf1
...
@@ -43,8 +43,8 @@ Page({
...
@@ -43,8 +43,8 @@ Page({
})
})
return
return
}
}
wx
.
navigateTo
(
{
wx
.
p
.
router
.
go
(
'/packageMine/pages/coupon/detail/detail'
,
{
url
:
'/packageMine/pages/coupon/detail/detail?item='
+
temp
item
})
})
},
},
// 套餐提交申请售后
// 套餐提交申请售后
...
...
packageEquity/pages/packageDetail/packageDetail.wxml
View file @
046bcf1
...
@@ -42,10 +42,10 @@
...
@@ -42,10 +42,10 @@
</view>
</view>
<view style="height:32rpx"></view>
<view style="height:32rpx"></view>
<view class="wrapper">
<view class="wrapper">
<view class="image_icon_text" bind:tap="openMap">
<
!-- <
view class="image_icon_text" bind:tap="openMap">
<image webp class="image_icon" src="{{IMGURL}}equity/scrm_location_icon.png?v={{img_version}}" />
<image webp class="image_icon" src="{{IMGURL}}equity/scrm_location_icon.png?v={{img_version}}" />
<view class="image_text">导航</view>
<view class="image_text">导航</view>
</view>
</view>
-->
<view class="row_wrap flex_sc">
<view class="row_wrap flex_sc">
<view class="row_label">服务门店</view>
<view class="row_label">服务门店</view>
<view class="row_value">{{packageInfo.merchantName}}</view>
<view class="row_value">{{packageInfo.merchantName}}</view>
...
...
packageIndex/pages/bannerJumpPage/bannerJumpPage.js
View file @
046bcf1
// packageIndex/pages/bannerJumpPage/bannerJumpPag
e
.js
// packageIndex/pages/bannerJumpPage/bannerJumpPag
options
.js
Page
({
Page
({
/**
/**
...
@@ -13,22 +13,20 @@ Page({
...
@@ -13,22 +13,20 @@ Page({
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
(
options
)
{
onLoad
(
options
)
{
let
{
},
titleList
}
=
this
.
data
onRoute
(
e
)
{
if
(
options
&&
options
.
title
)
{
let
{
titleList
}
=
this
.
data
if
(
e
&&
e
.
title
)
{
wx
.
setNavigationBarTitle
({
wx
.
setNavigationBarTitle
({
title
:
e
.
title
title
:
options
.
title
})
})
}
else
{
}
else
{
wx
.
setNavigationBarTitle
({
wx
.
setNavigationBarTitle
({
title
:
titleList
[
e
.
bannerType
-
1
]
title
:
titleList
[
options
.
bannerType
-
1
]
})
})
}
}
this
.
setData
({
this
.
setData
({
infoData
:
e
||
{}
infoData
:
options
||
{}
})
})
},
},
...
...
packageMall/pages/pay/pay.scss
View file @
046bcf1
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
}
}
.address-box
.right
.icon
{
.address-box
.right
.icon
{
width
:
16
rpx
;
width
:
28
rpx
;
height
:
28rpx
;
height
:
28rpx
;
}
}
.content-box
{
.content-box
{
...
...
packageMall/pages/pay/pay.wxml
View file @
046bcf1
...
@@ -19,7 +19,9 @@
...
@@ -19,7 +19,9 @@
选择收货地址
选择收货地址
</block>
</block>
<view class="right text-center">
<view class="right text-center">
<view class="sprite-icon icon-mine-arrow"></view>
<view class="icon">
<glsx-image src="mine/mine-arrow.png"></glsx-image>
</view>
</view>
</view>
</view>
</view>
</block>
</block>
...
...
pages/tab/equity/index.wxml
View file @
046bcf1
...
@@ -52,8 +52,8 @@
...
@@ -52,8 +52,8 @@
<!-- 会员 -->
<!-- 会员 -->
<view wx:else style="background: url({{IMGURL}}{{IMGURKBASE}}{{vipStatus[identity]}}.png);background-size: 100% 100%;" class="vip_pannel">
<view wx:else style="background: url({{IMGURL}}{{IMGURKBASE}}{{vipStatus[identity]}}.png);background-size: 100% 100%;" class="vip_pannel">
<view class="card_title {{titleClass[identity]}}">{{memberInfo.equityName}}</view>
<view class="card_title {{titleClass[identity]}}">{{memberInfo.equityName}}</view>
<view wx:if="{{isOpen&&vipInfo.cardNo&&identity==3}}" class="card_date {{dateClass[identity]}}">{{vipInfo.time}}</view>
<view wx:if="{{isOpen&&vipInfo.cardNo&&identity==3}}" class="card_date {{dateClass[identity]}}">{{vipInfo.time}}
到期
</view>
<view wx:elif="{{isOpen&&vipInfo.cardNo&&identity<3}}" class="card_date {{dateClass[identity]}}">{{vipInfo.endTime}}</view>
<view wx:elif="{{isOpen&&vipInfo.cardNo&&identity<3}}" class="card_date {{dateClass[identity]}}">{{vipInfo.endTime}}
到期
</view>
<view wx:elif="{{isOpen&&!vipInfo.cardNo}}" class="card_date {{dateClass[identity]}}"> {{vipInfo.renewDay}}天后到期</view>
<view wx:elif="{{isOpen&&!vipInfo.cardNo}}" class="card_date {{dateClass[identity]}}"> {{vipInfo.renewDay}}天后到期</view>
<view wx:else class="card_date">开通会员尊享优质权益</view>
<view wx:else class="card_date">开通会员尊享优质权益</view>
</view>
</view>
...
...
pages/tab/index/components/store-equity/store-equity.wxss
View file @
046bcf1
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
font-weight: 500;
font-weight: 500;
font-size: 32rpx;
font-size: 32rpx;
color: #000000;
color: #000000;
max-width: 50%;
}
}
.store-phone {
.store-phone {
...
...
pages/tab/index/index.scss
View file @
046bcf1
...
@@ -174,3 +174,10 @@ page {
...
@@ -174,3 +174,10 @@ page {
font-size
:
12px
;
font-size
:
12px
;
color
:
#858A94
;
color
:
#858A94
;
}
}
.goods-bottom
{
padding
:
20rpx
0
;
text-align
:
center
;
font-size
:
24rpx
;
color
:
#999999
;
}
\ No newline at end of file
\ No newline at end of file
pages/tab/index/index.wxml
View file @
046bcf1
...
@@ -61,6 +61,7 @@
...
@@ -61,6 +61,7 @@
</view>
</view>
</view>
</view>
</block>
</block>
<view class="goods-bottom">- 到 底 了 -</view>
</view>
</view>
</view>
</view>
<block wx:else>
<block wx:else>
...
...
pages/tab/mall/components/SearchBox/SearchBox.wxml
View file @
046bcf1
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
placeholder="{{placeholder}}" confirm-type="search" class="input" bindconfirm="confirm" />
placeholder="{{placeholder}}" confirm-type="search" class="input" bindconfirm="confirm" />
<block wx:if="{{inputValue}}">
<block wx:if="{{inputValue}}">
<view class="clear-box" bindtap="clear">
<view class="clear-box" bindtap="clear">
<
view class="sprite-icon icon-clear"></view
>
<
icon type="clear" size="20" class="icon"></icon
>
</view>
</view>
</block>
</block>
</view>
</view>
...
...
pages/tab/mall/components/SearchBox/SearchBox.wxss
View file @
046bcf1
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
}
}
.input-box .clear-box .
clear
{
.input-box .clear-box .
icon
{
width: 32rpx;
width: 32rpx;
height: 32rpx;
height: 32rpx;
opacity: .7;
opacity: .7;
...
...
utils/network.js
View file @
046bcf1
...
@@ -82,12 +82,10 @@ class NetWork {
...
@@ -82,12 +82,10 @@ class NetWork {
{
{
onLoad
,
onLoad
,
onShow
,
onShow
,
onRoute
,
options
options
}
=
thisPage
}
=
thisPage
if
(
onLoad
)
thisPage
.
onLoad
(
options
,
true
)
if
(
onLoad
)
thisPage
.
onLoad
(
options
,
true
)
if
(
onShow
)
thisPage
.
onShow
(
options
,
true
)
if
(
onShow
)
thisPage
.
onShow
(
options
,
true
)
if
(
onRoute
)
thisPage
.
onRoute
(
options
,
true
)
}
}
}
}
export
default
new
NetWork
()
export
default
new
NetWork
()
\ No newline at end of file
\ No newline at end of file
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