紧急修复了一些bug

This commit is contained in:
张乐
2020-08-17 15:28:28 +08:00
parent b17ad9443e
commit a0311f57f3
122 changed files with 1235 additions and 3297 deletions

View File

@@ -131,7 +131,7 @@
let data = res.data;
if (data.status == "WECHAT_H5_PAY") {
uni.hideLoading();
location.replace(data.result.jsConfig.mweb_url);
location.replace(data.result.jsConfig.h5PayUrl);
return that.$util.Tips({
title: "支付成功",
icon: 'success'

View File

@@ -110,7 +110,6 @@
this.$emit('ChangeCartNum', true);
},
tapAttr: function(indexw, indexn) {
console.log('45454555');
let that = this;
that.$emit("attrVal", {
indexw: indexw,
@@ -119,7 +118,7 @@
this.$set(this.attr.productAttr[indexw], 'index', this.attr.productAttr[indexw].attrValues[indexn]);
let value = that
.getCheckedValue()
.sort()
// .sort()
.join(",");
that.$emit("ChangeAttr", value);

View File

@@ -11,7 +11,7 @@
<view class="child-box" v-if="tabClick>0 && tabTitle[tabClick].child?tabTitle[tabClick].child.length>0:0">
<scroll-view scroll-x="true" style="white-space: nowrap; display: flex;align-items: center; height: 100%;" scroll-with-animation :scroll-left="tabLeft" show-scrollbar="false">
<view class="wrapper">
<view v-for="(item,index) in tabTitle[tabClick].child?tabTitle[tabClick].child:[]" class="child-item" :class="{on:index == childIndex}" @click="childTab(tabClick,index)">
<view v-for="(item,index) in tabTitle[tabClick].child?tabTitle[tabClick].child:[]" :key="index" class="child-item" :class="{on:index == childIndex}" @click="childTab(tabClick,index)">
<image :src="item.url" mode=""></image>
<view class="txt line1">{{item.name}}</view>
</view>