Commit ccb86990 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 3ba48e6a a5443b44
......@@ -245,14 +245,13 @@ Page({
})
},
bindInput(e) {
console.log(e)
const {
item: {
key,
}
} = e.currentTarget.dataset
this.setData({
[`formData.${key}`]: e.detail.value
[`formData.${key}`]: e.detail.value.replace(/\s/g, '')
})
this.check()
},
......
......@@ -198,16 +198,17 @@ Page({
contactPhone: val.receiveMobile,
contactAddress: `${val.provinceName}${val.cityName}${val.countyName}${val.address}`
}
} else {
let data = res[0]
obj = {
...data,
contactName: data.receiveName,
contactPhone: data.receiveMobile,
contactAddress: `${data.provinceName}${data.cityName}${data.countyName}${data.address}`
}
}
})
if (!Object.keys(obj)?.length) {
let data = res[0]
obj = {
...data,
contactName: data.receiveName,
contactPhone: data.receiveMobile,
contactAddress: `${data.provinceName}${data.cityName}${data.countyName}${data.address}`
}
}
this.setData({
contactInfo: obj,
isDefault: obj?.isDefault == 1,
......
// packageIndex/pages/integral/rule/rule.js
import {
systemApi
} from '~/api/index'
Page({
/**
......@@ -117,8 +120,9 @@ Page({
goMall() {
wx.p.router.reLaunch('/pages/tab/index/index')
},
policyDetail() {
wx.p.router.jumpH5(`https://img01.glsx.com.cn/weapp/resource/miniprogram/points-mall/html/policy.html`)
async policyDetail() {
let v = await systemApi.getImageVersion()
wx.p.router.jumpH5(`https://img01.glsx.com.cn/weapp/resource/miniprogram/points-mall/html/policy.html?v=${v}`)
},
bindButton(e) {
let {
......
......@@ -34,6 +34,7 @@
</view>
<view class="tax-container"></view>
<view class="recommend-container">
<block wx:if="{{goodsList.length}}">
<view class="recommend-title">以下为根据您此次的提现积分推荐的积分商品</view>
<view class="goods-box" wx:if="{{goodsList.length}}">
......@@ -41,6 +42,7 @@
</view>
<view class="suggest">若以上没有心仪商品,您可以点击<text>“去商城”</text>一键跳转积分商城选购更多商品</view>
</block>
<view class="suggest">若您仍然想提现,请点击<text>“继续提现”</text>按钮提交提现申请。</view>
<view class="btns flex_scb">
<view class="btn-text" bind:tap="goMall">去商城</view>
......
......@@ -46,7 +46,7 @@ Page({
// })
},
goAgreement() {
wx.p.router.jumpH5('https://img02.glsx.com.cn/weapp/resource/saas/scrm/html/hmd/privacy.html', true)
wx.p.router.jumpH5('https://img01.glsx.com.cn/weapp/resource/saas/scrm/html/hmd/privacy.html', true)
},
/**
* 生命周期函数--监听页面加载
......
......@@ -43,7 +43,7 @@ Page({
const {
name
} = e.currentTarget.dataset
wx.p.router.jumpH5(`https://img02.glsx.com.cn/weapp/resource/saas/scrm/html/hmd/${name}.html`, true)
wx.p.router.jumpH5(`https://img01.glsx.com.cn/weapp/resource/saas/scrm/html/hmd/${name}.html`, true)
},
async onLoad() {
wx.p.wxApi.showLoading()
......
import homeApi from '~/api/module/home.js'
import commonApi from '~/api/module/common.js'
import cartApi from '~/api/module/cart.js'
import {
systemApi
} from '~/api/index'
Page({
/**
* 页面的初始数据
......@@ -230,8 +232,9 @@ Page({
wx.p.router.go('/packageIndex/pages/integral/index/index')
},
// 查看公告政策详情
policyDetail() {
wx.p.router.jumpH5(`https://img01.glsx.com.cn/weapp/resource/miniprogram/points-mall/html/policy.html`)
async policyDetail() {
let v = await systemApi.getImageVersion()
wx.p.router.jumpH5(`https://img01.glsx.com.cn/weapp/resource/miniprogram/points-mall/html/policy.html?v=${v}`)
},
// 跳转专场
handleSpecialSale(e) {
......
......@@ -14,7 +14,7 @@
<image src="{{userInfo.headImgUrl}}" />
</block>
<block wx:else>
<glsx-image webp src="/mine/default-avatar.png"></glsx-image>
<glsx-image webp src="/mine/avatar.png"></glsx-image>
</block>
</view>
<view class="info auth">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!