浏览代码

[特享礼遇][修改][二维码大小]

tags/河北版C.8.1.01
hurui 5 年前
父节点
当前提交
7e64e378c5
共有 5 个文件被更改,包括 44 次插入41 次删除
  1. +1
    -3
      pages/orderquanma/index.wxss
  2. +1
    -1
      pages/passCar/couponList/couponList.wxss
  3. +3
    -2
      pages/specialcourtesy/specialcourtesy.js
  4. +30
    -28
      pages/specialcourtesy/specialcourtesy.wxml
  5. +9
    -7
      pages/specialcourtesy/specialcourtesy.wxss

+ 1
- 3
pages/orderquanma/index.wxss 查看文件

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

.couponBox{
height: 100%;
background:linear-gradient(180deg,rgba(253,131,45,1) 0%,rgba(254,74,22,1) 100%);


+ 1
- 1
pages/passCar/couponList/couponList.wxss 查看文件

@@ -7,7 +7,7 @@
.tabs {
width: 100% !important;
height: 88rpx;
height: 96rpx;
text-align: center;
position: fixed;
left: 0;


+ 3
- 2
pages/specialcourtesy/specialcourtesy.js 查看文件

@@ -1,4 +1,4 @@
const navigationBarHeight = (getApp().statusBarHeight + 50) + 'px'
const navigationBarHeight = (getApp().statusBarHeight + 44);
var config = require("../../config/config.js");
var app = getApp();
const Http = require("../../utils/HttpBasics");
@@ -98,5 +98,6 @@ Page({
console.log("获取设备信息失败" + e);
}
return size;
}
},
})

+ 30
- 28
pages/specialcourtesy/specialcourtesy.wxml 查看文件

@@ -1,37 +1,39 @@
<!-- <button class='goback' bindtap='goback'><image src='{{wmhome}}' mode="widthFix"></image></button> -->
<navbar back home text="我的特权" background='#FD832D' color="#fff"></navbar>
<view class='code' style="margin-top:{{navigationBarHeight}}!important">
<view class="canWrap">
<canvas canvas-id="mycanvas2" style="width: 1200rpx; height: 800rpx;" />
</view>
<image src="{{tempFilePath}}" mode="aspectFit" />
<view class='memCode'><text>会员码:</text><text class="memNum">{{memberId}}</text></view>
<view class='con'>
<view class="title">会员等级为<text class='level'>[{{level}}]</text>对应门店的优惠折扣</view>
<view style="margin-top:{{navigationBarHeight+30}}px!important;" class='codeBox'>
<view class='code' >
<view class="canWrap">
<canvas canvas-id="mycanvas2" style="width: 1200rpx; height: 800rpx;" />
</view>
<image src="{{tempFilePath}}" mode="aspectFit" />
<view class='memCode'><text>会员码:</text><text class="memNum">{{memberId}}</text></view>
<view class='con'>
<view class="title">会员等级为<text class='level'>[{{level}}]</text>对应门店的优惠折扣</view>
</view>
</view>
</view>
<view class='cards clearfix'>
<view class='card' wx:for="{{discountMerchantList}}" wx:key="{{index}}" wx:if="{{discountMerchantList.length>0}}">
<view class='txt01'>
<view class="triangle">
<text><i>></i></text>
</view>
<view class='discount'>
<text style='display:inline-block;'>{{item.discount/10}}</text>折</view>
<text class='tit'>{{item.merchantName}}</text>
<view class='clearfix footer'>
<view class='fl' style='margin-top:-30rpx;margin-left:10rpx;'>
<view class='building' wx:for="{{item.shopVoList}}" wx:key="{{index}}" wx:for-item="list">
{{list.buildingName}}{{list.floorName}}
</view>
<view class='cards clearfix'>
<view class='card' wx:for="{{discountMerchantList}}" wx:key="{{index}}" wx:if="{{discountMerchantList.length>0}}">
<view class='txt01'>
<view class="triangle">
<text><i>></i></text>
</view>
<view class='fr' wx:if="{{item.linkLinePhone}}" bindtap='phone' data-merchantLinkPhone='{{item.linkLinePhone}}'>
<image class="fr" src='{{teliconUrl}}' mode='widthFix'></image>
<view class='discount'>
<text style='display:inline-block;'>{{item.discount/10}}</text>折</view>
<text class='tit'>{{item.merchantName}}</text>
<view class='clearfix footer'>
<view class='fl' style='margin-top:-30rpx;margin-left:10rpx;'>
<view class='building' wx:for="{{item.shopVoList}}" wx:key="{{index}}" wx:for-item="list">
{{list.buildingName}}{{list.floorName}}
</view>
</view>
<view class='fr' wx:if="{{item.linkLinePhone}}" bindtap='phone' data-merchantLinkPhone='{{item.linkLinePhone}}'>
<image class="fr" src='{{teliconUrl}}' mode='widthFix'></image>
</view>
</view>
</view>
</view>
</view>
<view class='none' wx:if="{{discountMerchantList.length==0}}">
此等级暂未开放折扣,敬请期待!
<view class='none' wx:if="{{discountMerchantList.length==0}}">
此等级暂未开放折扣,敬请期待!
</view>
</view>
</view>

+ 9
- 7
pages/specialcourtesy/specialcourtesy.wxss 查看文件

@@ -1,9 +1,11 @@
@import "../../app.wxss";

Page {
background:linear-gradient(180deg,#FD832D 0%,#FE4A16 100%);
}

page{
background:linear-gradient(180deg,#FD832D 0%,#FE4A16 100%);
height: 100%;
overflow: hidden;
}
.none {
font-size: 24rpx;
text-align: center;
@@ -157,7 +159,7 @@ Page {

.code {
width: 690rpx;
height: 740rpx;
height: 800rpx;
background: #fff;
margin: 20rpx auto;
border-radius: 10rpx;
@@ -174,10 +176,10 @@ Page {
height: 358rpx;
}
.code image {
width: 358rpx;
height: 358rpx;
width: 500rpx;
height: 500rpx;
display: block;
margin:100rpx auto 72rpx;
margin:70rpx auto 60rpx;
}
.memCode{
width: 562rpx;


正在加载...
取消
保存