main
lihao 9 months ago
parent b2c8b54d4e
commit c47c0299c7

@ -0,0 +1,66 @@
// template/coupon/couponTemplate.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

@ -0,0 +1,41 @@
<template name="templateCoupon">
<view class="container">
<view class='cy-top-view flex-display' wx:if="{{couponStatus.length>0}}">
<block wx:for="{{couponStatus}}" wx:key="item">
<view class='cy-top-view-item' data-status='{{item.status}}' bindtap='cy_selectTypeCoupon'>
<view class='cy-top-item-title {{item.select ? "cy-top-select-item-title" : ""}}'>{{item.title}}</view>
<view wx:if="{{item.select}}" class='cy-top-item-line'></view>
</view>
</block>
</view>
<view class='cy-content-view'>
<block wx:for="{{list}}" wx:key="item">
<view class='cy-content-item-view flex-display'>
<image src='{{item.bgImage}}'></image>
<view class='cy-item-money-view content-center coupon-bg-style ' style="background-image: url({{item.coverLogo}}); ">
<block wx:if="{{item.coverLogo=='' }}">
<text class='cy-item-money-unit' style='color:{{item.color}}'>{{item.unitName}}</text>
<text class='cy-item-money' style='color:{{item.color}};font-size:{{item.size}}; height:{{item.height}}'>{{item.amount}}</text>
</block>
<!-- <text class='cy-item-money-unit' style='color:{{item.color}}'>{{item.unitName}}</text>
<text class='cy-item-money' style='color:{{item.color}};font-size:{{item.size}}; height:{{item.height}}'>{{item.amount}}</text> -->
</view>
<view class='cy-coupon-des-view'>
<view class='cy-coupon-title'>{{item.title}}</view>
<view class='cy-coupon-condition'>{{item.condition}}</view>
<view class='cy-coupon-time'>{{item.effective}}</view>
</view>
<view class='cy-coupon-use content-center'>
<form report-submit='true' bindsubmit='{{couponStatus[0].select==true? "useCode":"" }}' data-id="{{item.couponId}}" data-code="{{item.code}}">
<button class="use content-center {{item.type=='0'?'cy-coupon-receive':item.type=='1'?'cy-coupon-uses':'cy-coupon-no-condition' }}" form-type="submit">
{{item.useStatus}}
</button>
</form>
</view>
</view>
</block>
</view>
</view>
</template>

@ -0,0 +1,165 @@
.cy-top-view {
position: fixed;
width: 750rpx;
height: 100rpx;
background: white;
z-index: 1;
}
.cy-top-view-item {
width: 250rpx;
height: 100rpx;
}
.cy-top-item-title {
width: 100%;
height: 86rpx;
font-size: 30rpx;
line-height: 86rpx;
text-align: center;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(51, 51, 51, 1);
}
.cy-top-select-item-title {
font-size: 34rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(51, 51, 51, 1);
}
.cy-top-item-line {
margin-left: 90rpx;
width: 70rpx;
height: 6rpx;
/* background: rgba(255, 198, 57, 1); */
background: var(--color--);
border-radius: 2px;
}
.cy-content-view {
position: absolute;
width: 750rpx;
top: 100rpx;
bottom: 0rpx;
}
.cy-content-item-view {
position: relative;
margin: 20rpx 20rpx 0rpx 20rpx;
width: 710rpx;
height: 170rpx;
/* background: rgba(255, 255, 255, 1); */
}
.cy-content-item-view image {
position: absolute;
width: 100%;
height: 100%;
}
.cy-item-money-view {
position: relative;
margin: 15rpx;
width: 138rpx;
height: 138rpx;
}
.cy-item-money-unit {
font-size: 34rpx;
font-family: PingFang-SC-Bold;
font-weight: 500;
height: 60rpx;
/* color: rgba(255, 198, 57, 1); */
color: var(--color--);
}
.cy-item-money {
font-size: 60rpx;
font-family: PingFang-SC-Bold;
font-weight: 500;
height: 90rpx;
/* color: rgba(255, 198, 57, 1); */
color: var(--color--);
}
.cy-coupon-des-view {
position: absolute;
top: 10rpx;
left: 200rpx;
width: 360rpx;
height: 160rpx;
}
.cy-coupon-title {
margin-top: 15rpx;
width: 360rpx;
height: 50rpx;
line-height: 50rpx;
font-size: 30rpx;
font-family: PingFang SC;
font-weight: bold;
color: rgba(0, 0, 0, 1);
}
.cy-coupon-condition {
margin-top: 2rpx;
width: 360rpx;
height: 50rpx;
font-family: PingFang SC;
font-weight: 500;
color: rgba(0, 0, 0, 1);
font-size: 28rpx;
color: rgba(102, 102, 102, 1);
}
.cy-coupon-time {
width: 360rpx;
height: 50rpx;
font-size: 22rpx;
font-family: PingFang SC;
font-weight: 500;
color: rgba(102, 102, 102, 1);
}
.cy-coupon-use {
position: absolute;
top: 43rpx;
right: 26rpx;
width: 130rpx;
height: 80rpx;
font-size: 26rpx;
font-family: PingFang-SC-Bold;
font-weight: 500;
color: rgba(255, 255, 255, 1);
text-align: center;
}
.use {
width: 130rpx;
text-align: center;
/* margin-top: 55rpx; */
font-size: 30rpx;
font-family: PingFang-SC-Medium;
font-weight: bold;
color: rgba(255, 255, 255, 1);
/* height: 130rpx; */
background: no-repeat;
line-height: 35rpx;
}
button::after {
border: none;
}
button {
background-color: transparent;
padding-left: 0;
padding-right: 0;
line-height: inherit;
}
button {
border-radius: 0;
}

