Compare commits

..

No commits in common. '855468773011ab52041f7c44f7d6e41a62023ec0' and '24ea2371760d1093411dbe62de1de014cf649044' have entirely different histories.

  1. 985
      pages.json
  2. 86
      pages/tabBar/category/category.vue
  3. 10
      pages/tabBar/home/home.vue
  4. 2
      physical-merchants/classify/cart/cart.vue
  5. 21
      physical-merchants/settleAccounts/detail-popup/detail-popup.vue

File diff suppressed because it is too large Load Diff

@ -229,40 +229,14 @@
imgadres3: 'noorder.png', imgadres3: 'noorder.png',
imgadres4: 'dh.png', imgadres4: 'dh.png',
marker: '', // marker: '', //
typeid: 99999999, // typeid: 0, //
isSelected: 1, // isSelected: 1, //
selectFirst: '99999999', // selectFirst: '', //
selectFirstName: '全部', // selectFirstName: '', //
selectChiler: 2, // selectChiler: 2, //
selectChilerdistance: 2, // selectChilerdistance: 2, //
goodsFirstClassList: [{ goodsFirstClassList: '', //
"childIndustry": null, goodsSendotClassList: '', //
"createTime": 1640252815000,
"name": "全部",
"id": 99999999,
"wechatCompanyCode": "716",
"wechatName": "全部",
"ext3": null,
"parentId": 1,
"wechatSelfEmployedCode": "719",
"ext2": null,
"status": 1,
"ext1": "650"
}], //
goodsSendotClassList: [{
"childIndustry": null,
"createTime": 1640252998000,
"name": "全部",
"id": 99999999,
"wechatCompanyCode": "716",
"wechatName": "全部",
"ext3": null,
"parentId": 13,
"wechatSelfEmployedCode": "719",
"ext2": null,
"status": 1,
"ext1": "642"
}], //
distanceList: [{ distanceList: [{
id: 1, id: 1,
title: '1km' title: '1km'
@ -318,19 +292,17 @@
getIndustry() { getIndustry() {
getIndustry().then(res => { getIndustry().then(res => {
if (res.return_code == '000000') { if (res.return_code == '000000') {
for (var i = 0; i < res.return_data.length; i++) { this.goodsFirstClassList = res.return_data;
this.goodsFirstClassList.push(res.return_data[i]); this.typeid = res.return_data[0].id;
} this.goodsSendotClassList = res.return_data[0].childIndustry;
// this.typeid = res.return_data[0].id; this.selectFirst = res.return_data[0].childIndustry[0].id;
// this.goodsSendotClassList = res.return_data[0].childIndustry; this.selectFirstName = res.return_data[0].childIndustry[0].name;
// this.selectFirst = res.return_data[0].childIndustry[0].id;
// this.selectFirstName = res.return_data[0].childIndustry[0].name;
let platform = uni.getSystemInfoSync().platform; let platform = uni.getSystemInfoSync().platform;
if (platform == 'android') { if (platform == 'android') {
this.typeplat = 2; this.typeplat = 2;
this.getMapStore(); this.getMapStore();
} }
if (platform == 'ios' || platform == 'devtools') { if (platform == 'ios') {
this.typeplat = 1; this.typeplat = 1;
this.getMapStore(); this.getMapStore();
} }
@ -339,17 +311,11 @@
}, },
// //
getMapStore() { getMapStore() {
let childId = '';
if (this.selectFirst == 99999999) {
childId = '';
} else {
childId = this.selectFirst
}
let datas = { let datas = {
distance: this.distance, distance: this.distance,
name: this.searchName, name: this.searchName,
type: this.typeplat, type: this.typeplat,
childId: childId, childId: this.selectFirst,
longitude: this.longitude, longitude: this.longitude,
latitude: this.latitude latitude: this.latitude
} }
@ -516,7 +482,7 @@
type: 'wgs84', type: 'wgs84',
success: (res) => { success: (res) => {
uni.hideLoading(); uni.hideLoading();
// console.log(res, '') console.log(res, '获取当前位置')
this.longitude = res.longitude; this.longitude = res.longitude;
this.latitude = res.latitude; this.latitude = res.latitude;
this.getIndustry(); this.getIndustry();
@ -532,29 +498,9 @@
// //
changeType(item) { changeType(item) {
this.typeid = item.id; this.typeid = item.id;
if (item.id == 99999999) { this.goodsSendotClassList = item.childIndustry;
this.goodsSendotClassList = [{ this.selectFirst = item.childIndustry[0].id;
"childIndustry": null, this.selectFirstName = item.childIndustry[0].name;
"createTime": 1640252998000,
"name": "全部",
"id": 99999999,
"wechatCompanyCode": "716",
"wechatName": "全部",
"ext3": null,
"parentId": 13,
"wechatSelfEmployedCode": "719",
"ext2": null,
"status": 1,
"ext1": "642"
}];
this.selectFirst = '99999999';
this.selectFirstName = '全部';
}else{
this.goodsSendotClassList = item.childIndustry;
this.selectFirst = item.childIndustry[0].id;
this.selectFirstName = item.childIndustry[0].name;
}
this.getMapStore(); this.getMapStore();
}, },
// //

@ -137,16 +137,6 @@
<view class="width94 fcoreb5 font15 fontwig6">¥{{goods.price}}</view> <view class="width94 fcoreb5 font15 fontwig6">¥{{goods.price}}</view>
</view> </view>
</view> </view>
<!-- 大图 -->
<view class="width90 mart20 alijusstart" v-if="item.type == 4"
@click="goGoodsList(item.jumpUrl)">
<view class="width70 font18 fcor333">
{{item.name}}
</view>
</view>
<image class="width90 mart10" mode="widthFix" v-if="item.type == 4"
:src="imageUrl+item.childCategory[0].imgData" @click="goGoodsList(item.childCategory[0].jumpUrl)">
</image>
<!-- 惠享生活 --> <!-- 惠享生活 -->
<view class="width90 mart20 alijusstart" v-if="item.type == 5"> <view class="width90 mart20 alijusstart" v-if="item.type == 5">
<view class="width70 font18 fcor333"> <view class="width70 font18 fcor333">

@ -498,7 +498,7 @@
}, },
goClassify(){ goClassify(){
uni.reLaunch({ uni.switchTab({
url:'/pages/tabBar/classify/classify' url:'/pages/tabBar/classify/classify'
}) })
}, },

@ -157,24 +157,21 @@
{{item.discountName}} {{item.discountName}}
</view> </view>
<view class="font13 mart5 fcor666"> <view class="font13 mart5 fcor666">
截止时间:{{item.useEndTime | formatDate }} <text class="fcorred paddleft5" v-if="item.useEndTime<(new Date()).getTime()">已过期</text> 截止时间:{{item.useEndTime | formatDate }}
</view> </view>
</view> </view>
<!-- 截止时间:{{item.useEndTime}}-- {{(new Date()).getTime() }} --> <view class="" v-if="item.discountCondition<=totalPrice">
<view class="" v-if="(item.discountCondition<=totalPrice)&&(item.useEndTime>(new Date()).getTime())&&totalPrice!=0">
<radio class="radio-ca" :checked="yhqType == item.id" :value="item.id+''" color="#FF1A34" /> <radio class="radio-ca" :checked="yhqType == item.id" :value="item.id+''" color="#FF1A34" />
</view> </view>
</view> </view>
<view v-if="item.discountCondition>totalPrice&&item.discountType == 1" class="paddtop10 mart10 border-t font14">
<template v-if="(item.useEndTime>(new Date()).getTime())"> <view class="fotred fontwig6 ">不可用原因</view>
<view v-if="item.discountCondition>totalPrice&&item.discountType == 1" class="paddtop10 mart10 border-t font14"> <view class="fcor666">
<view class="fotred fontwig6 ">不可用原因</view> 使用门槛为{{item.discountCondition}}还差{{ parseFloat((item.discountCondition-totalPrice).toFixed(2)) }}元才能使用
<view class="fcor666">
使用门槛为{{item.discountCondition}}还差{{ parseFloat((item.discountCondition-totalPrice).toFixed(2)) }}元才能使用
</view>
</view> </view>
</template> </view>
</view> </view>
</radio-group> </radio-group>

Loading…
Cancel
Save