ymt-new-dev
游梦婷 1 year ago
parent 0b0516bd0a
commit df7247af27
  1. 10
      member-Recharge/choicepage/choicepage.vue
  2. 56
      pages/tabBar/category/category.vue
  3. 4
      pages/user/order_list/order_list.vue
  4. 2
      subPages/unionComfirmation/unionComfirmation.vue

@ -1,9 +1,13 @@
<template> <template>
<view> <view>
<template v-if="choicelist.length>0">
<image :src="imageUrl+item.img" mode="widthFix" class="height95 verc width40 imgs mart20 " <image :src="imageUrl+item.img" mode="widthFix" class="height95 verc width40 imgs mart20 "
v-for="(item,index) in choicelist" :key="index" @click="jumprechangeVip(item)"> v-for="(item,index) in choicelist" :key="index" @click="jumprechangeVip(item)">
</image> </image>
</template>
<template v-else>
<image :src="imageWxImg+noData" mode="widthFix" class="width100 pd-main border-box height220"></image>
</template>
</view> </view>
</template> </template>
@ -19,7 +23,9 @@
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
isNoMoreData: false, isNoMoreData: false,
imageUrl: app.globalData.imgUrl imageUrl: app.globalData.imgUrl,
imageWxImg:app.globalData.imageWxImg,
noData:'noorder.png'
} }
}, },
onLoad() { onLoad() {

@ -195,6 +195,58 @@
// this.latitude = app.globalData.latitude; // this.latitude = app.globalData.latitude;
// this.longitude = app.globalData.longitude; // this.longitude = app.globalData.longitude;
/* this.onControltap(); */ /* this.onControltap(); */
// #ifdef MP-WEIXIN
let that = this;
uni.getSetting({
success: (res) => {
//
if (!res.authSetting["scope.userLocation"]) {
//
uni.authorize({
scope: "scope.userLocation",
success: () => {
//
that.onControltap();
},
//
fail: () => {
uni.hideLoading();
uni.showModal({
title: "您已拒绝获取定位权限",
content: "是否进入权限管理,调整授权?",
success: (res) => {
if (res.confirm) {
//
uni.openSetting({
success: (res) => {
console.log(res
.authSetting
);
},
});
} else if (res.cancel) {
return uni.showToast({
title: "已取消",
icon:'none'
});
}
},
});
},
});
} else {
//
if(this.goodsFirstClassList.length == 1){
that.onControltap();
}
}
},
fail: (res) => {
},
});
// #endif
}, },
components:{ components:{
touchbox, touchbox,
@ -359,7 +411,7 @@
} }
}, },
postionIng() { /* postionIng() {
let that = this; let that = this;
uni.getLocation({ uni.getLocation({
type: 'wgs84', type: 'wgs84',
@ -381,7 +433,7 @@
// }) // })
} }
}) })
}, }, */
// //
findByLatAndLng(item, item1) { findByLatAndLng(item, item1) {
let datas = { let datas = {

@ -229,11 +229,11 @@
this.list = this.orderList[this.typeId]; this.list = this.orderList[this.typeId];
this.tabbarIndex = tbIndex; this.tabbarIndex = tbIndex;
// this.getUserOrderList(); // this.getUserOrderList();
// this.getDictionaryByCodeType(); this.getDictionaryByCodeType();
}, },
onShow(){ onShow(){
this.getUserOrderList(); this.getUserOrderList();
this.getDictionaryByCodeType(); // this.getDictionaryByCodeType();
}, },
onReachBottom() { onReachBottom() {
this.getUserOrderList(); this.getUserOrderList();

@ -10,7 +10,7 @@
<view class="font18 fontwig6 fcor333 text1" v-if="rechargeModel == 1">电信话费充值</view> <view class="font18 fontwig6 fcor333 text1" v-if="rechargeModel == 1">电信话费充值</view>
<view class="font18 fontwig6 fcor333 text1" v-if="rechargeModel == 2">移动话费充值</view> <view class="font18 fontwig6 fcor333 text1" v-if="rechargeModel == 2">移动话费充值</view>
<view class="font18 fontwig6 fcor333 text1" v-if="rechargeModel == 3">联通话费充值</view> <view class="font18 fontwig6 fcor333 text1" v-if="rechargeModel == 3">联通话费充值</view>
<view class="font13 fcor666 mart10">规格: 默认</view> <!-- <view class="font13 fcor666 mart10">规格: 默认</view> -->
<view class="price-number mart10"> <view class="price-number mart10">
<view class="price font16">{{orderPrice}}</view> <view class="price font16">{{orderPrice}}</view>
</view> </view>

Loading…
Cancel
Save