Commit d0c1e932 by 施宇

11

parent 1be0a1ef
......@@ -41,6 +41,9 @@ const brand = resolve => require(['@/views/brand/brand'], resolve);
const brandList = resolve => require(['@/views/brand/brandList'], resolve);
const ranking = resolve => require(['@/views/rank/ranking'], resolve);
const Download = resolve => require(['@/views/download/Index'], resolve);
const sample = resolve => require(['@/views/sample/sample'], resolve);
const sampleapply = resolve => require(['@/views/sample/sampleapply'], resolve);
......@@ -343,6 +346,22 @@ const routes = [{
}
},
{
path: '/sample',
component: sample,
meta: {
title: '猎芯网-自营样片'
}
},
{
path: '/sampleapply',
name:"sampleapply",
component: sampleapply,
meta: {
title: '样片申请',
back: true
}
},
{
path: '*',
redirect: '/'
}
......
......@@ -27,6 +27,9 @@ import address from './modules/user/address'
import brand from './modules/brand/brand'
import rank from './modules/rank/index'
import download from './modules/download/index'
import sample from './modules/sample/index'
import sampleapply from './modules/sample/sampleapply'
Vue.use(Vuex)
......@@ -59,6 +62,9 @@ export default new Vuex.Store({
address,
brand,
rank,
download
download,
sample,
sampleapply
}
})
.menu-fade{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.3)}.menu{position:fixed;right:10px;top:13px;z-index:999}.menu b{font-size:18px;color:#666}.menu .popover-arrow{position:absolute;z-index:1000;top:11px;right:0;overflow:hidden;width:26px;height:26px}.menu .popover-arrow:after{position:absolute;top:19px;left:0;width:26px;height:26px;content:" ";-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:3px;background:#333}.menu .menu-view{margin-top:36px;background:#333;font-size:15px;border-radius:2px;max-height:300px}.menu .menu-view li{position:relative;overflow:hidden;padding:11px 15px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.menu .menu-view li a{color:#fff}.menu .menu-view li a i{margin-right:.1rem}.head-dom[data-v-d0ba169e]{padding-top:44px}.head-dom .header-page[data-v-d0ba169e]{border-bottom:1px solid #d6d7dc;height:44px;width:100%;padding:0 .2rem;position:fixed;z-index:3;top:0;-webkit-box-sizing:border-box;box-sizing:border-box}.head-dom .header-page .car-title[data-v-d0ba169e]{width:170px;position:fixed;top:0;left:50%;margin-left:-85px}.head-dom .header-page .car-title span[data-v-d0ba169e]{cursor:pointer;width:80px;height:44px;line-height:44px;text-align:center;font-size:18px}.head-dom .header-page .car-title span.act[data-v-d0ba169e]{color:#1080d0;border-bottom:2px solid #1080d0;height:42px}.head-dom .header-page .car-title span font[data-v-d0ba169e]{color:#1080d0}.head-dom .header-page i[data-v-d0ba169e]{font-size:18px;margin-top:13px;color:#666}.head-dom .header-page h3[data-v-d0ba169e]{font-size:16px;color:#333;width:68%;line-height:44px;text-align:center;height:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10%!important}.head-dom .header-page .search[data-v-d0ba169e]{position:absolute;left:40px;right:60px;background:#fff;height:30px;margin:7px 0;border-radius:15px;padding:5px 10px 5px 30px;-webkit-box-sizing:border-box;box-sizing:border-box}.head-dom .header-page .search .van-icon[data-v-d0ba169e]{position:absolute;left:10px;height:20px;line-height:21px;margin-top:0}.head-dom .header-page .search .van-cell[data-v-d0ba169e]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:0;line-height:21px;font-size:12px;color:#333}.sample-apply{padding-bottom:55px}.sample-apply .ele{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sample-apply .line{height:5px;background:#f3f3f3}.sample-apply .van-collapse-item__content{padding-top:0;padding-bottom:0}.sample-apply .van-cell__title{font-size:16px}.sample-apply .info-con .img-box{border:1px solid #e5e5e5;-webkit-box-sizing:border-box;box-sizing:border-box;width:2rem;height:2rem}.sample-apply .info-con .img-box img{width:100%;height:100%}.sample-apply .info-con .cb-box{width:6.9rem;height:2rem}.sample-apply .info-con .cb-box .title{color:#333;font-size:16px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-bottom:.08rem}.sample-apply .info-con .cb-box p{color:#333;font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:.45rem;line-height:.45rem}.sample-apply .info-con .cb-box p span{color:#666}@media screen and (max-width:320px){.sample-apply .info-con .cb-box{width:6.8rem;position:relative;top:-.1rem}.sample-apply .info-con .cb-box .title{margin-bottom:0}}.sample-apply .info-detail{margin-top:18px;padding-bottom:25px}.sample-apply .info-detail p{color:#333;font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:.5rem;line-height:.5rem}.sample-apply .info-detail p span{color:#666}.sample-apply .info-detail p.canshudetail{overflow:hidden;text-overflow:ellipsis;white-space:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;height:auto}.sample-apply .form-info .form-group{background:#fff;padding:15px;border-top:5px solid #f3f3f3}.sample-apply .form-info .form-group h3{color:#666;font-size:16px}.sample-apply .form-info .form-group h3 span.fr{color:#333}.sample-apply .form-info .form-group input,.sample-apply .form-info .form-group textarea{border:0;display:block;padding:15px 16px;color:#333;font-size:14px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;padding-bottom:0}.sample-apply .form-info .form-group input::-webkit-input-placeholder,.sample-apply .form-info .form-group textarea::-webkit-input-placeholder{color:#999}.sample-apply .form-info .form-group.by{padding-top:25px;padding-bottom:25px}.sample-apply .form-info .form-group.adderss-sample{padding-top:12px;padding-bottom:12px}.sample-apply .form-info .form-group.adderss-sample p{color:#333;font-size:12px;height:.55rem;line-height:.55rem;width:90%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sample-apply .form-info .form-group.adderss-sample span{position:relative;top:-.8rem}.sample-apply .fix-btns{position:fixed;left:0;bottom:0;right:0;height:50px;line-height:50px;color:#fff;font-size:16px;text-align:center;background:#1080d0;-webkit-box-shadow:0 0 10px #000;box-shadow:0 0 10px #000;cursor:pointer}.sample-apply .submit-success-pop .get-user-con{background:#fff;width:8.667rem;height:6.4rem;border-radius:3px;position:fixed;top:50%;left:50%;margin-left:-4.3335rem;margin-top:-3.2rem;-webkit-box-shadow:0 0 20px #e5e5e5;box-shadow:0 0 20px #e5e5e5;z-index:99999}.sample-apply .submit-success-pop .get-user-con h3{color:#ffa200;font-size:16px;height:1.8rem;line-height:1.8rem;text-align:center}.sample-apply .submit-success-pop .get-user-con h3 i{position:relative;float:right;top:-1.4rem;color:#fff;font-size:20px}.sample-apply .submit-success-pop .get-user-con p{text-align:center;font-size:12px;color:#666;margin-bottom:.5rem}.sample-apply .submit-success-pop .get-user-con h2{color:#000;font-size:14px;text-align:center;width:60%;margin:0 auto}.sample-apply .submit-success-pop .get-user-con span{display:block;cursor:pointer;height:30px;line-height:30px;width:150px;text-align:center;background:#1080d0;color:#fff;font-size:14px;border-radius:30px;margin:0 auto;margin-top:30px}.sample-apply .submit-success-pop .get-user-con .tips{color:#999;font-size:12px;text-align:center;margin-top:15px}.sample-apply .submit-success-pop .mask{position:fixed;bottom:0;top:0;left:0;right:0;background:rgba(0,0,0,.3);z-index:999}
\ No newline at end of file
.coupon{background:#f8f8f8}.coupon .van-tab--active span{color:red!important}.coupon .van-tabs .van-tabs__wrap{position:fixed;top:44px;left:0;right:0;background:#fff;z-index:99}.coupon .coupon-box{padding:44px 5px 0}.coupon .coupon-box .block{overflow:hidden;margin-top:15px;border-radius:5px;background:#fff;-webkit-box-shadow:0 2px 5px #ddd;box-shadow:0 2px 5px #ddd}.coupon .coupon-box .block dt{width:125px;padding:10px 8px;float:left}.coupon .coupon-box .block dt h4{font-size:36px;font-family:Impact;height:40px;line-height:40px;text-align:center}.coupon .coupon-box .block dt h4 span{font-size:18px;position:relative;top:-15px;font-weight:400;line-height:20px}.coupon .coupon-box .block dt h4 b{font-size:16px;font-weight:400;line-height:20px}.coupon .coupon-box .block dt p{text-align:center;font-size:14px;padding-top:2.5px;line-height:16px;overflow:hidden}.coupon .coupon-box .block .text{padding:10px 8px 8px 125px;position:relative}.coupon .coupon-box .block .text .tag{font-size:12px;position:absolute;top:0;right:0;display:block;width:50px;height:50px}.coupon .coupon-box .block .text .tag span{-webkit-transform:rotate(45deg);transform:rotate(45deg);position:absolute;top:8px;right:-3px;z-index:2;color:#fff;overflow:hidden;display:block;width:40px;text-align:center}.coupon .coupon-box .block .text .tag i{position:absolute;top:0;right:0;z-index:1;display:block;border-top:50px solid red;border-left:50px solid transparent}.coupon .coupon-box .block .text h4{padding-right:50px;font-size:12px;color:#666;font-weight:400;line-height:20px;height:40px;overflow:hidden}.coupon .coupon-box .block .text h4 b{position:relative;color:#fff;display:inline-block;height:16px;font-weight:400;line-height:16px;padding:0 5px;margin:5px 6px}.coupon .coupon-box .block .text h4 i{float:left;position:absolute;top:0;left:-12px;content:"";height:0;width:0;pointer-events:none;border:solid transparent;border-width:8px 6px}.coupon .coupon-box .block .text p{font-size:12px;position:relative}.coupon .coupon-box .block .text p span{padding-top:12px;display:block;color:#999}.coupon .coupon-box .block .text .but-bg{height:30px;line-height:30px;font-size:14px;border-radius:30px;padding:0 12px;text-decoration:none;text-align:center;background:#fff}.coupon .coupon-box .block .text .but-bg:hover{color:#fff}.coupon .coupon-box .box-orange .text .but-bg{color:#ffa200;border:1px solid #ffa200}.coupon .coupon-box .box-blue .text .but-bg{color:#1080d0;border:1px solid #1080d0}.coupon .coupon-box .box-green .text .but-bg{color:#52bd61;border:1px solid #52bd61}.coupon .coupon-box .box-gray .text .but-bg{color:#999;border:1px solid #999}.coupon .coupon-box .block .number{height:33px;padding:8px;font-size:12px;color:#666;background:url(https://m.ichunt.com/v3/dist/res/m/images/coupon/coupon_bg.png) repeat-x;background-size:12px}.coupon .coupon-box .box-orange .text .tag i{border-top-color:#ffa200}.coupon .coupon-box .box-orange dt,.coupon .coupon-box .box-orange dt p{color:#ffa200}.coupon .coupon-box .box-orange .text .but-bg:hover,.coupon .coupon-box .box-orange .text h4 b{background:#ffa200}.coupon .coupon-box .box-orange .text h4 i{border-right-color:#ffa200}.coupon .coupon-box .box-blue .text .tag i{border-top-color:#1080d0}.coupon .coupon-box .box-blue dt,.coupon .coupon-box .box-blue dt p{color:#1080d0}.coupon .coupon-box .box-blue .text .but-bg:hover,.coupon .coupon-box .box-blue .text h4 b{background:#1080d0}.coupon .coupon-box .box-blue .text h4 i{border-right-color:#1080d0}.coupon .coupon-box .box-green .text .tag i{border-top-color:#52bd61}.coupon .coupon-box .box-green dt,.coupon .coupon-box .box-green dt p{color:#52bd61}.coupon .coupon-box .box-green .text .but-bg:hover,.coupon .coupon-box .box-green .text h4 b{background:#52bd61}.coupon .coupon-box .box-green .text h4 i{border-right-color:#52bd61}.coupon .coupon-box .box-gray .text .tag i{border-top-color:#999}.coupon .coupon-box .box-gray dt,.coupon .coupon-box .box-gray dt p{color:#999}.coupon .coupon-box .box-gray .text .but-bg:hover,.coupon .coupon-box .box-gray .text h4 b{background:#999}.coupon .coupon-box .box-gray .text h4 i{border-right-color:#999}.coupon .coupon-box .box-orange .text h4 span{color:#ffa200}.coupon .coupon-box .box-blue .text h4 span{color:#1080d0}.coupon .coupon-box .box-green .text h4 span{color:#52bd61}.coupon .coupon-box i.icon-get{font-size:72px;position:absolute;right:10px;top:-50px;text-align:right;color:#999}.coupon .coupon-box .dangxuan{height:30px}.coupon .coupon-box .dangxuan span{font-size:12px;float:left;padding-top:13px}.coupon .coupon-box .dangxuan .mui-radio{float:right;width:28px;margin-top:13px}.coupon .coupon-box .dangxuan .mui-radio input[type=radio]{right:0;top:0;width:18px}.coupon .coupon-box .nonuse{overflow:hidden;margin-top:15px;height:30px;line-height:30px;font-size:14px;border-radius:5px;background:#fff;-webkit-box-shadow:0 2px 3px #eee;box-shadow:0 2px 3px #eee}.coupon .coupon-box .nonuse span{font-size:14px;float:left;padding-top:0;padding-left:5px;color:#666}.coupon .coupon-box .nonuse .dangxuan .mui-radio{margin:8px 5px 0 0}.coupon .coupon_no{text-align:center;padding:25px 20px}.coupon .coupon_no dd{font-size:12px}.coupon .coupon_no span{width:162px;height:182px;padding-bottom:20px;display:inline-block;background:url(https://m.ichunt.com/v3/dist/res/m/images/coupon/coupon_no.png);background-size:contain;background-repeat:no-repeat}
\ No newline at end of file
.brand{background:#f8f8f8}.brand .van-index-bar__index{font-size:14px;line-height:18px}.brand .data-box{padding-top:44px}.brand .data-box .data-group .data-content{background:#fff}.brand .data-box .data-group .data-content li{height:48px;line-height:48px;padding:5px 40px 4px 0;clear:both;-webkit-box-sizing:border-box;box-sizing:border-box}.brand .data-box .data-group .data-content li .brand_img{float:left;width:80px;height:40px;margin-right:10px}.brand .data-box .data-group .data-content li p{float:left;height:40px;font-size:14px;line-height:40px;color:#666}.brand .van-tabs{position:fixed;padding-top:0;top:44px;left:0;right:0;background:#fff;height:44px;z-index:2}
\ No newline at end of file
.sample{padding-bottom:50px}.sample .ele{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.sample .banner{height:173px;width:100%;background:url(../img/samplebanner.2d38ce4c.png) no-repeat;background-size:100% 100%}.sample .zititle{padding:15px}.sample .zititle span{color:#333;font-size:16px}.sample .zititle font{font-size:12px;color:#999;margin-left:10px;height:20px;line-height:20px}.sample .fx_text{color:#999;text-align:right}.sample .fx_text div{padding:0 15px 10px}.sample .fx_text span{color:#ffa200}.sample .nav{padding:0 15px}.sample .nav .van-hairline--top-bottom:after{border-width:0 0 1px 0}.sample .con .con-group{padding:15px;padding-bottom:0}.sample .con .con-group .img-box{width:2.933rem;height:2.933rem}.sample .con .con-group .img-box img{width:100%;height:100%}.sample .con .con-group .cb-box{width:6rem;height:2.933rem;padding-bottom:15px}.sample .con .con-group .cb-box .title{color:#333;font-size:16px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-bottom:.15rem}.sample .con .con-group .cb-box p{color:#333;font-size:12px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:.45rem;line-height:.45rem}.sample .con .con-group .cb-box p span{color:#666}.sample .con .con-group .cb-box .btnx{width:3.5rem;height:.7rem;line-height:.7rem;border-radius:4px;background:#1080d0;color:#fff;text-align:center;cursor:pointer;margin-top:.2rem}@media screen and (max-width:320px){.sample .con .con-group .cb-box{width:5.8rem;height:2.933rem}.sample .con .con-group .cb-box .title{margin-bottom:.05rem}}.sample .fix-btns{position:fixed;left:0;bottom:0;right:0;height:50px;line-height:50px;color:#fff;font-size:16px;text-align:center;background:#1080d0;-webkit-box-shadow:0 0 10px #000;box-shadow:0 0 10px #000;cursor:pointer}.sample .get-user-pop .get-user-con{background:#fff;width:8.667rem;height:5.52rem;border-radius:3px;position:fixed;top:50%;left:50%;margin-left:-4.3335rem;margin-top:-2.76rem;-webkit-box-shadow:0 0 20px #e5e5e5;box-shadow:0 0 20px #e5e5e5;z-index:99999}.sample .get-user-pop .get-user-con h3{color:#ffa200;font-size:16px;height:2.027rem;line-height:2.027rem;text-align:center}.sample .get-user-pop .get-user-con h3 i{position:relative;float:right;top:-1.4rem;color:#fff;font-size:20px}.sample .get-user-pop .get-user-con h2{color:#000;font-size:14px;text-align:center;width:60%;margin:0 auto}.sample .get-user-pop .get-user-con span{display:block;cursor:pointer;height:30px;line-height:30px;width:150px;text-align:center;background:#1080d0;color:#fff;font-size:14px;border-radius:30px;margin:0 auto;margin-top:50px}.sample .get-user-pop .mask{position:fixed;bottom:0;top:0;left:0;right:0;background:rgba(0,0,0,.3);z-index:999}
\ No newline at end of file
.menu-fade{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.3)}.menu{position:fixed;right:10px;top:13px;z-index:999}.menu b{font-size:18px;color:#666}.menu .popover-arrow{position:absolute;z-index:1000;top:11px;right:0;overflow:hidden;width:26px;height:26px}.menu .popover-arrow:after{position:absolute;top:19px;left:0;width:26px;height:26px;content:" ";-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:3px;background:#333}.menu .menu-view{margin-top:36px;background:#333;font-size:15px;border-radius:2px;max-height:300px}.menu .menu-view li{position:relative;overflow:hidden;padding:11px 15px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.menu .menu-view li a{color:#fff}.menu .menu-view li a i{margin-right:.1rem}.head-dom[data-v-d0ba169e]{padding-top:44px}.head-dom .header-page[data-v-d0ba169e]{border-bottom:1px solid #d6d7dc;height:44px;width:100%;padding:0 .2rem;position:fixed;z-index:3;top:0;-webkit-box-sizing:border-box;box-sizing:border-box}.head-dom .header-page .car-title[data-v-d0ba169e]{width:170px;position:fixed;top:0;left:50%;margin-left:-85px}.head-dom .header-page .car-title span[data-v-d0ba169e]{cursor:pointer;width:80px;height:44px;line-height:44px;text-align:center;font-size:18px}.head-dom .header-page .car-title span.act[data-v-d0ba169e]{color:#1080d0;border-bottom:2px solid #1080d0;height:42px}.head-dom .header-page .car-title span font[data-v-d0ba169e]{color:#1080d0}.head-dom .header-page i[data-v-d0ba169e]{font-size:18px;margin-top:13px;color:#666}.head-dom .header-page h3[data-v-d0ba169e]{font-size:16px;color:#333;width:68%;line-height:44px;text-align:center;height:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10%!important}.head-dom .header-page .search[data-v-d0ba169e]{position:absolute;left:40px;right:60px;background:#fff;height:30px;margin:7px 0;border-radius:15px;padding:5px 10px 5px 30px;-webkit-box-sizing:border-box;box-sizing:border-box}.head-dom .header-page .search .van-icon[data-v-d0ba169e]{position:absolute;left:10px;height:20px;line-height:21px;margin-top:0}.head-dom .header-page .search .van-cell[data-v-d0ba169e]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:0;line-height:21px;font-size:12px;color:#333}
\ No newline at end of file
.menu-fade{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.3)}.menu{position:fixed;right:10px;top:13px;z-index:999}.menu b{font-size:18px;color:#666}.menu .popover-arrow{position:absolute;z-index:1000;top:11px;right:0;overflow:hidden;width:26px;height:26px}.menu .popover-arrow:after{position:absolute;top:19px;left:0;width:26px;height:26px;content:" ";-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:3px;background:#333}.menu .menu-view{margin-top:36px;background:#333;font-size:15px;border-radius:2px;max-height:300px}.menu .menu-view li{position:relative;overflow:hidden;padding:11px 15px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.menu .menu-view li a{color:#fff}.menu .menu-view li a i{margin-right:.1rem}.head-dom[data-v-d0ba169e]{padding-top:44px}.head-dom .header-page[data-v-d0ba169e]{border-bottom:1px solid #d6d7dc;height:44px;width:100%;padding:0 .2rem;position:fixed;z-index:3;top:0;-webkit-box-sizing:border-box;box-sizing:border-box}.head-dom .header-page .car-title[data-v-d0ba169e]{width:170px;position:fixed;top:0;left:50%;margin-left:-85px}.head-dom .header-page .car-title span[data-v-d0ba169e]{cursor:pointer;width:80px;height:44px;line-height:44px;text-align:center;font-size:18px}.head-dom .header-page .car-title span.act[data-v-d0ba169e]{color:#1080d0;border-bottom:2px solid #1080d0;height:42px}.head-dom .header-page .car-title span font[data-v-d0ba169e]{color:#1080d0}.head-dom .header-page i[data-v-d0ba169e]{font-size:18px;margin-top:13px;color:#666}.head-dom .header-page h3[data-v-d0ba169e]{font-size:16px;color:#333;width:68%;line-height:44px;text-align:center;height:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10%!important}.head-dom .header-page .search[data-v-d0ba169e]{position:absolute;left:40px;right:60px;background:#fff;height:30px;margin:7px 0;border-radius:15px;padding:5px 10px 5px 30px;-webkit-box-sizing:border-box;box-sizing:border-box}.head-dom .header-page .search .van-icon[data-v-d0ba169e]{position:absolute;left:10px;height:20px;line-height:21px;margin-top:0}.head-dom .header-page .search .van-cell[data-v-d0ba169e]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:0;line-height:21px;font-size:12px;color:#333}.brand{background:#f8f8f8}.brand .van-index-bar__index{font-size:14px;line-height:18px}.brand .data-box{padding-top:44px}.brand .data-box .data-group .data-content{background:#fff}.brand .data-box .data-group .data-content li{height:48px;line-height:48px;padding:5px 40px 4px 0;clear:both;-webkit-box-sizing:border-box;box-sizing:border-box}.brand .data-box .data-group .data-content li .brand_img{float:left;width:80px;height:40px;margin-right:10px}.brand .data-box .data-group .data-content li p{float:left;height:40px;font-size:14px;line-height:40px;color:#666}.brand .van-tabs{position:fixed;padding-top:0;top:44px;left:0;right:0;background:#fff;height:44px;z-index:2}
\ No newline at end of file
.menu-fade{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.3)}.menu{position:fixed;right:10px;top:13px;z-index:999}.menu b{font-size:18px;color:#666}.menu .popover-arrow{position:absolute;z-index:1000;top:11px;right:0;overflow:hidden;width:26px;height:26px}.menu .popover-arrow:after{position:absolute;top:19px;left:0;width:26px;height:26px;content:" ";-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:3px;background:#333}.menu .menu-view{margin-top:36px;background:#333;font-size:15px;border-radius:2px;max-height:300px}.menu .menu-view li{position:relative;overflow:hidden;padding:11px 15px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.menu .menu-view li a{color:#fff}.menu .menu-view li a i{margin-right:.1rem}.head-dom[data-v-d0ba169e]{padding-top:44px}.head-dom .header-page[data-v-d0ba169e]{border-bottom:1px solid #d6d7dc;height:44px;width:100%;padding:0 .2rem;position:fixed;z-index:3;top:0;-webkit-box-sizing:border-box;box-sizing:border-box}.head-dom .header-page .car-title[data-v-d0ba169e]{width:170px;position:fixed;top:0;left:50%;margin-left:-85px}.head-dom .header-page .car-title span[data-v-d0ba169e]{cursor:pointer;width:80px;height:44px;line-height:44px;text-align:center;font-size:18px}.head-dom .header-page .car-title span.act[data-v-d0ba169e]{color:#1080d0;border-bottom:2px solid #1080d0;height:42px}.head-dom .header-page .car-title span font[data-v-d0ba169e]{color:#1080d0}.head-dom .header-page i[data-v-d0ba169e]{font-size:18px;margin-top:13px;color:#666}.head-dom .header-page h3[data-v-d0ba169e]{font-size:16px;color:#333;width:68%;line-height:44px;text-align:center;height:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10%!important}.head-dom .header-page .search[data-v-d0ba169e]{position:absolute;left:40px;right:60px;background:#fff;height:30px;margin:7px 0;border-radius:15px;padding:5px 10px 5px 30px;-webkit-box-sizing:border-box;box-sizing:border-box}.head-dom .header-page .search .van-icon[data-v-d0ba169e]{position:absolute;left:10px;height:20px;line-height:21px;margin-top:0}.head-dom .header-page .search .van-cell[data-v-d0ba169e]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:0;line-height:21px;font-size:12px;color:#333}.coupon{background:#f8f8f8}.coupon .van-tab--active span{color:red!important}.coupon .van-tabs .van-tabs__wrap{position:fixed;top:44px;left:0;right:0;background:#fff;z-index:99}.coupon .coupon-box{padding:44px 5px 0}.coupon .coupon-box .block{overflow:hidden;margin-top:15px;border-radius:5px;background:#fff;-webkit-box-shadow:0 2px 5px #ddd;box-shadow:0 2px 5px #ddd}.coupon .coupon-box .block dt{width:125px;padding:10px 8px;float:left}.coupon .coupon-box .block dt h4{font-size:36px;font-family:Impact;height:40px;line-height:40px;text-align:center}.coupon .coupon-box .block dt h4 span{font-size:18px;position:relative;top:-15px;font-weight:400;line-height:20px}.coupon .coupon-box .block dt h4 b{font-size:16px;font-weight:400;line-height:20px}.coupon .coupon-box .block dt p{text-align:center;font-size:14px;padding-top:2.5px;line-height:16px;overflow:hidden}.coupon .coupon-box .block .text{padding:10px 8px 8px 125px;position:relative}.coupon .coupon-box .block .text .tag{font-size:12px;position:absolute;top:0;right:0;display:block;width:50px;height:50px}.coupon .coupon-box .block .text .tag span{-webkit-transform:rotate(45deg);transform:rotate(45deg);position:absolute;top:8px;right:-3px;z-index:2;color:#fff;overflow:hidden;display:block;width:40px;text-align:center}.coupon .coupon-box .block .text .tag i{position:absolute;top:0;right:0;z-index:1;display:block;border-top:50px solid red;border-left:50px solid transparent}.coupon .coupon-box .block .text h4{padding-right:50px;font-size:12px;color:#666;font-weight:400;line-height:20px;height:40px;overflow:hidden}.coupon .coupon-box .block .text h4 b{position:relative;color:#fff;display:inline-block;height:16px;font-weight:400;line-height:16px;padding:0 5px;margin:5px 6px}.coupon .coupon-box .block .text h4 i{float:left;position:absolute;top:0;left:-12px;content:"";height:0;width:0;pointer-events:none;border:solid transparent;border-width:8px 6px}.coupon .coupon-box .block .text p{font-size:12px;position:relative}.coupon .coupon-box .block .text p span{padding-top:12px;display:block;color:#999}.coupon .coupon-box .block .text .but-bg{height:30px;line-height:30px;font-size:14px;border-radius:30px;padding:0 12px;text-decoration:none;text-align:center;background:#fff}.coupon .coupon-box .block .text .but-bg:hover{color:#fff}.coupon .coupon-box .box-orange .text .but-bg{color:#ffa200;border:1px solid #ffa200}.coupon .coupon-box .box-blue .text .but-bg{color:#1080d0;border:1px solid #1080d0}.coupon .coupon-box .box-green .text .but-bg{color:#52bd61;border:1px solid #52bd61}.coupon .coupon-box .box-gray .text .but-bg{color:#999;border:1px solid #999}.coupon .coupon-box .block .number{height:33px;padding:8px;font-size:12px;color:#666;background:url(https://m.ichunt.com/v3/dist/res/m/images/coupon/coupon_bg.png) repeat-x;background-size:12px}.coupon .coupon-box .box-orange .text .tag i{border-top-color:#ffa200}.coupon .coupon-box .box-orange dt,.coupon .coupon-box .box-orange dt p{color:#ffa200}.coupon .coupon-box .box-orange .text .but-bg:hover,.coupon .coupon-box .box-orange .text h4 b{background:#ffa200}.coupon .coupon-box .box-orange .text h4 i{border-right-color:#ffa200}.coupon .coupon-box .box-blue .text .tag i{border-top-color:#1080d0}.coupon .coupon-box .box-blue dt,.coupon .coupon-box .box-blue dt p{color:#1080d0}.coupon .coupon-box .box-blue .text .but-bg:hover,.coupon .coupon-box .box-blue .text h4 b{background:#1080d0}.coupon .coupon-box .box-blue .text h4 i{border-right-color:#1080d0}.coupon .coupon-box .box-green .text .tag i{border-top-color:#52bd61}.coupon .coupon-box .box-green dt,.coupon .coupon-box .box-green dt p{color:#52bd61}.coupon .coupon-box .box-green .text .but-bg:hover,.coupon .coupon-box .box-green .text h4 b{background:#52bd61}.coupon .coupon-box .box-green .text h4 i{border-right-color:#52bd61}.coupon .coupon-box .box-gray .text .tag i{border-top-color:#999}.coupon .coupon-box .box-gray dt,.coupon .coupon-box .box-gray dt p{color:#999}.coupon .coupon-box .box-gray .text .but-bg:hover,.coupon .coupon-box .box-gray .text h4 b{background:#999}.coupon .coupon-box .box-gray .text h4 i{border-right-color:#999}.coupon .coupon-box .box-orange .text h4 span{color:#ffa200}.coupon .coupon-box .box-blue .text h4 span{color:#1080d0}.coupon .coupon-box .box-green .text h4 span{color:#52bd61}.coupon .coupon-box i.icon-get{font-size:72px;position:absolute;right:10px;top:-50px;text-align:right;color:#999}.coupon .coupon-box .dangxuan{height:30px}.coupon .coupon-box .dangxuan span{font-size:12px;float:left;padding-top:13px}.coupon .coupon-box .dangxuan .mui-radio{float:right;width:28px;margin-top:13px}.coupon .coupon-box .dangxuan .mui-radio input[type=radio]{right:0;top:0;width:18px}.coupon .coupon-box .nonuse{overflow:hidden;margin-top:15px;height:30px;line-height:30px;font-size:14px;border-radius:5px;background:#fff;-webkit-box-shadow:0 2px 3px #eee;box-shadow:0 2px 3px #eee}.coupon .coupon-box .nonuse span{font-size:14px;float:left;padding-top:0;padding-left:5px;color:#666}.coupon .coupon-box .nonuse .dangxuan .mui-radio{margin:8px 5px 0 0}.coupon .coupon_no{text-align:center;padding:25px 20px}.coupon .coupon_no dd{font-size:12px}.coupon .coupon_no span{width:162px;height:182px;padding-bottom:20px;display:inline-block;background:url(https://m.ichunt.com/v3/dist/res/m/images/coupon/coupon_no.png);background-size:contain;background-repeat:no-repeat}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-534a01b0"],{"1a02":function(t,s,a){},"3a6c":function(t,s,a){"use strict";a.r(s);var e=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("section",{staticClass:"coupon"},[a("Header",{attrs:{title:t.title}}),a("van-tabs",{on:{change:t.tabs}},[a("van-tab",{attrs:{title:"未使用("+t.counts["-1"]+")"}}),a("van-tab",{attrs:{title:"使用记录("+t.counts["1"]+")"}}),a("van-tab",{attrs:{title:"已过期("+t.counts["-2"]+")"}})],1),a("div",{staticClass:"coupon-box clr coupon-user"},t._l(t.lists,(function(s){return a("dl",{staticClass:"block ",class:{"box-green":-1==s.status&&1==s.coupon_mall_type,"box-orange":-1==s.status&&2==s.coupon_mall_type,"box-blue":-1==s.status&&3==s.coupon_mall_type,"box-gray":1==s.status||-2==s.status}},[a("dt",[a("h4",[1==s.coupon_type?[a("span",[t._v("¥")]),t._v(t._s(s.sale_amount.toFixed(2))+"\n ")]:[t._v("\n "+t._s((10*s.sale_amount).toFixed(2))),a("b",[t._v("折")])]],2),a("p",[t._v(t._s(s.require_desc))])]),a("dd",{staticClass:"text"},[a("div",{staticClass:"tag"},[a("i"),a("span",[t._v(t._s(1==s.coupon_mall_type?"全站":2==s.coupon_mall_type?"自营":"联营"))])]),1==s.coupon_goods_range?[a("h4",[t._v("适用于"),a("span",[t._v(t._s(1==s.coupon_mall_type?"全站":2==s.coupon_mall_type?"全部自营":"全部联营"))]),t._v("商品")])]:[a("h4",[t._v("适用于制造商"),a("span",[t._v(t._s(s.selected_brand))]),t._v("所有商品")])],a("p",{staticClass:"clr"},[-1==s.status?a("a",{staticClass:"fr but-bg",attrs:{href:s.redirect_url}},[t._v("立即使用")]):t._e(),1==s.status?a("i",{staticClass:"icon-get iconfont icon-yishiyong"}):t._e(),-2==s.status?a("i",{staticClass:"icon-get iconfont icon-yiguoqi"}):t._e(),a("span",[t._v(t._s(s.start_time)+" - "+t._s(s.end_time))])])],2)])})),0),t.loading?a("van-loading",{staticClass:"loading-background",attrs:{type:"spinner",color:"#000"}}):t._e()],1)},n=[],o=(a("2338"),a("f763"),a("dac5"),a("fb37"),a("5bf7")),c=a("6e6d"),i=a("591a"),r=a("c621"),u=a("d710"),l=a("aa20"),p=a("57af");function _(t,s){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);s&&(e=e.filter((function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),a.push.apply(a,e)}return a}function b(t){for(var s=1;s<arguments.length;s++){var a=null!=arguments[s]?arguments[s]:{};s%2?_(a,!0).forEach((function(s){Object(o["a"])(t,s,a[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):_(a).forEach((function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(a,s))}))}return t}c["a"].use(r["a"]).use(u["a"]).use(l["a"]);var d={name:"coupon",data:function(){return{title:"优惠劵",active:0,status:-1}},computed:b({},Object(i["c"])({loading:function(t){return t.coupon.loading},lists:function(t){return t.coupon.lists},counts:function(t){return t.coupon.counts}})),watch:{},created:function(){this.getData(),this.$store.dispatch({type:"ucouponCount"})},methods:{getData:function(){this.$store.dispatch({type:"ucouponLists",status:this.status})},tabs:function(t){0==t?this.status=-1:1==t?this.status=1:2==t&&(this.status=-2),this.getData()}},components:{Header:p["a"]}},f=d,v=(a("982d"),a("6691")),g=Object(v["a"])(f,e,n,!1,null,"2f967ab0",null);s["default"]=g.exports},"982d":function(t,s,a){"use strict";var e=a("1a02"),n=a.n(e);n.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-60b8cfb4"],{"238a":function(t,e,n){},be26:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"brand"},[n("Header",{directives:[{name:"show",rawName:"v-show",value:t.xiding,expression:"xiding"}],attrs:{title:t.title,meaushow:t.meaushow}}),n("van-tabs",{directives:[{name:"show",rawName:"v-show",value:t.xiding,expression:"xiding"}],on:{change:t.getData}},t._l(t.tabs,(function(e){return n("van-tab",{attrs:{title:e.text,brand_area:t.title.brand_area}})})),1),n("van-index-bar",{attrs:{"index-list":t.indexList,"z-index":33},on:{select:t.indexSelect}},[n("div",{staticClass:"data-box"},t._l(t.brandMapData,(function(e,i){return n("div",{staticClass:"data-group"},[n("van-index-anchor",{attrs:{index:i}},[t._v(t._s(i))]),n("ul",{staticClass:"data-content",class:{act11:i==t.selecto}},t._l(e,(function(e){return n("li",{staticClass:"van-hairline--bottom"},[n("a",{attrs:{href:"/h5/view/#/brandList/"+e.brand_id}},[e.brand_logo?n("img",{staticClass:"brand_img",attrs:{src:e.brand_logo||"https://static.ichunt.com/dist/res/home/images/logo.png",alt:"item1.brand_name"}}):n("div",{staticClass:"brand_img"}),n("p",{staticClass:"brand_name",attrs:{title:"ATMEL"}},[t._v(t._s(e.brand_name))])])])})),0)],1)})),0)]),t.loading?n("van-loading",{staticClass:"loading-background",attrs:{type:"spinner",color:"#000"}}):t._e()],1)},r=[],a=(n("2338"),n("f763"),n("dac5"),n("fb37"),n("5bf7")),o=n("6e6d"),s=n("591a"),c=n("7087"),l=n("06a6"),d=n("73fd"),h=n("86b1"),u=n("decb"),f=n("4ca2"),p=n("ec59"),b=Object(c["a"])("index-bar"),v=b[0],g=b[1],x=v({mixins:[l["a"],Object(d["b"])("vanIndexBar"),Object(h["a"])((function(t){this.scroller||(this.scroller=Object(p["c"])(this.$el)),t(this.scroller,"scroll",this.onScroll)}))],props:{sticky:{type:Boolean,default:!0},zIndex:{type:Number,default:1},highlightColor:{type:String,default:u["k"]},stickyOffsetTop:{type:Number,default:0},indexList:{type:Array,default:function(){for(var t=[],e="A".charCodeAt(0),n=0;n<26;n++)t.push(String.fromCharCode(e+n));return t}}},data:function(){return{activeAnchorIndex:null}},computed:{highlightStyle:function(){var t=this.highlightColor;if(t)return{color:t}}},watch:{indexList:function(){this.$nextTick(this.onScroll)}},methods:{onScroll:function(){var t=this,e=Object(p["d"])(this.scroller),n=this.getScrollerRect(),i=this.children.map((function(e){return{height:e.height,top:t.getElementTop(e.$el,n)}})),r=this.getActiveAnchorIndex(e,i);if(this.activeAnchorIndex=this.indexList[r],this.sticky){var a=0,o=!1;-1!==r&&(a=i[r].top-e,o=a<=0),this.children.forEach((function(e,i){i===r?(e.active=!0,e.position=o?"fixed":"relative",e.top=o?t.stickyOffsetTop+n.top:0):i===r-1?(e.active=!o,e.position="relative",e.top=e.$el.parentElement.offsetHeight-e.height):(e.active=!1,e.position="static")}))}},getScrollerRect:function(){var t=this.scroller,e={top:0,left:0};return t.getBoundingClientRect&&(e=t.getBoundingClientRect()),e},getElementTop:function(t,e){var n=this.scroller;if(n===window||n===document.body)return Object(p["a"])(t);var i=t.getBoundingClientRect();return i.top-e.top+Object(p["d"])(n)},getActiveAnchorIndex:function(t,e){for(var n=this.children.length-1;n>=0;n--){var i=n>0?e[n-1].height:0;if(t+i+this.stickyOffsetTop>=e[n].top)return n}return-1},onClick:function(t){this.scrollToElement(t.target)},onTouchMove:function(t){if(this.touchMove(t),"vertical"===this.direction){Object(f["c"])(t);var e=t.touches[0],n=e.clientX,i=e.clientY,r=document.elementFromPoint(n,i);if(r){var a=r.dataset.index;this.touchActiveIndex!==a&&(this.touchActiveIndex=a,this.scrollToElement(r))}}},scrollToElement:function(t){var e=t.dataset.index;if(e){var n=this.children.filter((function(t){return String(t.index)===e}));n[0]&&(n[0].scrollIntoView(),this.stickyOffsetTop&&Object(p["e"])(Object(p["b"])()-this.stickyOffsetTop),this.$emit("select",n[0].index))}},onTouchEnd:function(){this.active=null}},render:function(){var t=this,e=arguments[0],n=this.indexList.map((function(n){var i=n===t.activeAnchorIndex;return e("span",{class:g("index",{active:i}),style:i?t.highlightStyle:null,attrs:{"data-index":n}},[n])}));return e("div",{class:g()},[e("div",{class:g("sidebar"),style:{zIndex:this.zIndex+1},on:{click:this.onClick,touchstart:this.touchStart,touchmove:this.onTouchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}},[n]),this.slots("default")])}}),m=Object(c["a"])("index-anchor"),y=m[0],O=m[1],w=y({mixins:[Object(d["a"])("vanIndexBar",{indexKey:"childrenIndex"})],props:{index:[Number,String]},data:function(){return{top:0,active:!1,position:"static"}},computed:{sticky:function(){return this.active&&this.parent.sticky},anchorStyle:function(){if(this.sticky)return{position:this.position,zIndex:""+this.parent.zIndex,transform:"translate3d(0, "+this.top+"px, 0)",color:this.parent.highlightColor}}},mounted:function(){this.height=this.$el.offsetHeight},methods:{scrollIntoView:function(){this.$el.scrollIntoView()}},render:function(){var t,e=arguments[0],n=this.sticky;return e("div",{style:{height:n?this.height+"px":null}},[e("div",{style:this.anchorStyle,class:[O({sticky:n}),(t={},t[u["c"]]=n,t)]},[this.slots("default")||this.index])])}}),_=n("d710"),j=n("aa20"),k=n("c621"),C=n("57af");function S(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?S(n,!0).forEach((function(e){Object(a["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}o["a"].use(x).use(w).use(_["a"]).use(j["a"]).use(k["a"]);var T={name:"brand",data:function(){return{title:"品牌分类",meaushow:!0,highlight:"red",selecto:"",xiding:!0,tabs:[{brand_area:"",text:"全部"},{brand_area:1,text:"欧美"},{brand_area:2,text:"日韩"},{brand_area:3,text:"台湾"},{brand_area:4,text:"中国内地"}]}},computed:I({},Object(s["c"])({loading:function(t){return t.brand.loading},indexList:function(t){return t.brand.indexList},brandMapData:function(t){return t.brand.brandMapData}})),watch:{},created:function(){this.getData()},mounted:function(){this.scrollFns()},methods:{getData:function(t){var e=0==t?"":t;this.$store.dispatch({type:"brandList",brand_area:e})},indexSelect:function(t){this.selecto=t,this.xiding=!t},scrollFns:function(){var t=this;window.onscroll=function(){var e=document.querySelector("div.van-index-anchor--sticky");t.xiding=!e}}},components:{Header:C["a"]}},E=T,A=(n("f2d9"),n("6691")),D=Object(A["a"])(E,i,r,!1,null,"93e3aec4",null);e["default"]=D.exports},f2d9:function(t,e,n){"use strict";var i=n("238a"),r=n.n(i);r.a}}]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment