jiazhipeng 5 months ago
parent
commit
485e533fb0
  1. 2
      app.js
  2. 2
      pages/info/postProductInfo/index.wxml
  3. 5
      pages/info/postProductInfo/index.wxss
  4. 3
      pages/user/cartlist/list.js
  5. 9
      project.private.config.json

2
app.js

@ -38,7 +38,7 @@ App({
// 获取前端配置文件
commonApi._post("pbservice/Other/getClientConfig", {unique_key: "wechatxcx"}).then(res => {
let data = JSON.parse(res.data);
data.isTest = data.isTest146? true : false;
data.isTest = data.isTest150? true : false;
data.indexSeason = null
this.globalData.configJson = data
}).then(() => {

2
pages/info/postProductInfo/index.wxml

@ -68,6 +68,8 @@
<image lazy-load wx:for="{{info.sku}}" wx:key="index" bind:tap="changeSwiperCurrent" data-index="{{swiperRange.picture.max+1+index}}"
class="{{swiperCurrent==swiperRange.picture.max+1+index?'active':''}}"
src="{{item.headimg}}"></image>
<view style="width: 20rpx;height: 100%;flex-shrink: 0;"></view>
</view>
<view class="select-sku" bind:tap="showOrder">></view>

5
pages/info/postProductInfo/index.wxss

@ -438,6 +438,7 @@ page {
justify-content: space-between;
text-align: center;
padding-left: 0;
z-index: 77;
}
.fixed-bottom .iconfont {
@ -552,6 +553,8 @@ page {
justify-content: space-between;
height: 400rpx;
align-content: flex-start;
overflow-y: auto;
overflow-x: hidden;
}
.sku-name-item {
@ -696,7 +699,7 @@ width: 250rpx;
border-radius: 50%;
right: 20rpx;
bottom: 166rpx;
z-index: 15;
z-index: 88;
}
.cart-box image {

3
pages/user/cartlist/list.js

@ -231,6 +231,7 @@ Page({
this.setData({flag:''})
if (product.length>0) {
let use_type = product[0].sku.use_type
if (product.some(x=>x.sku.use_type!=use_type)) {
this.setData({
@ -238,6 +239,8 @@ Page({
isCar: 'multiple'
})
}
}
if (product.length > 0 && product1.length > 0) {
this.setData({
flag: 'mix',

9
project.private.config.json

@ -9,10 +9,17 @@
{
"name": "pages/info/postProductInfo/index",
"pathName": "pages/info/postProductInfo/index",
"query": "id=464888",
"query": "id=462080",
"scene": null,
"launchMode": "default"
},
{
"name": "pages/info/postProductInfo/index",
"pathName": "pages/info/postProductInfo/index",
"query": "id=464888",
"launchMode": "default",
"scene": null
},
{
"name": "pages/order/orderList/index",
"pathName": "pages/order/orderList/index",

Loading…
Cancel
Save