@ -0,0 +1,66 @@
// template/couponItem/item.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

@ -0,0 +1,31 @@
<template name="couponItem">
<view class='cy-content-view' style="top:-10rpx;">
<block wx:for="{{list}}" wx:key="item">
<view class='cy-content-item-view flex-display'>
<image src='{{item.bgImage}}'></image>
<view class='cy-item-money-view content-center coupon-bg-style' style="background-image: url({{item.coverLogo}}); ">
<block wx:if="{{item.coverLogo=='' }}">
<text class='cy-item-money-unit' style='color:{{item.color}}'>{{item.unitName}}</text>
<text class='cy-item-money' style='color:{{item.color}};font-size:{{item.size}}; height:{{item.height}}'>{{item.amount}}</text>
</block>
<!-- <text class='cy-item-money-unit' style='color:{{item.color}}'>{{item.unitName}}</text>
<text class='cy-item-money' style='color:{{item.color}};font-size:{{item.size}}; height:{{item.height}}'>{{item.amount}}</text> -->
</view>
<view class='cy-coupon-des-view'>
<view class='cy-coupon-title'>{{item.title}}</view>
<view class='cy-coupon-condition'>{{item.condition}}</view>
<view class='cy-coupon-time'>{{item.effective}}</view>
</view>
<view class='cy-coupon-use content-center'>
<form report-submit='true' bindsubmit='receive' data-couponId="{{item.couponId}}" data-code="{{item.code}}" data-index="{{index}}" data-id="{{item.id}}" data-status="{{item.status}}">
<view class="cy-coupon-receive-condition cy-color-red" wx:if="{{item.syNum && item.syNum>0 && item.type!='2'}}">剩余{{item.syNum}}张 <text class="cy-color-default">可领</text></view>
<view class="cy-coupon-receive-condition cy-color-red" wx:if="{{item.type=='2'}}"> {{item.reason}} <text class="cy-color-default">可领</text></view>
<button class="use content-center {{item.type=='0'?'cy-coupon-receive':item.type=='1'?'cy-coupon-uses':'cy-coupon-no-condition' }}" form-type="submit">
{{item.useStatus}}
</button>
</form>
</view>
</view>
</block>
</view>
</template>

@ -0,0 +1,157 @@
.cy-content-view {
position: absolute;
width: 750rpx;
top: 100rpx;
bottom: 0rpx;
}
.cy-content-item-view {
position: relative;
margin: 20rpx 20rpx 0rpx 20rpx;
width: 710rpx;
height: 180rpx;
background: rgba(255, 255, 255, 1);
}
.cy-content-item-view image {
position: absolute;
width: 100%;
height: 100%;
}
.cy-item-money-view {
position: relative;
margin: 10rpx;
width: 148rpx;
height: 160rpx;
}
.cy-item-money-unit {
font-size: 34rpx;
font-family: PingFang-SC-Bold;
font-weight: 500;
height: 60rpx;
color: var(--color--);
}
.cy-item-money {
font-size: 60rpx;
font-family: PingFang-SC-Bold;
font-weight: 500;
height: 90rpx;
color: var(--color--);
}
.cy-coupon-des-view {
position: absolute;
top: 10rpx;
left: 200rpx;
width: 360rpx;
height: 160rpx;
}
.cy-coupon-title {
margin-top: 15rpx;
width: 360rpx;
height: 50rpx;
line-height: 50rpx;
font-size: 30rpx;
font-family: PingFang-SC-Bold;
font-weight: 500;
color: rgba(0, 0, 0, 1);
}
.cy-coupon-condition {
margin-top: 2rpx;
width: 360rpx;
height: 50rpx;
font-size: 30rpx;
font-family: PingFang-SC-Medium;
font-weight: 400;
color: rgba(0, 0, 0, 1);
}
.cy-coupon-time {
width: 360rpx;
height: 50rpx;
font-size: 22rpx;
font-family: PingFang-SC-Medium;
font-weight: 400;
color: rgba(102, 102, 102, 1);
}
.cy-coupon-use {
position: absolute;
top: 33rpx;
right: 33rpx;
width: 115rpx;
height: 115rpx;
font-size: 26rpx;
font-family: PingFang-SC-Bold;
font-weight: 500;
color: rgba(255, 255, 255, 1);
text-align: center;
}
.use {
width: 130rpx;
text-align: center;
/* margin-top: 55rpx; */
font-size: 30rpx;
font-family: PingFang-SC-Medium;
font-weight: bold;
color: rgba(255, 255, 255, 1);
height: 130rpx;
background: no-repeat;
line-height: 35rpx;
}
.cy-coupon-uses {
background: var(--color--);
font-size: 26rpx;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
line-height: 36rpx;
border-radius: 10rpx;
width: 130rpx;
height: 80rpx;
}
.cy-coupon-receive {
border: 2rpx solid var(--color--);
font-size: 26rpx;
font-family: PingFang SC;
font-weight: 500;
color: var(--color--);
line-height: 36rpx;
width: 130rpx;
height: 80rpx;
border-radius: 10rpx;
}
.cy-coupon-no-condition {
background: rgba(153, 153, 153, 1);
border-radius: 10rpx;
font-size: 26rpx;
font-family: PingFang SC;
font-weight: 500;
color: rgba(255, 255, 255, 1);
line-height: 36rpx;
height: 80rpx;
}
.cy-coupon-receive-condition {
font-size: 22rpx;
font-family: PingFang SC;
font-weight: 500;
width: 115%;
margin-left: -18rpx;
}
.cy-color-red {
color: rgba(255, 57, 57, 1);
}
.cy-color-default {
color: rgba(153, 153, 153, 1);
}

