Commit 9545ae6c by 谢中龙

我的支付券

parent ffb14807
...@@ -76,6 +76,7 @@ const prod_brand_config = { ...@@ -76,6 +76,7 @@ const prod_brand_config = {
canRefundDaysAfterDelivery : 15,//发货后多少天之内可显示申请退款按钮 canRefundDaysAfterDelivery : 15,//发货后多少天之内可显示申请退款按钮
isNeedGetLocation : true,//是否开启小程序获取位置(提交订单时获取门店信息) isNeedGetLocation : true,//是否开启小程序获取位置(提交订单时获取门店信息)
guiderCanScanQrcode : true,//导购是否有扫一扫功能 guiderCanScanQrcode : true,//导购是否有扫一扫功能
hasKeFu : true,//是否有客服功能
shareTitle: '【舞象星品荟-社交商城】', shareTitle: '【舞象星品荟-社交商城】',
logo: 'https://img3.bigaka.com/prd/3001/202003/20200331/3001842823fb-2601-4b58-a648-79ad799ad425.png', logo: 'https://img3.bigaka.com/prd/3001/202003/20200331/3001842823fb-2601-4b58-a648-79ad799ad425.png',
openRefundTips : true,//是否开启退货须知显示 openRefundTips : true,//是否开启退货须知显示
...@@ -94,6 +95,7 @@ const prod_brand_config = { ...@@ -94,6 +95,7 @@ const prod_brand_config = {
contactUsPluginId: 'a6ea55b56eb09ced8f9aeeaa14383b52', contactUsPluginId: 'a6ea55b56eb09ced8f9aeeaa14383b52',
hasTrial: false, hasTrial: false,
isMall: isMall, isMall: isMall,
hasKeFu : false,//是否有客服功能
hasLiveVideo: true,//是否有直播功能 hasLiveVideo: true,//是否有直播功能
orderingMustOpenCard: true, orderingMustOpenCard: true,
touchPointStorageTime: 30 * 60 * 1000,//单位毫秒 touchPointStorageTime: 30 * 60 * 1000,//单位毫秒
...@@ -112,12 +114,14 @@ const prod_brand_config = { ...@@ -112,12 +114,14 @@ const prod_brand_config = {
tunnelToken: '1ea3f0c0dd0c91ee54e546a99beafbfb', tunnelToken: '1ea3f0c0dd0c91ee54e546a99beafbfb',
brandId: 2007, brandId: 2007,
plusIsOpen: false, plusIsOpen: false,
hasKeFu : false,//是否有客服功能
contactUsIsOpen: true, contactUsIsOpen: true,
touchPointStorageTime: 30 * 60 * 1000,//单位毫秒 touchPointStorageTime: 30 * 60 * 1000,//单位毫秒
canUseWechatAddress: false,//是否使用获取微信地址 canUseWechatAddress: false,//是否使用获取微信地址
contactUsPluginId: '78353bb39251a60b473f3d4ae81b1c39', contactUsPluginId: '78353bb39251a60b473f3d4ae81b1c39',
hasTrial: false, hasTrial: false,
isMall: isMall, isMall: isMall,
hasKeFu : false,//是否有客服功能
hasLiveVideo: true,//是否有直播功能 hasLiveVideo: true,//是否有直播功能
orderingMustOpenCard: true, orderingMustOpenCard: true,
canRefundDaysAfterDelivery: 15,//发货后多少天之内可显示申请退款按钮 canRefundDaysAfterDelivery: 15,//发货后多少天之内可显示申请退款按钮
...@@ -135,6 +139,7 @@ const prod_brand_config = { ...@@ -135,6 +139,7 @@ const prod_brand_config = {
tunnelToken: 'd93a5def7511da3d0f2d171d9c344e91', tunnelToken: 'd93a5def7511da3d0f2d171d9c344e91',
brandId: 2008, brandId: 2008,
plusIsOpen: false, plusIsOpen: false,
hasKeFu : false,//是否有客服功能
contactUsIsOpen: false, contactUsIsOpen: false,
touchPointStorageTime: 30 * 60 * 1000,//单位毫秒 touchPointStorageTime: 30 * 60 * 1000,//单位毫秒
canUseWechatAddress: false,//是否使用获取微信地址 canUseWechatAddress: false,//是否使用获取微信地址
...@@ -160,6 +165,7 @@ const prod_brand_config = { ...@@ -160,6 +165,7 @@ const prod_brand_config = {
plusIsOpen: false, plusIsOpen: false,
contactUsIsOpen: false, contactUsIsOpen: false,
contactUsPluginId: '', contactUsPluginId: '',
hasKeFu : false,//是否有客服功能
touchPointStorageTime: 30 * 60 * 1000,//单位毫秒 touchPointStorageTime: 30 * 60 * 1000,//单位毫秒
canUseWechatAddress: false,//是否使用获取微信地址 canUseWechatAddress: false,//是否使用获取微信地址
hasTrial: false, hasTrial: false,
...@@ -184,6 +190,7 @@ const prod_brand_config = { ...@@ -184,6 +190,7 @@ const prod_brand_config = {
contactUsIsOpen: false,//是否开启联系我 contactUsIsOpen: false,//是否开启联系我
contactUsPluginId: '',//联系我们插件PluginID contactUsPluginId: '',//联系我们插件PluginID
hasTrial: false,// 是否有体验账号 hasTrial: false,// 是否有体验账号
hasKeFu : false,//是否有客服功能
hasLiveVideo: false,//是否有直播功能 hasLiveVideo: false,//是否有直播功能
canUseWechatAddress: false,//是否使用获取微信地址 canUseWechatAddress: false,//是否使用获取微信地址
isMall: isMall,// 商城或门户 true 商城 false 门户 isMall: isMall,// 商城或门户 true 商城 false 门户
...@@ -205,6 +212,7 @@ const prod_brand_config = { ...@@ -205,6 +212,7 @@ const prod_brand_config = {
brandId: 2010, brandId: 2010,
plusIsOpen: false, plusIsOpen: false,
contactUsIsOpen: false, contactUsIsOpen: false,
hasKeFu : false,//是否有客服功能
contactUsPluginId: 'f86b306023ec790b70c0b45fcf308b04', contactUsPluginId: 'f86b306023ec790b70c0b45fcf308b04',
hasTrial: false, hasTrial: false,
isMall: isMall, isMall: isMall,
...@@ -227,6 +235,7 @@ const prod_brand_config = { ...@@ -227,6 +235,7 @@ const prod_brand_config = {
tunnelToken: '6293879e905cd6504386f5bbc8c61926', tunnelToken: '6293879e905cd6504386f5bbc8c61926',
brandId: 2012, brandId: 2012,
plusIsOpen: false, plusIsOpen: false,
hasKeFu : false,//是否有客服功能
contactUsIsOpen: true, contactUsIsOpen: true,
canUseWechatAddress: false,//是否使用获取微信地址 canUseWechatAddress: false,//是否使用获取微信地址
contactUsPluginId: '6d310b33ba27c784fb6872942a57711d', contactUsPluginId: '6d310b33ba27c784fb6872942a57711d',
...@@ -253,6 +262,7 @@ const prod_brand_config = { ...@@ -253,6 +262,7 @@ const prod_brand_config = {
contactUsIsOpen: true, contactUsIsOpen: true,
contactUsPluginId: '', contactUsPluginId: '',
hasTrial: false, hasTrial: false,
hasKeFu : false,//是否有客服功能
hasLiveVideo: false,//是否有直播功能 hasLiveVideo: false,//是否有直播功能
isMall: isMall, isMall: isMall,
canUseWechatAddress: false,//是否使用获取微信地址 canUseWechatAddress: false,//是否使用获取微信地址
...@@ -274,6 +284,7 @@ const prod_brand_config = { ...@@ -274,6 +284,7 @@ const prod_brand_config = {
brandId: 2014, brandId: 2014,
plusIsOpen: false, plusIsOpen: false,
contactUsIsOpen: true, contactUsIsOpen: true,
hasKeFu : false,//是否有客服功能
contactUsPluginId: '', contactUsPluginId: '',
hasLiveVideo: false,//是否有直播功能 hasLiveVideo: false,//是否有直播功能
hasTrial: false, hasTrial: false,
...@@ -297,6 +308,7 @@ const prod_brand_config = { ...@@ -297,6 +308,7 @@ const prod_brand_config = {
brandId: 2015, brandId: 2015,
plusIsOpen: false, plusIsOpen: false,
contactUsIsOpen: false, contactUsIsOpen: false,
hasKeFu : false,//是否有客服功能
contactUsPluginId: '', contactUsPluginId: '',
hasTrial: false, hasTrial: false,
isMall: isMall, isMall: isMall,
...@@ -321,6 +333,7 @@ const prod_brand_config = { ...@@ -321,6 +333,7 @@ const prod_brand_config = {
plusIsOpen: false, plusIsOpen: false,
contactUsIsOpen: true, contactUsIsOpen: true,
contactUsPluginId: '', contactUsPluginId: '',
hasKeFu : false,//是否有客服功能
hasTrial: false, hasTrial: false,
isMall: isMall, isMall: isMall,
hasLiveVideo: false,//是否有直播功能 hasLiveVideo: false,//是否有直播功能
...@@ -346,6 +359,7 @@ const prod_brand_config = { ...@@ -346,6 +359,7 @@ const prod_brand_config = {
contactUsPluginId: 'fbe3bb6f88e7331ca719713910c164a2',//联系我插件 contactUsPluginId: 'fbe3bb6f88e7331ca719713910c164a2',//联系我插件
hasLiveVideo: false,//是否有直播功能 hasLiveVideo: false,//是否有直播功能
hasTrial: false, hasTrial: false,
hasKeFu : false,//是否有客服功能
canUseWechatAddress: false,//是否使用获取微信地址 canUseWechatAddress: false,//是否使用获取微信地址
touchPointStorageTime: 30 * 60 * 1000,//单位毫秒 touchPointStorageTime: 30 * 60 * 1000,//单位毫秒
isMall: isMall, isMall: isMall,
...@@ -369,6 +383,7 @@ const prod_brand_config = { ...@@ -369,6 +383,7 @@ const prod_brand_config = {
contactUsPluginId: '50934d036dc2051758f4d934d7100b78', contactUsPluginId: '50934d036dc2051758f4d934d7100b78',
hasTrial: false, hasTrial: false,
isMall: isMall, isMall: isMall,
hasKeFu : false,//是否有客服功能
canUseWechatAddress: false,//是否使用获取微信地址 canUseWechatAddress: false,//是否使用获取微信地址
touchPointStorageTime: 30 * 60 * 1000,//单位毫秒 touchPointStorageTime: 30 * 60 * 1000,//单位毫秒
orderingMustOpenCard: true, orderingMustOpenCard: true,
...@@ -391,6 +406,7 @@ const prod_brand_config = { ...@@ -391,6 +406,7 @@ const prod_brand_config = {
contactUsIsOpen: false, contactUsIsOpen: false,
contactUsPluginId: '', contactUsPluginId: '',
hasTrial: true, hasTrial: true,
hasKeFu : false,//是否有客服功能
isMall: isMall, isMall: isMall,
canUseWechatAddress: false,//是否使用获取微信地址 canUseWechatAddress: false,//是否使用获取微信地址
touchPointStorageTime: 30 * 60 * 1000,//单位毫秒 touchPointStorageTime: 30 * 60 * 1000,//单位毫秒
...@@ -417,6 +433,7 @@ const prod_brand_config = { ...@@ -417,6 +433,7 @@ const prod_brand_config = {
contactUsIsOpen: false, contactUsIsOpen: false,
contactUsPluginId: '', contactUsPluginId: '',
hasTrial: false, hasTrial: false,
hasKeFu : false,//是否有客服功能
isMall: isMall, isMall: isMall,
canUseWechatAddress: false,//是否使用获取微信地址 canUseWechatAddress: false,//是否使用获取微信地址
touchPointStorageTime: 30 * 60 * 1000,//单位毫秒 touchPointStorageTime: 30 * 60 * 1000,//单位毫秒
...@@ -531,6 +548,7 @@ let canRefundDaysAfterDelivery = PROJECT_ENV == 'prod' ? prod_brand_config[BRANC ...@@ -531,6 +548,7 @@ let canRefundDaysAfterDelivery = PROJECT_ENV == 'prod' ? prod_brand_config[BRANC
let touchPointStorageTime = PROJECT_ENV == 'prod' ? prod_brand_config[BRANCH_ID].touchPointStorageTime : 1800000; let touchPointStorageTime = PROJECT_ENV == 'prod' ? prod_brand_config[BRANCH_ID].touchPointStorageTime : 1800000;
let openRefundTips = PROJECT_ENV == 'prod' ? prod_brand_config[BRANCH_ID].openRefundTips : true; let openRefundTips = PROJECT_ENV == 'prod' ? prod_brand_config[BRANCH_ID].openRefundTips : true;
let refundTips = PROJECT_ENV == 'prod' ? prod_brand_config[BRANCH_ID].refundTips : '温馨提示:退货通过审核后需将清单随包裹一起寄回或纸条备注(订单号与退货商品款号)【请务必审核通过后24小时内填写寄回运单号,拒签到付/顺丰/EMS/天天快递 不影响二次销售】'; 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;
//配置信息导出 //配置信息导出
const envInfo = (() => { const envInfo = (() => {
return { return {
...@@ -558,6 +576,7 @@ const envInfo = (() => { ...@@ -558,6 +576,7 @@ const envInfo = (() => {
touchPointStorageTime: touchPointStorageTime, touchPointStorageTime: touchPointStorageTime,
openRefundTips : openRefundTips, openRefundTips : openRefundTips,
refundTips : refundTips, refundTips : refundTips,
hasKeFu : hasKeFu,
} }
})() })()
......
...@@ -11,7 +11,8 @@ wxService.page({ ...@@ -11,7 +11,8 @@ wxService.page({
data: { data: {
couponDetail:{}, couponDetail:{},
cardno: '', cardno: '',
couponType : '', couponType : 'default',
payCouponInfo : {},
}, },
/** /**
...@@ -20,10 +21,11 @@ wxService.page({ ...@@ -20,10 +21,11 @@ wxService.page({
onShow () { onShow () {
}, },
onLoad(options) { onLoad(options) {
wx.hideShareMenu(); wx.hideShareMenu();
const {cardno,type} = options const {cardno,type} = options
this.data.couponType = type; this.data.couponType = type ? type : 'coupon';
this.getCouponDetail(cardno,type) this.getCouponDetail(cardno,type)
this.setData({ this.setData({
...@@ -31,7 +33,10 @@ wxService.page({ ...@@ -31,7 +33,10 @@ wxService.page({
couponType : type, couponType : type,
}); });
}, },
//页面卸载
onUnload(){
wx.removeStorageSync('payCoupon');
},
// 卡券详情 // 卡券详情
getCouponDetail(id,type){ getCouponDetail(id,type){
wx.showLoading({ wx.showLoading({
...@@ -52,7 +57,15 @@ wxService.page({ ...@@ -52,7 +57,15 @@ wxService.page({
}, },
//获取支付券详情 //获取支付券详情
getPayCardInfo(id){ getPayCardInfo(id){
let payCouponInfo = wx.getStorageSync('payCoupon');
if(payCouponInfo){
this.data.payCouponInfo = payCouponInfo;
let notice = payCouponInfo.detailInfo.detailInfo ? JSON.parse(payCouponInfo.detailInfo.detailInfo): [];
payCouponInfo.notice = notice;
this.setData({
payCouponInfo : this.data.payCouponInfo
});
}
}, },
//获取包邮券详情 //获取包邮券详情
getPostalVoucherInfo(id){ getPostalVoucherInfo(id){
......
<!--pages/couponDetail/couponDetail.wxml--> <!--pages/couponDetail/couponDetail.wxml-->
<view class='page-integral-detail'> <!-- 普通优惠券 -->
<view class='page-integral-detail' wx:if="{{couponType == 'coupon'}}">
<view class='coupon-wrap'> <view class='coupon-wrap'>
<view class='coupon-list'> <view class='coupon-list'>
<image class='coupon-bg' <image class='coupon-bg'
...@@ -29,6 +30,35 @@ ...@@ -29,6 +30,35 @@
<!--<button type='primary' class="redeem-now" bindtap="handelPresentCouponCode">出示券码</button>--> <!--<button type='primary' class="redeem-now" bindtap="handelPresentCouponCode">出示券码</button>-->
</view> </view>
</view> </view>
<!-- 支付券 -->
<view class='page-integral-detail' wx:if="{{couponType == 1}}">
<view class='coupon-wrap'>
<view class='coupon-list'>
<image class='coupon-bg'
src='https://img3.bigaka.com/prd/3001/202003/20200309/300109875abd-15b0-4de3-9673-18d2d1ee4e20.png' />
<view class='coupon-img'>
<image wx:if="{{payCouponInfo.indexImgUrl}}" src='{{payCouponInfo.indexImgUrl}}' mode="aspectFit"/>
<image wx:else src='https://img3.bigaka.com/prd/3001/202003/20200309/30018086c13a-4579-47ed-a16e-c74cb8010c1d.png' />
</view>
<view class='coupon-info'>
<view class='coupon-name fs-28'>{{payCouponInfo.coupon_name}}</view>
<view class='coupon-desc fs-28'>{{payCouponInfo.startTime}} 至 {{payCouponInfo.endTime}}</view>
</view>
<view class='coupon-code fs-24' bindtap="handelPresentCouponCode" wx:if="{{!couponType}}">出示券码</view>
<view class='coupon-code fs-24' wx:if="{{couponType == 1}}">支付券</view>
<view class='coupon-code fs-24' wx:if="{{couponType == 2}}">包邮券</view>
</view>
<view class='integral-detail'>
<view class='integral-list' wx:for="{{payCouponInfo.notice}}" wx:key="*this">
<text class='integral-title'>{{item.label}}</text>
<text class='integral-desc wpl'>{{item.value}}</text>
</view>
</view>
</view>
</view>
<!--goHome--> <!--goHome-->
<go-home/> <go-home/>
<floatNav bind:getAuth="_getUserInfo" bind:updatePage="updatePage"/> <floatNav bind:getAuth="_getUserInfo" bind:updatePage="updatePage"/>
......
...@@ -40,7 +40,7 @@ wxService.page({ ...@@ -40,7 +40,7 @@ wxService.page({
this.getCouponList(1,10,1) this.getCouponList(1,10,1)
}else if( current == 1){ }else if( current == 1){
//微信支付券 //微信支付券
this.getPayCouponList();
} }
else if(current == 2){ else if(current == 2){
//包邮券 //包邮券
...@@ -59,11 +59,14 @@ wxService.page({ ...@@ -59,11 +59,14 @@ wxService.page({
onShow () { onShow () {
// 可使用 已失效 // 可使用 已失效
this.getCouponList(1,10,1); this.getCouponList(1,10,1);
//获取支付券
this.getPayCouponList();
}, },
//跳转到卡券详情 //跳转到卡券详情
handelPresentCouponDetail(e) { handelPresentCouponDetail(e) {
let {cardno,type} = e.currentTarget.dataset let {cardno,type,item} = e.currentTarget.dataset
if(type){ if(type){
wx.setStorageSync('payCoupon', item);
wxService.router(`/pages/couponDetail/couponDetail`).search({cardno:cardno,type:type}); wxService.router(`/pages/couponDetail/couponDetail`).search({cardno:cardno,type:type});
} }
else{ else{
...@@ -91,11 +94,9 @@ wxService.page({ ...@@ -91,11 +94,9 @@ wxService.page({
if(!res) return false if(!res) return false
const {result,data} = res.data const {result,data} = res.data
if(result == 0){ if(result == 0){
console.log(res)
wx.hideLoading() wx.hideLoading()
// 处理时间显示 // 处理时间显示
if(!data.content) return false if(!data.content) return false
data.content.forEach(item=> { data.content.forEach(item=> {
item.startTime = item.startTime.substring(0,10) item.startTime = item.startTime.substring(0,10)
item.endTime = item.endTime.substring(0,10) item.endTime = item.endTime.substring(0,10)
...@@ -110,6 +111,26 @@ wxService.page({ ...@@ -110,6 +111,26 @@ wxService.page({
wx.hideLoading(); wx.hideLoading();
}) })
}, },
//获取支付券列表
getPayCouponList(){
wxService.get(`/coupon/wechatCoupon/queryCouponList`).then(res => {
if(res){
let list = res.data.data ? res.data.data.arr : [];
this.data.payCouponList = list;
list.forEach(item => {
let detailInfo = item.detailInfo ? item.detailInfo : null;
if(detailInfo){
item.indexImgUrl = detailInfo.indexImgUrl;
item.couponName = detailInfo.couponName;
}
});
this.setData({
payCouponList : this.data.payCouponList
});
}
})
},
/** /**
* 页面相关事件处理函数--监听用户下拉动作 * 页面相关事件处理函数--监听用户下拉动作
*/ */
......
...@@ -64,16 +64,17 @@ ...@@ -64,16 +64,17 @@
data-cardNo="{{item.cardNo}}" data-cardNo="{{item.cardNo}}"
data-id="{{item.couponId}}" data-id="{{item.couponId}}"
data-type="1" data-type="1"
data-item="{{item}}"
bindtap="handelPresentCouponDetail" bindtap="handelPresentCouponDetail"
> >
<image class='coupon-bg' <image class='coupon-bg'
src='https://img3.bigaka.com/prd/3001/202003/20200309/300109875abd-15b0-4de3-9673-18d2d1ee4e20.png' /> src='https://img3.bigaka.com/prd/3001/202003/20200309/300109875abd-15b0-4de3-9673-18d2d1ee4e20.png' />
<view class='coupon-img'> <view class='coupon-img'>
<image wx:if="{{item.takeCouponBgimg}}" class='coupon-bg' src='{{item.takeCouponBgimg}}' /> <image wx:if="{{item.indexImgUrl}}" class='coupon-bg' src='{{item.indexImgUrl}}' mode="aspectFit"/>
<image wx:else src='https://img3.bigaka.com/prd/3001/202003/20200309/30018086c13a-4579-47ed-a16e-c74cb8010c1d.png' /> <image wx:else src='https://img3.bigaka.com/prd/3001/202003/20200309/30018086c13a-4579-47ed-a16e-c74cb8010c1d.png' mode="aspectFit"/>
</view> </view>
<view class='coupon-info'> <view class='coupon-info'>
<view class='coupon-name fs-28'>{{item.title}}</view> <view class='coupon-name fs-28'>{{item.coupon_name}}</view>
<view class='coupon-time fs-24'>{{item.startTime}} 至 {{item.endTime}}</view> <view class='coupon-time fs-24'>{{item.startTime}} 至 {{item.endTime}}</view>
<!-- <view class='coupon-desc fs-24'>{{item.notice}}</view> --> <!-- <view class='coupon-desc fs-24'>{{item.notice}}</view> -->
</view> </view>
......
...@@ -128,42 +128,28 @@ ...@@ -128,42 +128,28 @@
<view>首页</view> <view>首页</view>
</navigator>--> </navigator>-->
<view bindtap="handelToHome" class='get-formId--btn footer-icon'> <view bindtap="handelToHome" class='get-formId--btn footer-icon'>
<image src="/assets/imgs/7_1_0/home_un.png" mode="widthFix" /> <image src="/assets/imgs/7_1_0/home_un-red.png" mode="widthFix" />
<view>首页</view> <view>首页</view>
</view> </view>
</form> </form>
<form <form class='get-formId' bindsubmit="nav" report-submit name='nav'>
class='get-formId' <navigator class='get-formId--btn footer-icon' open-type="navigate" style="opacity:1;" url="/pages/cart/cart">
bindsubmit="nav" <image class="contact-share-img" src="/assets/imgs/7_1_0/cart_un-red.png" />
report-submit
name='nav'
>
<navigator class='get-formId--btn footer-icon' open-type="navigate" url="/pages/cart/cart">
<image class="contact-share-img" src="/assets/imgs/7_1_0/cart_un.png" />
<view class="add-car-text">购物车</view> <view class="add-car-text">购物车</view>
</navigator> </navigator>
</form> </form>
<!-- <form <form class='get-formId' bindsubmit="nav" report-submit name='home' wx:if="{{hasKeFu}}">
class='get-formId' <button class="get-formId--btn footer-icon" open-type="contact" session-from="udesk|{{udesk.nick_name}}|{{udesk.avatar}}"
bindsubmit="nav" send-message-title="{{productInfo.productName}}" show-message-card="true" send-message-img="{{productInfo.indexUrl}}">
report-submit <image src="/assets/imgs/7_1_0/bottom-kefu-red.png" mode="widthFix"></image>
name='home' <view class="tab-text">客服</view>
> </button>
<navigator class="get-formId--btn footer-icon"> </form>
<image src="https://hwimagecdn.ihotwind.cn/hotwind-mini/images/hotnewicon/bottom-kefu.png" mode="widthFix" />
<view class="tab-text">分享</view>
</navigator>
</form> -->
</view> </view>
<block> <block>
<view class="footer-buttons clearfix"> <view class="footer-buttons clearfix">
<block> <block>
<form <form class='get-formId get-formId--form' bindsubmit="addCart" report-submit name='nav'>
class='get-formId get-formId--form'
bindsubmit="addCart"
report-submit
name='nav'
>
<button disabled="{{fromZc || productInfo.productStatus != 2}}" <button disabled="{{fromZc || productInfo.productStatus != 2}}"
class="cart-button get-formId--btn {{(fromZc || productInfo.productStatus != 2) ? 'btn-default' : 'btn-cart'}}" formType="submit">加入购物车</button> class="cart-button get-formId--btn {{(fromZc || productInfo.productStatus != 2) ? 'btn-default' : 'btn-cart'}}" formType="submit">加入购物车</button>
</form> </form>
......
...@@ -613,6 +613,7 @@ class WXService extends Http { ...@@ -613,6 +613,7 @@ class WXService extends Http {
config.data.canRefundDaysAfterDelivery = envInfo.canRefundDaysAfterDelivery; config.data.canRefundDaysAfterDelivery = envInfo.canRefundDaysAfterDelivery;
config.data.openRefundTips = envInfo.openRefundTips; config.data.openRefundTips = envInfo.openRefundTips;
config.data.refundTips = envInfo.refundTips; config.data.refundTips = envInfo.refundTips;
config.data.hasKeFu = envInfo.hasKeFu;
//默认 //默认
config.data.loading = true; 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