Commit 1db565e0 by zhangxw

切换门店页面底部跳转隐私协议修改

1 parent 3a8ff1c4
......@@ -8,7 +8,6 @@
<glsx-image src="{{pageParams.bannerImage}}"></glsx-image>
</view>
<view class="goods-content">
<view class="goods-content-top"></view>
<view class="goods-box">
<goods list="{{pageParams.specialEventGoodsList}}" bindjoin="handleAddToCart"></goods>
</view>
......
// pages/chooseMerchant/index.js
import commonApi from '~/api/module/common.js'
import {
systemApi
} from '~/api/index'
Page({
/**
......@@ -22,6 +25,15 @@ Page({
})
},
// 跳转隐私政策页面
async handleAgree(e) {
const {
name
} = e.currentTarget.dataset
let v = await systemApi.getImageVersion()
wx.p.router.jumpH5(`https://img01.glsx.com.cn/weapp/resource/miniprogram/points-mall/html/${name}.html?v=${v}`, true)
},
chooseAccount(e) {
let { index } = e.currentTarget.dataset
this.setData({
......
......@@ -208,7 +208,7 @@ page {
// margin-bottom: 24rpx;
background-color: #F6F8FA;
width: 100%;
padding: 16rpx 0;
padding: 16rpx 0 46rpx;
.a_class{
color: #4466F0;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!