@ -0,0 +1,66 @@
// template/couponPackage/package.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

@ -0,0 +1,48 @@
<template name="templateCouponPackage">
<view class="shop_content_flex">
<block wx:for="{{listPackage}}" wx:key="item">
<view class="shop_content_item" bindtap="goto_detail" data-shoptype="{{item.shopType}}" data-id="{{item.id}}" data-productid="{{item.productId}}" data-schemeid="{{item.schemeId}}">
<view class="shop_content_item_package">
<block wx:if="{{item.shopType==0}}">
<image src="{{item.logoUrl}}"></image>
</block>
<block wx:else>
<image src="{{item.imageUrl}}"></image>
</block>
</view>
<view class="shop_content_item_name">
<block wx:if="{{item.shopType==0}}">
{{item.title}}
</block>
<block wx:else>
{{item.productName}}
</block>
</view>
<view class="shop_content_item_worth">
<block wx:if="{{item.shopType==0}}">
{{item.worth}}
<text class="unit" decode="true">&nbsp;&nbsp;积分</text>
</block>
<block wx:else>
<block wx:if="{{item.type==0}}">
<!-- 纯积分 -->
{{item.pointWorth}}
<text class="unit" decode="true">&nbsp;&nbsp;积分</text>
</block>
<block wx:if="{{item.type==1}}">
<!-- 混合 -->
{{item.pointWorth}}
<text class="unit" decode="true">&nbsp;&nbsp;积分 +</text> {{item.amountWorth}}
<text class="unit" decode="true">&nbsp;&nbsp;元</text>
</block>
<block wx:if="{{item.type==2}}">
<!-- 纯金额 -->
{{item.amountWorth}}
<text class="unit" decode="true">&nbsp;&nbsp;元</text>
</block>
</block>
</view>
</view>
</block>
</view>
</template>

