Commit 01523d75 by 谢中龙

修改配置

parent 3c0e4464
......@@ -84,6 +84,7 @@ const prod_brand_config = {
refundTips : '温馨提示:退货通过审核后需将清单随包裹一起寄回或纸条备注(订单号与退货商品款号)【请务必审核通过后24小时内填写寄回运单号,拒签到付/顺丰/EMS/天天快递 不影响二次销售】',//退货须知文本
//wx654ce96a7324e76f 小程序微信支付券
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
productInfoImgRatio : 1,//商品详情图片比列
},
//泰华配置
2006: {
......@@ -109,7 +110,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202003/20200331/30017df01559-a34f-4106-81a6-3e2ed7e6304c.png',
openRefundTips : false,//是否开启退货须知显示
refundTips : '',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2006',
productInfoImgRatio : 1,//商品详情图片比列
},
//多多一上
2007 : {
......@@ -134,7 +136,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202003/20200331/30013df6a0c2-7f3f-4475-8657-5c0ac87e02de.png',
openRefundTips : false,//是否开启退货须知显示
refundTips : '',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2007',
productInfoImgRatio : 1,//商品详情图片比列
},
//雪岛书屋
2008 : {
......@@ -159,7 +162,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202003/20200331/3001842823fb-2601-4b58-a648-79ad799ad425.png',
openRefundTips : false,//是否开启退货须知显示
refundTips : '',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2008',
productInfoImgRatio : 1,//商品详情图片比列
},
//苏州邻里
2003 : {
......@@ -184,7 +188,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202003/20200331/3001842823fb-2601-4b58-a648-79ad799ad425.png',
openRefundTips : false,//是否开启退货须知显示
refundTips : '',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2003',
productInfoImgRatio : 1,//商品详情图片比列
},
//拉如小程序
2009 : {
......@@ -209,7 +214,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202003/20200331/3001c17ed02e-7c2b-4b61-a81d-f8dcde3301df.jpg',//商户logo
openRefundTips : false,//是否开启退货须知显示
refundTips : '',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2009',
productInfoImgRatio : 1,//商品详情图片比列
},
//热风
2010 : {
......@@ -234,7 +240,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202003/20200331/3001377a0bb9-8f7f-4b40-8966-9fc5f8a69cdd.png',
openRefundTips : true,//是否开启退货须知显示
refundTips : '温馨提示:退货通过审核后需将清单随包裹一起寄回或纸条备注(订单号与退货商品款号)【请务必审核通过后24小时内填写寄回运单号,拒签到付/顺丰/EMS/天天快递 不影响二次销售】',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2010',
productInfoImgRatio : 1,//商品详情图片比列
},
//悦芙媞
2012 : {
......@@ -259,7 +266,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202003/20200331/30010a5f2325-9818-455d-a707-e8afc373701e.png',
openRefundTips : false,//是否开启退货须知显示
refundTips : '',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2012',
productInfoImgRatio : 1,//商品详情图片比列
},
//阿特里里
2013 : {
......@@ -284,7 +292,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202003/20200331/3001842823fb-2601-4b58-a648-79ad799ad425.png',
openRefundTips : false,//是否开启退货须知显示
refundTips : '',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2013',
productInfoImgRatio : 1,//商品详情图片比列
},
//包鞋
2014: {
......@@ -309,7 +318,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202003/20200331/3001842823fb-2601-4b58-a648-79ad799ad425.png',
openRefundTips : false,//是否开启退货须知显示
refundTips : '',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2014',
productInfoImgRatio : 1,//商品详情图片比列
},
//2015花在花园里
2015 : {
......@@ -334,7 +344,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202004/20200410/30019e5121d1-5e2c-49b6-b807-1dbf1481b361.png',
openRefundTips : false,//是否开启退货须知显示
refundTips : '',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2015',
productInfoImgRatio : 1,//商品详情图片比列
},
//阿吉豆
2016: {
......@@ -359,7 +370,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202003/20200331/3001842823fb-2601-4b58-a648-79ad799ad425.png',
openRefundTips : false,//是否开启退货须知显示
refundTips : '',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2016',
productInfoImgRatio : 1,//商品详情图片比列
},
//【ACTREE】
2017: {
......@@ -384,7 +396,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202003/20200331/3001df8c09f7-8e9b-4901-8627-a533daf2bf8d.png',
openRefundTips : false,//是否开启退货须知显示
refundTips : '',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2017',
productInfoImgRatio : 1,//商品详情图片比列
},
//山东盛联微商城
2992 : {
......@@ -409,7 +422,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202003/20200331/3001edfaf8b7-0f9f-4d3e-8a74-73ed7398a4bc.jpg',
openRefundTips : false,//是否开启退货须知显示
refundTips : '',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2992',
productInfoImgRatio : 1,//商品详情图片比列
},
//2002 巴黎贝甜
2002 : {
......@@ -434,7 +448,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202003/20200318/3001c0647584-3656-45e9-ae60-c898d435113e.png',
openRefundTips : false,//是否开启退货须知显示
refundTips : '',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2002',
productInfoImgRatio : 0.75,//商品详情图片比列
//要跳转的外部小程序appid
// "wxa006e9b0a0ee1bfe", 外卖
// "wx39b5d8891f375d1c" 礼品卡
......@@ -462,7 +477,9 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202004/20200428/3001b3138e96-bb20-4492-916b-d9540cf072a7.jpg',
openRefundTips : false,//是否开启退货须知显示
refundTips : '',//退货须知文本
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=3001',
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2014',
productInfoImgRatio : 1,//商品详情图片比列
},
//2021 柏草日记
2021: {
......@@ -486,6 +503,8 @@ const prod_brand_config = {
logo: 'https://img3.bigaka.com/prd/3001/202005/20200513/3001e51a8eab-4c41-4b31-bc9f-6eb5c9a3890f.png',
openRefundTips: false,//是否开启退货须知显示
refundTips: '',//退货须知文本
productInfoImgRatio : 1,//商品详情图片比列
signUrl : 'https://crm-m.bigaka.com/activity/sign.html?brandId=2021',
//要跳转的外部小程序appid
},
......@@ -593,6 +612,7 @@ let openRefundTips = PROJECT_ENV == 'prod' ? prod_brand_config[BRANCH_ID].openRe
let refundTips = PROJECT_ENV == 'prod' ? prod_brand_config[BRANCH_ID].refundTips : '温馨提示:退货通过审核后需将清单随包裹一起寄回或纸条备注(订单号与退货商品款号)【请务必审核通过后24小时内填写寄回运单号,拒签到付/顺丰/EMS/天天快递 不影响二次销售】';
let hasKeFu = PROJECT_ENV == 'prod' ? prod_brand_config[BRANCH_ID].hasKeFu : true;
let signUrl = PROJECT_ENV == 'prod' ? prod_brand_config[BRANCH_ID].signUrl : CONST_SIGN_URL[PROJECT_ENV];
let productInfoImgRatio = PROJECT_ENV == 'prod' ? prod_brand_config[BRANCH_ID].productInfoImgRatio : 1;
//配置信息导出
const envInfo = (() => {
return {
......@@ -622,6 +642,7 @@ const envInfo = (() => {
refundTips : refundTips,
hasKeFu : hasKeFu,
signUrl : signUrl,
productInfoImgRatio :productInfoImgRatio,
}
})()
......
......@@ -215,9 +215,10 @@ wxService.page({
title: '领取中..',
});
wxService.post(`/coupon/coupon/draw`,{
wxService.post(`/coupon/coupon/drawBatch`,{
couponSettingId : item.id,
memberId : memberId,
storeId : '',
}).then(res => {
wx.hideLoading();
if(res.data.result == 0){
......@@ -226,7 +227,6 @@ wxService.page({
});
this.setLocalStorageByKey(item.id);
this.getGoodsCouponActivityList();
}
})
......
......@@ -4,7 +4,8 @@
<view class="page-product-detail product-container" bindtouchstart="pageTouchStart" bindtouchmove="pageMove" bindtouchend="pageMoveEnd">
<view class="positionRe">
<swiper autoplay="{{autoplay}}" style="height: 750rpx;line-height: 100rpx;" bindchange="swiperChange">
<swiper autoplay="{{autoplay}}"
style="height: {{750*productInfoImgRatio}}rpx;line-height: 100rpx;" bindchange="swiperChange">
<block wx:for="{{productInfo.listUrls}}" wx:key="index">
<swiper-item>
<image class="swiper-image"
......@@ -25,7 +26,7 @@
</swiper-item>
</block>
</swiper>
<view class="dots">
<view class="dots" style="top:{{670*productInfoImgRatio}}rpx">
<block wx:for="{{productInfo.listUrls}}" wx:key="index">
<view class="dot{{index == swiperCurrent ? ' active' : ''}}" />
</block>
......
......@@ -162,7 +162,7 @@
"id": 16,
"name": "商品详情页",
"pathName": "pages/productDetail/productDetail",
"query": "id=708760463617429504",
"query": "id=709442351277543424",
"scene": null
},
{
......
......@@ -615,6 +615,7 @@ class WXService extends Http {
config.data.refundTips = envInfo.refundTips;
config.data.hasKeFu = envInfo.hasKeFu;
config.data.signUrl = envInfo.signUrl;
config.data.productInfoImgRatio = envInfo.productInfoImgRatio;
//默认
config.data.loading = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment