Commit 4f1b830f by 谢中龙

修改集点订阅

parent bd15988d
......@@ -6,6 +6,7 @@
bottom: 0;
top: 0;
background-color: transparent;
z-index: 13;
}
.auto-old {
display: flex;
......
......@@ -2,7 +2,7 @@
.ad-modal-bg{
position: fixed;
z-index: 9999;
z-index: 9;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.5);
......
......@@ -41,7 +41,8 @@ wxService.page({
isAuthorization: false,
donateImgUrl : '',
showDonateImgUrl : false,
showTempalteModal : true
showTempalteModal : true,
userHasBaseInfo : false,
},
/**
* 生命周期函数--监听页面加载
......@@ -120,12 +121,16 @@ wxService.page({
//查询订阅模板
let baseUserInfo = wx.getStorageSync('_baseUserInfo');
wxService.post(`${'/merchant/message/wxSubMsgMapping/getListByParams'}`, {
scenarioIds: ['ordersend', 'orderconfirm'],
scenarioIds: ['pcstart', 'pccomplete'],
sourceFrom: 2,
switchType: 3
}).then(res => {
let tempArr = res.data.data ? res.data.data : [];
let tempids = [];
if(tempArr.length == 0){
return ;
}
tempArr.map(item => {
tempids.push(item.templateId);
});
......@@ -404,7 +409,6 @@ wxService.page({
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
......
......@@ -74,7 +74,9 @@
</view>
<view class="modal-footer-btns">
<view class="footer-btn" bindtap="onTapCloseModalTemplate">下一次</view>
<view class="footer-btn" bindtap="onTapSureSubTemplate">同意</view>
<view class="footer-btn" bindtap="onTapSureSubTemplate">
同意
</view>
</view>
</view>
</view>
......
......@@ -85,7 +85,7 @@
top: 0;
width: 100%;
height: 100%;
z-index: 1;
z-index: 10;
}
.modal-tamplate-body{
......@@ -97,7 +97,7 @@
top: 50%;
margin-top: -150rpx;
background: #ffffff;
z-index: 2;
z-index: 11;
display: flex;
flex-direction: column;
border-radius: 8rpx;
......@@ -142,6 +142,10 @@
height: 100%;
}
.modal-tamplate-body .modal-footer-btns .footer-btn button{
color: rgba(5, 195, 91, 1);
}
.modal-tamplate-body .modal-footer-btns .footer-btn:first-child{
border-bottom-left-radius: 8rpx;
border-right: solid 1rpx #dddddd;
......
......@@ -142,7 +142,7 @@
"id": 15,
"name": "集点详情",
"pathName": "pages/pointDetail/pointDetail",
"query": "id=702214327956017152",
"query": "id=711941259182346240",
"scene": null
},
{
......
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