| @@ -11,7 +11,7 @@ Page({ | |||
| ticketStateArr:[],//优惠券使用状态 | |||
| codePicUrl:"",//二维码图片地址 | |||
| yesCode: false,//二维码图片隐藏 | |||
| id:"" | |||
| id:"", | |||
| }, | |||
| /** | |||
| @@ -103,6 +103,7 @@ Page({ | |||
| onShareAppMessage: function () { | |||
| return { | |||
| title: "老门框爆肚会员", | |||
| path: "/pages/personalCenter/personalCenter", | |||
| success: res => { | |||
| console.log(res, "转发成功") | |||
| }, | |||
| @@ -1,6 +1,8 @@ | |||
| /* pages/TicketDetails/TicketDetails.wxss */ | |||
| page{ | |||
| width: 100%; | |||
| height: 100%; | |||
| overflow: hidden; | |||
| background-color: #f9f6f6; | |||
| } | |||
| .ticketImg{ | |||
| @@ -31,6 +33,7 @@ page{ | |||
| align-items: center; | |||
| background-color: #ffffff; | |||
| border-radius: 30rpx; | |||
| overflow: hidden; | |||
| } | |||
| .ticketName{ | |||
| margin-left: 96rpx; | |||
| @@ -89,6 +89,7 @@ Page({ | |||
| onShareAppMessage: function () { | |||
| return { | |||
| title: "老门框爆肚会员", | |||
| path: "/pages/buyTicket/buyTicket?index="+this.data.id, | |||
| success: res => { | |||
| console.log(res, "转发成功") | |||
| }, | |||
| @@ -1,6 +1,8 @@ | |||
| /* pages/buyTicket/buyTicket.wxss */ | |||
| page{ | |||
| width: 100%; | |||
| height: 100%; | |||
| overflow: hidden; | |||
| background-color: #f9f6f6; | |||
| /* background-color: red; */ | |||
| } | |||
| @@ -25,12 +25,12 @@ Page({ | |||
| console.log(options.id) | |||
| this.data.id = options.id | |||
| this.data.sellId = options.id; | |||
| if (app.globalData.openId) { | |||
| this.getTicketUser() | |||
| } else { | |||
| app.globalData.openidSuccessFuc = this.getTicketUser; | |||
| } | |||
| }, | |||
| getTicketUser: function () {//获取优惠券信息 | |||
| @@ -146,7 +146,7 @@ Page({ | |||
| titleWord = "您的好友分享给您一张老门框爆肚涮肉的代金券,请您查收" | |||
| shareImg = "../images/shareImg.png"; | |||
| }else{ | |||
| shareUrl = ""; | |||
| shareUrl = "/pages/personalCenter/personalCenter"; | |||
| titleWord = "老门框爆肚会员" | |||
| shareImg = ""; | |||
| } | |||
| @@ -1,6 +1,8 @@ | |||
| /* pages/givePage/givePage.wxss */ | |||
| page{ | |||
| width: 100%; | |||
| height: 100%; | |||
| overflow: hidden; | |||
| background-color: #f9f6f6; | |||
| } | |||
| .all{ | |||
| @@ -14,11 +14,11 @@ | |||
| <view class="textView"> | |||
| <text class="nameText">{{dataList.coupon_name_detail}}</text> | |||
| <!-- <view class="bigticketView"> | |||
| <text class="maney">92</text> | |||
| <text class="Bigticket">元抵</text> | |||
| <text class="maney">100</text> | |||
| <text class="Bigticket">元</text> | |||
| </view> --> | |||
| <text class="maney">100</text> --> | |||
| <!-- <text class="Bigticket">元</text> --> | |||
| <!-- <text class="maney">100</text> --> | |||
| <!-- <text class="Bigticket">代金券</text> --> | |||
| <!-- </view> --> | |||
| <text class="timeText">{{dataList.coupon_condition_desc}}</text> | |||
| <text class="timeText">(有效期:{{dataList.duration}})</text> | |||
| </view> | |||
| @@ -53,18 +53,18 @@ page{ | |||
| width: 318rpx; | |||
| position: absolute; | |||
| left: 110rpx; | |||
| top: 150rpx; | |||
| top: 115rpx; | |||
| text-align: center; | |||
| } | |||
| .textView text{ | |||
| display: block; | |||
| } | |||
| .nameText{ | |||
| font-size:40rpx; | |||
| font-size:50rpx; | |||
| font-family:DINPro; | |||
| font-weight:bold; | |||
| /* font-weight:bold; */ | |||
| color:#8f560f; | |||
| /* margin-bottom: 42rpx */ | |||
| margin-bottom: 10rpx | |||
| } | |||
| .bigticketView{ | |||
| display: flex; | |||
| @@ -82,10 +82,10 @@ page{ | |||
| color:#8f560f; | |||
| } | |||
| .timeText{ | |||
| font-size:20rpx; | |||
| font-size:24rpx; | |||
| font-family:SourceHanSansCN; | |||
| font-weight:300; | |||
| color:rgba(153,153,153,1); | |||
| color:#8f560f; | |||
| } | |||
| .buyView{ | |||
| margin-top: 40rpx; | |||
| @@ -29,12 +29,12 @@ | |||
| <scroll-view class="scrollY1" scroll-y="true" wx:if="{{myTicketArrows}}"> | |||
| <view class="contAll" wx:for="{{myTicketArr}}"> | |||
| <view class="ticketCont" bindtap="lookTicket" data-id = "{{item.coupon_sell_id}}"> | |||
| <image class="centerBuy" src="../images/centerBuy.png"></image> | |||
| <image class="centerBuy" src="../images/indexBuy.png"></image> | |||
| <!-- <view class="ticketImg"> | |||
| <image class="ticketImg" src="{{item.coupon_img_small}}"></image> | |||
| </view> --> | |||
| <view class="rigWord"> | |||
| <view class="name">{{item.coupon_name_detail}}</view> | |||
| <view class="name">{{item.coupon_name}}{{item.type_name}}</view> | |||
| <!-- <view class="bigticketView"> | |||
| <text class="maney">92</text> | |||
| <text class="Bigticket">元抵</text> | |||
| @@ -83,6 +83,7 @@ page{ | |||
| .myTicketAll{ | |||
| padding: 0 64rpx; | |||
| width: 622rpx; | |||
| position: absolute; | |||
| top: 390rpx; | |||
| } | |||
| @@ -121,10 +122,11 @@ page{ | |||
| margin-right: 32rpx; | |||
| } | |||
| .name{ | |||
| font-size:40rpx; | |||
| font-size:50rpx; | |||
| font-family:DINPro; | |||
| font-weight:bold; | |||
| /* font-weight:bold; */ | |||
| color:#8f560f; | |||
| margin-bottom: 10rpx; | |||
| } | |||
| .name1,.name2{ | |||
| font-size:35rpx; | |||
| @@ -139,10 +141,10 @@ page{ | |||
| color:rgba(106,10,14,1); | |||
| } | |||
| .time{ | |||
| font-size:20rpx; | |||
| font-size:24rpx; | |||
| font-family:SourceHanSansCN; | |||
| font-weight:300; | |||
| color:rgba(153,153,153,1); | |||
| color:#8f560f; | |||
| } | |||
| .look{ | |||
| /* display: flex; | |||
| @@ -239,8 +241,8 @@ page{ | |||
| width: 350rpx; | |||
| text-align: center; | |||
| position: absolute; | |||
| top: 85rpx; | |||
| left: 45rpx; | |||
| top: 50rpx; | |||
| left: 35rpx; | |||
| } | |||
| .bigticketView{ | |||
| @@ -14,9 +14,9 @@ | |||
| </view> | |||
| <view class="line"></view> | |||
| <view class="contBot"> | |||
| <image class="receiveTicket" src="../images/receiveTicket.png"></image> | |||
| <image class="receiveTicket" src="../images/indexBuy.png"></image> | |||
| <view class="textView"> | |||
| <text class="nameText">{{ticketUser.coupon_name_detail}}</text> | |||
| <text class="nameText">{{ticketUser.coupon_name}}{{ticketUser.type_name}}</text> | |||
| <!-- <view class="bigticketView"> | |||
| <text class="maney">92</text> | |||
| <text class="Bigticket">元抵</text> | |||
| @@ -82,8 +82,8 @@ page{ | |||
| width: 318rpx; | |||
| height: 248rpx; | |||
| position: absolute; | |||
| top: 90rpx; | |||
| left: 135rpx; | |||
| top: 50rpx; | |||
| left: 110rpx; | |||
| } | |||
| .textView text{ | |||
| display: block; | |||
| @@ -91,14 +91,15 @@ page{ | |||
| .nameText{ | |||
| font-size:50rpx; | |||
| font-family:DINPro; | |||
| font-weight:bold; | |||
| /* font-weight:bold; */ | |||
| color:rgba(106,10,14,1); | |||
| margin-bottom: 20rpx; | |||
| } | |||
| .timeText{ | |||
| font-size:20rpx; | |||
| font-size:24rpx; | |||
| font-family:SourceHanSansCN; | |||
| font-weight:300; | |||
| color:rgba(153,153,153,1); | |||
| color:#8f560f; | |||
| } | |||
| .getTicket{ | |||
| display: block; | |||
| @@ -152,8 +153,8 @@ page{ | |||
| margin: 310rpx auto 0 auto; | |||
| } | |||
| .receiveTicket{ | |||
| width: 609rpx; | |||
| height: 230rpx; | |||
| width: 650rpx; | |||
| height: 275rpx; | |||
| } | |||
| .bigticketView{ | |||
| display: flex; | |||