Commit f6ccb8ac by liimin

Merge branch 'SAAS+V4.56.0-0908' of http://192.168.3.233:8090/saas/mini-program/…

…points-mall into SAAS+V4.56.0-0908
2 parents a1571f3b 0dc9c4bd
import {
systemApi
} from '~/api/index'
Page({
/**
* 页面的初始数据
......@@ -45,8 +48,9 @@ Page({
// }
// })
},
goAgreement() {
wx.p.router.jumpH5('https://img01.glsx.com.cn/weapp/resource/miniprogram/points-mall/html/privacy.html', true)
async goAgreement() {
let v = await systemApi.getImageVersion()
wx.p.router.jumpH5(`https://img01.glsx.com.cn/weapp/resource/miniprogram/points-mall/html/privacy.html?v=${v}`, true)
},
/**
* 生命周期函数--监听页面加载
......
import commonApi from '~/api/module/common.js'
import {
systemApi
} from '~/api/index'
const phoneRex = /^[1]([3-9])[0-9]{9}$/
Page({
/**
......@@ -39,11 +42,12 @@ Page({
},
// 跳转隐私政策页面
handleAgree(e) {
async handleAgree(e) {
const {
name
} = e.currentTarget.dataset
wx.p.router.jumpH5(`https://img01.glsx.com.cn/weapp/resource/miniprogram/points-mall/html/${name}.html`, true)
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)
},
async onLoad() {
wx.p.wxApi.showLoading()
......
......@@ -33,6 +33,8 @@ page{
}
.btn_primary {
color: #FB8A32;
font-size: 34rpx;
font-weight: 700;
}
.h1 {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!