用户端商户详情未完成
|
@ -83,7 +83,29 @@ button,input,select,textarea {
|
||||||
.font44{ font-size: .44rem;}
|
.font44{ font-size: .44rem;}
|
||||||
.font46{ font-size: .46rem;}
|
.font46{ font-size: .46rem;}
|
||||||
.font48{ font-size: .48rem;}
|
.font48{ font-size: .48rem;}
|
||||||
|
.font50{ font-size: .50rem;}
|
||||||
.font60{ font-size: .60rem;}
|
.font60{ font-size: .60rem;}
|
||||||
|
.font70{ font-size: .70rem;}
|
||||||
|
.font80{ font-size: .80rem;}
|
||||||
|
.font90{ font-size: .90rem;}
|
||||||
|
.font100{ font-size: 1.0rem;}
|
||||||
|
.font110{ font-size: 1.1rem;}
|
||||||
|
|
||||||
|
/* 文字颜色 */
|
||||||
|
.color-ff{ color: #ffffff;}
|
||||||
|
.color-af{ color: #afafaf;}
|
||||||
|
.color-99{ color: #999999;}
|
||||||
|
.color-ae{ color: #aeaeae;}
|
||||||
|
.color-86{ color: #868686;}
|
||||||
|
.color-66{ color: #666666;}
|
||||||
|
.color-00{ color: #000000;}
|
||||||
|
.color-f35{ color: #f35b00;}
|
||||||
|
|
||||||
|
/* 背景颜色 */
|
||||||
|
.background-00{ background-color: #000000;}
|
||||||
|
.background-ff{ background-color: #ffffff;}
|
||||||
|
.background-f35{ background-color: #f35b00;}
|
||||||
|
.background-ae{ background-color: #aeaeae;}
|
||||||
|
|
||||||
/* 文字行数 */
|
/* 文字行数 */
|
||||||
.clips1{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;text-overflow: ellipsis;word-wrap: break-word;word-break:break-all;}
|
.clips1{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;text-overflow: ellipsis;word-wrap: break-word;word-break:break-all;}
|
||||||
|
|
259
css/style.css
|
@ -3,8 +3,6 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 7.5rem;
|
width: 7.5rem;
|
||||||
height: .94rem;
|
height: .94rem;
|
||||||
background-color: #000000;
|
|
||||||
color: #ffffff;
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -35,7 +33,6 @@
|
||||||
height: .96rem;
|
height: .96rem;
|
||||||
box-shadow: 0 0 .4rem rgba(243, 91, 0, .4);
|
box-shadow: 0 0 .4rem rgba(243, 91, 0, .4);
|
||||||
padding: 0 .2rem;
|
padding: 0 .2rem;
|
||||||
background-color: #ffffff;
|
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
|
@ -43,6 +40,7 @@
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.foot {
|
.foot {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -55,13 +53,16 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.foot>.item img {
|
.foot>.item img {
|
||||||
height: .34rem;
|
height: .34rem;
|
||||||
margin-top: .06rem;
|
margin-top: .06rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.foot>.item img:nth-of-type(2) {
|
.foot>.item img:nth-of-type(2) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.foot>.item span {
|
.foot>.item span {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -71,9 +72,11 @@
|
||||||
.foot>.item.active img:nth-of-type(1) {
|
.foot>.item.active img:nth-of-type(1) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.foot>.item.active img:nth-of-type(2) {
|
.foot>.item.active img:nth-of-type(2) {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.foot>.item.active span {
|
.foot>.item.active span {
|
||||||
color: #f35b00;
|
color: #f35b00;
|
||||||
}
|
}
|
||||||
|
@ -110,9 +113,11 @@
|
||||||
padding: .48rem .36rem;
|
padding: .48rem .36rem;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activity {
|
.activity {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activity .envelopes {
|
.activity .envelopes {
|
||||||
width: 2.8rem;
|
width: 2.8rem;
|
||||||
height: 3.66rem;
|
height: 3.66rem;
|
||||||
|
@ -129,7 +134,7 @@
|
||||||
color: #ffebac;
|
color: #ffebac;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activity .envelopes>a {
|
.activity .envelopes>p {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: calc(100% - .52rem);
|
width: calc(100% - .52rem);
|
||||||
|
@ -169,7 +174,6 @@
|
||||||
background-color: #ff353f;
|
background-color: #ff353f;
|
||||||
border: .1rem solid #ffde77;
|
border: .1rem solid #ffde77;
|
||||||
border-radius: .44rem;
|
border-radius: .44rem;
|
||||||
color: #ffffff;
|
|
||||||
text-indent: .04rem;
|
text-indent: .04rem;
|
||||||
letter-spacing: .04rem;
|
letter-spacing: .04rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -177,27 +181,129 @@
|
||||||
top: -0.49rem;
|
top: -0.49rem;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.recommend .item {
|
.recommend .item {
|
||||||
width: calc(33.33% - .16rem);
|
width: calc(33.33% - .16rem);
|
||||||
margin: .25rem .24rem 0 0;
|
margin: .25rem .24rem 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recommend .item:nth-of-type(3n) {
|
.recommend .item:nth-of-type(3n) {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recommend .item>.img {
|
.recommend .item>.img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 1.9rem;
|
height: 1.9rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recommend .item>.img img {
|
.recommend .item>.img img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 1.9rem;
|
min-height: 1.9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recommend .item>.txt {
|
.recommend .item>.txt {
|
||||||
margin: .2rem 0 .1rem;
|
margin: .2rem 0 .1rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 抽奖 */
|
||||||
|
.luck-draw{
|
||||||
|
width: 100%;
|
||||||
|
min-height: calc(100vh - 1.92rem);
|
||||||
|
background-image: url(../images/luck-draw-bg.jpg);
|
||||||
|
background-size: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
.turntable-title{
|
||||||
|
width: 5.25rem;
|
||||||
|
height: 2.17rem;
|
||||||
|
padding: .5rem 0 .45rem;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
.turntable-title>img{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.turntable-bg{
|
||||||
|
width: 6.73rem;
|
||||||
|
height: 7.69rem;
|
||||||
|
margin: 0 auto;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lamp{
|
||||||
|
width: 5.6rem;
|
||||||
|
height: 5.6rem;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: .59rem;
|
||||||
|
z-index: 1;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
animation: lamp-opacity .3s linear alternate infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes lamp-opacity {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.turntable{
|
||||||
|
width: 4.4rem;
|
||||||
|
height: 4.4rem;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 1.2rem;
|
||||||
|
margin-left: -2.2rem;
|
||||||
|
z-index: 9;
|
||||||
|
transition: all 3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pointer{
|
||||||
|
width: 1.92rem;
|
||||||
|
height: 2.06rem;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 2.34rem;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
z-index: 99;
|
||||||
|
}
|
||||||
|
|
||||||
|
.turntable-bg img{
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 结果提示 */
|
||||||
|
.result-tips{
|
||||||
|
display: none;
|
||||||
|
width: 5.4rem;
|
||||||
|
padding: .5rem;
|
||||||
|
position: fixed;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
transform: translate(-50%,-50%);
|
||||||
|
z-index: 999;
|
||||||
|
}
|
||||||
|
.result-tips.show{
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.tips-msg{
|
||||||
|
text-align: center;
|
||||||
|
padding: .46rem 0;
|
||||||
|
}
|
||||||
|
.tips-btn{
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
width: 3.64rem;
|
||||||
|
height: .98rem;
|
||||||
|
margin: .1rem auto 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* 商户展示 */
|
/* 商户展示 */
|
||||||
.search {
|
.search {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
@ -213,9 +319,11 @@
|
||||||
width: calc(100% - .6rem);
|
width: calc(100% - .6rem);
|
||||||
line-height: .8rem;
|
line-height: .8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-input::-webkit-input-placeholder {
|
.search-input::-webkit-input-placeholder {
|
||||||
color: #868686;
|
color: #868686;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search img {
|
.search img {
|
||||||
width: .4rem;
|
width: .4rem;
|
||||||
height: .4rem;
|
height: .4rem;
|
||||||
|
@ -225,17 +333,20 @@
|
||||||
.business-list {
|
.business-list {
|
||||||
padding: 0 .25rem .3rem;
|
padding: 0 .25rem .3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.business-list .item {
|
.business-list .item {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
border: .04rem solid #ffb285;
|
border: .04rem solid #ffb285;
|
||||||
padding: .18rem;
|
padding: .18rem;
|
||||||
margin-top: .3rem;
|
margin-top: .3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.business-list .item .img {
|
.business-list .item .img {
|
||||||
width: 1.9rem;
|
width: 1.9rem;
|
||||||
height: 1.9rem;
|
height: 1.9rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.business-list .item .img img {
|
.business-list .item .img img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 1.9rem;
|
min-height: 1.9rem;
|
||||||
|
@ -244,13 +355,13 @@
|
||||||
.business-list .item .txt {
|
.business-list .item .txt {
|
||||||
width: calc(100% - 2.15rem);
|
width: calc(100% - 2.15rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
.business-list .item .txt>a {
|
.business-list .item .txt>a {
|
||||||
display: block;
|
display: block;
|
||||||
height: 1.4rem;
|
height: 1.4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.business-list .item .txt p {
|
.business-list .item .txt p {
|
||||||
color: #868686;
|
|
||||||
margin-top: .1rem;
|
margin-top: .1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -259,8 +370,6 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 1.9rem;
|
width: 1.9rem;
|
||||||
height: .5rem;
|
height: .5rem;
|
||||||
background-color: #f35b00;
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -272,22 +381,26 @@
|
||||||
background-image: url(../images/my-bg.jpg);
|
background-image: url(../images/my-bg.jpg);
|
||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-info {
|
.my-info {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: #ffffff;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-info .cover {
|
.my-info .cover {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 1.9rem;
|
width: 1.9rem;
|
||||||
height: 1.9rem;
|
height: 1.9rem;
|
||||||
background-color: #ffffff;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-info .cover img {
|
.my-info .cover img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-info .nick-name {
|
.my-info .nick-name {
|
||||||
margin: .12rem 0;
|
margin: .12rem 0;
|
||||||
}
|
}
|
||||||
|
@ -297,6 +410,7 @@
|
||||||
padding: 0 .5rem .3rem;
|
padding: 0 .5rem .3rem;
|
||||||
margin-top: .12rem;
|
margin-top: .12rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-content .item {
|
.my-content .item {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -304,13 +418,16 @@
|
||||||
height: .92rem;
|
height: .92rem;
|
||||||
border-bottom: .02rem solid #d6d6d6;
|
border-bottom: .02rem solid #d6d6d6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-content .item>span {
|
.my-content .item>span {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: .6rem;
|
width: .6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-content .item>p {
|
.my-content .item>p {
|
||||||
width: calc(100% - .74rem);
|
width: calc(100% - .74rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-content .item>img {
|
.my-content .item>img {
|
||||||
width: .14rem;
|
width: .14rem;
|
||||||
}
|
}
|
||||||
|
@ -319,27 +436,139 @@
|
||||||
.bind-content {
|
.bind-content {
|
||||||
padding: 0 .4rem;
|
padding: 0 .4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bind-phone-title {
|
.bind-phone-title {
|
||||||
margin: .7rem 0;
|
margin: .7rem 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.bind-content .sub-title{
|
|
||||||
color: #868686;
|
|
||||||
}
|
|
||||||
.phone-input {
|
.phone-input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: .76rem;
|
height: .76rem;
|
||||||
border-bottom: .02rem solid #d6d6d6;
|
border-bottom: .02rem solid #d6d6d6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.phone-input::-webkit-input-placeholder {
|
.phone-input::-webkit-input-placeholder {
|
||||||
color: #000000;
|
color: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bind-btn {
|
.bind-btn {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 5.6rem;
|
width: 5.6rem;
|
||||||
height: .96rem;
|
height: .96rem;
|
||||||
background-color: #f35b00;
|
|
||||||
color: #ffffff;
|
|
||||||
margin: .7rem auto 0;
|
margin: .7rem auto 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 待使用/已核销卡券 */
|
||||||
|
.card-list {
|
||||||
|
padding: 0 .2rem .3rem;
|
||||||
|
margin-top: .15rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-list .item {
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
width: 100%;
|
||||||
|
padding: .3rem .35rem .3rem .25rem;
|
||||||
|
margin-top: .35rem;
|
||||||
|
box-shadow: 0 0 .16rem rgba(243, 91, 0, .17);
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-list .item>.info {
|
||||||
|
width: calc(100% - 1.12rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-list .item>.info .price {
|
||||||
|
margin-right: .3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-list .item>.info .price span {
|
||||||
|
display: inline-block;
|
||||||
|
width: .4rem;
|
||||||
|
height: .4rem;
|
||||||
|
text-align: center;
|
||||||
|
line-height: .4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-list .item>.info .txt>span {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-list .item>.info .txt>p {
|
||||||
|
margin-top: .1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-list .item>.info .used-txt>span {
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-list .item>.info .used-txt>p {
|
||||||
|
margin-top: .03rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-list .item>.line {
|
||||||
|
width: .02rem;
|
||||||
|
height: 1.64rem;
|
||||||
|
margin-right: .3rem;
|
||||||
|
background-color: #dedede;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-btn {
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
width: .8rem;
|
||||||
|
height: 1.64rem;
|
||||||
|
padding: 0 .25rem;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 核销 */
|
||||||
|
.pull-bg {
|
||||||
|
display: none;
|
||||||
|
width: 7.5rem;
|
||||||
|
height: 100%;
|
||||||
|
background-color: rgba(0, 0, 0, .3);
|
||||||
|
position: fixed;
|
||||||
|
left: 50%;
|
||||||
|
top: 0;
|
||||||
|
z-index: 666;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
}
|
||||||
|
.pull-bg.show{
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-window {
|
||||||
|
display: none;
|
||||||
|
width: 6.5rem;
|
||||||
|
padding: .48rem .48rem .6rem;
|
||||||
|
position: fixed;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
z-index: 999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-window.show{
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.window-title {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-code {
|
||||||
|
width: 2.8rem;
|
||||||
|
margin: .48rem auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-code>img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.code-btn{
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: .98rem;
|
||||||
|
}
|
||||||
|
|
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 25 KiB |
BIN
images/logo.png
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 255 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 94 KiB |
71
js/script.js
|
@ -0,0 +1,71 @@
|
||||||
|
jQuery(function($){
|
||||||
|
// 轮播
|
||||||
|
if($('.banner-swiper').length){
|
||||||
|
var bannerSwiper = new Swiper('.banner-swiper', {
|
||||||
|
loop:true,//开启循环播放
|
||||||
|
autoplay: {//开启自动播放
|
||||||
|
delay:3000,
|
||||||
|
disableOnInteraction: false,//触摸后不会停止自动滚动
|
||||||
|
pauseOnMouseEnter: true,//鼠标置于swiper时暂停自动切换,鼠标离开时恢复自动切换。
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 抽奖
|
||||||
|
var turntableFlag = true;
|
||||||
|
if($('.pointer').length){
|
||||||
|
// 开始抽奖
|
||||||
|
$('.pointer').click(function(){
|
||||||
|
if(turntableFlag){
|
||||||
|
turntableFlag = false;
|
||||||
|
var ran = Math.ceil(Math.random()*100); //外层100以内的随机整数
|
||||||
|
if(ran<=55){ //通过概率判断选取数字
|
||||||
|
var needNum= 360*4-120; //选取需求数字
|
||||||
|
}else if(55<ran<=75){
|
||||||
|
var needNum= 360*4-60; //选取需求数字
|
||||||
|
}else if(75<ran<=85){
|
||||||
|
var needNum= 360*4-180; //选取需求数字
|
||||||
|
}else if(85<ran<=93){
|
||||||
|
var needNum= 360*4-240; //选取需求数字
|
||||||
|
}else if(93<ran<=98){
|
||||||
|
var needNum= 360*4-300; //选取需求数字
|
||||||
|
}else if(98<ran<=100){
|
||||||
|
var needNum= 360*4 //选取需求数字
|
||||||
|
}
|
||||||
|
$('.turntable').css({transform: 'rotate('+needNum+'deg)'});
|
||||||
|
}
|
||||||
|
setTimeout(function(){
|
||||||
|
$('.pull-bg').addClass('show');
|
||||||
|
$('.result-tips').addClass('show');
|
||||||
|
},3000)
|
||||||
|
});
|
||||||
|
// 关闭弹窗
|
||||||
|
$('.tips-btn').click(function(){
|
||||||
|
// 刷新当前页面
|
||||||
|
location.reload(true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// 立即导航
|
||||||
|
if($('.navigation-btn').length){
|
||||||
|
// 打开弹窗
|
||||||
|
$('.navigation-btn').click(function(){
|
||||||
|
// 高德地图
|
||||||
|
window.open('http://uri.amap.com/marker?position=104.098515,30.763954&name=万圣家园B区&coordinate=gaode&callnative=1')
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// 使用卡券
|
||||||
|
if($('.card-btn').length){
|
||||||
|
// 打开弹窗
|
||||||
|
$('.card-btn').click(function(){
|
||||||
|
$('.pull-bg').addClass('show');
|
||||||
|
$('.card-window').addClass('show');
|
||||||
|
});
|
||||||
|
// 关闭弹窗
|
||||||
|
$('.pull-bg').click(function(){
|
||||||
|
$(this).removeClass('show');
|
||||||
|
$('.card-window').removeClass('show');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
})
|
|
@ -9,16 +9,14 @@
|
||||||
<!-- css加载 -->
|
<!-- css加载 -->
|
||||||
<link rel="stylesheet" href="../css/common.css">
|
<link rel="stylesheet" href="../css/common.css">
|
||||||
<link rel="stylesheet" href="../css/style.css">
|
<link rel="stylesheet" href="../css/style.css">
|
||||||
<link rel="stylesheet" href="../css/swiper-bundle.min.css">
|
|
||||||
<!-- js加载 -->
|
<!-- js加载 -->
|
||||||
<script src="../js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/script.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/script.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/swiper-bundle.min.js" type="text/javascript" charset="utf-8"></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- 头部 -->
|
<!-- 头部 -->
|
||||||
<div class="header flex">
|
<div class="header background-00 color-ff flex">
|
||||||
<div class="header-back flex">
|
<div class="header-back flex">
|
||||||
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
||||||
</div>
|
</div>
|
||||||
|
@ -30,11 +28,11 @@
|
||||||
<div class="bind-phone-title font36">手机号绑定</div>
|
<div class="bind-phone-title font36">手机号绑定</div>
|
||||||
<!-- 手机号 -->
|
<!-- 手机号 -->
|
||||||
<div class="phone">
|
<div class="phone">
|
||||||
<div class="sub-title font30">手机号</div>
|
<div class="sub-title color-99 font30">手机号</div>
|
||||||
<input class="phone-input font30" type="number" placeholder="请输入手机号">
|
<input class="phone-input font30" type="number" placeholder="请输入手机号">
|
||||||
</div>
|
</div>
|
||||||
<!-- 提交 -->
|
<!-- 提交 -->
|
||||||
<div class="bind-btn radius25 font36 flex">立即绑定</div>
|
<div class="bind-btn radius25 background-f35 color-ff font36 flex">立即绑定</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -10,16 +10,14 @@
|
||||||
<!-- css加载 -->
|
<!-- css加载 -->
|
||||||
<link rel="stylesheet" href="../css/common.css">
|
<link rel="stylesheet" href="../css/common.css">
|
||||||
<link rel="stylesheet" href="../css/style.css">
|
<link rel="stylesheet" href="../css/style.css">
|
||||||
<link rel="stylesheet" href="../css/swiper-bundle.min.css">
|
|
||||||
<!-- js加载 -->
|
<!-- js加载 -->
|
||||||
<script src="../js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/script.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/script.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/swiper-bundle.min.js" type="text/javascript" charset="utf-8"></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- 头部 -->
|
<!-- 头部 -->
|
||||||
<div class="header flex">
|
<div class="header background-00 color-ff flex">
|
||||||
<div class="header-back flex">
|
<div class="header-back flex">
|
||||||
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
||||||
</div>
|
</div>
|
||||||
|
@ -39,9 +37,9 @@
|
||||||
<div class="txt">
|
<div class="txt">
|
||||||
<a href="detail.html">
|
<a href="detail.html">
|
||||||
<h2 class="font30 clips1">华阳周大福珠宝店</h2>
|
<h2 class="font30 clips1">华阳周大福珠宝店</h2>
|
||||||
<p class="font24 clips2">四川省成都市天府新区华阳镇</p>
|
<p class="font24 color-86 clips2">四川省成都市天府新区华阳镇</p>
|
||||||
</a>
|
</a>
|
||||||
<div class="navigation-btn font24 radius25 flex">立即导航</div>
|
<div class="navigation-btn font24 color-ff background-f35 radius25 flex">立即导航</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item radius50 border-box flex">
|
<div class="item radius50 border-box flex">
|
||||||
|
@ -51,9 +49,9 @@
|
||||||
<div class="txt">
|
<div class="txt">
|
||||||
<a href="detail.html">
|
<a href="detail.html">
|
||||||
<h2 class="font30 clips1">华阳周大福珠宝店</h2>
|
<h2 class="font30 clips1">华阳周大福珠宝店</h2>
|
||||||
<p class="font24 clips2">四川省成都市天府新区华阳镇和香一街 36号</p>
|
<p class="font24 color-86 clips2">四川省成都市天府新区华阳镇</p>
|
||||||
</a>
|
</a>
|
||||||
<div class="navigation-btn font24 radius25 flex">立即导航</div>
|
<div class="navigation-btn font24 color-ff background-f35 radius25 flex">立即导航</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item radius50 border-box flex">
|
<div class="item radius50 border-box flex">
|
||||||
|
@ -63,9 +61,9 @@
|
||||||
<div class="txt">
|
<div class="txt">
|
||||||
<a href="detail.html">
|
<a href="detail.html">
|
||||||
<h2 class="font30 clips1">华阳周大福珠宝店</h2>
|
<h2 class="font30 clips1">华阳周大福珠宝店</h2>
|
||||||
<p class="font24 clips2">四川省成都市天府新区华阳镇</p>
|
<p class="font24 color-86 clips2">四川省成都市天府新区华阳镇</p>
|
||||||
</a>
|
</a>
|
||||||
<div class="navigation-btn font24 radius25 flex">立即导航</div>
|
<div class="navigation-btn font24 color-ff background-f35 radius25 flex">立即导航</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item radius50 border-box flex">
|
<div class="item radius50 border-box flex">
|
||||||
|
@ -75,9 +73,9 @@
|
||||||
<div class="txt">
|
<div class="txt">
|
||||||
<a href="detail.html">
|
<a href="detail.html">
|
||||||
<h2 class="font30 clips1">华阳周大福珠宝店</h2>
|
<h2 class="font30 clips1">华阳周大福珠宝店</h2>
|
||||||
<p class="font24 clips2">四川省成都市天府新区华阳镇和香一街 36号</p>
|
<p class="font24 color-86 clips2">四川省成都市天府新区华阳镇</p>
|
||||||
</a>
|
</a>
|
||||||
<div class="navigation-btn font24 radius25 flex">立即导航</div>
|
<div class="navigation-btn font24 color-ff background-f35 radius25 flex">立即导航</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item radius50 border-box flex">
|
<div class="item radius50 border-box flex">
|
||||||
|
@ -87,14 +85,26 @@
|
||||||
<div class="txt">
|
<div class="txt">
|
||||||
<a href="detail.html">
|
<a href="detail.html">
|
||||||
<h2 class="font30 clips1">华阳周大福珠宝店</h2>
|
<h2 class="font30 clips1">华阳周大福珠宝店</h2>
|
||||||
<p class="font24 clips2">四川省成都市天府新区华阳镇</p>
|
<p class="font24 color-86 clips2">四川省成都市天府新区华阳镇</p>
|
||||||
</a>
|
</a>
|
||||||
<div class="navigation-btn font24 radius25 flex">立即导航</div>
|
<div class="navigation-btn font24 color-ff background-f35 radius25 flex">立即导航</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="item radius50 border-box flex">
|
||||||
|
<div class="img radius40">
|
||||||
|
<a href="detail.html"><img src="../images/recommend.jpg" alt="华阳周大福珠宝店"></a>
|
||||||
|
</div>
|
||||||
|
<div class="txt">
|
||||||
|
<a href="detail.html">
|
||||||
|
<h2 class="font30 clips1">华阳周大福珠宝店</h2>
|
||||||
|
<p class="font24 color-86 clips2">四川省成都市天府新区华阳镇</p>
|
||||||
|
</a>
|
||||||
|
<div class="navigation-btn font24 color-ff background-f35 radius25 flex">立即导航</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 尾部 -->
|
<!-- 尾部 -->
|
||||||
<div class="footer border-box">
|
<div class="footer background-ff border-box">
|
||||||
<div class="foot flex">
|
<div class="foot flex">
|
||||||
<a href="index.html" class="item flex">
|
<a href="index.html" class="item flex">
|
||||||
<img src="../images/icon/icon-tabbar-01.png" alt="首页">
|
<img src="../images/icon/icon-tabbar-01.png" alt="首页">
|
||||||
|
|
|
@ -9,25 +9,22 @@
|
||||||
<!-- css加载 -->
|
<!-- css加载 -->
|
||||||
<link rel="stylesheet" href="../css/common.css">
|
<link rel="stylesheet" href="../css/common.css">
|
||||||
<link rel="stylesheet" href="../css/style.css">
|
<link rel="stylesheet" href="../css/style.css">
|
||||||
<link rel="stylesheet" href="../css/swiper-bundle.min.css">
|
|
||||||
<!-- js加载 -->
|
<!-- js加载 -->
|
||||||
<script src="../js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/script.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/script.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/swiper-bundle.min.js" type="text/javascript" charset="utf-8"></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- 头部 -->
|
<!-- 头部 -->
|
||||||
<div class="header flex">
|
<div class="header background-00 color-ff flex">
|
||||||
<div class="header-back flex">
|
<div class="header-back flex">
|
||||||
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="header-title font38">商家详情</div>
|
<div class="header-title font38">商家详情</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!-- 尾部 -->
|
<!-- 尾部 -->
|
||||||
<div class="footer border-box">
|
<div class="footer background-ff border-box">
|
||||||
<div class="foot flex">
|
<div class="foot flex">
|
||||||
<a href="index.html" class="item flex">
|
<a href="index.html" class="item flex">
|
||||||
<img src="../images/icon/icon-tabbar-01.png" alt="首页">
|
<img src="../images/icon/icon-tabbar-01.png" alt="首页">
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- 头部 -->
|
<!-- 头部 -->
|
||||||
<div class="header flex">
|
<div class="header background-00 color-ff flex">
|
||||||
<div class="header-back flex">
|
<div class="header-back flex">
|
||||||
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
||||||
</div>
|
</div>
|
||||||
|
@ -40,29 +40,19 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
|
||||||
var bannerSwiper = new Swiper('.banner-swiper', {
|
|
||||||
loop:true,//开启循环播放
|
|
||||||
autoplay: {//开启自动播放
|
|
||||||
delay:3000,
|
|
||||||
disableOnInteraction: false,//触摸后不会停止自动滚动
|
|
||||||
pauseOnMouseEnter: true,//鼠标置于swiper时暂停自动切换,鼠标离开时恢复自动切换。
|
|
||||||
}
|
|
||||||
})
|
|
||||||
</script>
|
|
||||||
<!-- 内容区 -->
|
<!-- 内容区 -->
|
||||||
<div class="index-content border-box">
|
<div class="index-content border-box">
|
||||||
<!-- 活动 -->
|
<!-- 活动 -->
|
||||||
<div class="section radius50 border-box">
|
<div class="section radius50 border-box">
|
||||||
<div class="section-box activity radius40 border-box flex">
|
<div class="section-box activity radius40 border-box flex">
|
||||||
<div class="envelopes">
|
<a href="luck-draw.html" class="envelopes">
|
||||||
<span>17:00</span>
|
<span>17:00</span>
|
||||||
<a href="luck-draw.html" class="font26 radius20 flex">立即开抢</a>
|
<p class="font26 radius20 flex">立即开抢</p>
|
||||||
</div>
|
</a>
|
||||||
<div class="envelopes">
|
<a href="luck-draw.html" class="envelopes">
|
||||||
<span>18:00</span>
|
<span>18:00</span>
|
||||||
<a href="luck-draw.html" class="font26 radius20 flex">立即开抢</a>
|
<p class="font26 radius20 flex">立即开抢</p>
|
||||||
</div>
|
</a>
|
||||||
<div class="txt font30">
|
<div class="txt font30">
|
||||||
<p><strong>活动时间:</strong>2022年8月31日-2022年9月1日</p>
|
<p><strong>活动时间:</strong>2022年8月31日-2022年9月1日</p>
|
||||||
<p><strong>主办方:</strong>四川天府新区万安街道办事处</p>
|
<p><strong>主办方:</strong>四川天府新区万安街道办事处</p>
|
||||||
|
@ -74,7 +64,7 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- 商家推荐 -->
|
<!-- 商家推荐 -->
|
||||||
<div class="section radius50 border-box" style="margin-top: .76rem;">
|
<div class="section radius50 border-box" style="margin-top: .76rem;">
|
||||||
<div class="recommend-title font38 border-box flex">商家推荐</div>
|
<div class="recommend-title font38 color-ff border-box flex">商家推荐</div>
|
||||||
<div class="section-box recommend radius40 border-box flex">
|
<div class="section-box recommend radius40 border-box flex">
|
||||||
<a class="item" href="detail.html">
|
<a class="item" href="detail.html">
|
||||||
<div class="img radius25">
|
<div class="img radius25">
|
||||||
|
@ -116,7 +106,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 尾部 -->
|
<!-- 尾部 -->
|
||||||
<div class="footer border-box">
|
<div class="footer background-ff border-box">
|
||||||
<div class="foot flex">
|
<div class="foot flex">
|
||||||
<a href="index.html" class="item flex active">
|
<a href="index.html" class="item flex active">
|
||||||
<img src="../images/icon/icon-tabbar-01.png" alt="首页">
|
<img src="../images/icon/icon-tabbar-01.png" alt="首页">
|
||||||
|
|
|
@ -9,25 +9,40 @@
|
||||||
<!-- css加载 -->
|
<!-- css加载 -->
|
||||||
<link rel="stylesheet" href="../css/common.css">
|
<link rel="stylesheet" href="../css/common.css">
|
||||||
<link rel="stylesheet" href="../css/style.css">
|
<link rel="stylesheet" href="../css/style.css">
|
||||||
<link rel="stylesheet" href="../css/swiper-bundle.min.css">
|
|
||||||
<!-- js加载 -->
|
<!-- js加载 -->
|
||||||
<script src="../js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/script.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/script.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/swiper-bundle.min.js" type="text/javascript" charset="utf-8"></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- 头部 -->
|
<!-- 头部 -->
|
||||||
<div class="header flex">
|
<div class="header background-00 color-ff flex">
|
||||||
<div class="header-back flex">
|
<div class="header-back flex">
|
||||||
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="header-title font38">抽奖</div>
|
<div class="header-title font38">抽奖</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 内容 -->
|
||||||
|
<div class="luck-draw">
|
||||||
|
<div class="turntable-title">
|
||||||
|
<img src="../images/turntable-title.png" alt="标题">
|
||||||
|
</div>
|
||||||
|
<div class="turntable-bg">
|
||||||
|
<img src="../images/turntable-bg.png" alt="转盘背景">
|
||||||
|
<div class="lamp"><img src="../images/lamp.png" alt="闪灯"></div>
|
||||||
|
<div class="turntable radius100"><img src="../images/turntable.png" alt="转盘"></div>
|
||||||
|
<div class="pointer"><img src="../images/pointer.png" alt="指针"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 弹窗背景 -->
|
||||||
|
<div class="pull-bg"></div>
|
||||||
|
<!-- 结果提示 -->
|
||||||
|
<div class="result-tips background-ff radius20 border-box">
|
||||||
|
<div class="tips-msg font36">恭喜您抽中了30元消费券<!-- 感谢参与 --></div>
|
||||||
|
<div class="tips-btn font36 color-ff radius30 background-f35 flex">收入卡包<!-- 关闭 --></div>
|
||||||
|
</div>
|
||||||
<!-- 尾部 -->
|
<!-- 尾部 -->
|
||||||
<div class="footer border-box">
|
<div class="footer background-ff border-box">
|
||||||
<div class="foot flex">
|
<div class="foot flex">
|
||||||
<a href="index.html" class="item flex">
|
<a href="index.html" class="item flex">
|
||||||
<img src="../images/icon/icon-tabbar-01.png" alt="首页">
|
<img src="../images/icon/icon-tabbar-01.png" alt="首页">
|
||||||
|
|
10
user/my.html
|
@ -9,16 +9,14 @@
|
||||||
<!-- css加载 -->
|
<!-- css加载 -->
|
||||||
<link rel="stylesheet" href="../css/common.css">
|
<link rel="stylesheet" href="../css/common.css">
|
||||||
<link rel="stylesheet" href="../css/style.css">
|
<link rel="stylesheet" href="../css/style.css">
|
||||||
<link rel="stylesheet" href="../css/swiper-bundle.min.css">
|
|
||||||
<!-- js加载 -->
|
<!-- js加载 -->
|
||||||
<script src="../js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/script.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/script.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/swiper-bundle.min.js" type="text/javascript" charset="utf-8"></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- 头部 -->
|
<!-- 头部 -->
|
||||||
<div class="header flex">
|
<div class="header background-00 color-ff flex">
|
||||||
<div class="header-back flex">
|
<div class="header-back flex">
|
||||||
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
||||||
</div>
|
</div>
|
||||||
|
@ -26,8 +24,8 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- 个人中心简介 -->
|
<!-- 个人中心简介 -->
|
||||||
<div class="my-info-bg flex">
|
<div class="my-info-bg flex">
|
||||||
<div class="my-info">
|
<div class="my-info color-ff">
|
||||||
<div class="cover radius100 flex"><img src="../images/logo.png" alt="头像"></div>
|
<div class="cover radius100 background-ff flex"><img src="../images/logo.png" alt="头像"></div>
|
||||||
<div class="nick-name font30">CREEP</div>
|
<div class="nick-name font30">CREEP</div>
|
||||||
<div class="bind-phone font24">绑定手机:13438123836</div>
|
<div class="bind-phone font24">绑定手机:13438123836</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -58,7 +56,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 尾部 -->
|
<!-- 尾部 -->
|
||||||
<div class="footer border-box">
|
<div class="footer background-ff border-box">
|
||||||
<div class="foot flex">
|
<div class="foot flex">
|
||||||
<a href="index.html" class="item flex">
|
<a href="index.html" class="item flex">
|
||||||
<img src="../images/icon/icon-tabbar-01.png" alt="首页">
|
<img src="../images/icon/icon-tabbar-01.png" alt="首页">
|
||||||
|
|
|
@ -9,16 +9,14 @@
|
||||||
<!-- css加载 -->
|
<!-- css加载 -->
|
||||||
<link rel="stylesheet" href="../css/common.css">
|
<link rel="stylesheet" href="../css/common.css">
|
||||||
<link rel="stylesheet" href="../css/style.css">
|
<link rel="stylesheet" href="../css/style.css">
|
||||||
<link rel="stylesheet" href="../css/swiper-bundle.min.css">
|
|
||||||
<!-- js加载 -->
|
<!-- js加载 -->
|
||||||
<script src="../js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/script.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/script.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/swiper-bundle.min.js" type="text/javascript" charset="utf-8"></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- 头部 -->
|
<!-- 头部 -->
|
||||||
<div class="header flex">
|
<div class="header background-00 color-ff flex">
|
||||||
<div class="header-back flex">
|
<div class="header-back flex">
|
||||||
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
||||||
</div>
|
</div>
|
||||||
|
@ -26,13 +24,69 @@
|
||||||
</div>
|
</div>
|
||||||
<!-- 待使用卡券 -->
|
<!-- 待使用卡券 -->
|
||||||
<div class="card-list border-box">
|
<div class="card-list border-box">
|
||||||
<div class="item flex">
|
<div class="item radius30 border-box flex">
|
||||||
|
<div class="info flex">
|
||||||
|
<div class="price color-f35 font110">100<span class="background-f35 radius100 font24 color-ff">元</span></div>
|
||||||
|
<div class="txt">
|
||||||
|
<span class="font48">消费券</span>
|
||||||
|
<p class="font24 color-af">有效期至:2021.03.02</p>
|
||||||
|
<p class="font24 color-af">券码后6位:asdfgh</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="card-btn background-f35 radius10 font24 color-ff border-box flex">立即使用</div>
|
||||||
|
</div>
|
||||||
|
<div class="item radius30 border-box flex">
|
||||||
|
<div class="info flex">
|
||||||
|
<div class="price color-f35 font110">100<span class="background-f35 radius100 font24 color-ff">元</span></div>
|
||||||
|
<div class="txt">
|
||||||
|
<span class="font48">消费券</span>
|
||||||
|
<p class="font24 color-af">有效期至:2021.03.02</p>
|
||||||
|
<p class="font24 color-af">券码后6位:asdfgh</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="card-btn background-f35 radius10 font24 color-ff border-box flex">立即使用</div>
|
||||||
|
</div>
|
||||||
|
<div class="item radius30 border-box flex">
|
||||||
|
<div class="info flex">
|
||||||
|
<div class="price color-f35 font110">100<span class="background-f35 radius100 font24 color-ff">元</span></div>
|
||||||
|
<div class="txt">
|
||||||
|
<span class="font48">消费券</span>
|
||||||
|
<p class="font24 color-af">有效期至:2021.03.02</p>
|
||||||
|
<p class="font24 color-af">券码后6位:asdfgh</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="card-btn background-f35 radius10 font24 color-ff border-box flex">立即使用</div>
|
||||||
|
</div>
|
||||||
|
<div class="item radius30 border-box flex">
|
||||||
|
<div class="info flex">
|
||||||
|
<div class="price color-f35 font110">100<span class="background-f35 radius100 font24 color-ff">元</span></div>
|
||||||
|
<div class="txt">
|
||||||
|
<span class="font48">消费券</span>
|
||||||
|
<p class="font24 color-af">有效期至:2021.03.02</p>
|
||||||
|
<p class="font24 color-af">券码后6位:asdfgh</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="card-btn background-f35 radius10 font24 color-ff border-box flex">立即使用</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- 弹窗背景 -->
|
||||||
|
<div class="pull-bg"></div>
|
||||||
|
<!-- 核销二维码 -->
|
||||||
|
<div class="card-window radius20 background-ff border-box">
|
||||||
|
<div class="window-title font30">扫码使用</div>
|
||||||
|
<div class="card-code">
|
||||||
|
<img src="../images/code.png" alt="二维码">
|
||||||
|
</div>
|
||||||
|
<div class="code-btn radius30 background-f35 color-ff font36 flex">确认</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- 尾部 -->
|
<!-- 尾部 -->
|
||||||
<div class="footer border-box">
|
<div class="footer background-ff border-box">
|
||||||
<div class="foot flex">
|
<div class="foot flex">
|
||||||
<a href="index.html" class="item flex">
|
<a href="index.html" class="item flex">
|
||||||
<img src="../images/icon/icon-tabbar-01.png" alt="首页">
|
<img src="../images/icon/icon-tabbar-01.png" alt="首页">
|
||||||
|
|
|
@ -3,30 +3,83 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||||
<title>已使用卡券</title>
|
<title>待使用卡券</title>
|
||||||
<meta name="keywords" content="" />
|
<meta name="keywords" content="" />
|
||||||
<meta name="description" content="" />
|
<meta name="description" content="" />
|
||||||
<!-- css加载 -->
|
<!-- css加载 -->
|
||||||
<link rel="stylesheet" href="../css/common.css">
|
<link rel="stylesheet" href="../css/common.css">
|
||||||
<link rel="stylesheet" href="../css/style.css">
|
<link rel="stylesheet" href="../css/style.css">
|
||||||
<link rel="stylesheet" href="../css/swiper-bundle.min.css">
|
|
||||||
<!-- js加载 -->
|
<!-- js加载 -->
|
||||||
<script src="../js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/jquery-3.6.1.min.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/base.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/script.js" type="text/javascript" charset="utf-8"></script>
|
<script src="../js/script.js" type="text/javascript" charset="utf-8"></script>
|
||||||
<script src="../js/swiper-bundle.min.js" type="text/javascript" charset="utf-8"></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- 头部 -->
|
<!-- 头部 -->
|
||||||
<div class="header flex">
|
<div class="header background-00 color-ff flex">
|
||||||
<div class="header-back flex">
|
<div class="header-back flex">
|
||||||
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
<!-- <img src="../images/icon/icon-back.png" alt="返回" onclick="window.history.go(-1)"> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="header-title font38">已使用卡券</div>
|
<div class="header-title font38">待使用卡券</div>
|
||||||
|
</div>
|
||||||
|
<!-- 待使用卡券 -->
|
||||||
|
<div class="card-list border-box">
|
||||||
|
<div class="item radius30 border-box flex">
|
||||||
|
<div class="info flex">
|
||||||
|
<div class="price color-ae font110">100<span class="background-ae radius100 font24 color-ff">元</span></div>
|
||||||
|
<div class="txt used-txt">
|
||||||
|
<span class="font48">消费券</span>
|
||||||
|
<p class="font24 color-af">有效期至:2021.03.02</p>
|
||||||
|
<p class="font24 color-af clips1">使用商家:掌中宝串串</p>
|
||||||
|
<p class="font24 color-af">券码后6位:asdfgh</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="card-btn background-ae radius10 font24 color-ff border-box flex">已使用</div>
|
||||||
|
</div>
|
||||||
|
<div class="item radius30 border-box flex">
|
||||||
|
<div class="info flex">
|
||||||
|
<div class="price color-ae font110">100<span class="background-ae radius100 font24 color-ff">元</span></div>
|
||||||
|
<div class="txt used-txt">
|
||||||
|
<span class="font48">消费券</span>
|
||||||
|
<p class="font24 color-af">有效期至:2021.03.02</p>
|
||||||
|
<p class="font24 color-af clips1">使用商家:无</p>
|
||||||
|
<p class="font24 color-af">券码后6位:asdfgh</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="card-btn background-ae radius10 font24 color-ff border-box flex">已过期</div>
|
||||||
|
</div>
|
||||||
|
<div class="item radius30 border-box flex">
|
||||||
|
<div class="info flex">
|
||||||
|
<div class="price color-ae font110">100<span class="background-ae radius100 font24 color-ff">元</span></div>
|
||||||
|
<div class="txt used-txt">
|
||||||
|
<span class="font48">消费券</span>
|
||||||
|
<p class="font24 color-af">有效期至:2021.03.02</p>
|
||||||
|
<p class="font24 color-af clips1">使用商家:掌中宝串串</p>
|
||||||
|
<p class="font24 color-af">券码后6位:asdfgh</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="card-btn background-ae radius10 font24 color-ff border-box flex">已使用</div>
|
||||||
|
</div>
|
||||||
|
<div class="item radius30 border-box flex">
|
||||||
|
<div class="info flex">
|
||||||
|
<div class="price color-ae font110">100<span class="background-ae radius100 font24 color-ff">元</span></div>
|
||||||
|
<div class="txt used-txt">
|
||||||
|
<span class="font48">消费券</span>
|
||||||
|
<p class="font24 color-af">有效期至:2021.03.02</p>
|
||||||
|
<p class="font24 color-af clips1">使用商家:掌中宝串串</p>
|
||||||
|
<p class="font24 color-af">券码后6位:asdfgh</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="line"></div>
|
||||||
|
<div class="card-btn background-ae radius10 font24 color-ff border-box flex">已过期</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 尾部 -->
|
<!-- 尾部 -->
|
||||||
<div class="footer border-box">
|
<div class="footer background-ff border-box">
|
||||||
<div class="foot flex">
|
<div class="foot flex">
|
||||||
<a href="index.html" class="item flex">
|
<a href="index.html" class="item flex">
|
||||||
<img src="../images/icon/icon-tabbar-01.png" alt="首页">
|
<img src="../images/icon/icon-tabbar-01.png" alt="首页">
|
||||||
|
|