瀏覽代碼

[商户修改]

tags/广东版3.2.1
meo 6 年之前
父節點
當前提交
81b3cb1e94
共有 6 個檔案被更改,包括 43 行新增18 行删除
  1. +4
    -6
      pages/coupon/detail/index.js
  2. +5
    -5
      pages/coupon/detail/index.wxml
  3. +1
    -0
      pages/coupon/detail/index.wxss
  4. +7
    -1
      pages/order/detail/index.js
  5. +6
    -4
      pages/order/detail/index.wxml
  6. +20
    -2
      pages/order/detail/index.wxss

+ 4
- 6
pages/coupon/detail/index.js 查看文件

@@ -40,13 +40,11 @@ Page({
display:"none",
showbutton:false
},
phone: function () {
phone: function (e) {
let that = this;
if (that.data.data.merchantLinkPhone) {
wx.makePhoneCall({
phoneNumber: that.data.data.merchantLinkPhone
});
}
wx.makePhoneCall({
phoneNumber: e.target.dataset.merchantlinkphone
});
},
/**
* 点击提交问题单选


+ 5
- 5
pages/coupon/detail/index.wxml 查看文件

@@ -58,15 +58,15 @@
</view>
</view>
<view class='posi'>
<view class='posi_logo'>
<view class='posi_logo' wx:for="{{data.merchantVoList}}" wx:key="index">
<view>
<image src='{{data.merChantImgUrl}}'></image>
<image src='{{item.merChantImgUrl}}'></image>
</view>
<view>
<text>{{data.merchantName}}</text>
<text>{{data.addr}}{{data.buildingName}}{{data.floorName}}</text>
<text>{{item.merchantName}}</text>
<text>{{item.addr}}{{item.buildingName}}{{item.floorName}}</text>
</view>
<image bindtap='phone' class="tel" src="./../../../assets/img/tel.jpg" mode="widthFix" />
<image bindtap='phone' data-merchantLinkPhone='{{item.merchantLinkPhone}}' class="tel" src="./../../../assets/img/tel.jpg" mode="widthFix" />
</view>
</view>
<view class='notes'>


+ 1
- 0
pages/coupon/detail/index.wxss 查看文件

@@ -189,6 +189,7 @@ page {
padding: 20rpx 0;
background: #fff;
height: 100rpx;
margin-bottom: 20rpx;
border-bottom: 1px solid #f9f9f9;
}



+ 7
- 1
pages/order/detail/index.js 查看文件

@@ -18,7 +18,13 @@ Page({
showIf: false
},


phone: function (e) {
let that = this;
console.log(e);
wx.makePhoneCall({
phoneNumber: e.currentTarget.dataset.merchantlinkphone
});
},
powerDrawer: function (e) {
let that = this;
// couponOrderStatus


+ 6
- 4
pages/order/detail/index.wxml 查看文件

@@ -27,10 +27,6 @@
</view> -->
</view>
<view class='classif'>
<view class="clearfix">
<text>适用门店</text>
<text class="fr">{{order.merchantName}}</text>
</view>
<!--
couponOrderStatus
0 未使用
@@ -70,6 +66,12 @@
<text>订单金额</text>
<text class="jine">{{order.salePrice/100}}元</text>
</view>
<view class="clearfix" bindtap='showDoorList'>
<text>适用门店列表</text>
</view>
<view wx:if="{{order.merchantVoList.length>=1}}" wx:for="{{order.merchantVoList}}" wx:key="{{index}}">
<view class='merchantVoList' bindtap='phone' data-merchantlinkphone='{{item.merchantLinkPhone}}'><text class='merchantName'>{{item.merchantName}} {{item.buildingName}}{{item.floorName}}</text><image class="tel" src="./../../../assets/img/tel.jpg" mode="widthFix"></image></view>
</view>
</view>
<!-- 待付款 显示立即购买的按钮 -->
<view wx:if="{{order.orderStatus==0}}" class="buy-view app-border-top">


+ 20
- 2
pages/order/detail/index.wxss 查看文件

@@ -1,5 +1,7 @@
@import "../../../app.wxss";

page {
height: auto!important;
}
.order {
width: 100%;
}
@@ -16,7 +18,9 @@
padding: 0 4%;
line-height: 88rpx;
}

.merchantName{
color: #999;
}
.tips text:nth-child(2) {
font-size: 32rpx;
padding-left: 16rpx;
@@ -427,4 +431,18 @@ radio {
color: #999;
line-height: 24rpx;
padding-left: 70rpx;
}

.merchantVoList{
width: 100%;
position: relative;
}
.merchantVoList image{
width: 40rpx;
position: absolute;
top: 0;
bottom: 0;
margin: auto;
right: 30rpx;
z-index: 10;
}

Loading…
取消
儲存