init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)
这个提交包含在:
@@ -0,0 +1,156 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!--[1.7.84]-->
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/vip/css/reset.css"/>
|
||||
<title>优惠券</title>
|
||||
<style>
|
||||
.leftbody{
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
position: relative;
|
||||
min-height: 180px;
|
||||
background: -webkit-gradient(linear, 0 0, 0 100%, from(#fe314e), to(#fe6263));
|
||||
background: -moz-linear-gradient(to bottom, #fe314e, #fe6263);
|
||||
color: #fff;
|
||||
/*margin-top: 20px;*/
|
||||
}
|
||||
.dot{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 5px;
|
||||
background: url(__PUBLIC__/Retail/Mcoupon/dot.png) repeat-x left bottom;
|
||||
background-size: auto 5px;
|
||||
}
|
||||
.promote-card-name{
|
||||
font-size: 18px;
|
||||
line-height: 60px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.js-share{
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 15px;
|
||||
width: 50px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
border: 1px solid #ffbabb;
|
||||
border-color: rgba(255,255,255,0.5);
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
color:rgba(255,255,255,0.5)
|
||||
}
|
||||
.center{
|
||||
text-align: center;
|
||||
}
|
||||
.promote-value{
|
||||
font-size: 40px;
|
||||
word-break: break-word;
|
||||
}
|
||||
.promote-limit{
|
||||
line-height: 40px;
|
||||
}
|
||||
.font-size-14{
|
||||
font-size: 12px;
|
||||
}
|
||||
.promote-desc {
|
||||
/*display: none;*/
|
||||
color: #333;
|
||||
word-break: break-all;
|
||||
}
|
||||
.promote-desc .promote-desc-title {
|
||||
padding: 10px 0 10px 20px;
|
||||
}
|
||||
.block-item {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 10px 0px 10px 20px;
|
||||
line-height: 1.5;
|
||||
border: 0;
|
||||
border-top: 2px solid #e5e5e5;
|
||||
border-bottom: 2px solid #e5e5e5;
|
||||
overflow: hidden;
|
||||
}
|
||||
.transparent-color{
|
||||
color:rgba(255,255,255,0.5);
|
||||
}
|
||||
.couponshow{
|
||||
width:100%;
|
||||
}
|
||||
.leftshow{
|
||||
width:100%;
|
||||
box-sizing: border-box;
|
||||
padding: 6px;
|
||||
float: left;
|
||||
background-color: white;
|
||||
margin-top: 10px;
|
||||
box-shadow: 0px 0px 4px rgba(0,0,0,0.2);
|
||||
}
|
||||
#app{
|
||||
width:100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0px 30px;
|
||||
}
|
||||
.vipgrade{
|
||||
display: inline-block;
|
||||
padding: 4px 18px 4px 8px;
|
||||
margin: 6px;
|
||||
border: 1px solid rgba(0,0,0,0.2);
|
||||
position: relative;
|
||||
}
|
||||
body,html{
|
||||
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="leftshow">
|
||||
<div class="couponshow">
|
||||
<div class="leftbody">
|
||||
<div class="clearfix" style="height:60px;">
|
||||
<h2 class="promote-card-name" v-text="couponname">{$coupon['coupon_name']}</h2>
|
||||
</div>
|
||||
<p class="center promote-value">
|
||||
<span class="promote-value-sign">
|
||||
<span>¥</span>
|
||||
<i v-text="couponmoney">{$coupon['reducemoney']}</i>
|
||||
</span>
|
||||
</p>
|
||||
<p class="center font-size-14 promote-limit" v-text="couponlimit">满{$coupon['needmoney']}元使用</p>
|
||||
<p class="center font-size-14 transparent-color" v-text="canusedate">有效期:{$coupon['validity_time']}</p>
|
||||
<div class="dot"></div>
|
||||
</div>
|
||||
<div class="promote-desc">
|
||||
<h2 class="font-size-14 c-gray-dark promote-desc-title">使用规则</h2>
|
||||
<div class="block border-top-0">
|
||||
<div class="block-item clearfix" style="min-height: 45px;box-sizing: border-box;">
|
||||
<span class="js-desc-detail" v-html="showdetail" >{$coupon['appoint_type_name']}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="promote-desc">
|
||||
<h2 class="font-size-14 c-gray-dark promote-desc-title">可用门店</h2>
|
||||
<div class="block border-top-0">
|
||||
<div class="block-item clearfix" style="min-height: 45px;box-sizing: border-box;border-bottom: none;">
|
||||
<span class="js-desc-detail">
|
||||
{$coupon['store_type']}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script src="__PUBLIC__/vip/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/window-reload.js"></script>
|
||||
<script src="__PUBLIC__/js/tips.js"></script>
|
||||
</html>
|
||||
@@ -0,0 +1,159 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/vip/css/reset.css"/>
|
||||
<title>优惠券</title>
|
||||
<style>
|
||||
.leftbody{
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
position: relative;
|
||||
min-height: 180px;
|
||||
background: -webkit-gradient(linear, 0 0, 0 100%, from(#CFA980), to(#b3691a));
|
||||
background: -moz-linear-gradient(to bottom, #fe314e, #fe6263);
|
||||
color: #fff;
|
||||
/*margin-top: 20px;*/
|
||||
}
|
||||
.dot{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 5px;
|
||||
background: url(__PUBLIC__/Retail/Mcoupon/dot.png) repeat-x left bottom;
|
||||
background-size: auto 5px;
|
||||
}
|
||||
.promote-card-name{
|
||||
font-size: 18px;
|
||||
line-height: 60px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.js-share{
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 15px;
|
||||
width: 50px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
border: 1px solid #ffbabb;
|
||||
border-color: rgba(255,255,255,0.5);
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
color:rgba(255,255,255,0.5)
|
||||
}
|
||||
.center{
|
||||
text-align: center;
|
||||
}
|
||||
.promote-value{
|
||||
font-size: 40px;
|
||||
word-break: break-word;
|
||||
}
|
||||
.promote-limit{
|
||||
line-height: 40px;
|
||||
}
|
||||
.font-size-14{
|
||||
font-size: 12px;
|
||||
}
|
||||
.promote-desc {
|
||||
/*display: none;*/
|
||||
color: #333;
|
||||
word-break: break-all;
|
||||
}
|
||||
.promote-desc .promote-desc-title {
|
||||
padding: 10px 0 10px 20px;
|
||||
}
|
||||
.block-item {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 10px 0px 10px 20px;
|
||||
line-height: 1.5;
|
||||
border: 0;
|
||||
border-top: 2px solid #e5e5e5;
|
||||
border-bottom: 2px solid #e5e5e5;
|
||||
overflow: hidden;
|
||||
}
|
||||
.transparent-color{
|
||||
color:rgba(255,255,255);
|
||||
}
|
||||
.couponshow{
|
||||
width:100%;
|
||||
}
|
||||
.leftshow{
|
||||
width:100%;
|
||||
box-sizing: border-box;
|
||||
padding: 6px;
|
||||
float: left;
|
||||
background-color: white;
|
||||
margin-top: 10px;
|
||||
box-shadow: 0px 0px 4px rgba(0,0,0,0.2);
|
||||
}
|
||||
#app{
|
||||
width:100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0px 30px;
|
||||
}
|
||||
.vipgrade{
|
||||
display: inline-block;
|
||||
padding: 4px 18px 4px 8px;
|
||||
margin: 6px;
|
||||
border: 1px solid rgba(0,0,0,0.2);
|
||||
position: relative;
|
||||
}
|
||||
body,html{
|
||||
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="leftshow">
|
||||
<div class="couponshow">
|
||||
<div class="leftbody">
|
||||
<div class="clearfix" style="height:60px;">
|
||||
<h2 class="promote-card-name" v-text="couponname">{$coupon['coupon_name']}</h2>
|
||||
</div>
|
||||
<p class="center promote-value">
|
||||
<span class="promote-value-sign">
|
||||
<span>¥</span>
|
||||
<i v-text="couponmoney">{$coupon['reducemoney']}</i>
|
||||
</span>
|
||||
</p>
|
||||
<p class="center font-size-14 promote-limit" v-text="couponlimit">满{$coupon['needmoney']}元使用</p>
|
||||
<p class="center font-size-14 transparent-color" v-text="canusedate">有效期:{$coupon['canusetime']}</p>
|
||||
<div class="dot"></div>
|
||||
</div>
|
||||
<div class="promote-desc">
|
||||
<h2 class="font-size-14 c-gray-dark promote-desc-title">使用说明</h2>
|
||||
<div class="block border-top-0">
|
||||
<div class="block-item clearfix" style="min-height: 45px;box-sizing: border-box;">
|
||||
<span class="js-desc-detail" v-html="showdetail" >{$coupon['detailmsg']}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="promote-desc">
|
||||
<h2 class="font-size-14 c-gray-dark promote-desc-title">可用门店</h2>
|
||||
<div class="block border-top-0">
|
||||
<div class="block-item clearfix" style="min-height: 45px;box-sizing: border-box;border-bottom: none;">
|
||||
<span class="js-desc-detail">
|
||||
<volist name="coupon['storelist']" id="item">
|
||||
<div class="vipgrade">
|
||||
<span v-text="item.storetag">{$item.storetag}</span>
|
||||
</div>
|
||||
</volist>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script src="__PUBLIC__/vip/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/window-reload.js"></script>
|
||||
<script src="__PUBLIC__/js/tips.js"></script>
|
||||
</html>
|
||||
@@ -0,0 +1,156 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!--[1.7.84]-->
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/vip/css/reset.css"/>
|
||||
<title>优惠券</title>
|
||||
<style>
|
||||
.leftbody{
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
position: relative;
|
||||
min-height: 180px;
|
||||
background: -webkit-gradient(linear, 0 0, 0 100%, from(#6FA1FB), to(rgba(141, 192, 254, 0.5)));
|
||||
background: -moz-linear-gradient(to bottom, #fe314e, #fe6263);
|
||||
color: #fff;
|
||||
/*margin-top: 20px;*/
|
||||
}
|
||||
.dot{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 5px;
|
||||
background: url(__PUBLIC__/Retail/Mcoupon/dot.png) repeat-x left bottom;
|
||||
background-size: auto 5px;
|
||||
}
|
||||
.promote-card-name{
|
||||
font-size: 18px;
|
||||
line-height: 60px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.js-share{
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 15px;
|
||||
width: 50px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
border: 1px solid #ffbabb;
|
||||
border-color: rgba(255,255,255,0.5);
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
color:rgba(255,255,255,0.5)
|
||||
}
|
||||
.center{
|
||||
text-align: center;
|
||||
}
|
||||
.promote-value{
|
||||
font-size: 40px;
|
||||
word-break: break-word;
|
||||
}
|
||||
.promote-limit{
|
||||
line-height: 40px;
|
||||
}
|
||||
.font-size-14{
|
||||
font-size: 12px;
|
||||
}
|
||||
.promote-desc {
|
||||
/*display: none;*/
|
||||
color: #333;
|
||||
word-break: break-all;
|
||||
}
|
||||
.promote-desc .promote-desc-title {
|
||||
padding: 10px 0 10px 20px;
|
||||
}
|
||||
.block-item {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 10px 0px 10px 20px;
|
||||
line-height: 1.5;
|
||||
border: 0;
|
||||
border-top: 2px solid #e5e5e5;
|
||||
border-bottom: 2px solid #e5e5e5;
|
||||
overflow: hidden;
|
||||
}
|
||||
.transparent-color{
|
||||
color:rgba(255,255,255);
|
||||
}
|
||||
.couponshow{
|
||||
width:100%;
|
||||
}
|
||||
.leftshow{
|
||||
width:100%;
|
||||
box-sizing: border-box;
|
||||
padding: 6px;
|
||||
float: left;
|
||||
background-color: white;
|
||||
margin-top: 10px;
|
||||
box-shadow: 0px 0px 4px rgba(0,0,0,0.2);
|
||||
}
|
||||
#app{
|
||||
width:100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0px 30px;
|
||||
}
|
||||
.vipgrade{
|
||||
display: inline-block;
|
||||
padding: 4px 18px 4px 8px;
|
||||
margin: 6px;
|
||||
border: 1px solid rgba(0,0,0,0.2);
|
||||
position: relative;
|
||||
}
|
||||
body,html{
|
||||
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="leftshow">
|
||||
<div class="couponshow">
|
||||
<div class="leftbody">
|
||||
<div class="clearfix" style="height:60px;">
|
||||
<h2 class="promote-card-name" v-text="couponname">{$coupon['coupon_name']}</h2>
|
||||
</div>
|
||||
<p class="center promote-value">
|
||||
<span class="promote-value-sign">
|
||||
<span>¥</span>
|
||||
<i v-text="couponmoney">{$coupon['reducemoney']}</i>
|
||||
</span>
|
||||
</p>
|
||||
<p class="center font-size-14 promote-limit" v-text="couponlimit">满{$coupon['needmoney']}元使用</p>
|
||||
<p class="center font-size-14 transparent-color" v-text="canusedate">有效期:{$coupon['validity_time']}</p>
|
||||
<div class="dot"></div>
|
||||
</div>
|
||||
<div class="promote-desc">
|
||||
<h2 class="font-size-14 c-gray-dark promote-desc-title">使用规则</h2>
|
||||
<div class="block border-top-0">
|
||||
<div class="block-item clearfix" style="min-height: 45px;box-sizing: border-box;">
|
||||
<span class="js-desc-detail" v-html="showdetail" >{$coupon['appoint_type_name']}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="promote-desc">
|
||||
<h2 class="font-size-14 c-gray-dark promote-desc-title">可用门店</h2>
|
||||
<div class="block border-top-0">
|
||||
<div class="block-item clearfix" style="min-height: 45px;box-sizing: border-box;border-bottom: none;">
|
||||
<span class="js-desc-detail">
|
||||
{$coupon['store_type']}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script src="__PUBLIC__/vip/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/window-reload.js"></script>
|
||||
<script src="__PUBLIC__/js/tips.js"></script>
|
||||
</html>
|
||||
@@ -0,0 +1,155 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!--[1.7.84]-->
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
|
||||
<link rel="stylesheet" href="__PUBLIC__/css/css-comment.css">
|
||||
<title>优惠券</title>
|
||||
<style>
|
||||
.leftbody{
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
position: relative;
|
||||
min-height: 180px;
|
||||
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ED4C5A), to(#FD717D));
|
||||
background: -moz-linear-gradient(to bottom, #ED4C5A, #FD717D);
|
||||
color: #fff;
|
||||
/*margin-top: 20px;*/
|
||||
}
|
||||
.dot{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 5px;
|
||||
background: url(__PUBLIC__/Retail/Mcoupon/dot.png) repeat-x left bottom;
|
||||
background-size: auto 5px;
|
||||
}
|
||||
.promote-card-name{
|
||||
font-size: 18px;
|
||||
line-height: 60px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.js-share{
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 15px;
|
||||
width: 50px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
border: 1px solid #ffbabb;
|
||||
border-color: rgba(255,255,255,0.5);
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
color:rgba(255,255,255,0.5)
|
||||
}
|
||||
.center{
|
||||
text-align: center;
|
||||
}
|
||||
.promote-value{
|
||||
font-size: 40px;
|
||||
word-break: break-word;
|
||||
}
|
||||
.promote-limit{
|
||||
line-height: 40px;
|
||||
}
|
||||
.font-size-14{
|
||||
font-size: 13px;
|
||||
}
|
||||
.promote-desc {
|
||||
/*display: none;*/
|
||||
color: #333;
|
||||
word-break: break-all;
|
||||
}
|
||||
.promote-desc .promote-desc-title {
|
||||
padding: 10px 0 10px 20px;
|
||||
}
|
||||
.block-item {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 10px 0px 10px 20px;
|
||||
line-height: 1.5;
|
||||
border: 0;
|
||||
border-top: 2px solid #e5e5e5;
|
||||
border-bottom: 2px solid #e5e5e5;
|
||||
overflow: hidden;
|
||||
font-size: 13px;
|
||||
}
|
||||
.transparent-color{
|
||||
color:rgba(255,255,255);
|
||||
}
|
||||
.couponshow{
|
||||
width:100%;
|
||||
}
|
||||
.leftshow{
|
||||
width:100%;
|
||||
box-sizing: border-box;
|
||||
padding: 6px;
|
||||
float: left;
|
||||
background-color: white;
|
||||
margin-top: 10px;
|
||||
box-shadow: 0px 0px 4px rgba(0,0,0,0.2);
|
||||
}
|
||||
#app{
|
||||
width:100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0px 10px;
|
||||
}
|
||||
.vipgrade{
|
||||
display: inline-block;
|
||||
padding: 4px 18px 4px 8px;
|
||||
margin: 6px;
|
||||
border: 1px solid rgba(0,0,0,0.2);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="leftshow">
|
||||
<div class="couponshow">
|
||||
<div class="leftbody">
|
||||
<div class="clearfix" style="height:60px;">
|
||||
<h2 class="promote-card-name" v-text="couponname">{$coupon['coupon_name']}</h2>
|
||||
</div>
|
||||
<p class="center promote-value">
|
||||
<span class="promote-value-sign">
|
||||
<span>¥</span>
|
||||
<i v-text="couponmoney">{$coupon['reducemoney']}</i>
|
||||
</span>
|
||||
</p>
|
||||
<p class="center font-size-14 promote-limit" v-text="couponlimit">满{$coupon['needmoney']}元使用</p>
|
||||
<p class="center font-size-14 transparent-color" v-text="canusedate">{$coupon['validity_time']}</p>
|
||||
<div class="dot"></div>
|
||||
</div>
|
||||
<div class="promote-desc">
|
||||
<h2 class="font-size-14 c-gray-dark promote-desc-title">使用说明</h2>
|
||||
<div class="block border-top-0">
|
||||
<div class="block-item clearfix" style="min-height: 45px;box-sizing: border-box;">
|
||||
<span class="js-desc-detail" v-html="showdetail" >{$coupon['appoint_type_name']}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="promote-desc">
|
||||
<h2 class="font-size-14 c-gray-dark promote-desc-title">可用门店</h2>
|
||||
<div class="block border-top-0">
|
||||
<div class="block-item clearfix" style="min-height: 45px;box-sizing: border-box;border-bottom: none;">
|
||||
<span class="js-desc-detail">
|
||||
{$coupon['store_type']}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script src="__PUBLIC__/vip/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/window-reload.js"></script>
|
||||
<script src="__PUBLIC__/js/tips.js"></script>
|
||||
</html>
|
||||
@@ -0,0 +1,85 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!--[1.8.85]-->
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/vip/css/reset.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/vip/css/card.css"/>
|
||||
<title>优惠券</title>
|
||||
<style>
|
||||
.usetype1 {
|
||||
background: url(__PUBLIC__/vip/images/z_mjq.png);
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.usetype2 {
|
||||
background: url(__PUBLIC__/vip/images/z_mjq1.png);
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.usetype3 {
|
||||
background: url(__PUBLIC__/vip/images/z_mjq2.png);
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
#app {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.yhq {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
body, html {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="card_title">
|
||||
<div class="card_title_inner" :class="useType==1?'cheaka':''" @click="changeUseType(1)">未使用</div>
|
||||
<div class="card_title_inner" :class="useType==2?'cheaka':''" @click="changeUseType(2)">已使用</div>
|
||||
<div class="card_title_inner" :class="useType==3?'cheaka':''" @click="changeUseType(3)">已过期</div>
|
||||
</div>
|
||||
<!--未使用-->
|
||||
<div class="yhq" :class="useType==1?'yhq00':(useType==2?'yhq01':(useType==3?'yhq02':''))">
|
||||
<template v-for="item in couponData">
|
||||
<div class="card_content" @click="toDetails(item.id)">
|
||||
<div class="card_content_inner" :class="'usetype'+useType">
|
||||
<div class="left_content">
|
||||
<div class="card_content_inner01" v-text="'¥'+item.reducemoney"></div>
|
||||
<div class="card_content_inner02" v-text="'满'+item.needmoney+'元可用'"></div>
|
||||
</div>
|
||||
<div class="right_content">
|
||||
<div class="card_content_inner03" v-text="item.coupon_name"></div>
|
||||
<div class="card_content_inner04"
|
||||
v-text="'消费满'+item.needmoney+'元立减'+item.reducemoney+'元'"></div>
|
||||
<div class="card_content_inner05" v-text="'有效期'+item.validity_time"></div>
|
||||
<div class="card_content_inner06" v-if="useType==1">未使用</div>
|
||||
<div class="card_content_inner06" v-if="useType==2">未使用</div>
|
||||
<div class="card_content_inner06" v-if="useType==3">未使用</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<div class="card_more" v-if="allCoupon[useType-1]['hasMore']==1" @click="loadMore">加载更多</div>
|
||||
<div class="card_more" v-if="allCoupon[useType-1]['hasMore']!=1">--没有更多了--</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script src="__PUBLIC__/vip/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/window-reload.js"></script>
|
||||
<script src="__PUBLIC__/js/tips.js"></script>
|
||||
<script src="__PUBLIC__/retails/js/vue.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/coupon.js"></script>
|
||||
</html>
|
||||
137
Application/Vip/View/Coupon/index1.html
可执行文件
137
Application/Vip/View/Coupon/index1.html
可执行文件
@@ -0,0 +1,137 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>优惠券</title>
|
||||
<link rel="stylesheet" href="__PUBLIC__/css/css-comment.css">
|
||||
<script src="__PUBLIC__/rem/js/rem.js"></script>
|
||||
<link rel="stylesheet" href="__PUBLIC__/vip/css/templateA/vip.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
|
||||
<div class="coupon">
|
||||
<div class="couponNav">
|
||||
<span class="navItem" :class="[usetype==1?'navActice':'']" @click="navItem(1)">未使用</span>
|
||||
<span class="navItem" :class="[usetype==2?'navActice':'']" @click="navItem(2)">已使用</span>
|
||||
<span class="navItem" :class="[usetype==3?'navActice':'']" @click="navItem(3)">已过期</span>
|
||||
</div>
|
||||
<ul class="coupon-ul">
|
||||
<template v-for="item in coupondata">
|
||||
<li class="coupon-li" @click="todetails(item.id)">
|
||||
<img class="couponbg" src="__PUBLIC__/vip/images/templateA/coupon1.png" alt="">
|
||||
<div class="coupon-box">
|
||||
<div class="coupon-left">
|
||||
<p class="couponName" :class="[usetype==1?'':'couponColor']">优惠券</p>
|
||||
<img class="coupon-bottom" :src="usetype==1?'__PUBLIC__/vip/images/templateA/coupon-bottom.png':'__PUBLIC__/vip/images/templateA/coupon-bottom2.png'">
|
||||
<p class="fullReduce" :class="[usetype==1?'':'couponColor']">消费满{{item.needmoney}}元立减{{item.reducemoney}}元</p>
|
||||
<p class="stage" :class="[usetype==1?'':'couponColor']">到期时间{{item.endtime}}</p>
|
||||
</div>
|
||||
<img class="coupon-rightImg" src="__PUBLIC__/vip/images/templateA/coupon-right.png" alt="">
|
||||
<div class="coupon-right">
|
||||
<div class="garden">
|
||||
<img :src="usetype==1?'__PUBLIC__/vip/images/templateA/garden1.png':'__PUBLIC__/vip/images/templateA/garden2.png'" alt="">
|
||||
<div class="fullReduce2">
|
||||
<p style="margin-bottom: .08rem">¥{{item.reducemoney}}元</p>
|
||||
<p>满{{item.needmoney}}可用</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</template>
|
||||
<div class="card_more" v-if="allcoupon[usetype-1]['hasmore']==1" @click="loadmore">加载更多</div>
|
||||
<div class="card_more" v-if="allcoupon[usetype-1]['hasmore']!=1">--没有更多了--</div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script type="text/javascript" src="__PUBLIC__/retails/js/vue.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/window-reload.js"></script>
|
||||
<script type="text/javascript">
|
||||
new Vue({
|
||||
el: "#app",
|
||||
data: {
|
||||
usetype: 1,
|
||||
allcoupon: [{
|
||||
usetype: 1,
|
||||
page: 1,
|
||||
limit: 10,
|
||||
data: [],
|
||||
hasmore: 1
|
||||
}, {
|
||||
usetype: 2,
|
||||
page: 1,
|
||||
limit: 10,
|
||||
data: [],
|
||||
hasmore: 1
|
||||
}, {
|
||||
usetype: 3,
|
||||
page: 1,
|
||||
limit: 10,
|
||||
data: [],
|
||||
hasmore: 1
|
||||
}],
|
||||
coupondata: []
|
||||
|
||||
},
|
||||
created: function() {
|
||||
this.getCoupon(1, 1);
|
||||
},
|
||||
methods: {
|
||||
navItem: function(usetype) {
|
||||
this.usetype = usetype;
|
||||
if(this.allcoupon[usetype - 1]['data'].length == 0) {
|
||||
if(this.allcoupon[usetype - 1]['hasmore'] == 1) {
|
||||
this.loadmore();
|
||||
} else {
|
||||
this.coupondata = this.allcoupon[usetype - 1]['data'];
|
||||
}
|
||||
} else {
|
||||
this.coupondata = this.allcoupon[usetype - 1]['data'];
|
||||
}
|
||||
},
|
||||
getCoupon(usetype, page) {
|
||||
var vm = this;
|
||||
$.ajax({
|
||||
url: "{:U('vip/coupon/getcoupondata')}",
|
||||
data: {
|
||||
usetype: usetype,
|
||||
page: page
|
||||
},
|
||||
type: "post",
|
||||
success: function(res) {
|
||||
console.log(res)
|
||||
if(res.status == 1) {
|
||||
vm.allcoupon[usetype - 1]['page'] = res.page;
|
||||
vm.allcoupon[usetype - 1]['data'] = vm.allcoupon[usetype - 1]['data'].concat(res.data);
|
||||
vm.coupondata = vm.allcoupon[usetype - 1]['data'];
|
||||
} else {
|
||||
vm.allcoupon[usetype - 1]['hasmore'] = 2;
|
||||
vm.coupondata = vm.allcoupon[usetype - 1]['data'];
|
||||
}
|
||||
|
||||
},
|
||||
error: function(error) {
|
||||
alert('出错了');
|
||||
}
|
||||
})
|
||||
},
|
||||
loadmore: function() {
|
||||
var usetype = this.usetype;
|
||||
var page = this.allcoupon[usetype - 1]['page'];
|
||||
this.getCoupon(usetype, page);
|
||||
},
|
||||
todetails: function(id) {
|
||||
window.location.href = "{:U('vip/coupon/coupondetail')}?id=" + id;
|
||||
}
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!--[1.8.85]-->
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/vip/css/templateB/card-coupon.css"/>
|
||||
<script type="text/javascript" src="__PUBLIC__/vip/js/templateB/rem.js"></script>
|
||||
<title>优惠券</title>
|
||||
<style type="text/css">
|
||||
[v-cloak] {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app" v-cloak class="wrap">
|
||||
<div class="nav">
|
||||
<div @click="changeUseType(1)" class="nav-inner">
|
||||
<span :class="[useType==1?'cheak':'']">未使用</span>
|
||||
</div>
|
||||
<div @click="changeUseType(2)" class="nav-inner">
|
||||
<span :class="[useType==2?'cheak':'']">已使用</span>
|
||||
</div>
|
||||
<div @click="changeUseType(3)" class="nav-inner">
|
||||
<span :class="[useType==3?'cheak':'']">已过期</span>
|
||||
</div>
|
||||
</div>
|
||||
<!--未使用-->
|
||||
<div>
|
||||
<template v-for="item in couponData">
|
||||
<div class="inner-x" @click="toDetails(item.id)" :class="'usetype'+useType">
|
||||
<div class="innera" v-text="'¥'+item.reducemoney"></div>
|
||||
<div class="innerb" v-text="'满'+item.needmoney+'元可用'"></div>
|
||||
<div class="innerc" v-text="item.coupon_name"></div>
|
||||
<div class="innerd" v-text="'消费满'+item.needmoney+'元立减'+item.reducemoney+'元'"></div>
|
||||
<div class="innere" v-text="'有效期'+item.validity_time"></div>
|
||||
</div>
|
||||
</template>
|
||||
<div class="card_more" v-if="allCoupon[useType-1]['hasMore']==1" @click="loadMore">加载更多</div>
|
||||
<div class="card_more" v-if="allCoupon[useType-1]['hasMore']!=1">--没有更多了--</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script src="__PUBLIC__/vip/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/window-reload.js"></script>
|
||||
<script src="__PUBLIC__/js/tips.js"></script>
|
||||
<script src="__PUBLIC__/vue/js/vue2.5.16.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/coupon.js"></script>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,55 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<!--[1.8.85]-->
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>优惠券</title>
|
||||
<link rel="stylesheet" href="__PUBLIC__/css/css-comment.css">
|
||||
<script src="__PUBLIC__/rem/js/rem.js"></script>
|
||||
<link rel="stylesheet" href="__PUBLIC__/vip/css/templateA/vip.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app" v-cloak>
|
||||
|
||||
<div class="coupon">
|
||||
<div class="couponNav">
|
||||
<span class="navItem" :class="[useType==1?'navActice':'']" @click="changeUseType(1)">未使用</span>
|
||||
<span class="navItem" :class="[useType==2?'navActice':'']" @click="changeUseType(2)">已使用</span>
|
||||
<span class="navItem" :class="[useType==3?'navActice':'']" @click="changeUseType(3)">已过期</span>
|
||||
</div>
|
||||
<ul class="coupon-ul">
|
||||
<template v-for="item in couponData">
|
||||
<li class="coupon-li" @click="toDetails(item.id)">
|
||||
<img class="couponbg" v-show="useType==1" src="__PUBLIC__/vip/images/templateA/coupon1.jpg" alt="">
|
||||
<img class="couponbg" v-show="useType==2" src="__PUBLIC__/vip/images/templateA/coupon2.jpg" alt="">
|
||||
<img class="couponbg" v-show="useType==3" src="__PUBLIC__/vip/images/templateA/coupon3.jpg" alt="">
|
||||
<div class="coupon-box">
|
||||
<div class="coupon-right">
|
||||
<div class="garden">
|
||||
<p>¥<span class="reduce">{{item.reducemoney}}</span></p>
|
||||
<p class="full" v-show="useType==1">满{{item.needmoney}}可用</p>
|
||||
<p class="fullActive" v-show="useType==2 || useType==3">满{{item.needmoney}}可用</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="coupon-left">
|
||||
<p class="stage" :class="[useType==1?'':'couponColor']">有效期{{item.validity_time}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</template>
|
||||
<div class="card_more" v-if="allCoupon[useType-1]['hasMore']==1" @click="loadMore">加载更多</div>
|
||||
<div class="card_more" v-if="allCoupon[useType-1]['hasMore']!=1">--没有更多了--</div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script src="__PUBLIC__/retails/js/vue.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/window-reload.js"></script>
|
||||
<script src="__PUBLIC__/vip/js/coupon.js"></script>
|
||||
|
||||
</html>
|
||||
在新工单中引用
屏蔽一个用户