liujiecai 5 年前
父节点
当前提交
09074d2608
共有 13 个文件被更改,包括 43 次插入31 次删除
  1. +2
    -1
      laomenkuang_project/pages/TicketDetails/TicketDetails.js
  2. +3
    -0
      laomenkuang_project/pages/TicketDetails/TicketDetails.wxss
  3. +1
    -0
      laomenkuang_project/pages/buyTicket/buyTicket.js
  4. +2
    -0
      laomenkuang_project/pages/buyTicket/buyTicket.wxss
  5. +2
    -2
      laomenkuang_project/pages/givePage/givePage.js
  6. +2
    -0
      laomenkuang_project/pages/givePage/givePage.wxss
  7. 二进制
      laomenkuang_project/pages/images/indexBuy.png
  8. +5
    -5
      laomenkuang_project/pages/index/index.wxml
  9. +6
    -6
      laomenkuang_project/pages/index/index.wxss
  10. +2
    -2
      laomenkuang_project/pages/personalCenter/personalCenter.wxml
  11. +8
    -6
      laomenkuang_project/pages/personalCenter/personalCenter.wxss
  12. +2
    -2
      laomenkuang_project/pages/receiveTicket/receiveTicket.wxml
  13. +8
    -7
      laomenkuang_project/pages/receiveTicket/receiveTicket.wxss

+ 2
- 1
laomenkuang_project/pages/TicketDetails/TicketDetails.js 查看文件

ticketStateArr:[],//优惠券使用状态 ticketStateArr:[],//优惠券使用状态
codePicUrl:"",//二维码图片地址 codePicUrl:"",//二维码图片地址
yesCode: false,//二维码图片隐藏 yesCode: false,//二维码图片隐藏
id:""
id:"",
}, },


