1.删除问题

yj-dev
杨杰 2 years ago
parent deddb6d97c
commit 9c7e827424
  1. 22
      App.vue
  2. 11
      pages/goods/goods-list/goods-list.vue
  3. 6
      pages/tabBar/home/home.vue
  4. 4
      subPages/recharge-centre/recharge-centre.vue

@ -72,17 +72,17 @@
// #ifdef MP // #ifdef MP
let accountInfo = uni.getAccountInfoSync(); let accountInfo = uni.getAccountInfoSync();
if (accountInfo.miniProgram.envVersion == 'develop' || accountInfo.miniProgram.envVersion == 'trial') { // if (accountInfo.miniProgram.envVersion == 'develop' || accountInfo.miniProgram.envVersion == 'trial') {
this.globalData.url = 'https://hsgcs.dctpay.com/crest'; // this.globalData.url = 'https://hsgcs.dctpay.com/crest';
this.globalData.v1url = 'https://hsgcs.dctpay.com/v1'; // this.globalData.v1url = 'https://hsgcs.dctpay.com/v1';
this.globalData.orderurl = 'https://hsgcs.dctpay.com/order'; // this.globalData.orderurl = 'https://hsgcs.dctpay.com/order';
this.globalData.userurl = 'https://hsgcs.dctpay.com/user'; // this.globalData.userurl = 'https://hsgcs.dctpay.com/user';
this.globalData.brestUrl = 'https://hsgcs.dctpay.com/brest'; // this.globalData.brestUrl = 'https://hsgcs.dctpay.com/brest';
this.globalData.imgUrl = 'https://hsgcs.dctpay.com/filesystem/'; // this.globalData.imgUrl = 'https://hsgcs.dctpay.com/filesystem/';
this.globalData.imageWxImg = 'https://hsgcs.dctpay.com/filesystem/wxApplets/'; // this.globalData.imageWxImg = 'https://hsgcs.dctpay.com/filesystem/wxApplets/';
this.globalData.imageqrImg = 'https://hsgcs.dctpay.com/filesystem/temporary/'; // this.globalData.imageqrImg = 'https://hsgcs.dctpay.com/filesystem/temporary/';
} // }
if (accountInfo.miniProgram.envVersion == 'release') { if (accountInfo.miniProgram.envVersion == 'develop') {
this.globalData.url = 'https://hsg.dctpay.com/crest'; this.globalData.url = 'https://hsg.dctpay.com/crest';
this.globalData.v1url = 'https://hsg.dctpay.com/v1'; this.globalData.v1url = 'https://hsg.dctpay.com/v1';
this.globalData.orderurl = 'https://hsg.dctpay.com/order'; this.globalData.orderurl = 'https://hsg.dctpay.com/order';

@ -9,7 +9,7 @@
<view class="swiper-box"> <view class="swiper-box">
<swiper circular="true" autoplay="true" @change="swiperChange"> <swiper circular="true" autoplay="true" @change="swiperChange">
<swiper-item v-for="swiper in swiperList" :key="swiper.id"> <swiper-item v-for="swiper in swiperList" :key="swiper.id">
<image :src="imageUrl+swiper.imgData"></image> <image :src="imageUrl+swiper.imgData" @click="jumpCont(swiper)"></image>
</swiper-item> </swiper-item>
</swiper> </swiper>
<view class="indicator"> <view class="indicator">
@ -288,6 +288,15 @@
uni.navigateTo({ uni.navigateTo({
url: '../../goods/goods?id=' + e url: '../../goods/goods?id=' + e
}); });
},
//
jumpCont(item) {
if (item.jumpUrl) {
uni.navigateTo({
url: item.jumpUrl
})
}
}, },
} }

@ -381,7 +381,7 @@
//广 //广
this.showPopup(); this.showPopup();
this.imgadres3 = res.return_data.childCategory[0].imgData; this.imgadres3 = res.return_data.childCategory[0].imgData;
this.webUrl = res.return_data.childCategory[0].ext1; this.webUrl = res.return_data.childCategory[0].jumpUrl;
this.jumpType = res.return_data.childCategory[0].jumpType; this.jumpType = res.return_data.childCategory[0].jumpType;
} }
}); });
@ -705,9 +705,9 @@
}, },
// //
jumplottery(item) { jumplottery(item) {
if (item.ext1) { if (item.jumpUrl) {
uni.navigateTo({ uni.navigateTo({
url: item.ext1 url: item.jumpUrl
}) })
} }

@ -40,9 +40,9 @@
<swiper class="swiper border-r" :style="{ height:mainHeight + 'px' }" :current="swiperTabIdx" <swiper class="swiper border-r" :style="{ height:mainHeight + 'px' }" :current="swiperTabIdx"
@change="SwiperChange"> @change="SwiperChange">
<swiper-item class="swiperItem border-r" v-for="(item,index) in tabs" :key='index'> <swiper-item class="swiperItem border-r" v-for="(item,index) in tabs" :key='index'>
<view class="width90 font14 fcor333 fontwig6 mart5"> <!-- <view class="width90 font14 fcor333 fontwig6 mart5">
话费特惠充值 话费特惠充值
</view> </view> -->
<view v-if="amountList == ''" class="mart10 fotct font14 fcor666"> <view v-if="amountList == ''" class="mart10 fotct font14 fcor666">
<image mode="widthFix" style="width: 40vw;" :src="imagewxUrl+imgadres"></image> <image mode="widthFix" style="width: 40vw;" :src="imagewxUrl+imgadres"></image>
</view> </view>

Loading…
Cancel
Save