Commit 58bb0a47 authored by ZJG's avatar ZJG

1

parent cb9a05a8
......@@ -6,6 +6,8 @@
:current="current"
@change="change"
:active-color="mainColor"
bar-height='4'
height="100"
></u-tabs>
<u-empty v-if="g.length == 0" text="暂无相关卡券" mode="order"></u-empty>
......
......@@ -6,6 +6,7 @@
:current="msg.UseState"
@change="change"
:active-color="mainColor"
height="100"
></u-tabs>
<u-empty v-if="g.length == 0" text="暂无相关优惠券" mode="coupon"></u-empty>
......
......@@ -253,9 +253,13 @@
return;
}
var tempObj = uni.getStorageSync('basedata').mall.wechatmessage;
var tmplIds = '';
var tmplIds = [];
if(tempObj&&tempObj.length>0){
tmplIds = tempObj[0].MessageId;
tempObj.forEach(x=>{
if(x.Name=='下单成功提醒'||x.Name=='订单取消提醒'){
tmplIds.push(x.MessageId)
}
})
}
uni.requestSubscribeMessage({
tmplIds: tmplIds,
......
<template>
<view class="integralDStyle" :style="{ height: contentHeight }">
<u-tabs :list="list" :is-scroll="false" :current="current" @change="change" :active-color="mainColor"></u-tabs>
<u-tabs :list="list" :is-scroll="false" :current="current" @change="change" :active-color="mainColor" height="100"></u-tabs>
<u-empty v-if="g.length == 0" text="暂无积分明细" mode="list"></u-empty>
<view v-if="g.length > 0" style="height: calc(100vh - 50px);width: calc(100vw);overflow: hidden; ">
<scroll-view :scroll-y="true" :enable-back-to-top="true" :enable-flex="true" @scrolltolower="lower" :style="{ height: '100%' }">
......
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