1.获取银联地址链接

master
杨杰 3 years ago
parent cb48110aa8
commit de61504ba6
  1. 2
      high-unionPay/pages.json
  2. 8
      high-unionPay/pages/unionPay/unionPay.vue

@ -4,7 +4,7 @@
"path" : "pages/unionPay/unionPay", "path" : "pages/unionPay/unionPay",
"style" : "style" :
{ {
"navigationBarTitleText": "银联支付", "navigationBarTitleText": "嗨加油",
"navigationBarTextStyle": "white", "navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#0083f5", "navigationBarBackgroundColor": "#0083f5",
"backgroundColorTop": "#0083f5", "backgroundColorTop": "#0083f5",

@ -2,6 +2,7 @@
<view> <view>
<image class="width90" mode="widthFix" src="../../static/img/unionimg/union1.jpg" @click="jumpunionpay"></image> <image class="width90" mode="widthFix" src="../../static/img/unionimg/union1.jpg" @click="jumpunionpay"></image>
<image class="width90" mode="widthFix" src="../../static/img/unionimg/union2.jpg"></image> <image class="width90" mode="widthFix" src="../../static/img/unionimg/union2.jpg"></image>
<view class="mart15 font16 fcor333">{{arr1}}</view>
</view> </view>
</template> </template>
@ -9,9 +10,14 @@
export default { export default {
data() { data() {
return { return {
arr1:''
} }
}, },
onLoad() {
setTimeout(()=>{
this.arr1 = window.location.href;
},2000)
},
methods: { methods: {
// //
jumpunionpay(){ jumpunionpay(){

Loading…
Cancel
Save