forked from angelo/web-retail-h5
feat(pay): 屏蔽在线支付入口
This commit is contained in:
parent
56867615ad
commit
ab388f9971
|
@ -1,42 +1,22 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="tab">
|
<activeArea></activeArea>
|
||||||
<view v-for="(item, index) in tabList" :key="index" @click="navTab(item.id)" class="tab_i"
|
|
||||||
:class="[isTab===item.id?'heng':'heng1']">
|
|
||||||
{{ item.name }}
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view v-if="isTab==0">
|
|
||||||
<activeArea></activeArea>
|
|
||||||
</view>
|
|
||||||
<view v-if="isTab==1">
|
|
||||||
<seaPublick></seaPublick>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import activeArea from '@/pages/market/activeArea/activeArea.vue'
|
import activeArea from '@/pages/market/activeArea/activeArea.vue'
|
||||||
import seaPublick from '@/pages/market/activeArea/seaPublick.vue'
|
|
||||||
export default{
|
export default{
|
||||||
components: {
|
components: {
|
||||||
activeArea,seaPublick
|
activeArea,
|
||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return{
|
return {
|
||||||
tabList:[{
|
|
||||||
name:"活动列表",
|
|
||||||
id:0,
|
|
||||||
},{ name:"沙棘公益",
|
|
||||||
id:1,}],
|
|
||||||
isTab:0
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
navTab(index){
|
|
||||||
this.isTab = index
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
<view class="tit3">{{ countDown }}</view>{{'内完成支付,否则订单将会被自动取消'}}
|
<view class="tit3">{{ countDown }}</view>{{'内完成支付,否则订单将会被自动取消'}}
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<view class="kuang">
|
<!-- 暂时隐藏 -->
|
||||||
|
<view v-if="false" class="kuang">
|
||||||
|
|
||||||
<u-collapse :value="activeNames"
|
<u-collapse :value="activeNames"
|
||||||
ref="collapse"
|
ref="collapse"
|
||||||
|
@ -362,7 +363,7 @@ export default {
|
||||||
|
|
||||||
onShow() {
|
onShow() {
|
||||||
// 获取银行卡
|
// 获取银行卡
|
||||||
this.getBankList()
|
// this.getBankList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//查询充值抽奖次数
|
//查询充值抽奖次数
|
||||||
|
@ -604,12 +605,12 @@ export default {
|
||||||
api.jdBankList().then((res) => {
|
api.jdBankList().then((res) => {
|
||||||
this.jdList = res.data
|
this.jdList = res.data
|
||||||
})
|
})
|
||||||
api.hfBankList().then((res) => {
|
// api.hfBankList().then((res) => {
|
||||||
this.hfList = res.data
|
// this.hfList = res.data
|
||||||
})
|
// })
|
||||||
api.tlBankList().then((res) => {
|
// api.tlBankList().then((res) => {
|
||||||
this.tlList = res.data
|
// this.tlList = res.data
|
||||||
})
|
// })
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.collapse.init()
|
this.$refs.collapse.init()
|
||||||
})
|
})
|
||||||
|
|
|
@ -184,8 +184,9 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</u-collapse-item>
|
</u-collapse-item>
|
||||||
|
<!-- 暂时隐藏在线支付 -->
|
||||||
<u-collapse-item name="2"
|
<u-collapse-item name="2"
|
||||||
v-if="onlinePay">
|
v-if="onlinePay && false">
|
||||||
<view slot="title"
|
<view slot="title"
|
||||||
class="pf"> <img src="@/static/images/under_pay.png"
|
class="pf"> <img src="@/static/images/under_pay.png"
|
||||||
alt="" />
|
alt="" />
|
||||||
|
@ -856,7 +857,7 @@ export default {
|
||||||
|
|
||||||
onShow() {
|
onShow() {
|
||||||
// 获取银行卡
|
// 获取银行卡
|
||||||
this.getBankList()
|
// this.getBankList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
toUnBind() {
|
toUnBind() {
|
||||||
|
@ -1435,12 +1436,12 @@ export default {
|
||||||
api.jdBankList().then((res) => {
|
api.jdBankList().then((res) => {
|
||||||
this.jdList = res.data
|
this.jdList = res.data
|
||||||
})
|
})
|
||||||
api.hfBankList().then((res) => {
|
// api.hfBankList().then((res) => {
|
||||||
this.hfList = res.data
|
// this.hfList = res.data
|
||||||
})
|
// })
|
||||||
api.tlBankList().then((res) => {
|
// api.tlBankList().then((res) => {
|
||||||
this.tlList = res.data
|
// this.tlList = res.data
|
||||||
})
|
// })
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.collapse.init()
|
this.$refs.collapse.init()
|
||||||
})
|
})
|
||||||
|
|
|
@ -420,9 +420,9 @@ export default {
|
||||||
api.jdBankList().then((res) => {
|
api.jdBankList().then((res) => {
|
||||||
this.jdList = res.data
|
this.jdList = res.data
|
||||||
})
|
})
|
||||||
api.hfBankList().then((res) => {
|
// api.hfBankList().then((res) => {
|
||||||
this.hfList = res.data
|
// this.hfList = res.data
|
||||||
})
|
// })
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.collapse.init()
|
this.$refs.collapse.init()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue