|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="box" v-if="show" :style="{ bottom: bottom, }" @touchmove.stop.prevent>
|
|
|
+ <div class="box" v-if="show && source !== 'KIP'" :style="{ bottom: bottom, }" @touchmove.stop.prevent>
|
|
|
<div class="box-text">
|
|
|
<div class="box-text-left">
|
|
|
开通支付快速积分,积分秒到账!
|
|
@@ -56,7 +56,8 @@ export default {
|
|
|
// custTypeId: 0 默认版本,1 上海静安 2 上海浦东
|
|
|
...mapState({
|
|
|
// custTypeId: 0
|
|
|
- custTypeId: state => state.custTypeId
|
|
|
+ custTypeId: state => state.custTypeId,
|
|
|
+ source: (state) => state.source,
|
|
|
}),
|
|
|
pointsModalFlag() {
|
|
|
return this.$store.state.pointsModalFlag
|
|
@@ -165,10 +166,20 @@ export default {
|
|
|
if (!type) {
|
|
|
return
|
|
|
}
|
|
|
- // mini 跳转
|
|
|
- wx.miniProgram.redirectTo({
|
|
|
- "url": "/pages/accumulatePoints/selfServicePoints?redirect=1" // 去 login 页面 1 去登录
|
|
|
- })
|
|
|
+ if (window.__wxjs_environment === 'miniprogram') {
|
|
|
+ wx.miniProgram.navigateTo({
|
|
|
+ "url": "/pages/accumulatePoints/selfServicePoints?redirect=1" // 去 login 页面 1 去登录
|
|
|
+ })
|
|
|
+ }
|
|
|
+ if (isAlipayClient) {
|
|
|
+ my?.navigateTo({
|
|
|
+ "url": "/pages/accumulatePoints/selfServicePoints?redirect=1" // 去 login 页面 1 去登录
|
|
|
+ })
|
|
|
+ }
|
|
|
+ // // mini 跳转
|
|
|
+ // wx.miniProgram.redirectTo({
|
|
|
+ // "url": "/pages/accumulatePoints/selfServicePoints?redirect=1" // 去 login 页面 1 去登录
|
|
|
+ // })
|
|
|
},
|
|
|
}
|
|
|
}
|
|
@@ -178,9 +189,9 @@ export default {
|
|
|
position: absolute;
|
|
|
z-index: 10000;
|
|
|
width: calc(100vw - 74px);
|
|
|
- padding: 8px 15px;
|
|
|
+ padding: 8px 12px 8px 24px;
|
|
|
height: 80px;
|
|
|
- left: 22px;
|
|
|
+ left: 24px;
|
|
|
border-radius: 4px;
|
|
|
background: #000;
|
|
|
}
|