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 @@
<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}}">
<view class="clear-box" bindtap="clear">
<view class="sprite-icon icon-clear"></view>
<icon type="clear" size="20" class="icon"></icon>
</view>
</block>
</view>
......
......@@ -17,11 +17,11 @@ Component({
observer: async function (url, o) {
if (url) {
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)
this.setData({
isWebp,
imagePath: `${isFullAdd ? '' : IMG_URL}${url}?v=` + await systemApi.getImageVersion()
imagePath: `${isFullAdd ? '' : IMG_URL}${url}` + (isFullAdd ? '' : `?v=${await systemApi.getImageVersion()}`)
})
}
}
......
{
"usingComponents": {},
"navigationBarTitleText": "权益中心"
"navigationBarTitleText": "会员中心"
}
\ No newline at end of file
......@@ -43,8 +43,8 @@ Page({
})
return
}
wx.navigateTo({
url: '/packageMine/pages/coupon/detail/detail?item=' + temp
wx.p.router.go('/packageMine/pages/coupon/detail/detail', {
item
})
},
// 套餐提交申请售后
......
......@@ -42,10 +42,10 @@
</view>
<view style="height:32rpx"></view>
<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}}" />
<view class="image_text">导航</view>
</view>
</view> -->
<view class="row_wrap flex_sc">
<view class="row_label">服务门店</view>
<view class="row_value">{{packageInfo.merchantName}}</view>
......
// packageIndex/pages/bannerJumpPage/bannerJumpPage.js
// packageIndex/pages/bannerJumpPage/bannerJumpPagoptions.js
Page({
/**
......@@ -13,22 +13,20 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
onRoute(e) {
let { titleList } = this.data
if (e && e.title) {
let {
titleList
} = this.data
if (options && options.title) {
wx.setNavigationBarTitle({
title: e.title
title: options.title
})
} else {
wx.setNavigationBarTitle({
title: titleList[e.bannerType - 1]
title: titleList[options.bannerType - 1]
})
}
this.setData({
infoData: e || {}
infoData: options || {}
})
},
......
......@@ -51,7 +51,7 @@
}
.address-box .right .icon {
width: 16rpx;
width: 28rpx;
height: 28rpx;
}
.content-box{
......
......@@ -19,7 +19,9 @@
选择收货地址
</block>
<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>
</block>
......
......@@ -52,8 +52,8 @@
<!-- 会员 -->
<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 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: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}}" class="card_date {{dateClass[identity]}}"> {{vipInfo.renewDay}}天后到期</view>
<view wx:else class="card_date">开通会员尊享优质权益</view>
</view>
......
......@@ -27,6 +27,7 @@
font-weight: 500;
font-size: 32rpx;
color: #000000;
max-width: 50%;
}
.store-phone {
......
......@@ -156,7 +156,7 @@ page {
height: 4rpx;
border-radius: 2px;
}
.split-line .split-title .left-line {
background-image: linear-gradient(90deg, #fcedcd00 0%, #8A303A 100%);
margin-right: 71rpx;
......@@ -173,4 +173,11 @@ page {
font-family: PingFangSC-Regular;
font-size: 12px;
color: #858A94;
}
.goods-bottom {
padding: 20rpx 0;
text-align: center;
font-size: 24rpx;
color: #999999;
}
\ No newline at end of file
......@@ -61,6 +61,7 @@
</view>
</view>
</block>
<view class="goods-bottom">- 到 底 了 -</view>
</view>
</view>
<block wx:else>
......
......@@ -8,7 +8,7 @@
placeholder="{{placeholder}}" confirm-type="search" class="input" bindconfirm="confirm" />
<block wx:if="{{inputValue}}">
<view class="clear-box" bindtap="clear">
<view class="sprite-icon icon-clear"></view>
<icon type="clear" size="20" class="icon"></icon>
</view>
</block>
</view>
......
......@@ -58,7 +58,7 @@
align-items: center;
justify-content: center;
}
.input-box .clear-box .clear{
.input-box .clear-box .icon{
width: 32rpx;
height: 32rpx;
opacity: .7;
......
......@@ -82,12 +82,10 @@ class NetWork {
{
onLoad,
onShow,
onRoute,
options
} = thisPage
if (onLoad) thisPage.onLoad(options, true)
if (onShow) thisPage.onShow(options, true)
if (onRoute) thisPage.onRoute(options, true)
}
}
export default new NetWork()
\ 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!