/** /**
onShareAppMessage: function () { onShareAppMessage: function () {
return { return {
title: "老门框爆肚会员", title: "老门框爆肚会员",
path: "/pages/personalCenter/personalCenter",
success: res => { success: res => {
console.log(res, "转发成功") console.log(res, "转发成功")
}, },

+ 3
- 0
laomenkuang_project/pages/TicketDetails/TicketDetails.wxss 查看文件

/* pages/TicketDetails/TicketDetails.wxss */ /* pages/TicketDetails/TicketDetails.wxss */
page{ page{
width: 100%;
height: 100%; height: 100%;
overflow: hidden;
background-color: #f9f6f6; background-color: #f9f6f6;
} }
.ticketImg{ .ticketImg{
align-items: center; align-items: center;
background-color: #ffffff; background-color: #ffffff;
border-radius: 30rpx; border-radius: 30rpx;
overflow: hidden;
} }
.ticketName{ .ticketName{
margin-left: 96rpx; margin-left: 96rpx;

+ 1
- 0
laomenkuang_project/pages/buyTicket/buyTicket.js 查看文件

onShareAppMessage: function () { onShareAppMessage: function () {
return { return {
title: "老门框爆肚会员", title: "老门框爆肚会员",
path: "/pages/buyTicket/buyTicket?index="+this.data.id,
success: res => { success: res => {
console.log(res, "转发成功") console.log(res, "转发成功")
}, },

+ 2
- 0
laomenkuang_project/pages/buyTicket/buyTicket.wxss 查看文件

/* pages/buyTicket/buyTicket.wxss */ /* pages/buyTicket/buyTicket.wxss */
page{ page{
width: 100%;
height: 100%; height: 100%;
overflow: hidden;
background-color: #f9f6f6; background-color: #f9f6f6;
/* background-color: red; */ /* background-color: red; */
} }

+ 2
- 2
laomenkuang_project/pages/givePage/givePage.js 查看文件

console.log(options.id) console.log(options.id)
this.data.id = options.id this.data.id = options.id
this.data.sellId = options.id; this.data.sellId = options.id;
if (app.globalData.openId) { if (app.globalData.openId) {
this.getTicketUser() this.getTicketUser()
} else { } else {
app.globalData.openidSuccessFuc = this.getTicketUser; app.globalData.openidSuccessFuc = this.getTicketUser;
} }

}, },
getTicketUser: function () {//获取优惠券信息 getTicketUser: function () {//获取优惠券信息
titleWord = "您的好友分享给您一张老门框爆肚涮肉的代金券,请您查收" titleWord = "您的好友分享给您一张老门框爆肚涮肉的代金券,请您查收"
shareImg = "../images/shareImg.png"; shareImg = "../images/shareImg.png";
}else{ }else{
shareUrl = "";
shareUrl = "/pages/personalCenter/personalCenter";
titleWord = "老门框爆肚会员" titleWord = "老门框爆肚会员"
shareImg = ""; shareImg = "";
} }

+ 2
- 0
laomenkuang_project/pages/givePage/givePage.wxss 查看文件

/* pages/givePage/givePage.wxss */ /* pages/givePage/givePage.wxss */
page{ page{
width: 100%;
height: 100%; height: 100%;
overflow: hidden;
background-color: #f9f6f6; background-color: #f9f6f6;
} }
.all{ .all{

二进制
laomenkuang_project/pages/images/indexBuy.png 查看文件

之前 之后
宽度: 650  |  高度: 275  |  大小: 50KB 宽度: 650  |  高度: 275  |  大小: 52KB

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

<view class="textView"> <view class="textView">
<text class="nameText">{{dataList.coupon_name_detail}}</text> <text class="nameText">{{dataList.coupon_name_detail}}</text>
<!-- <view class="bigticketView"> <!-- <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.coupon_condition_desc}}</text>
<text class="timeText">(有效期:{{dataList.duration}})</text> <text class="timeText">(有效期:{{dataList.duration}})</text>
</view> </view>

+ 6
- 6
laomenkuang_project/pages/index/index.wxss 查看文件

width: 318rpx; width: 318rpx;
position: absolute; position: absolute;
left: 110rpx; left: 110rpx;
top: 150rpx;
top: 115rpx;
text-align: center; text-align: center;
} }
.textView text{ .textView text{
display: block; display: block;
} }
.nameText{ .nameText{
font-size:40rpx;
font-size:50rpx;
font-family:DINPro; font-family:DINPro;
font-weight:bold;
/* font-weight:bold; */
color:#8f560f; color:#8f560f;
/* margin-bottom: 42rpx */
margin-bottom: 10rpx
} }
.bigticketView{ .bigticketView{
display: flex; display: flex;
color:#8f560f; color:#8f560f;
} }
.timeText{ .timeText{
font-size:20rpx;
font-size:24rpx;
font-family:SourceHanSansCN; font-family:SourceHanSansCN;
font-weight:300; font-weight:300;
color:rgba(153,153,153,1);
color:#8f560f;
} }
.buyView{ .buyView{
margin-top: 40rpx; margin-top: 40rpx;

+ 2
- 2
laomenkuang_project/pages/personalCenter/personalCenter.wxml 查看文件

<scroll-view class="scrollY1" scroll-y="true" wx:if="{{myTicketArrows}}"> <scroll-view class="scrollY1" scroll-y="true" wx:if="{{myTicketArrows}}">
<view class="contAll" wx:for="{{myTicketArr}}"> <view class="contAll" wx:for="{{myTicketArr}}">
<view class="ticketCont" bindtap="lookTicket" data-id = "{{item.coupon_sell_id}}"> <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"> <!-- <view class="ticketImg">
<image class="ticketImg" src="{{item.coupon_img_small}}"></image> <image class="ticketImg" src="{{item.coupon_img_small}}"></image>
</view> --> </view> -->
<view class="rigWord"> <view class="rigWord">
<view class="name">{{item.coupon_name_detail}}</view>
<view class="name">{{item.coupon_name}}{{item.type_name}}</view>
<!-- <view class="bigticketView"> <!-- <view class="bigticketView">
<text class="maney">92</text> <text class="maney">92</text>
<text class="Bigticket">元抵</text> <text class="Bigticket">元抵</text>

+ 8
- 6
laomenkuang_project/pages/personalCenter/personalCenter.wxss 查看文件



.myTicketAll{ .myTicketAll{
padding: 0 64rpx; padding: 0 64rpx;
width: 622rpx;
position: absolute; position: absolute;
top: 390rpx; top: 390rpx;
} }
margin-right: 32rpx; margin-right: 32rpx;
} }
.name{ .name{
font-size:40rpx;
font-size:50rpx;
font-family:DINPro; font-family:DINPro;
font-weight:bold;
/* font-weight:bold; */
color:#8f560f; color:#8f560f;
margin-bottom: 10rpx;
} }
.name1,.name2{ .name1,.name2{
font-size:35rpx; font-size:35rpx;
color:rgba(106,10,14,1); color:rgba(106,10,14,1);
} }
.time{ .time{
font-size:20rpx;
font-size:24rpx;
font-family:SourceHanSansCN; font-family:SourceHanSansCN;
font-weight:300; font-weight:300;
color:rgba(153,153,153,1);
color:#8f560f;
} }
.look{ .look{
/* display: flex; /* display: flex;
width: 350rpx; width: 350rpx;
text-align: center; text-align: center;
position: absolute; position: absolute;
top: 85rpx;
left: 45rpx;
top: 50rpx;
left: 35rpx;
} }


.bigticketView{ .bigticketView{

+ 2
- 2
laomenkuang_project/pages/receiveTicket/receiveTicket.wxml 查看文件

</view> </view>
<view class="line"></view> <view class="line"></view>
<view class="contBot"> <view class="contBot">
<image class="receiveTicket" src="../images/receiveTicket.png"></image>
<image class="receiveTicket" src="../images/indexBuy.png"></image>
<view class="textView"> <view class="textView">
<text class="nameText">{{ticketUser.coupon_name_detail}}</text>
<text class="nameText">{{ticketUser.coupon_name}}{{ticketUser.type_name}}</text>
<!-- <view class="bigticketView"> <!-- <view class="bigticketView">
<text class="maney">92</text> <text class="maney">92</text>
<text class="Bigticket">元抵</text> <text class="Bigticket">元抵</text>

+ 8
- 7
laomenkuang_project/pages/receiveTicket/receiveTicket.wxss 查看文件

width: 318rpx; width: 318rpx;
height: 248rpx; height: 248rpx;
position: absolute; position: absolute;
top: 90rpx;
left: 135rpx;
top: 50rpx;
left: 110rpx;
} }
.textView text{ .textView text{
display: block; display: block;
.nameText{ .nameText{
font-size:50rpx; font-size:50rpx;
font-family:DINPro; font-family:DINPro;
font-weight:bold;
/* font-weight:bold; */
color:rgba(106,10,14,1); color:rgba(106,10,14,1);
margin-bottom: 20rpx;
} }
.timeText{ .timeText{
font-size:20rpx;
font-size:24rpx;
font-family:SourceHanSansCN; font-family:SourceHanSansCN;
font-weight:300; font-weight:300;
color:rgba(153,153,153,1);
color:#8f560f;
} }
.getTicket{ .getTicket{
display: block; display: block;
margin: 310rpx auto 0 auto; margin: 310rpx auto 0 auto;
} }
.receiveTicket{ .receiveTicket{
width: 609rpx;
height: 230rpx;
width: 650rpx;
height: 275rpx;
} }
.bigticketView{ .bigticketView{
display: flex; display: flex;

正在加载...
取消
保存