@ -0,0 +1,70 @@
.shop_content_flex {
width: 100%;
/* height: 900rpx; */
display: flex;
/* align-content: center; */
flex-direction: row;
justify-content: space-between;
flex-wrap: wrap;
padding-bottom: 30rpx;
}
.shop_content_item {
width: 45%;
height: 430rpx;
margin-top: 20rpx;
border-radius: 4rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.shop_content_item_package {
width: 100%;
height: 330rpx;
background: rgba(248, 248, 248, 1);
}
.shop_content_item_package image {
width: 230rpx;
height: 230rpx;
display: block;
margin: auto auto;
margin-top: 50rpx;
}
.shop_content_item_name {
height: 29rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 277rpx;
font-size: 30rpx;
font-family: PingFang-SC-Regular;
font-weight: 400;
color: rgba(51, 51, 51, 1);
line-height: 29rpx;
}
.shop_content_item_worth {
width: 100%;
height: 33rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 38prx;
font-family: PingFang-SC-Bold;
font-weight: bold;
color: rgba(255, 73, 73, 1);
line-height: 29rpx;
}
.unit {
width: 51rpx;
height: 24rpx;
font-size: 26rpx;
font-family: PingFang-SC-Regular;
font-weight: 400;
color: rgba(102, 102, 102, 1);
line-height: 24rpx;
}

@ -0,0 +1,8 @@
// exports.CheckLabel = require('./select/index');
// exports.Field = require('./field/index');
// exports.NoticeBar = require('./noticebar/index');
// exports.Quantity = require('./quantity/index');
// exports.Switch = require('./switch/index');
exports.Tab = require('./tab/index');
// exports.Toast = require('./toast/index');
// exports.TopTips = require('./toptips/index');

File diff suppressed because one or more lines are too long

@ -0,0 +1,66 @@
// template/passwd/passwd.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

@ -0,0 +1,65 @@
<template name="passwd">
<view>
<view class='cy-mask'></view>
<view class='cy-passwd-back'>
<view class='cy-passwd-title content-center'>
<text>会员卡支付密码</text>
<view class='cy-pay-close content-center' bindtap='cy_closePasswd'>
<text class='iconfont icon-guanbi content-center'></text>
</view>
</view>
<view class='cy-consume-money content-center'>
<text>消费:¥</text>
<text>{{cardMoney}}</text>
</view>
<view class='cy-passwd-content'>
<view class='cy-passwd-num'>
<view class='cy-passwd cy-right-border content-center'>{{passwd.length >= 1 ? "" : ""}}</view>
<view class='cy-passwd cy-right-border content-center'>{{passwd.length >= 2 ? "" : ""}}</view>
<view class='cy-passwd cy-right-border content-center'>{{passwd.length >= 3 ? "" : ""}}</view>
<view class='cy-passwd cy-right-border content-center'>{{passwd.length >= 4 ? "" : ""}}</view>
<view class='cy-passwd cy-right-border content-center'>{{passwd.length >= 5 ? "" : ""}}</view>
<view class='cy-passwd content-center'>{{passwd.length >= 6 ? "" : ""}}</view>
</view>
</view>
</view>
<view class='cy-passwd-keyboard'>
<view class='cy-keyboard content-center' data-index='1' bindtap='cy_inputPasswd'>
1
</view>
<view class='cy-keyboard content-center' data-index='2' bindtap='cy_inputPasswd'>
2
</view>
<view class='cy-keyboard content-center' data-index='3' bindtap='cy_inputPasswd'>
3
</view>
<view class='cy-keyboard content-center' data-index='4' bindtap='cy_inputPasswd'>
4
</view>
<view class='cy-keyboard content-center' data-index='5' bindtap='cy_inputPasswd'>
5
</view>
<view class='cy-keyboard content-center' data-index='6' bindtap='cy_inputPasswd'>
6
</view>
<view class='cy-keyboard content-center' data-index='7' bindtap='cy_inputPasswd'>
7
</view>
<view class='cy-keyboard content-center' data-index='8' bindtap='cy_inputPasswd'>
8
</view>
<view class='cy-keyboard content-center' data-index='9' bindtap='cy_inputPasswd'>
9
</view>
<view class='cy-keyboard content-center' style='background-color: #eee;'>
</view>
<view class='cy-keyboard content-center' data-index='0' bindtap='cy_inputPasswd'>
0
</view>
<view class='cy-keyboard content-center' style='background-color: #eee;' data-index='-1' bindtap='cy_inputPasswd'>
退格
</view>
</view>
</view>
</template>

@ -0,0 +1,73 @@
.cy-passwd-back {
position: absolute;
z-index: 9999;
width: 750rpx;
height: 380rpx;
bottom: 520rpx;
background-color: #eee;
}
.cy-passwd-title {
width: 750rpx;
height: 100rpx;
border-bottom: 1px solid gainsboro;
font-size: 16px;
background-color: white;
}
.cy-consume-money {
width: 750rpx;
height: 100rpx;
font-size: 20px;
font-weight: 450;
background-color: white;
}
.cy-passwd-content{
width: 100%;
height: 150rpx;
background-color: white;
}
.cy-passwd-num {
margin-left: 15rpx;
width: 720rpx;
height: 100rpx;
border-radius: 8rpx;
border: 1px solid gainsboro;
background-color: white;
}
.cy-passwd {
width: 120rpx;
height: 100%;
float: left;
font-size: 16px;
font-weight: bolder;
}
.cy-right-border {
box-sizing: border-box;
border-right: 1px solid gainsboro;
}
.cy-passwd-keyboard {
position: fixed;
width: 100%;
height: 520rpx;
bottom: 0rpx;
z-index: 9999;
background-color: gainsboro;
}
.cy-keyboard {
width: 250rpx;
height: 130rpx;
float: left;
border-right: 1px solid gainsboro;
border-bottom: 1px solid gainsboro;
box-sizing: border-box;
font-size: 20px;
font-weight: 45rpx;
background-color: white;
}

@ -0,0 +1,66 @@
// template/payDelivery/payDelivery.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

@ -0,0 +1,116 @@
<template name="payDelivery">
<view class="lucky" catchtouchmove="preventTouchMove">
<view class="cy-mask" style="opacity:0.5;"></view>
<view class="lucky-hongbao" style="z-index:101;">
<view class="lucky-hongbao-list">
<scroll-view scroll-y class="{{'lucky-hongbao-scroll '+'lucky-hongbao-scroll'+(luckyData.length>2?'n':luckyData.length)}}">
<view class="listview-container">
<view class="play-item" bindtap="itemTapped">
<view class="dotline">
<!-- 竖线 -->
<view class="line"></view>
<!-- 圆点 -->
<view class=" {{deliveryInfo.orderCreateDate !=''? 'dot':'dot2'}}" style="background:{{deliveryInfo.orderCreateDate !=''? color:''}};"></view>
<!-- 时间戳 -->
</view>
<view class="content">
<text class="course" >订单提交成功</text>
</view>
<view class="content-time">
<text class="play-item-time" wx:if="{{deliveryInfo.orderCreateDate!=''}}}">{{deliveryInfo.orderCreateDate}}</text>
</view>
</view>
<view class="play-item" bindtap="itemTapped">
<view class="dotline">
<!-- 竖线 -->
<view class="line"></view>
<!-- 圆点 -->
<view class="{{deliveryInfo.orderPaidDate !='' ? 'dot':'dot2'}}" style="background:{{deliveryInfo.orderPaidDate !=''? color:''}};"></view>
<!-- 时间戳 -->
</view>
<view class="content">
<text class="course" >订单已支付</text>
</view>
<view class="content-time">
<text class="play-item-time" wx:if="{{deliveryInfo.orderPaidDate!=''}}">{{deliveryInfo.orderPaidDate}}</text>
</view>
</view>
<view class="play-item" bindtap="itemTapped">
<view class="dotline">
<!-- 竖线 -->
<view class="line"></view>
<!-- 圆点 -->
<view class="{{deliveryInfo.orderConfirmDate !='' ?'dot':'dot2' }}" style="background:{{deliveryInfo.orderConfirmDate !=''? color:''}};"></view>
<!-- 时间戳 -->
</view>
<view class="content">
<text class="course" >商家已接单</text>
</view>
<view class="content-time">
<text class="play-item-time" wx:if="{{deliveryInfo.orderConfirmDate!=''}}">{{deliveryInfo.orderConfirmDate}}</text>
</view>
</view>
<view class="play-item" bindtap="itemTapped">
<view class="dotline">
<!-- 竖线 -->
<view class="line"></view>
<!-- 圆点 -->
<view class="{{deliveryInfo.beginTime !='' ?'dot':'dot2' }}" style="background:{{deliveryInfo.beginTime !=''? color:''}};"></view>
<!-- 时间戳 -->
</view>
<view class="content">
<text class="course" >骑士已接单</text>
</view>
<view class="content-time">
<text class="play-item-time" wx:if="{{deliveryInfo.beginTime !=''}}">{{deliveryInfo.beginTime}}</text>
</view>
</view>
<view class="play-item" bindtap="itemTapped">
<view class="dotline">
<!-- 竖线 -->
<view class="line"></view>
<!-- 圆点 -->
<view class=" {{deliveryInfo.ongoingTime !='' ?'dot':'dot2'}} " style="background:{{deliveryInfo.ongoingTime !=''? color:''}};"></view>
<!-- 时间戳 -->
</view>
<view class="content">
<text class="course" >骑士已配送</text>
</view>
<view class="content-time">
<text class="play-item-time" wx:if="{{deliveryInfo.ongoingTime !=''}}">{{deliveryInfo.ongoingTime}}</text>
</view>
</view>
<view class="play-item" bindtap="itemTapped">
<view class="dotline">
<!-- 竖线 -->
<view class="line"></view>
<!-- 圆点 -->
<view class=" {{deliveryInfo.endTime!=''?'dot2':'dot2'}} " style="background:{{deliveryInfo.endTime !=''? color:''}};"></view>
<!-- 时间戳 -->
</view>
<view class="content">
<text class="course" >骑士已送达</text>
</view>
<view class="content-time">
<text class="play-item-time" wx:if="{{deliveryInfo.endTime!=''}}">{{deliveryInfo.endTime}}</text>
</view>
</view>
<view class="listview-buttom">感谢你对我们的支持和信任,期待再次光临 </view>
</view>
</scroll-view>
</view>
<form bindsubmit="closeDelivery" class="lucky-hongbao-close" reportSubmit="true">
<button class="close-btn" formType="submit">
<image src="/components/Lucky/media/close.png"></image>
</button>
</form>
</view>
</view>
</template>

@ -0,0 +1,273 @@
.lucky {
display: flex;
position: fixed;
justify-content: center;
align-items: center;
top: 0;
bottom: 0;
left: 0;
right: 0;
/* z-index: 100; */
}
.lucky-hongbao {
position: relative;
top:-80rpx;
/* box-shadow: 1rpx 1rpx 10rpx 1rpx white; */
}
.lucky-hongbao-header {
width: 666rpx;
height: 212rpx;
display: flex;
justify-content: center;
}
.lucky-hongbao-header image {
width: 640rpx;
height: 220rpx;
}
.lucky-hongbao-icon {
width: 100rpx;
height: 100rpx;
left: 32rpx;
top: 32rpx;
position: absolute;
}
.lucky-hongbao-list {
background: white;
border-radius: 20rpx;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
border-bottom-left-radius: 16rpx;
border-bottom-right-radius: 16rpx;
width: 600.8rpx;
height: 800rpx;
margin: auto auto;
margin-top: -3rpx;
}
.lucky-hongbao-scroll {
width: 630rpx;
padding-left: 11.8rpx;
margin: auto;
display: flex;
justify-content:space-between;
height: 750rpx;
}
.lucky-hongbao-scroll1 {
height: 170rpx;
}
.lucky-hongbao-scroll2 {
height: 350rpx;
}
.lucky-hongbao-scrolln {
height: 420rpx;
}
.lucky-hongbao-item {
width: 530rpx;
height: 150rpx;
position: relative;
margin-bottom: 16rpx;
/* margin-top: 16rpx; */
}
.lucky-hongbao-middle {
position: absolute;
left: 156rpx;
top: 0;
height: 100%;
padding: 3rpx 0;
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 10rpx;
}
.lucky-hongbao-name {
overflow: hidden;
white-space: nowrap;
width: 214rpx;
font-size: 24rpx;
font-family: PingFang-SC-Regular;
font-weight: 400;
color: rgba(102, 102, 102, 1);
}
.lucky-hongbao-rule {
font-size: 20rpx;
color: #999;
margin-top: 4rpx;
}
.lucky-hongbao-time {
margin-top: 4rpx;
font-size: 20rpx;
color: #999;
}
.lucky-hongbao-right {
position: absolute;
right: 16rpx;
bottom: 30rpx;
width: 116rpx;
text-align: center;
display: flex;
flex-direction: column;
}
.lucky-hongbao-money {
display: flex;
align-items: flex-start;
justify-content: center;
}
.lucky-hongbao-rmb {
color: #ff5339;
font-size: 24rpx;
font-weight: bold;
margin-top: 12rpx;
}
.lucky-hongbao-amount {
width: 97rpx;
height: 49rpx;
font-size: 30rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(249, 67, 53, 1);
overflow: hidden;
}
.lucky-hongbao-footer {
width: 640rpx;
height: 120rpx;
margin-top: -100rpx;
}
.lucky-hongbao-msg {
font-size: 24rpx;
font-weight: bold;
color: #ffe9b2;
text-align: center;
background: #e5193e;
height: 80rpx;
line-height: 80rpx;
border-bottom-left-radius: 20rpx;
border-bottom-right-radius: 20rpx;
}
.lucky-hongbao-close {
width: 60rpx;
height: 60rpx;
position: absolute;
top: 0rpx;
right: 0rpx;
}
.lucky-hongbao-use {
width: 116rpx;
height: 44rpx;
border-radius: 22rpx;
font-size: 20rpx;
line-height: 44rpx;
color: #fff;
background: #ff4b33;
text-align: center;
}
.close-btn {
width: 60rpx;
height: 60rpx;
background: none;
margin-top: 850rpx;
padding: 0;
display: flex;
margin-left:-293rpx;
}
.close-btn image {
width: 60rpx;
height: 60rpx;
border: 1rpx solid while;
}
.lucky-hongbao-get {
width: 116rpx;
height: 44rpx;
border-radius: 22rpx;
font-size: 20rpx;
line-height: 44rpx;
color: #40210a;
background: #e5e5e5;
text-align: center;
}
.lucky-hongbao-share {
width: 116rpx;
height: 44rpx;
font-size: 23rpx;
line-height: 44rpx;
color: #583834;
border: 2rpx solid #f63c28;
text-align: center;
padding: 0;
}
.share-btn {
width: 524rpx;
height: 112rpx;
padding: 0;
margin: 0;
background: #e5193e;
}
.share-btn image {
width: 524rpx;
height: 112rpx;
}
.share-btn::after {
border: none;
}
.has-share {
background: rgba(248, 62, 51, 1);
font-size: 36rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(248, 65, 52, 1);
width: 460rpx;
height: 80rpx;
background: rgba(255, 255, 255, 1);
border-radius: 40rpx;
line-height: 80rpx;
bottom: 17rpx;
}
.has-share2 {
overflow: hidden;
width: 86rpx;
height: 36rpx;
border: 1rpx solid rgba(254, 84, 99, 1);
border-radius: 18rpx;
font-size: 24rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(249, 67, 53, 1);
text-align: center;
line-height: 36rpx;
margin-top: 13rpx;
}
.upWindowItemLeft {
width: 28%;
height: 100%;
}

@ -0,0 +1,63 @@
Page({
/**
* 页面的初始数据
*/
data: {
},
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

@ -0,0 +1,21 @@
<template name="templateCode">
<block wx:if="{{hiden}}">
<view bindtap="apply" catchtouchmove="hidden" class="shade"></view>
<view catchtouchmove="hidden" class="apply">
<image class="qcode-bg" src="http://pos.juweiyun.cn/373001/file/wechatAppmemberunder%402x.png"></image>
<view class="applytitle">请向收银员出示</view>
<view class="barcode">
<canvas canvasId="barcode"></canvas>
</view>
<view class="codenumber flex-center">{{code}}</view>
<view class="qrcode">
<canvas canvasId="qrcode"></canvas>
</view>
<view bindtap="close" class="closeapply">
<image src="/images/X@2x.png"></image>
</view>
</view>
</block>
</template>

@ -0,0 +1,81 @@
.qcode-bg {
width: 660rpx;
height: 900rpx;
position: fixed;
top: 110rpx;
}
.applytitle {
position: relative;
height: 76rpx;
width: 619rpx;
border-bottom: 1rpx solid rgba(153, 153, 153, 1);
margin-left: 20rpx;
font-size: 36rpx;
color: #666;
text-align: center;
padding-top: 100rpx;
}
.barcode {
margin-left: 30rpx;
margin-top: 60rpx;
}
.barcode>canvas {
width: 600rpx;
height: 180rpx;
}
.codenumber {
margin-top: 24rpx;
color: #666;
position: relative;
text-align: center;
}
.qrcode {
margin-left: 110rpx;
}
.qrcode>canvas {
width: 420rpx;
height: 400rpx;
}
.shade {
top: 0;
right: 0;
left: 0;
bottom: 0;
overflow: hidden;
opacity: 1;
background-color: rgba(0, 0, 0, 0.6);
z-index: 2;
position: fixed;
width: 100%;
height: 100%;
}
.apply {
width: 660rpx;
height: 900rpx;
position: fixed;
top: 65rpx;
left: 45rpx;
z-index: 999;
}
.closeapply {
width: 60rpx;
height: 60rpx;
position: absolute;
bottom: -100rpx;
left: 300rpx;
}
.closeapply image {
width: 100%;
height: 100%;
margin-top: 50rpx;
}

@ -0,0 +1,66 @@
// template/pointProduct/product.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

@ -0,0 +1,71 @@
<template name="templatePointProduct">
<block wx:if="{{vipProduct.length>0}}">
<view class="shop_content_flex">
<block wx:for="{{vipProduct}}" wx:key="item">
<view class="shop_content_item" bindtap="goto_detail" data-shoptype="{{item.shopType}}" data-productid="{{item.productId}}" data-schemeid="{{item.schemeId}}">
<view class="shop_content_item_package">
<image src="{{item.imageUrl}}"></image>
</view>
<view class="shop_content_item_name">
{{item.productName}}
</view>
<view class="shop_content_item_worth">
<block wx:if="{{item.type==0}}">
<!-- 纯积分 -->
{{item.pointWorth}}
<text class="unit" decode="true">&nbsp;&nbsp;积分</text>
</block>
<block wx:if="{{item.type==1}}">
<!-- 混合 -->
{{item.pointWorth}}
<text class="unit" decode="true">&nbsp;&nbsp;积分 +</text> {{item.amountWorth}}
<text class="unit" decode="true">&nbsp;&nbsp;元</text>
</block>
<block wx:if="{{item.type==2}}">
<!-- 纯金额 -->
{{item.amountWorth}}
<text class="unit" decode="true">&nbsp;&nbsp;元</text>
</block>
</view>
</view>
</block>
</view>
</block>
<block wx:if="{{memberProduct.length>0}}">
<view class="shop_content_flex">
<block wx:for="{{memberProduct}}" wx:key="item">
<view class="shop_content_item" bindtap="goto_detail" data-shoptype="{{item.shopType}}" data-productid="{{item.productId}}" data-schemeid="{{item.schemeId}}">
<view class="shop_content_item_package">
<image src="{{item.imageUrl}}"></image>
</view>
<view class="shop_content_item_name">
{{item.productName}}
</view>
<view class="shop_content_item_worth">
<block wx:if="{{item.type==0}}">
<!-- 纯积分 -->
{{item.pointWorth}}
<text class="unit" decode="true">&nbsp;&nbsp;积分</text>
</block>
<block wx:if="{{item.type==1}}">
<!-- 混合 -->
{{item.pointWorth}}
<text class="unit" decode="true">&nbsp;&nbsp;积分 +</text> {{item.amountWorth}}
<text class="unit" decode="true">&nbsp;&nbsp;元</text>
</block>
<block wx:if="{{item.type==2}}">
<!-- 纯金额 -->
{{item.amountWorth}}
<text class="unit" decode="true">&nbsp;&nbsp;元</text>
</block>
</view>
</view>
</block>
</view>
</block>
</template>

@ -0,0 +1,69 @@
.shop_content_flex {
width: 100%;
height: 900rpx;
display: flex;
align-content: center;
flex-direction: row;
justify-content: space-between;
flex-wrap: wrap;
}
.shop_content_item {
width: 45%;
height: 430rpx;
margin-top: 20rpx;
border-radius: 4rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.shop_content_item_package {
width: 100%;
height: 330rpx;
background: rgba(248, 248, 248, 1);
}
.shop_content_item_package image {
width: 230rpx;
height: 230rpx;
display: block;
margin: auto auto;
margin-top: 50rpx;
}
.shop_content_item_name {
height: 29rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 277rpx;
font-size: 30rpx;
font-family: PingFang-SC-Regular;
font-weight: 400;
color: rgba(51, 51, 51, 1);
line-height: 29rpx;
}
.shop_content_item_worth {
width: 100%;
height: 33rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 38prx;
font-family: PingFang-SC-Bold;
font-weight: bold;
color: rgba(255, 73, 73, 1);
line-height: 29rpx;
}
.unit {
width: 51rpx;
height: 24rpx;
font-size: 26rpx;
font-family: PingFang-SC-Regular;
font-weight: 400;
color: rgba(102, 102, 102, 1);
line-height: 24rpx;
}

@ -0,0 +1,66 @@
// template/register.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

@ -0,0 +1,22 @@
<template name="register">
<view>
<view class='cy-mask'></view>
<view class='cy-register-view'>
<view class='cy-icon-view down-text-center'>
<image src='../../images/icon-home.png'></image>
</view>
<view class='cy-icon-name down-text-center'>
小程序点餐
</view>
<view class='cy-line-back content-center'>
<view class='cy-icon-line'></view>
</view>
<view class='cy-icon-des content-center'>
<view class='content-center'>小程序点餐 + 送您一张会员卡请领取</view>
</view>
<view class='cy-icon-iphone down-text-center'>
<button open-type="getPhoneNumber" bindgetphonenumber="cy_getPhoneNumber">确认领取</button>
</view>
</view>
</view>
</template>

@ -0,0 +1,67 @@
.cy-register-view {
position: absolute;
z-index: 9999;
top: 180rpx;
left: 10%;
width: 80%;
height: 680rpx;
border-radius: 18rpx;
background-color: whitesmoke;
overflow: hidden;
}
.cy-icon-view {
width: 100%;
height: 200rpx;
}
.cy-icon-view image {
width: 140rpx;
height: 140rpx;
border-radius: 70rpx;
border: 1px solid goldenrod;
}
.cy-icon-name {
width: 100%;
height: 80rpx;
font-size: 16px;
color: #333;
}
.cy-line-back {
width: 100%;
height: 90rpx;
}
.cy-icon-line {
width: 80%;
height: 1px;
background-color: #ccc;
}
.cy-icon-des{
width: 100%;
height: auto;
}
.cy-icon-des view{
width: 80%;
min-height: 80rpx;
color: #999;
font-size: 14px;
font-weight: 300;
}
.cy-icon-iphone{
width: 100%;
height: 150rpx;
}
.cy-icon-iphone button{
width: 80%;
height: auto;
background-color: #e02827;
border-radius: 200rpx;
font-size: 16px;
}

@ -0,0 +1,17 @@
var Tab = {
_handleZanTabChange(e) {
var dataset = e.currentTarget.dataset;
var componentId = dataset.componentId;
var selectedId = dataset.itemId;
var data = { componentId, selectedId };
console.info('[zan:tab:change]', data);
if (this.handleZanTabChange) {
this.handleZanTabChange(data);
} else {
console.warn('页面缺少 handleZanTabChange 回调函数');
}
}
};
module.exports = Tab;

@ -0,0 +1,31 @@
<template name="zan-tab">
<view class="zan-tab">
<block wx:if="{{tab.scroll}}">
<scroll-view
class="zan-tab__bd zan-tab__bd--scroll {{ fixed ? 'zan-tab__bd--fixed' : '' }}"
scroll-x="true"
style="height: {{ tab.height ? tab.height + 'px' : 'auto' }}"
>
<template is="zan-tab-list" data="{{ tab, componentId }}"></template>
</scroll-view>
</block>
<block wx:else>
<view class="zan-tab__bd {{fixed ? 'zan-tab__bd--fixed' : ''}}">
<template is="zan-tab-list" data="{{ tab, componentId }}"></template>
</view>
</block>
</view>
</template>
<template name="zan-tab-list">
<view
wx:for="{{tab.list}}"
wx:key="id"
class="zan-tab__item {{tab.selectedId == item.id ? 'zan-tab__item--selected' : ''}}"
data-component-id="{{componentId}}"
data-item-id="{{item.id}}"
bindtap="_handleZanTabChange"
>
<view class="zan-tab__title">{{item.title}}</view>
</view>
</template>

@ -0,0 +1 @@
.zan-tab{height:45px}.zan-tab__bd{width:750rpx;display:flex;flex-direction:row;border-bottom:1rpx solid #e5e5e5;background:#fff}.zan-tab__bd--fixed{position:fixed;top:0;z-index:2}.zan-tab__item{flex:1;display:inline-block;text-align:center;box-sizing:border-box}.zan-tab__title{font-size:14px;display:inline-block;color:#666;height:44px;line-height:44px;box-sizing:border-box;margin:0 10px;word-break:keep-all}.zan-tab__item--selected .zan-tab__title{color:#f44;border-bottom:2px solid #f44}.zan-tab__bd--scroll{display:block;white-space:nowrap}.zan-tab__bd--scroll .zan-tab__item{min-width:80px}.zan-tab__bd--scroll .zan-tab__text{margin:0 20px}

@ -0,0 +1,66 @@
// template/coupon/couponTemplate.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

@ -0,0 +1,41 @@
<template name="templateCoupon">
<view class="container">
<view class='cy-top-view flex-display' wx:if="{{couponStatus.length>0}}">
<block wx:for="{{couponStatus}}" wx:key="item">
<view class='cy-top-view-item' data-status='{{item.status}}' bindtap='cy_selectTypeCoupon'>
<view class='cy-top-item-title {{item.select ? "cy-top-select-item-title" : ""}}'>{{item.title}}</view>
<view wx:if="{{item.select}}" class='cy-top-item-line'></view>
</view>
</block>
</view>
<view class='cy-content-view' style="top: {{couponStatus.length>0?'100rpx':'0rpx'}};">
<block wx:for="{{list}}" wx:key="item">
<view class='cy-content-item-view flex-display'>
<image src='{{item.bgImage}}'></image>
<view class='cy-item-money-view content-center coupon-bg-style' style="background-image: url({{item.coverLogo}}); " bindtap="queryCouponDetail" data-index="{{index}}">
<block wx:if="{{item.coverLogo=='' }}">
<text class='cy-item-money-unit' style='color:{{item.color}}'>{{item.unitName}} </text>
<text class='cy-item-money' style='color:{{item.color}};font-size:{{item.size}}; height:{{item.height}}'>{{item.amount}}</text>
</block>
</view>
<view class='cy-coupon-des-view' bindtap="queryCouponDetail" data-index="{{index}}">
<view class='cy-coupon-title'>{{item.title}}</view>
<view class='cy-coupon-condition'>{{item.condition}}</view>
<!-- <view wx:if="{{item.reason}}"> {{item.reason}} </view> -->
<view class='cy-coupon-time'>{{item.expireDay}}</view>
</view>
<view class='cy-coupon-use content-center'>
<form report-submit='true' bindsubmit='receive' data-couponId="{{item.couponId}}" data-code="{{item.code}}" data-index="{{index}}" data-id="{{item.id}}" data-status="{{item.status}}">
<view class="cy-coupon-receive-condition cy-color-red" wx:if="{{item.syNum && item.syNum>0 && item.type!='2'}}">剩余{{item.syNum}}张 <text class="cy-color-default">可领</text></view>
<view class="cy-coupon-receive-condition cy-color-red" wx:if="{{item.type=='2'}}"> {{item.reason}} <text class="cy-color-default">可领</text></view>
<button class="use content-center {{item.type=='0'?'cy-coupon-receive':item.type=='1'?'cy-coupon-uses':'cy-coupon-no-condition' }}" form-type="submit">
{{item.useStatus}}
</button>
</form>
</view>
</view>
</block>
</view>
</view>
</template>

@ -0,0 +1,109 @@
.cy-top-view {
position: fixed;
width: 750rpx;
height: 100rpx;
background: white;
z-index: 9;
}
.cy-top-view-item {
width: 250rpx;
height: 100rpx;
}
.cy-top-item-title {
width: 100%;
height: 86rpx;
font-size: 30rpx;
line-height: 86rpx;
text-align: center;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(51, 51, 51, 1);
}
.cy-top-select-item-title {
font-size: 34rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
color: rgba(51, 51, 51, 1);
}
.cy-top-item-line {
margin-left: 90rpx;
width: 70rpx;
height: 6rpx;
/* background: rgba(255, 198, 57, 1); */
background: var(--color--);
border-radius: 2px;
}
.cy-content-view {
position: absolute;
width: 750rpx;
top: 100rpx;
bottom: 0rpx;
}
.cy-content-item-view {
position: relative;
margin: 20rpx 20rpx 0rpx 20rpx;
width: 710rpx;
height: 180rpx;
background: rgba(255, 255, 255, 1);
}
.cy-content-item-view image {
position: absolute;
width: 100%;
height: 100%;
}
.cy-item-money-view {
position: relative;
margin: 10rpx;
width: 148rpx;
height: 160rpx;
}
.cy-item-money-unit {
font-size: 34rpx;
font-family: PingFang-SC-Bold;
font-weight: 500;
height: 60rpx;
/* color: rgba(255, 198, 57, 1); */
color: var(--color--);
}
.cy-item-money {
font-size: 60rpx;
font-family: PingFang-SC-Bold;
font-weight: 500;
height: 90rpx;
/* color: rgba(255, 198, 57, 1); */
color: var(--color--);
}
.cy-coupon-des-view {
position: absolute;
top: 10rpx;
left: 200rpx;
width: 360rpx;
height: 160rpx;
}
.cy-coupon-use {
position: absolute;
top: 33rpx;
right: 33rpx;
width: 115rpx;
height: 115rpx;
font-size: 26rpx;
font-family: PingFang-SC-Bold;
font-weight: 500;
color: rgba(255, 255, 255, 1);
text-align: center;
}
Loading…
Cancel
Save