Commit 046bcf18 by liimin

Merge branch 'v1.0.0' of http://192.168.3.233:8090/saas/mini-program/hmd into v1.0.0

2 parents ed49e7b1 47aa409d
...@@ -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>
......
...@@ -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()}`)
}) })
} }
} }
......
{ {
"usingComponents": {}, "usingComponents": {},
"navigationBarTitleText": "权益中心" "navigationBarTitleText": "会员中心"
} }
\ No newline at end of file \ No newline at end of file
...@@ -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
}) })
}, },
// 套餐提交申请售后 // 套餐提交申请售后
......
...@@ -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 // packageIndex/pages/bannerJumpPage/bannerJumpPagoptions.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 || {}
}) })
}, },
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
} }
.address-box .right .icon { .address-box .right .icon {
width: 16rpx; width: 28rpx;
height: 28rpx; height: 28rpx;
} }
.content-box{ .content-box{
......
...@@ -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>
......
...@@ -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>
......
...@@ -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 {
......
...@@ -156,7 +156,7 @@ page { ...@@ -156,7 +156,7 @@ page {
height: 4rpx; height: 4rpx;
border-radius: 2px; border-radius: 2px;
} }
.split-line .split-title .left-line { .split-line .split-title .left-line {
background-image: linear-gradient(90deg, #fcedcd00 0%, #8A303A 100%); background-image: linear-gradient(90deg, #fcedcd00 0%, #8A303A 100%);
margin-right: 71rpx; margin-right: 71rpx;
...@@ -173,4 +173,11 @@ page { ...@@ -173,4 +173,11 @@ page {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
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
...@@ -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>
......
...@@ -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>
......
...@@ -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;
......
...@@ -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
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!