Commit 66675249 by 肖康

Merge branch 'XK_carB20190624' into Development

parents 9af835bc b416cb84
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
.shop-block .add-num .mui-numbox input{ height: 28px; background: #fff; color: #333; font-size: 12px;box-sizing: border-box;} .shop-block .add-num .mui-numbox input{ height: 28px; background: #fff; color: #333; font-size: 12px;box-sizing: border-box;}
.shop-block .subtotal{padding: 2% 3%; font-weight: bold; text-align: right; } .shop-block .subtotal{padding: 2% 3%; font-weight: bold; text-align: right; }
.shop-block .morePrice{ margin-bottom: 15px; } .shop-block .morePrice{ margin-bottom: 15px; }
.shop-block .morePrice p{height:18px;line-height: 18px;}
.shop-block .more-height{ font-size: 12px; margin-right: 10%; height: 24px;margin-top: 5px; line-height:24px; border: 1px solid #e5e5e5; text-align: center; color: #666; } .shop-block .more-height{ font-size: 12px; margin-right: 10%; height: 24px;margin-top: 5px; line-height:24px; border: 1px solid #e5e5e5; text-align: center; color: #666; }
.shop-block .more-height .iconfont{ font-size: 10px; margin-left: 5px; } .shop-block .more-height .iconfont{ font-size: 10px; margin-left: 5px; }
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
.shop-but .button.dis a{background: #ccc;} .shop-but .button.dis a{background: #ccc;}
.shop-but .button span{ font-size: 12px; } .shop-but .button span{ font-size: 12px; }
.shop-but .button .sxx{position: absolute;color:#1080d0;line-height: 44px;top:0px;left:-113%;background: #fff;display:none;} .shop-but .button .sxx{position: absolute;color:#1080d0;line-height: 44px;top:0px;left:-113%;background: #fff;display:none;}
.shop-but .checkallbox{line-height: 40px;padding-left:10px;box-sizing: border-box;} .shop-but .checkallbox{line-height: 40px;padding-left:10px;box-sizing: border-box;margin-top: 10px;}
.shop-but .button .but-orange{background: #ffa200;} .shop-but .button .but-orange{background: #ffa200;}
.shop-but .clearbtn{line-height: 44px;font-size: 14px!important;margin-right: 20px;} .shop-but .clearbtn{line-height: 44px;font-size: 14px!important;margin-right: 20px;}
.shop-but .delbtn{width:130px;} .shop-but .delbtn{width:130px;}
...@@ -297,6 +297,18 @@ ...@@ -297,6 +297,18 @@
height: auto !important; height: auto !important;
} }
.lyMoreData { .lyMoreData {
height: 48px; height: 54px;
overflow: hidden; overflow: hidden;
}
.zdychec{
.van-checkbox__icon{
position:relative;
left:10px;
}
}
.zdychec1{
position:relative;
top:10px;
left:10px;
} }
\ No newline at end of file
.car-page{color:#333}.car-page .lxBox{padding-bottom:44px}.car-page .lxBox .logintip{top:88px}.car-page .lxBox .dataBox{padding-top:88px}.car-page .zyBox{padding-bottom:44px}.car-page .zyBox .logintip{top:44px}.car-page .zyBox .headxianhuoqihuo{height:43px;line-height:43px;border-bottom:1px solid #d6d7dc}.car-page .zyBox .headxianhuoqihuo .zyqxtype{font-size:16px}.car-page .zyBox .dataBox{padding-top:88px}.car-page .logintip{position:fixed;background:#fff6e5;height:44px;line-height:44px;color:#666;top:44px;left:0px;right:0px;font-size:14px;text-align:center;z-index:3}.car-page .logintip a{background:#e10601;border-radius:4px;text-align:center;width:70px;height:23px;color:#fff;font-size:12px;display:inline-block;line-height:23px;cursor:pointer;margin-left:10px}.car-page .editBox{position:fixed;padding:0 3%;height:44px;line-height:44px;color:#666;left:0px;right:0px;font-size:12px;border-bottom:1px solid #d6d7dc;z-index:3;background:#fff;box-sizing:border-box}.car-page .editBox .remind{color:#999}.car-page .editBox .remind i{color:#ffa200;position:relative;top:2px;left:5px}.car-page .editBox a{color:#1080d0;font-size:14px}.car-page .lyNav{color:#333;position:fixed;left:0px;top:44px;right:0px;height:44px;border-bottom:1px solid #d6d7dc;z-index:3;background-color:#fff;box-sizing:border-box}.car-page .lyNav span{cursor:pointer;width:50%;box-sizing:border-box;font-size:14px;text-align:center;line-height:44px}.car-page .lyNav span font{color:#333}.car-page .lyNav span.act{color:#1080d0}.shop-block{font-size:12px;border-bottom:1px solid #d6d7dc}.shop-block .t-r{text-align:right}.shop-block .delete-tier{position:relative;top:2px;font-size:20px}.shop-block h4{font-size:14px;padding:12px 0;font-weight:400;line-height:20px;border-bottom:1px solid #d6d7dc;word-wrap:break-word;word-break:break-all}.shop-block ul{padding:2% 3%;padding-left:0}.shop-block li{font-size:12px;word-wrap:break-word;height:22px;line-height:22px;word-break:break-all;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-block li span{float:left;width:50px}.shop-block li p{padding-left:50px;font-size:12px;color:#333333}.shop-block .ichunt-blue{font-size:12px;font-weight:400;padding:1px 3px;margin-left:5px;background:#1080d0;color:#fff;border-radius:3px}.shop-block .ichunt-orange{font-size:12px;font-weight:400;padding:1px 3px;margin-left:5px;background:#ffa200;color:#fff;border-radius:3px}.shop-block .add-num{padding:0 3%}.shop-block .add-num .mui-numbox{float:right;padding:0 30px;width:130px;height:30px;border:1px solid #e1e1e1;border-radius:0;box-sizing:border-box}.shop-block .add-num .mui-numbox button{height:28px;width:30px;font-size:22px;line-height:28px;background-color:#fff;color:#666;box-sizing:border-box}.shop-block .add-num .mui-numbox button i{font-size:14px}.shop-block .add-num .mui-numbox button.no_click{color:#999}.shop-block .add-num .mui-numbox input{height:28px;background:#fff;color:#333;font-size:12px;box-sizing:border-box}.shop-block .subtotal{padding:2% 3%;font-weight:bold;text-align:right}.shop-block .morePrice{margin-bottom:15px}.shop-block .more-height{font-size:12px;margin-right:10%;height:24px;margin-top:5px;line-height:24px;border:1px solid #e5e5e5;text-align:center;color:#666}.shop-block .more-height .iconfont{font-size:10px;margin-left:5px}.shop-lose{color:#999999}.shop-lose h4 a{color:#999999}.shop-lose li p{color:#999999}.shop-lose .lose-but{height:30px;padding-right:3%;margin-bottom:10px}.shop-lose .lose-but span{float:left;display:block;margin-top:3px;font-size:12px;background-color:#999;color:#fff;padding:0 10px;height:22px;line-height:22px;border-radius:14px}.shop-lose .lose-but .but-bor-red{display:block;color:#e10601;border:1px solid #e10601;height:28px;line-height:28px;padding:0 10px;border-radius:14px}.shop-but{height:44px;border-top:1px solid #d6d7dc;position:fixed;bottom:0;width:100%;background-color:#fff;z-index:99}.shop-but .mui-checkbox label{line-height:45px}.shop-but .mui-checkbox span{padding-left:20px;font-size:14px}.shop-but .sum{text-align:right;padding-right:10px;padding-bottom:0;box-sizing:border-box}.shop-but .sum h4{font-size:16px;line-height:22px;padding-top:4px}.shop-but .sum p{font-size:12px;line-height:16px}.shop-but .button{position:relative}.shop-but .button a{display:block;height:44px;line-height:44px;font-size:16px;border-radius:0;text-align:center;color:#fff;background:red}.shop-but .button.dis a{background:#ccc}.shop-but .button span{font-size:12px}.shop-but .button .sxx{position:absolute;color:#1080d0;line-height:44px;top:0px;left:-113%;background:#fff;display:none}.shop-but .checkallbox{line-height:40px;padding-left:10px;box-sizing:border-box}.shop-but .button .but-orange{background:#ffa200}.shop-but .clearbtn{line-height:44px;font-size:14px!important;margin-right:20px}.shop-but .delbtn{width:130px}.mui-btn{font-size:14px;font-weight:400;line-height:1.42;position:relative;display:inline-block;margin-bottom:0;padding:6px 12px;cursor:pointer;-webkit-transition:all;transition:all;-webkit-transition-timing-function:linear;transition-timing-function:linear;-webkit-transition-duration:.2s;transition-duration:.2s;text-align:center;vertical-align:top;white-space:nowrap;color:#333;border:1px solid #ccc;border-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:#fff;background-clip:padding-box}.mui-numbox{position:relative;display:inline-block;overflow:hidden;width:120px;height:35px;padding:0 40px 0 40px;vertical-align:top;vertical-align:middle;border:solid 1px #bbb;border-radius:3px}.mui-numbox [class*=numbox-btn],.mui-numbox [class*=btn-numbox]{font-size:18px;font-weight:normal;line-height:100%;position:absolute;top:0;overflow:hidden;width:40px;height:100%;padding:0;color:#555;border:none;border-radius:0;background-color:#f9f9f9}.mui-numbox [class*=numbox-btn]:active,.mui-numbox [class*=btn-numbox]:active{background-color:#ccc}.mui-numbox [class*=numbox-btn][disabled],.mui-numbox [class*=btn-numbox][disabled]{color:#c0c0c0}.mui-numbox .mui-numbox-btn-plus,.mui-numbox .mui-btn-numbox-plus{right:0;border-top-right-radius:3px;border-bottom-right-radius:3px}.mui-numbox .mui-numbox-btn-minus,.mui-numbox .mui-btn-numbox-minus{left:0;border-top-left-radius:3px;border-bottom-left-radius:3px}.mui-numbox .mui-numbox-input,.mui-numbox .mui-input-numbox{display:inline-block;overflow:hidden;padding:0 3px;width:100% !important;height:100%;margin:0;text-align:center;text-overflow:ellipsis;word-break:normal;border:none !important;border-right:solid 1px #ccc !important;border-left:solid 1px #ccc !important;border-radius:0 !important}.mui-input-row .mui-numbox{float:right;box-sizing:border-box;margin:2px 8px}.icon-bot{top:9px;position:relative;content:"";height:0;width:0;pointer-events:none;border:solid transparent;border-top-color:#4d4d4d;border-width:4px;margin-left:5px}.icon-top{bottom:9px;position:relative;content:"";height:0;width:0;pointer-events:none;border:solid transparent;border-bottom-color:#4d4d4d;border-width:4px;margin-left:5px}.shop-empty{padding:25% 3% 10% 3%;text-align:center}.shop-empty dt i{font-size:34px}.shop-empty dd{padding-top:5%}.shop-empty dd h4{font-size:16px;padding-bottom:10%;font-weight:bold}.shop-empty dd p a{font-size:14px;color:#1080d0}.lyClass{height:auto !important}.lyMoreData{height:48px;overflow:hidden} .car-page{color:#333}.car-page .lxBox{padding-bottom:44px}.car-page .lxBox .logintip{top:88px}.car-page .lxBox .dataBox{padding-top:88px}.car-page .zyBox{padding-bottom:44px}.car-page .zyBox .logintip{top:44px}.car-page .zyBox .headxianhuoqihuo{height:43px;line-height:43px;border-bottom:1px solid #d6d7dc}.car-page .zyBox .headxianhuoqihuo .zyqxtype{font-size:16px}.car-page .zyBox .dataBox{padding-top:88px}.car-page .logintip{position:fixed;background:#fff6e5;height:44px;line-height:44px;color:#666;top:44px;left:0px;right:0px;font-size:14px;text-align:center;z-index:3}.car-page .logintip a{background:#e10601;border-radius:4px;text-align:center;width:70px;height:23px;color:#fff;font-size:12px;display:inline-block;line-height:23px;cursor:pointer;margin-left:10px}.car-page .editBox{position:fixed;padding:0 3%;height:44px;line-height:44px;color:#666;left:0px;right:0px;font-size:12px;border-bottom:1px solid #d6d7dc;z-index:3;background:#fff;box-sizing:border-box}.car-page .editBox .remind{color:#999}.car-page .editBox .remind i{color:#ffa200;position:relative;top:2px;left:5px}.car-page .editBox a{color:#1080d0;font-size:14px}.car-page .lyNav{color:#333;position:fixed;left:0px;top:44px;right:0px;height:44px;border-bottom:1px solid #d6d7dc;z-index:3;background-color:#fff;box-sizing:border-box}.car-page .lyNav span{cursor:pointer;width:50%;box-sizing:border-box;font-size:14px;text-align:center;line-height:44px}.car-page .lyNav span font{color:#333}.car-page .lyNav span.act{color:#1080d0}.shop-block{font-size:12px;border-bottom:1px solid #d6d7dc}.shop-block .t-r{text-align:right}.shop-block .delete-tier{position:relative;top:2px;font-size:20px}.shop-block h4{font-size:14px;padding:12px 0;font-weight:400;line-height:20px;border-bottom:1px solid #d6d7dc;word-wrap:break-word;word-break:break-all}.shop-block ul{padding:2% 3%;padding-left:0}.shop-block li{font-size:12px;word-wrap:break-word;height:22px;line-height:22px;word-break:break-all;position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-block li span{float:left;width:50px}.shop-block li p{padding-left:50px;font-size:12px;color:#333333}.shop-block .ichunt-blue{font-size:12px;font-weight:400;padding:1px 3px;margin-left:5px;background:#1080d0;color:#fff;border-radius:3px}.shop-block .ichunt-orange{font-size:12px;font-weight:400;padding:1px 3px;margin-left:5px;background:#ffa200;color:#fff;border-radius:3px}.shop-block .add-num{padding:0 3%}.shop-block .add-num .mui-numbox{float:right;padding:0 30px;width:130px;height:30px;border:1px solid #e1e1e1;border-radius:0;box-sizing:border-box}.shop-block .add-num .mui-numbox button{height:28px;width:30px;font-size:22px;line-height:28px;background-color:#fff;color:#666;box-sizing:border-box}.shop-block .add-num .mui-numbox button i{font-size:14px}.shop-block .add-num .mui-numbox button.no_click{color:#999}.shop-block .add-num .mui-numbox input{height:28px;background:#fff;color:#333;font-size:12px;box-sizing:border-box}.shop-block .subtotal{padding:2% 3%;font-weight:bold;text-align:right}.shop-block .morePrice{margin-bottom:15px}.shop-block .morePrice p{height:18px;line-height:18px}.shop-block .more-height{font-size:12px;margin-right:10%;height:24px;margin-top:5px;line-height:24px;border:1px solid #e5e5e5;text-align:center;color:#666}.shop-block .more-height .iconfont{font-size:10px;margin-left:5px}.shop-lose{color:#999999}.shop-lose h4 a{color:#999999}.shop-lose li p{color:#999999}.shop-lose .lose-but{height:30px;padding-right:3%;margin-bottom:10px}.shop-lose .lose-but span{float:left;display:block;margin-top:3px;font-size:12px;background-color:#999;color:#fff;padding:0 10px;height:22px;line-height:22px;border-radius:14px}.shop-lose .lose-but .but-bor-red{display:block;color:#e10601;border:1px solid #e10601;height:28px;line-height:28px;padding:0 10px;border-radius:14px}.shop-but{height:44px;border-top:1px solid #d6d7dc;position:fixed;bottom:0;width:100%;background-color:#fff;z-index:99}.shop-but .mui-checkbox label{line-height:45px}.shop-but .mui-checkbox span{padding-left:20px;font-size:14px}.shop-but .sum{text-align:right;padding-right:10px;padding-bottom:0;box-sizing:border-box}.shop-but .sum h4{font-size:16px;line-height:22px;padding-top:4px}.shop-but .sum p{font-size:12px;line-height:16px}.shop-but .button{position:relative}.shop-but .button a{display:block;height:44px;line-height:44px;font-size:16px;border-radius:0;text-align:center;color:#fff;background:red}.shop-but .button.dis a{background:#ccc}.shop-but .button span{font-size:12px}.shop-but .button .sxx{position:absolute;color:#1080d0;line-height:44px;top:0px;left:-113%;background:#fff;display:none}.shop-but .checkallbox{line-height:40px;padding-left:10px;box-sizing:border-box;margin-top:10px}.shop-but .button .but-orange{background:#ffa200}.shop-but .clearbtn{line-height:44px;font-size:14px!important;margin-right:20px}.shop-but .delbtn{width:130px}.mui-btn{font-size:14px;font-weight:400;line-height:1.42;position:relative;display:inline-block;margin-bottom:0;padding:6px 12px;cursor:pointer;-webkit-transition:all;transition:all;-webkit-transition-timing-function:linear;transition-timing-function:linear;-webkit-transition-duration:.2s;transition-duration:.2s;text-align:center;vertical-align:top;white-space:nowrap;color:#333;border:1px solid #ccc;border-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:#fff;background-clip:padding-box}.mui-numbox{position:relative;display:inline-block;overflow:hidden;width:120px;height:35px;padding:0 40px 0 40px;vertical-align:top;vertical-align:middle;border:solid 1px #bbb;border-radius:3px}.mui-numbox [class*=numbox-btn],.mui-numbox [class*=btn-numbox]{font-size:18px;font-weight:normal;line-height:100%;position:absolute;top:0;overflow:hidden;width:40px;height:100%;padding:0;color:#555;border:none;border-radius:0;background-color:#f9f9f9}.mui-numbox [class*=numbox-btn]:active,.mui-numbox [class*=btn-numbox]:active{background-color:#ccc}.mui-numbox [class*=numbox-btn][disabled],.mui-numbox [class*=btn-numbox][disabled]{color:#c0c0c0}.mui-numbox .mui-numbox-btn-plus,.mui-numbox .mui-btn-numbox-plus{right:0;border-top-right-radius:3px;border-bottom-right-radius:3px}.mui-numbox .mui-numbox-btn-minus,.mui-numbox .mui-btn-numbox-minus{left:0;border-top-left-radius:3px;border-bottom-left-radius:3px}.mui-numbox .mui-numbox-input,.mui-numbox .mui-input-numbox{display:inline-block;overflow:hidden;padding:0 3px;width:100% !important;height:100%;margin:0;text-align:center;text-overflow:ellipsis;word-break:normal;border:none !important;border-right:solid 1px #ccc !important;border-left:solid 1px #ccc !important;border-radius:0 !important}.mui-input-row .mui-numbox{float:right;box-sizing:border-box;margin:2px 8px}.icon-bot{top:9px;position:relative;content:"";height:0;width:0;pointer-events:none;border:solid transparent;border-top-color:#4d4d4d;border-width:4px;margin-left:5px}.icon-top{bottom:9px;position:relative;content:"";height:0;width:0;pointer-events:none;border:solid transparent;border-bottom-color:#4d4d4d;border-width:4px;margin-left:5px}.shop-empty{padding:25% 3% 10% 3%;text-align:center}.shop-empty dt i{font-size:34px}.shop-empty dd{padding-top:5%}.shop-empty dd h4{font-size:16px;padding-bottom:10%;font-weight:bold}.shop-empty dd p a{font-size:14px;color:#1080d0}.lyClass{height:auto !important}.lyMoreData{height:54px;overflow:hidden}.zdychec .van-checkbox__icon{position:relative;left:10px}.zdychec1{position:relative;top:10px;left:10px}
\ No newline at end of file \ No newline at end of file
.lxshop .lxshop-content .f-blue {
color: #1080d0;
}
.lxshop .lxshop-content .sosoarr {
display: none;
background-color: #fff;
font-size: 15px;
font-weight: 400;
height: 44px;
line-height: 44px;
overflow: hidden;
width: 100%;
-webkit-box-shadow: 0 2px 5px #eeeeee;
box-shadow: 0 2px 5px #eeeeee;
table-layout: fixed;
border-bottom: 1px solid #d6d7dc;
}
.lxshop .lxshop-content .sosoarr {
text-align: center;
padding: 0 15%;
box-sizing: border-box;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.lxshop .lxshop-content .layer-fix {
display: block;
position: fixed;
top: 44px;
left: 0;
right: 0;
z-index: 10;
}
.lxshop .lxshop-content .sift-box {
position: relative;
padding-top: 5px;
padding-left: 2.5%;
height: 36px;
line-height: 36px;
border-bottom: 1px solid #d6d7dc;
background-color: #fff;
}
.lxshop .lxshop-content .sift-box dl {
float: left;
width: 35%;
margin-right: 0;
height: 35px;
color: #333;
}
.lxshop .lxshop-content .sift-box dl dt {
text-align: center;
font-size: 12px;
height: 30px;
line-height: 30px;
background: #f8f8f8;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0 5px;
}
.lxshop .lxshop-content .sift-box dl dd {
position: absolute;
top: 42px;
left: 0;
width: 100%;
bottom: 140px;
z-index: 3;
display: none;
}
.lxshop .lxshop-content .sift-box dl dd ul {
background: #fff;
padding-bottom: 3px;
height: 200px;
overflow-x: auto;
}
.lxshop .lxshop-content .sift-box dl dd ul li {
width: 46%;
color: #333;
font-size: 14px;
border: 1px solid #fff;
margin: 0 2%;
margin-top: 3px;
padding: 0 10px;
box-sizing: border-box;
height: 32px;
line-height: 32px;
}
.lxshop .lxshop-content .sift-box dl dd ul li.check {
border: 1px solid #1080d0;
color: #1080d0;
}
.lxshop .lxshop-content .sift-box dl dd .button {
border-top: 1px solid #d6d7dc;
height: 40px;
line-height: 40px;
background: #fff;
-webkit-box-shadow: 0 2px 5px #eeeeee;
box-shadow: 0 2px 5px #eeeeee;
}
.lxshop .lxshop-content .sift-box dl dd .button a {
width: 50%;
font-size: 14px;
height: 39px;
line-height: 39px;
display: block;
float: left;
text-align: center;
color: #333;
}
.lxshop .lxshop-content .sift-box dl dd .button a.but-blue {
background: #1080d0;
color: #fff;
text-decoration: none;
text-align: center;
border: none;
}
.lxshop .lxshop-content .sift-box dl.p_act {
border: 1px solid #d6d7dc;
border-bottom: none;
}
.lxshop .lxshop-content .sift-box dl.p_act dd {
display: block;
}
.lxshop .lxshop-content .sift-box dl.p_act dt {
background: #fff;
height: 34px;
line-height: 34px;
border-bottom: 2px solid #fff;
}
.lxshop .lxshop-content .search-list-box .data-group-supplier .name-shop {
padding: 10px 10px 10px 0;
margin-left: 10px;
background: #fff;
}
.lxshop .lxshop-content .search-list-box .data-group-supplier .name-shop img {
width: 60px;
height: 30px;
display: block;
float: left;
border: 1px solid #e5e5e5;
margin-right: 10px;
}
.lxshop .lxshop-content .search-list-box .data-group-supplier .name-shop .ad {
color: #666666;
font-size: 12px;
display: block;
line-height: 16px;
overflow: hidden;
height: 30px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-pack: distribute;
justify-content: space-around;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
.lxshop .lxshop-content .search-list-box .data-group-supplier .more-number,
.lxshop .lxshop-content .search-list-box .data-group-supplier .more-numberxk {
color: #999999;
background: #f8f8f8;
height: 32px;
line-height: 32px;
font-size: 12px;
text-align: center;
}
.lxshop .lxshop-content .search-list-box .data-group-supplier .more-number .cup,
.lxshop .lxshop-content .search-list-box .data-group-supplier .more-numberxk .cup {
cursor: pointer;
color: #1080d0;
}
.lxshop .lxshop-content .search-list-box .data-group-supplier .more-number .cup:hover,
.lxshop .lxshop-content .search-list-box .data-group-supplier .more-numberxk .cup:hover {
cursor: pointer;
color: #0073c5;
font-weight: bold;
}
.lxshop .lxshop-content .data-group-supplier-no {
color: #999999;
font-size: 16px;
line-height: 28px;
}
.lxshop .lxshop-content .data-group-supplier-no .toisx {
text-align: center;
margin-top: 100px;
}
/*# sourceMappingURL=lxshop.css.map */
\ No newline at end of file
{"version":3,"sources":["lxshop.less"],"names":[],"mappings":"AAAA,OACE,gBACE;EAAQ,cAAA;;AAFZ,OACE,gBAEE;EAAU,aAAA;EAAe,sBAAA;EAAwB,eAAA;EAAiB,gBAAA;EAAkB,YAAA;EAAc,iBAAA;EAAmB,gBAAA;EAAkB,WAAA;EAAa,qCAAA;EAAuC,6BAAA;EAA+B,mBAAA;EAAqB,gCAAA;;AAHnP,OACE,gBAGE;EAAS,kBAAA;EAAoB,cAAA;EAAe,sBAAA;EAAsB,gBAAA;EAAgB,uBAAA;EAAuB,mBAAA;;AAJ7G,OACE,gBAIE;EAAY,cAAA;EAAgB,eAAA;EAAiB,SAAA;EAAW,OAAA;EAAS,QAAA;EAAU,WAAA;;AAL/E,OACE,gBAKE;EACE,kBAAA;EAAqB,gBAAA;EAAkB,kBAAA;EAAoB,YAAA;EAAc,iBAAA;EAAmB,gCAAA;EAAkC,sBAAA;;AAPpI,OACE,gBAKE,UAEE;EACE,WAAA;EAAa,UAAA;EAAY,eAAA;EAAiB,YAAA;EAC1C,WAAA;;AAVR,OACE,gBAKE,UAEE,GAGE;EACE,kBAAA;EAAoB,eAAA;EAAiB,YAAA;EAAc,iBAAA;EACnD,mBAAA;EAAoB,gBAAA;EAAgB,uBAAA;EACpC,mBAAA;EAAqB,cAAA;;AAd/B,OACE,gBAKE,UAEE,GAQE;EACE,kBAAA;EAAoB,SAAA;EACpB,OAAA;EAAS,WAAA;EAAa,aAAA;EACtB,UAAA;EAAW,aAAA;;AAnBrB,OACE,gBAKE,UAEE,GAQE,GAIE;EACE,gBAAA;EAAkB,mBAAA;EAAoB,aAAA;EAAe,gBAAA;;AArBjE,OACE,gBAKE,UAEE,GAQE,GAIE,GAEE;EACE,UAAA;EAAY,WAAA;EAAa,eAAA;EAAkB,sBAAA;EAAuB,YAAA;EAClE,eAAA;EAAiB,eAAA;EAAgB,sBAAA;EAAwB,YAAA;EAAc,iBAAA;;AACvE,OAxBZ,gBAKE,UAEE,GAQE,GAIE,GAEE,GAGG;EACC,yBAAA;EAA4B,cAAA;;AA1B5C,OACE,gBAKE,UAEE,GAQE,GAeE;EACE,6BAAA;EAA+B,YAAA;EAC/B,iBAAA;EAAmB,gBAAA;EAAkB,qCAAA;EACrC,6BAAA;;AAlCZ,OACE,gBAKE,UAEE,GAQE,GAeE,QAKE;EACE,UAAA;EAAY,eAAA;EAAiB,YAAA;EAC7B,iBAAA;EAAmB,cAAA;EAAgB,WAAA;EACnC,kBAAA;EACA,WAAA;;AACA,OAxCZ,gBAKE,UAEE,GAQE,GAeE,QAKE,EAKG;EACC,mBAAA;EACA,WAAA;EACA,qBAAA;EACA,kBAAA;EACA,YAAA;;AAKR,OAlDN,gBAKE,UAEE,GA2CG;EACC,yBAAA;EACA,mBAAA;;AAFF,OAlDN,gBAKE,UAEE,GA2CG,MAGC;EAAG,cAAA;;AAHL,OAlDN,gBAKE,UAEE,GA2CG,MAIC;EAAI,gBAAA;EAAkB,YAAA;EAAc,iBAAA;EAAkB,6BAAA;;AAvDhE,OACE,gBA2DE,iBACE,qBAEE;EACG,yBAAA;EACD,iBAAA;EAAoB,gBAAA;;AAjE9B,OACE,gBA2DE,iBACE,qBAEE,WAGE;EAAK,WAAA;EAAa,YAAA;EAAc,cAAA;EAAgB,WAAA;EAAa,yBAAA;EAA2B,kBAAA;;AAlElG,OACE,gBA2DE,iBACE,qBAEE,WAIE;EAAI,cAAA;EAAgB,eAAA;EAAiB,cAAA;EAAe,iBAAA;EAAmB,gBAAA;EAAkB,YAAA;EAAa,oBAAA;EAAqB,oBAAA;EAAqB,aAAA;EAAc,yBAAA;EAA0B,6BAAA;EAA8B,4BAAA;EAA6B,6BAAA;EAA8B,0BAAA;EAA2B,sBAAA;;AAnEtT,OACE,gBA2DE,iBACE,qBAQE;AArER,OACE,gBA2DE,iBACE,qBAQe,CAAA;EACX,cAAA;EAAgB,mBAAA;EAAqB,YAAA;EAAc,iBAAA;EAAmB,eAAA;EAAiB,kBAAA;;AAtEjG,OACE,gBA2DE,iBACE,qBAQE,aAGE;AAxEV,OACE,gBA2DE,iBACE,qBAQe,CAAA,cAGX;EAAK,eAAA;EAAiB,cAAA;;AACtB,OAxER,gBA2DE,iBACE,qBAQE,aAGE,KACC;AAAD,OAxER,gBA2DE,iBACE,qBAQe,CAAA,cAGX,KACC;EAAO,eAAA;EAAiB,cAAA;EAAgB,iBAAA;;AAzEnD,OACE,gBA6EE;EACE,cAAA;EACA,eAAA;EACA,iBAAA;;AAjFN,OACE,gBA6EE,wBAIE;EAAO,kBAAA;EAAmB,iBAAA","file":"lxshop.css"}
\ No newline at end of file
.user-index {
background: #f8f8f8;
padding-bottom: 107px;
}
.user-index .user-logo {
background: url('../../images/user/user_logo.jpg');
padding: 7% 0 4% 0;
background-size: 100% 100%;
}
.user-index .user-logo img {
width: 20%;
display: block;
margin: 0 auto;
border-radius: 50%;
}
.user-index .user-logo dt {
padding-bottom: 2%;
}
.user-index .user-logo dd {
text-align: center;
}
.user-index .user-logo h4 {
font-size: 14px;
padding: 3% 0;
color: #fff;
}
.user-index .user-logo p {
font-size: 12px;
color: #fff;
}
.user-index .orderbox {
padding: 0 2%;
background: #ffffff;
border-bottom: 1px solid #e5e5e5;
margin-bottom: 10px;
}
.user-index .orderbox .user-news li {
width: 24%;
float: left;
text-align: center;
padding: 20px 0;
padding-bottom: 0px;
}
.user-index .orderbox .user-news li a {
color: #333;
}
.user-index .orderbox .user-news li b {
font-size: 20px;
}
.user-index .orderbox .user-news li span {
display: block;
font-size: 12px;
}
.user-index .orderbox a {
color: #333;
font-size: 12px;
margin-right: 12px;
margin-bottom: 30px;
margin-top: 10px;
}
.user-index .orderbox a i {
margin-left: 8px;
color: #1080d0;
position: relative;
top: 4px;
font-size: 16px;
}
.user-index .orderbox a span {
position: relative;
top: 2px;
}
.user-index .user-nav {
padding: 0 2%;
background: #ffffff;
padding: 10px 0;
border-bottom: 1px solid #e5e5e5;
border-top: 1px solid #e5e5e5;
margin-bottom: 10px;
}
.user-index .user-nav li {
width: 25%;
float: left;
text-align: center;
padding: 10px 0;
}
.user-index .user-nav li a {
color: #333;
display: block;
}
.user-index .user-nav li i {
font-size: 28px;
height: 30px;
line-height: 30px;
overflow: hidden;
display: block;
text-align: center;
}
.user-index .user-nav li .icon-1 {
color: #16a6ff;
}
.user-index .user-nav li .icon-2 {
color: #ffba35;
}
.user-index .user-nav li .icon-3 {
color: #41c6e4;
}
.user-index .user-nav li .icon-4 {
color: #fe4d30;
}
.user-index .user-nav li .icon-5 {
color: #fe4d30;
}
.user-index .user-nav li .icon-6 {
color: #42ceb6;
}
.user-index .user-nav li .icon-7 {
color: #fe4c2f;
}
.user-index .user-nav li .i7 {
background: url('https://www.ichunt.com/v3/dist/res/m/images/nav/i2.png') no-repeat center;
background-size: contain;
margin: 0 auto;
}
.user-index .user-nav li span {
display: block;
font-size: 14px;
margin-top: 10px;
}
.user-index .loginLayoutx {
border: 1px solid #e5e5e5;
border-left: none;
border-right: none;
width: 100%;
height: 30px;
background-color: #ffffff;
display: block;
line-height: 30px;
text-align: center;
font-size: 14px;
color: #333333;
}
/*# sourceMappingURL=index.css.map */
\ No newline at end of file
{"version":3,"sources":["index.less"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,qBAAA;;AAFF,WAGE;EACE,gBAAgB,kCAAhB;EAAoD,kBAAA;EAAoB,0BAAA;;AAJ5E,WAGE,WAEE;EAAK,UAAA;EAAY,cAAA;EAAgB,cAAA;EAAgB,kBAAA;;AALrD,WAGE,WAGE;EAAI,kBAAA;;AANR,WAGE,WAIE;EAAI,kBAAA;;AAPR,WAGE,WAKE;EAAI,eAAA;EAAiB,aAAA;EAAe,WAAA;;AARxC,WAGE,WAME;EAAG,eAAA;EAAiB,WAAA;;AATxB,WAYE;EACE,aAAA;EACA,mBAAA;EACA,gCAAA;EACA,mBAAA;;AAhBJ,WAYE,UAKE,WACE;EAAI,UAAA;EAAY,WAAA;EAAa,kBAAA;EAAoB,eAAA;EAAgB,mBAAA;;AAlBvE,WAYE,UAKE,WACE,GACE;EAAE,WAAA;;AAnBV,WAYE,UAKE,WACE,GAEE;EAAG,eAAA;;AApBX,WAYE,UAKE,WACE,GAGE;EAAM,cAAA;EAAgB,eAAA;;AArB9B,WAYE,UAaE;EACE,WAAA;EAAW,eAAA;EAAgB,kBAAA;EAAmB,mBAAA;EAC9C,gBAAA;;AA3BN,WAYE,UAaE,EAGE;EAAE,gBAAA;EAAiB,cAAA;EAAc,kBAAA;EAAmB,QAAA;EAAQ,eAAA;;AA5BlE,WAYE,UAaE,EAIE;EAAK,kBAAA;EAAmB,QAAA;;AA7B9B,WAgCE;EACE,aAAA;EAAe,mBAAA;EAAqB,eAAA;EAAiB,gCAAA;EAAkC,6BAAA;EAA+B,mBAAA;;AAjC1H,WAgCE,UAEE;EAAI,UAAA;EAAY,WAAA;EAAa,kBAAA;EAAoB,eAAA;;AAlCrD,WAgCE,UAEE,GACE;EAAE,WAAA;EAAa,cAAA;;AAnCrB,WAgCE,UAEE,GAEE;EAAG,eAAA;EAAiB,YAAA;EAAc,iBAAA;EAAmB,gBAAA;EAAkB,cAAA;EAAgB,kBAAA;;AApC7F,WAgCE,UAEE,GAGE;EAAS,cAAA;;AArCf,WAgCE,UAEE,GAIE;EAAS,cAAA;;AAtCf,WAgCE,UAEE,GAKE;EAAS,cAAA;;AAvCf,WAgCE,UAEE,GAME;EAAS,cAAA;;AAxCf,WAgCE,UAEE,GAOE;EAAS,cAAA;;AAzCf,WAgCE,UAEE,GAQE;EAAS,cAAA;;AA1Cf,WAgCE,UAEE,GASE;EAAS,cAAA;;AA3Cf,WAgCE,UAEE,GAUE;EAAQ,gBAAgB,0EAAhB;EACN,wBAAA;EACA,cAAA;;AA9CR,WAgCE,UAEE,GAaE;EAAM,cAAA;EAAgB,eAAA;EAAiB,gBAAA;;AA/C7C,WAkDE;EACE,yBAAA;EACA,iBAAA;EACA,kBAAA;EACA,WAAA;EACA,YAAA;EACA,yBAAA;EACA,cAAA;EACA,iBAAA;EACA,kBAAA;EACA,eAAA;EACA,cAAA","file":"index.css"}
\ No newline at end of file
.user-info {
height: 100%;
background: #f8f8f8;
}
.user-info .group-info {
position: relative;
box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: flex;
width: 100%;
padding: 10px 15px;
overflow: hidden;
color: #323233;
font-size: 14px;
line-height: 24px;
background-color: #fff;
}
.user-info .group-info:not(:last-child)::after {
position: absolute;
box-sizing: border-box;
content: ' ';
pointer-events: none;
right: 0;
bottom: 0;
left: 15px;
border-bottom: 1px solid #ebedf0;
-webkit-transform: scaleY(0.5);
transform: scaleY(0.5);
}
.user-info .group-info .group-left {
width: 90px;
-webkit-box-flex: 0;
-webkit-flex: none;
flex: none;
}
.user-info .group-info .group-right {
position: relative;
overflow: hidden;
color: #969799;
text-align: right;
vertical-align: middle;
}
.user-info .group-info .group-right input {
display: block;
box-sizing: border-box;
width: 100%;
margin: 0;
padding: 0;
color: #323233;
text-align: left;
background-color: transparent;
border: 0;
resize: none;
}
.user-info .group-info .group-right input::-webkit-input-placeholder {
color: #ccc;
}
.user-info .tips {
margin-top: 15px;
font-size: 12px;
color: #999;
padding-left: 15px;
}
.user-info .btnsub {
position: fixed;
bottom: 0;
width: 100%;
padding: 2%;
right: 0;
left: 0;
box-sizing: border-box;
}
.user-info .btnsub .btnnext {
background: #fff;
color: #1080d0;
border: 1px solid #1080d0;
text-decoration: none;
text-align: center;
height: 40px;
line-height: 40px;
border-radius: 5px;
width: 100%;
display: block;
cursor: pointer;
font-size: 14px;
}
.user-info .btnsub .btnnext.submitbtn {
background: #1080d0;
color: #fff;
}
.Router {
position: absolute;
height: 100%;
width: 100%;
transition: all 0.377s ease;
will-change: transform;
top: 0;
backface-visibility: hidden;
perspective: 1000;
padding-top: 44px;
box-sizing: border-box;
}
.slide-left-enter,
.slide-right-leave-active {
opacity: 0;
transform: translate3d(-100%, 0, 0);
}
.slide-left-leave-active,
.slide-right-enter {
opacity: 0;
transform: translate3d(100%, 0, 0);
}
/*# sourceMappingURL=userInfo.css.map */
\ No newline at end of file
{"version":3,"sources":["userInfo.less"],"names":[],"mappings":"AAAA;EACE,YAAA;EACA,mBAAA;;AAFF,UAGE;EACE,kBAAA;EACA,sBAAA;EACA,oBAAA;EACA,qBAAA;EACA,aAAA;EACA,WAAA;EACA,kBAAA;EACA,gBAAA;EACA,cAAA;EACA,eAAA;EACA,iBAAA;EACA,sBAAA;;AAEA,UAdF,YAcG,IAAI,aAAa;EAChB,kBAAA;EACA,sBAAA;EACA,SAAS,GAAT;EACA,oBAAA;EACA,QAAA;EACA,SAAA;EACA,UAAA;EACA,gCAAA;EACA,mBAAmB,WAAnB;EACA,WAAW,WAAX;;AA3BN,UAGE,YA0BE;EAAY,WAAA;EAAgB,mBAAA;EAC1B,kBAAA;EACA,UAAA;;AA/BN,UAGE,YA6BE;EACE,kBAAA;EACA,gBAAA;EACA,cAAA;EACA,iBAAA;EACA,sBAAA;;AArCN,UAGE,YA6BE,aAME;EACE,cAAA;EACA,sBAAA;EACA,WAAA;EACA,SAAA;EACA,UAAA;EACA,cAAA;EACA,gBAAA;EACA,6BAAA;EACA,SAAA;EACA,YAAA;;AAhDR,UAGE,YA6BE,aAkBE,MAAK;EACH,WAAA;;AAnDR,UAuDE;EACE,gBAAA;EAAiB,eAAA;EAAgB,WAAA;EAAW,kBAAA;;AAxDhD,UA0DE;EACE,eAAA;EACA,SAAA;EACA,WAAA;EACA,WAAA;EACA,QAAA;EACA,OAAA;EACA,sBAAA;;AAjEJ,UA0DE,QAQE;EACE,gBAAA;EACA,cAAA;EACA,yBAAA;EACA,qBAAA;EACA,kBAAA;EACA,YAAA;EACA,iBAAA;EACA,kBAAA;EACA,WAAA;EACA,cAAA;EACA,eAAA;EACA,eAAA;;AACA,UArBJ,QAQE,SAaG;EACC,mBAAA;EACA,WAAA;;AAMR;EACE,kBAAA;EACA,YAAA;EACA,WAAA;EACA,2BAAA;EACA,sBAAA;EACA,MAAA;EACA,2BAAA;EACA,iBAAA;EACA,iBAAA;EACA,sBAAA;;AAEF;AACA;EACE,UAAA;EACA,WAAW,wBAAX;;AAGF;AACA;EACE,UAAA;EACA,WAAW,uBAAX","file":"userInfo.css"}
\ No newline at end of file
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
</div> </div>
<div class="dlBox" v-show="delivery==1"> <div class="dlBox" v-show="delivery==1">
<div class="mui-row shop-block sale_type_data" v-for="(item,indexdata) in ly1Data"> <div class="mui-row shop-block sale_type_data" v-for="(item,indexdata) in ly1Data">
<div class="mui-col-sm-1 mui-col-xs-1 ta-c mt-10"> <div class="mui-col-sm-1 mui-col-xs-1 ta-c mt-10 zdychec">
<van-checkbox v-model="item.check" @click="checkWatch"></van-checkbox> <van-checkbox v-model="item.check" @change="checkWatch"></van-checkbox>
</div> </div>
<div class="mui-col-sm-11 mui-col-xs-11"> <div class="mui-col-sm-11 mui-col-xs-11">
<h4 class="mui-row"> <h4 class="mui-row">
...@@ -153,8 +153,8 @@ ...@@ -153,8 +153,8 @@
</div> </div>
<div class="hkBox" v-show="delivery==2"> <div class="hkBox" v-show="delivery==2">
<div class="mui-row shop-block sale_type_data" v-for="(item,indexdata) in ly2Data"> <div class="mui-row shop-block sale_type_data" v-for="(item,indexdata) in ly2Data">
<div class="mui-col-sm-1 mui-col-xs-1 ta-c mt-10"> <div class="mui-col-sm-1 mui-col-xs-1 ta-c mt-10 zdychec">
<van-checkbox v-model="item.check" @click="checkWatch"></van-checkbox> <van-checkbox v-model="item.check" @change="checkWatch"></van-checkbox>
</div> </div>
<div class="mui-col-sm-11 mui-col-xs-11"> <div class="mui-col-sm-11 mui-col-xs-11">
<h4 class="mui-row"> <h4 class="mui-row">
...@@ -281,14 +281,14 @@ ...@@ -281,14 +281,14 @@
<div class="zyDataGp"> <div class="zyDataGp">
<div class="xianhuoData" > <div class="xianhuoData" >
<div class="mui-row headxianhuoqihuo" v-if="zy1Data.length>0"> <div class="mui-row headxianhuoqihuo" v-if="zy1Data.length>0">
<div class="mui-col-sm-1 mui-col-xs-1 ta-c "> <div class="mui-col-sm-1 mui-col-xs-1 ta-c zdychec1">
<van-checkbox v-model="zy1DataIsCheck" @click="checkWatchZy(1)"></van-checkbox> <van-checkbox v-model="zy1DataIsCheck" @click="checkWatchZy(1)"></van-checkbox>
</div> </div>
<div class="mui-col-sm-11 mui-col-xs-11"><font class="zyqxtype">现货商品</font></div> <div class="mui-col-sm-11 mui-col-xs-11"><font class="zyqxtype">现货商品</font></div>
</div> </div>
<template v-for="(item,indexdata) in zy1Data"> <template v-for="(item,indexdata) in zy1Data">
<div class="mui-row shop-block sale_type_data" > <div class="mui-row shop-block sale_type_data" >
<div class="mui-col-sm-1 mui-col-xs-1 ta-c mt-10"> <div class="mui-col-sm-1 mui-col-xs-1 ta-c mt-10 zdychec">
<van-checkbox v-model="item.check" @change="checkWatch"></van-checkbox> <van-checkbox v-model="item.check" @change="checkWatch"></van-checkbox>
</div> </div>
<div class="mui-col-sm-11 mui-col-xs-11"> <div class="mui-col-sm-11 mui-col-xs-11">
...@@ -387,14 +387,14 @@ ...@@ -387,14 +387,14 @@
</div> </div>
<div class="qihuoData" > <div class="qihuoData" >
<div class="mui-row headxianhuoqihuo" v-if="zy2Data.length>0" > <div class="mui-row headxianhuoqihuo" v-if="zy2Data.length>0" >
<div class="mui-col-sm-1 mui-col-xs-1 ta-c "> <div class="mui-col-sm-1 mui-col-xs-1 ta-c zdychec1">
<van-checkbox v-model="zy2DataIsCheck" @click="checkWatchZy(2)"></van-checkbox> <van-checkbox v-model="zy2DataIsCheck" @click="checkWatchZy(2)"></van-checkbox>
</div> </div>
<div class="mui-col-sm-11 mui-col-xs-11"><font class="zyqxtype">期货商品</font></div> <div class="mui-col-sm-11 mui-col-xs-11"><font class="zyqxtype">期货商品</font></div>
</div> </div>
<template v-for="(item,indexdata) in zy2Data"> <template v-for="(item,indexdata) in zy2Data">
<div class="mui-row shop-block sale_type_data" > <div class="mui-row shop-block sale_type_data" >
<div class="mui-col-sm-1 mui-col-xs-1 ta-c mt-10"> <div class="mui-col-sm-1 mui-col-xs-1 ta-c mt-10 zdychec">
<van-checkbox v-model="item.check" @change="checkWatch"></van-checkbox> <van-checkbox v-model="item.check" @change="checkWatch"></van-checkbox>
</div> </div>
<div class="mui-col-sm-11 mui-col-xs-11"> <div class="mui-col-sm-11 mui-col-xs-11">
...@@ -816,7 +816,7 @@ ...@@ -816,7 +816,7 @@
let arrLength = dataList[index].tiered.length; let arrLength = dataList[index].tiered.length;
if (dataList[index]["priceCheck"]) { if (dataList[index]["priceCheck"]) {
console.log(1) console.log(1)
dom.style.height = "48px"; dom.style.height = "54px";
this.$set(dataList[index], "priceCheck", false); this.$set(dataList[index], "priceCheck", false);
this.$set( this.$set(
dataList[index], dataList[index],
...@@ -825,7 +825,7 @@ ...@@ -825,7 +825,7 @@
); );
} else { } else {
console.log(2) console.log(2)
dom.style.height = 16 * arrLength + "px"; dom.style.height = 18 * arrLength + "px";
dom.style.transition = `height ${(arrLength - 3) * 0.125}s linear`; dom.style.transition = `height ${(arrLength - 3) * 0.125}s linear`;
dom.style.webkitTransition = `height ${(arrLength - 3) * dom.style.webkitTransition = `height ${(arrLength - 3) *
0.125}s linear`; 0.125}s linear`;
...@@ -885,7 +885,7 @@ ...@@ -885,7 +885,7 @@
if(tp==1){ if(tp==1){
//现货 //现货
for(var i=0;i<list_1.length;i++){ for(var i=0;i<list_1.length;i++){
if(self.zy1DataIsCheck){ if(!self.zy1DataIsCheck){
list_1[i].check=true; list_1[i].check=true;
}else{ }else{
list_1[i].check=false; list_1[i].check=false;
...@@ -894,7 +894,7 @@ ...@@ -894,7 +894,7 @@
}else{ }else{
//期货 //期货
for(var i=0;i<list_2.length;i++){ for(var i=0;i<list_2.length;i++){
if(self.zy2DataIsCheck){ if(!self.zy2DataIsCheck){
list_2[i].check=true; list_2[i].check=true;
}else{ }else{
list_2[i].check=false; list_2[i].check=false;
...@@ -911,7 +911,7 @@ ...@@ -911,7 +911,7 @@
var list_=self.delivery==1?this.ly1Data:this.ly2Data; var list_=self.delivery==1?this.ly1Data:this.ly2Data;
if(list_.length<=0){return} if(list_.length<=0){return}
for(var i=0;i<list_.length;i++){ for(var i=0;i<list_.length;i++){
if(self.isAll){ if(!self.isAll){
list_[i].check=true; list_[i].check=true;
}else{ }else{
list_[i].check=false; list_[i].check=false;
...@@ -921,7 +921,7 @@ ...@@ -921,7 +921,7 @@
//自营 //自营
var list_1=this.zy1Data; var list_1=this.zy1Data;
var list_2=this.zy2Data; var list_2=this.zy2Data;
if(self.isAll){ if(!self.isAll){
self.zy1DataIsCheck=true; self.zy1DataIsCheck=true;
self.zy2DataIsCheck=true; self.zy2DataIsCheck=true;
for(var i=0;i<list_1.length;i++){ for(var i=0;i<list_1.length;i++){
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/views/common/Menu.vue */ \"./src/views/common/Menu.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"header-page\",\n props: {\n color: {\n type: String,\n default: \"\"\n },\n historyb: {\n type: Boolean,\n default: false\n },\n zy1Length: {\n type: Number,\n default: 0\n },\n ly1Length: {\n type: Number,\n default: 0\n },\n ly2Length: {\n type: Number,\n default: 0\n },\n bgcolor: {\n type: String,\n default: \"#f3f3f3\"\n },\n isCar: {\n type: Boolean,\n default: false\n },\n inputShow: {\n type: Boolean,\n default: false\n },\n title: {\n type: String,\n default: \"猎芯网\"\n },\n meaushow: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n type: 1,\n //自营2 //联营1,\n borderBottom: \"0px\"\n };\n },\n mounted: function mounted() {},\n created: function created() {\n if (this.bgcolor == \"#fff\") {\n this.borderBottom = \"1px solid #d6d7dc\";\n }\n },\n methods: {\n historyback: function historyback() {\n history.go(-1);\n },\n toSearch: function toSearch() {\n this.$emit('toSearch');\n },\n toSomeThing: function toSomeThing() {\n this.$emit('toSomeThing');\n },\n listTab: function listTab(type) {\n this.type = type;\n this.$emit('listTab', type);\n }\n },\n components: {\n \"van-field\": vant__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n \"van-icon\": vant__WEBPACK_IMPORTED_MODULE_2__[\"Icon\"],\n Menu: _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/Header.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/views/common/Menu.vue */ \"./src/views/common/Menu.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"header-page\",\n props: {\n color: {\n type: String,\n default: \"\"\n },\n historyb: {\n type: Boolean,\n default: false\n },\n zy1Length: {\n type: Number,\n default: 0\n },\n ly1Length: {\n type: Number,\n default: 0\n },\n ly2Length: {\n type: Number,\n default: 0\n },\n bgcolor: {\n type: String,\n default: \"#f3f3f3\"\n },\n isCar: {\n type: Boolean,\n default: false\n },\n inputShow: {\n type: Boolean,\n default: false\n },\n title: {\n type: String,\n default: \"猎芯网\"\n },\n meaushow: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n type: 1,\n //自营2 //联营1,\n borderBottom: \"0px\"\n };\n },\n mounted: function mounted() {},\n created: function created() {\n if (this.bgcolor == \"#fff\") {\n this.borderBottom = \"1px solid #d6d7dc\";\n }\n },\n methods: {\n historyback: function historyback() {\n history.go(-1);\n },\n toSearch: function toSearch() {\n this.$emit('toSearch');\n },\n toSomeThing: function toSomeThing() {\n this.$emit('toSomeThing');\n },\n listTab: function listTab(type) {\n this.type = type;\n this.$emit('listTab', type);\n }\n },\n components: {\n \"van-field\": vant__WEBPACK_IMPORTED_MODULE_2__[\"Field\"],\n \"van-icon\": vant__WEBPACK_IMPORTED_MODULE_2__[\"Icon\"],\n Menu: _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/Header.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Menu.vue */ \"./src/views/common/Menu.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'smt',\n data: function data() {\n return {\n color: \"#fff\",\n active: 0,\n active_1: 0,\n itemtext: ['客户需要提供资料', '物料要求'],\n itemtext_1: ['售后服务', '免责条款'],\n isAvisible: 'block',\n isBvisible: 'none',\n isCvisible: 'block',\n isDvisible: 'none',\n formMsg: '',\n showButton: false,\n formError: false,\n verifyCodeFlag: false,\n codetext: '获取验证码',\n disabled: false,\n codeactive: false,\n layer_1: false,\n layer_2: false,\n layer_3: false,\n closeOnClickOverlay: true,\n firmNum: 0,\n form: {\n mobile: '',\n linkName: '',\n verifyCode: ''\n }\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.smt.loading;\n }\n }), {\n linkName: function linkName() {\n return this.form.linkName;\n },\n mobileVal: function mobileVal() {\n return this.form.mobile;\n }\n }),\n watch: {\n linkName: function linkName(val) {\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(val)) {\n this.formError = true;\n this.formMsg = '亲,称呼只能为英文和中文';\n } else {\n this.formError = false;\n this.formMsg = '';\n }\n },\n mobileVal: function mobileVal(val) {\n if (val.length >= 11) {\n this.verifyCodeFlag = true;\n this.formError = false;\n this.$store.dispatch({\n type: 'checkAccountExists',\n account: this.form.mobile\n });\n }\n }\n },\n methods: {\n tab: function tab(index, type) {\n if (type == 'a') {\n this.active = index;\n this.isAvisible = 'none';\n this.isBvisible = 'none';\n\n if (index == 0) {\n index == 0 ? this.isAvisible = 'block' : this.isAvisible = 'none';\n } else if (index == 1) {\n index == 1 ? this.isBvisible = 'block' : this.isBvisible = 'none';\n }\n } else if (type == 'b') {\n this.active_1 = index;\n this.isCvisible = 'none';\n this.isDvisible = 'none';\n\n if (index == 0) {\n index == 0 ? this.isCvisible = 'block' : this.isCvisible = 'none';\n } else if (index == 1) {\n index == 1 ? this.isDvisible = 'block' : this.isDvisible = 'none';\n }\n }\n },\n getCode: function getCode() {\n this.timeNum();\n this.$store.dispatch({\n type: 'customSmsVerify',\n mobile: this.form.mobile\n });\n },\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.disabled = true;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.disabled = false;\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n submit: function submit() {\n var character_reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n var tel_reg = /^1[34578]\\d{9}$/;\n\n if (!this.form.linkName) {\n this.formError = true;\n this.formMsg = '亲,请输入您的称呼';\n return;\n }\n\n if (!character_reg.test(this.form.linkName)) {\n this.formError = true;\n this.formMsg = '亲,称呼只能为英文和中文';\n return;\n }\n\n if (!this.form.mobile) {\n this.formError = true;\n this.formMsg = '亲,请输入手机';\n return;\n }\n\n if (!tel_reg.test(this.form.mobile)) {\n this.formError = true;\n this.formMsg = '亲,手机格式不正确';\n return;\n }\n\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n } //提交\n\n\n this.$store.dispatch({\n type: 'chainFind',\n types: 3,\n mobile: this.form.mobile,\n linkName: this.form.linkName,\n verifyCode: this.form.verifyCode\n });\n },\n goAnchor: function goAnchor() {\n var anchor = this.$el.querySelector('#linkName');\n anchor.focus();\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n }\n },\n components: {\n Menu: _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/smt/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Menu.vue */ \"./src/views/common/Menu.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'smt',\n data: function data() {\n return {\n color: \"#fff\",\n active: 0,\n active_1: 0,\n itemtext: ['客户需要提供资料', '物料要求'],\n itemtext_1: ['售后服务', '免责条款'],\n isAvisible: 'block',\n isBvisible: 'none',\n isCvisible: 'block',\n isDvisible: 'none',\n formMsg: '',\n showButton: false,\n formError: false,\n verifyCodeFlag: false,\n codetext: '获取验证码',\n disabled: false,\n codeactive: false,\n layer_1: false,\n layer_2: false,\n layer_3: false,\n closeOnClickOverlay: true,\n firmNum: 0,\n form: {\n mobile: '',\n linkName: '',\n verifyCode: ''\n }\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.smt.loading;\n }\n }), {\n linkName: function linkName() {\n return this.form.linkName;\n },\n mobileVal: function mobileVal() {\n return this.form.mobile;\n }\n }),\n watch: {\n linkName: function linkName(val) {\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(val)) {\n this.formError = true;\n this.formMsg = '亲,称呼只能为英文和中文';\n } else {\n this.formError = false;\n this.formMsg = '';\n }\n },\n mobileVal: function mobileVal(val) {\n if (val.length >= 11) {\n this.verifyCodeFlag = true;\n this.formError = false;\n this.$store.dispatch({\n type: 'checkAccountExists',\n account: this.form.mobile\n });\n }\n }\n },\n methods: {\n tab: function tab(index, type) {\n if (type == 'a') {\n this.active = index;\n this.isAvisible = 'none';\n this.isBvisible = 'none';\n\n if (index == 0) {\n index == 0 ? this.isAvisible = 'block' : this.isAvisible = 'none';\n } else if (index == 1) {\n index == 1 ? this.isBvisible = 'block' : this.isBvisible = 'none';\n }\n } else if (type == 'b') {\n this.active_1 = index;\n this.isCvisible = 'none';\n this.isDvisible = 'none';\n\n if (index == 0) {\n index == 0 ? this.isCvisible = 'block' : this.isCvisible = 'none';\n } else if (index == 1) {\n index == 1 ? this.isDvisible = 'block' : this.isDvisible = 'none';\n }\n }\n },\n getCode: function getCode() {\n this.timeNum();\n this.$store.dispatch({\n type: 'customSmsVerify',\n mobile: this.form.mobile\n });\n },\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.disabled = true;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.disabled = false;\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n submit: function submit() {\n var character_reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n var tel_reg = /^1[34578]\\d{9}$/;\n\n if (!this.form.linkName) {\n this.formError = true;\n this.formMsg = '亲,请输入您的称呼';\n return;\n }\n\n if (!character_reg.test(this.form.linkName)) {\n this.formError = true;\n this.formMsg = '亲,称呼只能为英文和中文';\n return;\n }\n\n if (!this.form.mobile) {\n this.formError = true;\n this.formMsg = '亲,请输入手机';\n return;\n }\n\n if (!tel_reg.test(this.form.mobile)) {\n this.formError = true;\n this.formMsg = '亲,手机格式不正确';\n return;\n }\n\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n } //提交\n\n\n this.$store.dispatch({\n type: 'chainFind',\n types: 3,\n mobile: this.form.mobile,\n linkName: this.form.linkName,\n verifyCode: this.form.verifyCode\n });\n },\n goAnchor: function goAnchor() {\n var anchor = this.$el.querySelector('#linkName');\n anchor.focus();\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n }\n },\n components: {\n Menu: _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/smt/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Menu.vue */ \"./src/views/common/Menu.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'supplier',\n data: function data() {\n return {\n color: '#fff',\n active: 0,\n supplierActive: 0,\n itemtext: ['自营供应商', '联营供应商'],\n isAvisible: 'block',\n isBvisible: 'none',\n numberFlag: false,\n verifyCodeFlag: false,\n codetext: '获取验证码',\n disabled: false,\n codeactive: false,\n firmNum: 0,\n secondNum: 0,\n max: 50,\n formMsg: '',\n formError: false,\n form: {\n com_name: '',\n linkName: '',\n mobile: '',\n verifyCode: '',\n supplier_type: '',\n main_brand: ''\n }\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.smt.loading;\n }\n }), {\n comName: function comName() {\n return this.form.com_name;\n },\n linkName: function linkName() {\n return this.form.linkName;\n },\n mainBrand: function mainBrand() {\n return this.form.main_brand;\n },\n verifyCode: function verifyCode() {\n return this.form.verifyCode;\n },\n mobileVal: function mobileVal() {\n return this.form.mobile;\n }\n }),\n watch: {\n mainBrand: function mainBrand(val) {\n if (val.length > this.max) {\n this.secondNum = this.max;\n } else {\n this.secondNum = val.length;\n }\n },\n linkName: function linkName(val) {\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(val)) {\n this.formError = true;\n this.formMsg = '亲,称呼只能为英文和中文';\n } else {\n this.formError = false;\n this.formMsg = '';\n }\n },\n verifyCode: function verifyCode(val) {\n if (val) {\n this.formError = false;\n }\n },\n comName: function comName(val) {\n if (val) {\n this.formError = false;\n\n if (val.length > this.max) {\n this.firmNum = this.max;\n } else {\n this.firmNum = val.length;\n }\n }\n },\n mobileVal: function mobileVal(val) {\n if (val.length >= 11) {\n this.verifyCodeFlag = true;\n this.formError = false;\n this.$store.dispatch({\n type: 'checkAccountExists',\n account: this.form.mobile\n });\n }\n }\n },\n methods: {\n tab: function tab(index) {\n this.active = index;\n this.isAvisible = 'none';\n this.isBvisible = 'none';\n\n if (index == 0) {\n index == 0 ? this.isAvisible = 'block' : this.isAvisible = 'none';\n } else if (index == 1) {\n index == 1 ? this.isBvisible = 'block' : this.isBvisible = 'none';\n }\n },\n submit: function submit() {\n var character_reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n var tel_reg = /^1[34578]\\d{9}$/; // if (!this.form.com_name) {\n // this.formError = true;\n // this.formMsg = '亲,请输入公司名称';\n // return;\n // }\n //\n // if (!this.form.linkName) {\n // this.formError = true;\n // this.formMsg = '亲,请输入您的称呼';\n // return;\n // }\n //\n // if (!character_reg.test(this.form.linkName)) {\n // this.formError = true;\n // this.formMsg = '亲,称呼只能为英文和中文';\n // return;\n // }\n\n if (!this.form.mobile) {\n this.formError = true;\n this.formMsg = '亲,请输入手机';\n return;\n }\n\n if (!tel_reg.test(this.form.mobile)) {\n this.formError = true;\n this.formMsg = '亲,手机格式不正确';\n return;\n }\n\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n } //提交\n\n\n this.$store.dispatch({\n type: 'chainFind',\n types: 1,\n mobile: this.form.mobile,\n linkName: this.form.linkName,\n verifyCode: this.form.verifyCode,\n com_name: this.form.com_name,\n main_brand: this.form.main_brand,\n supplier_type: parseInt(this.supplierActive) + 1\n });\n },\n getCode: function getCode() {\n this.timeNum();\n this.$store.dispatch({\n type: 'customSmsVerify',\n mobile: this.form.mobile\n });\n },\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.disabled = true;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.disabled = false;\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n goAnchor: function goAnchor(type) {\n if (type === 1) {\n var anchor = this.$el.querySelector('#join-btn');\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n this.$el.querySelector('#com_name').focus();\n } else if (type === 2) {\n this.$el.querySelector('#com_name').focus();\n this.supplierActive = 0;\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n } else if (type === 3) {\n this.$el.querySelector('#com_name').focus();\n this.supplierActive = 1;\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n }\n }\n },\n components: {\n Menu: _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/supplier/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Menu.vue */ \"./src/views/common/Menu.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'supplier',\n data: function data() {\n return {\n color: '#fff',\n active: 0,\n supplierActive: 0,\n itemtext: ['自营供应商', '联营供应商'],\n isAvisible: 'block',\n isBvisible: 'none',\n numberFlag: false,\n verifyCodeFlag: false,\n codetext: '获取验证码',\n disabled: false,\n codeactive: false,\n firmNum: 0,\n secondNum: 0,\n max: 50,\n formMsg: '',\n formError: false,\n form: {\n com_name: '',\n linkName: '',\n mobile: '',\n verifyCode: '',\n supplier_type: '',\n main_brand: ''\n }\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.smt.loading;\n }\n }), {\n comName: function comName() {\n return this.form.com_name;\n },\n linkName: function linkName() {\n return this.form.linkName;\n },\n mainBrand: function mainBrand() {\n return this.form.main_brand;\n },\n verifyCode: function verifyCode() {\n return this.form.verifyCode;\n },\n mobileVal: function mobileVal() {\n return this.form.mobile;\n }\n }),\n watch: {\n mainBrand: function mainBrand(val) {\n if (val.length > this.max) {\n this.secondNum = this.max;\n } else {\n this.secondNum = val.length;\n }\n },\n linkName: function linkName(val) {\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(val)) {\n this.formError = true;\n this.formMsg = '亲,称呼只能为英文和中文';\n } else {\n this.formError = false;\n this.formMsg = '';\n }\n },\n verifyCode: function verifyCode(val) {\n if (val) {\n this.formError = false;\n }\n },\n comName: function comName(val) {\n if (val) {\n this.formError = false;\n\n if (val.length > this.max) {\n this.firmNum = this.max;\n } else {\n this.firmNum = val.length;\n }\n }\n },\n mobileVal: function mobileVal(val) {\n if (val.length >= 11) {\n this.verifyCodeFlag = true;\n this.formError = false;\n this.$store.dispatch({\n type: 'checkAccountExists',\n account: this.form.mobile\n });\n }\n }\n },\n methods: {\n tab: function tab(index) {\n this.active = index;\n this.isAvisible = 'none';\n this.isBvisible = 'none';\n\n if (index == 0) {\n index == 0 ? this.isAvisible = 'block' : this.isAvisible = 'none';\n } else if (index == 1) {\n index == 1 ? this.isBvisible = 'block' : this.isBvisible = 'none';\n }\n },\n submit: function submit() {\n var character_reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n var tel_reg = /^1[34578]\\d{9}$/; // if (!this.form.com_name) {\n // this.formError = true;\n // this.formMsg = '亲,请输入公司名称';\n // return;\n // }\n //\n // if (!this.form.linkName) {\n // this.formError = true;\n // this.formMsg = '亲,请输入您的称呼';\n // return;\n // }\n //\n // if (!character_reg.test(this.form.linkName)) {\n // this.formError = true;\n // this.formMsg = '亲,称呼只能为英文和中文';\n // return;\n // }\n\n if (!this.form.mobile) {\n this.formError = true;\n this.formMsg = '亲,请输入手机';\n return;\n }\n\n if (!tel_reg.test(this.form.mobile)) {\n this.formError = true;\n this.formMsg = '亲,手机格式不正确';\n return;\n }\n\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n } //提交\n\n\n this.$store.dispatch({\n type: 'chainFind',\n types: 1,\n mobile: this.form.mobile,\n linkName: this.form.linkName,\n verifyCode: this.form.verifyCode,\n com_name: this.form.com_name,\n main_brand: this.form.main_brand,\n supplier_type: parseInt(this.supplierActive) + 1\n });\n },\n getCode: function getCode() {\n this.timeNum();\n this.$store.dispatch({\n type: 'customSmsVerify',\n mobile: this.form.mobile\n });\n },\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.disabled = true;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.disabled = false;\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n goAnchor: function goAnchor(type) {\n if (type === 1) {\n var anchor = this.$el.querySelector('#join-btn');\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n this.$el.querySelector('#com_name').focus();\n } else if (type === 2) {\n this.$el.querySelector('#com_name').focus();\n this.supplierActive = 0;\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n } else if (type === 3) {\n this.$el.querySelector('#com_name').focus();\n this.supplierActive = 1;\n document.documentElement.scrollTop = document.body.scrollTop = 0;\n }\n }\n },\n components: {\n Menu: _views_common_Menu_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/supplier/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core ...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Navigator.vue */ \"./src/views/common/Navigator.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'userIndex',\n data: function data() {\n return {\n qqurl_: _api_index__WEBPACK_IMPORTED_MODULE_5__[\"productionUrlApi\"] + 'login/qq',\n typeVal: 5,\n ismini: true\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.user.loading;\n },\n userInfo: function userInfo(state) {\n return state.user.userInfo;\n },\n orderCounts: function orderCounts(state) {\n return state.user.orderCounts;\n },\n bindInfo: function bindInfo(state) {\n return state.user.bindInfo;\n },\n isLayout: function isLayout(state) {\n return state.user.isLayout;\n },\n isGetBindInfo: function isGetBindInfo(state) {\n return state.user.isGetBindInfo;\n }\n })),\n watch: {\n isLayout: function isLayout(val) {\n if (val) {\n this.goOut();\n }\n },\n isGetBindInfo: function isGetBindInfo(val) {\n if (val) {\n this.$store.dispatch({\n type: 'getBindInfo'\n });\n }\n }\n },\n created: function created() {\n this.getData();\n\n if (isMiniProgram) {\n this.ismini = false;\n }\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'getUserType'\n });\n this.$store.dispatch({\n type: 'orderCount'\n });\n this.$store.dispatch({\n type: 'getBindInfo'\n });\n },\n goOut: function goOut() {\n this.$store.dispatch({\n type: 'logout'\n });\n },\n jiebang: function jiebang() {\n var _this = this;\n\n vant__WEBPACK_IMPORTED_MODULE_3__[\"Dialog\"].confirm({\n message: '请确认是否要解绑当前账号?'\n }).then(function () {\n _this.$store.dispatch({\n type: 'unbindPhone'\n });\n }).catch(function () {// on cancel\n });\n }\n },\n components: {\n Navigator: _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Navigator.vue */ \"./src/views/common/Navigator.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'userIndex',\n data: function data() {\n return {\n qqurl_: _api_index__WEBPACK_IMPORTED_MODULE_5__[\"productionUrlApi\"] + 'login/qq',\n typeVal: 5,\n ismini: true\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.user.loading;\n },\n userInfo: function userInfo(state) {\n return state.user.userInfo;\n },\n orderCounts: function orderCounts(state) {\n return state.user.orderCounts;\n },\n bindInfo: function bindInfo(state) {\n return state.user.bindInfo;\n },\n isLayout: function isLayout(state) {\n return state.user.isLayout;\n },\n isGetBindInfo: function isGetBindInfo(state) {\n return state.user.isGetBindInfo;\n }\n })),\n watch: {\n isLayout: function isLayout(val) {\n if (val) {\n this.goOut();\n }\n },\n isGetBindInfo: function isGetBindInfo(val) {\n if (val) {\n this.$store.dispatch({\n type: 'getBindInfo'\n });\n }\n }\n },\n created: function created() {\n this.getData();\n\n if (isMiniProgram) {\n this.ismini = false;\n }\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'getUserType'\n });\n this.$store.dispatch({\n type: 'orderCount'\n });\n this.$store.dispatch({\n type: 'getBindInfo'\n });\n },\n goOut: function goOut() {\n this.$store.dispatch({\n type: 'logout'\n });\n },\n jiebang: function jiebang() {\n var _this = this;\n\n vant__WEBPACK_IMPORTED_MODULE_3__[\"Dialog\"].confirm({\n message: '请确认是否要解绑当前账号?'\n }).then(function () {\n _this.$store.dispatch({\n type: 'unbindPhone'\n });\n }).catch(function () {// on cancel\n });\n }\n },\n components: {\n Navigator: _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'wallet',\n data: function data() {\n return {\n title: \"我的钱包\",\n meaushow: true\n };\n },\n beforeRouteEnter: function beforeRouteEnter(to, from, next) {\n next(function (vm) {\n vm.$store.dispatch({\n type: 'loginCheck',\n is_jump: true\n });\n });\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n }\n })),\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n withdraw: function withdraw() {\n var _this = this;\n\n if (this.walletInfoData.wallet_status == 1 && !(this.walletInfoData.bank_account === null)) {\n //钱包状态:1启用,-1未启用,-2锁定\n this.$router.push({\n path: '/wallet/withdraw'\n });\n } else {\n vant__WEBPACK_IMPORTED_MODULE_4__[\"Dialog\"].confirm({\n title: '提醒',\n message: '请先去绑卡'\n }).then(function () {\n _this.$router.push({\n path: '/wallet/verify'\n });\n }).catch(function () {// on cancel\n });\n }\n },\n activate: function activate() {\n this.$router.push({\n path: '/wallet/activate'\n });\n },\n recharge: function recharge() {\n this.$router.push({\n path: '/wallet/recharge'\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'wallet',\n data: function data() {\n return {\n title: \"我的钱包\",\n meaushow: true\n };\n },\n beforeRouteEnter: function beforeRouteEnter(to, from, next) {\n next(function (vm) {\n vm.$store.dispatch({\n type: 'loginCheck',\n is_jump: true\n });\n });\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n }\n })),\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n withdraw: function withdraw() {\n var _this = this;\n\n if (this.walletInfoData.wallet_status == 1 && !(this.walletInfoData.bank_account === null)) {\n //钱包状态:1启用,-1未启用,-2锁定\n this.$router.push({\n path: '/wallet/withdraw'\n });\n } else {\n vant__WEBPACK_IMPORTED_MODULE_4__[\"Dialog\"].confirm({\n title: '提醒',\n message: '请先去绑卡'\n }).then(function () {\n _this.$router.push({\n path: '/wallet/verify'\n });\n }).catch(function () {// on cancel\n });\n }\n },\n activate: function activate() {\n this.$router.push({\n path: '/wallet/activate'\n });\n },\n recharge: function recharge() {\n this.$router.push({\n path: '/wallet/recharge'\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _util_check_bank_no_min__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/check_bank_no.min */ \"./src/util/check_bank_no.min.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_5__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletBind',\n data: function data() {\n return {\n title: \"绑定银行账号\",\n meaushow: true,\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n form: {\n userName: '',\n userBankID: '',\n userBankNum: '',\n userID: '',\n userMobile: '',\n verifyCode: ''\n },\n formError: false,\n formMsg: '',\n userBankIDList: {\n \"邮政储蓄银行\": 100,\n \"中国工商银行\": 102,\n \"中国农业银行\": 103,\n \"中国银行\": 104,\n \"中国建设银行\": 105,\n \"交通银行\": 301,\n \"中信银行\": 302,\n \"中国光大银行\": 303,\n \"中国民生银行\": 305,\n \"广发银行\": 306,\n \"平安银行\": 307,\n \"招商银行\": 308,\n \"兴业银行\": 309,\n \"上海浦东发展银行\": 310,\n \"浙商银行\": 316,\n \"上海银行\": 401,\n \"北京银行\": 403,\n \"徽商银行\": 440,\n \"银联在线-中金网银无卡\": 888,\n \"银联在线中金网银\": 889\n }\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n bankPasswordToken: function bankPasswordToken(state) {\n return state.wallet.bankPasswordToken;\n },\n bankCountDownFlag: function bankCountDownFlag(state) {\n return state.wallet.bankCountDownFlag;\n },\n bindBankKey: function bindBankKey(state) {\n return state.wallet.bindBankKey;\n },\n bindBankData: function bindBankData(state) {\n return state.wallet.bindBankData;\n }\n })),\n watch: {\n bankCountDownFlag: function bankCountDownFlag(value) {\n if (value == true) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n verify: function verify() {\n if (!this.form.userName) {\n this.formError = true;\n this.formMsg = '亲,请输入真实姓名';\n return false;\n }\n\n if (!this.form.userBankNum) {\n this.formError = true;\n this.formMsg = '亲,请输入银行账号';\n return false;\n }\n\n if (!this.form.userID) {\n this.formError = true;\n this.formMsg = '亲,请输入身份证号码';\n return false;\n }\n\n if (!this.form.userMobile) {\n this.formError = true;\n this.formMsg = '亲,请输入银行预留手机';\n return false;\n }\n\n var tel_reg = /^1[34578]\\d{9}$/;\n\n if (!tel_reg.test(this.form.userMobile)) {\n this.formError = true;\n this.formMsg = '亲,银行预留手机格式不正确';\n return false;\n }\n\n return true;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n getCode: function getCode() {\n if (this.verify()) {\n var infox = Object(_util_check_bank_no_min__WEBPACK_IMPORTED_MODULE_4__[\"bankCardAttribution\"])(this.form.userBankNum);\n\n for (var key in this.userBankIDList) {\n if (key == infox.bankName) {\n this.form.userBankID = this.userBankIDList[key];\n } // else{\n // Toast({\n // message: \"银行卡格式有误\",\n // duration: 2000\n // });\n // }\n\n }\n\n this.formError = false;\n this.$store.dispatch({\n //actions分发\n type: 'getBindBankmsg',\n bank_user: this.form.userName,\n bank_id: this.form.userBankID,\n bank_account: this.form.userBankNum,\n id_type: 0,\n id_number: this.form.userID,\n account_type: 1,\n mobile: this.form.userMobile\n });\n }\n },\n confirm: function confirm() {\n //确认\n if (this.verify()) {\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false; //绑定银行卡\n\n this.$store.dispatch({\n type: 'bindBankCard',\n token: this.bankPasswordToken || _util__WEBPACK_IMPORTED_MODULE_6__[\"default\"].getCookie(\"bankPasswordToken\"),\n wallet_bank_id: '',\n sms_code: this.form.verifyCode,\n access_key: this.bindBankKey,\n access_data: this.bindBankData\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Bind.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _util_check_bank_no_min__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/check_bank_no.min */ \"./src/util/check_bank_no.min.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_5__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletBind',\n data: function data() {\n return {\n title: \"绑定银行账号\",\n meaushow: true,\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n form: {\n userName: '',\n userBankID: '',\n userBankNum: '',\n userID: '',\n userMobile: '',\n verifyCode: ''\n },\n formError: false,\n formMsg: '',\n userBankIDList: {\n \"邮政储蓄银行\": 100,\n \"中国工商银行\": 102,\n \"中国农业银行\": 103,\n \"中国银行\": 104,\n \"中国建设银行\": 105,\n \"交通银行\": 301,\n \"中信银行\": 302,\n \"中国光大银行\": 303,\n \"中国民生银行\": 305,\n \"广发银行\": 306,\n \"平安银行\": 307,\n \"招商银行\": 308,\n \"兴业银行\": 309,\n \"上海浦东发展银行\": 310,\n \"浙商银行\": 316,\n \"上海银行\": 401,\n \"北京银行\": 403,\n \"徽商银行\": 440,\n \"银联在线-中金网银无卡\": 888,\n \"银联在线中金网银\": 889\n }\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n bankPasswordToken: function bankPasswordToken(state) {\n return state.wallet.bankPasswordToken;\n },\n bankCountDownFlag: function bankCountDownFlag(state) {\n return state.wallet.bankCountDownFlag;\n },\n bindBankKey: function bindBankKey(state) {\n return state.wallet.bindBankKey;\n },\n bindBankData: function bindBankData(state) {\n return state.wallet.bindBankData;\n }\n })),\n watch: {\n bankCountDownFlag: function bankCountDownFlag(value) {\n if (value == true) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n verify: function verify() {\n if (!this.form.userName) {\n this.formError = true;\n this.formMsg = '亲,请输入真实姓名';\n return false;\n }\n\n if (!this.form.userBankNum) {\n this.formError = true;\n this.formMsg = '亲,请输入银行账号';\n return false;\n }\n\n if (!this.form.userID) {\n this.formError = true;\n this.formMsg = '亲,请输入身份证号码';\n return false;\n }\n\n if (!this.form.userMobile) {\n this.formError = true;\n this.formMsg = '亲,请输入银行预留手机';\n return false;\n }\n\n var tel_reg = /^1[34578]\\d{9}$/;\n\n if (!tel_reg.test(this.form.userMobile)) {\n this.formError = true;\n this.formMsg = '亲,银行预留手机格式不正确';\n return false;\n }\n\n return true;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n getCode: function getCode() {\n if (this.verify()) {\n var infox = Object(_util_check_bank_no_min__WEBPACK_IMPORTED_MODULE_4__[\"bankCardAttribution\"])(this.form.userBankNum);\n\n for (var key in this.userBankIDList) {\n if (key == infox.bankName) {\n this.form.userBankID = this.userBankIDList[key];\n } // else{\n // Toast({\n // message: \"银行卡格式有误\",\n // duration: 2000\n // });\n // }\n\n }\n\n this.formError = false;\n this.$store.dispatch({\n //actions分发\n type: 'getBindBankmsg',\n bank_user: this.form.userName,\n bank_id: this.form.userBankID,\n bank_account: this.form.userBankNum,\n id_type: 0,\n id_number: this.form.userID,\n account_type: 1,\n mobile: this.form.userMobile\n });\n }\n },\n confirm: function confirm() {\n //确认\n if (this.verify()) {\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false; //绑定银行卡\n\n this.$store.dispatch({\n type: 'bindBankCard',\n token: this.bankPasswordToken || _util__WEBPACK_IMPORTED_MODULE_6__[\"default\"].getCookie(\"bankPasswordToken\"),\n wallet_bank_id: '',\n sms_code: this.form.verifyCode,\n access_key: this.bindBankKey,\n access_data: this.bindBankData\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Bind.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'wxlist',\n data: function data() {\n return {\n page: 0,\n limit: 6,\n loading: false\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n wechatArticle: function wechatArticle(state) {\n return state.wxlist.wechatArticle;\n },\n wechatArticleList: function wechatArticleList(state) {\n return state.wxlist.wechatArticleList;\n },\n limits: function limits(state) {\n return state.wxlist.limits;\n },\n loadStatus: function loadStatus(state) {\n return state.wxlist.loadStatus;\n },\n finished: function finished(state) {\n return state.wxlist.finished;\n }\n })),\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n created: function created() {},\n methods: {\n getData: function getData(type_id) {\n this.$store.dispatch({\n type: 'wechatArticle',\n type_id: type_id,\n page: this.page,\n limit: this.limit\n });\n },\n onLoad: function onLoad() {\n if (this.page < this.limits) {\n this.page++;\n this.getData(this.$route.query.type_id);\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wxlist/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'wxlist',\n data: function data() {\n return {\n page: 0,\n limit: 6,\n loading: false\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n wechatArticle: function wechatArticle(state) {\n return state.wxlist.wechatArticle;\n },\n wechatArticleList: function wechatArticleList(state) {\n return state.wxlist.wechatArticleList;\n },\n limits: function limits(state) {\n return state.wxlist.limits;\n },\n loadStatus: function loadStatus(state) {\n return state.wxlist.loadStatus;\n },\n finished: function finished(state) {\n return state.wxlist.finished;\n }\n })),\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n created: function created() {},\n methods: {\n getData: function getData(type_id) {\n this.$store.dispatch({\n type: 'wechatArticle',\n type_id: type_id,\n page: this.page,\n limit: this.limit\n });\n },\n onLoad: function onLoad() {\n if (this.page < this.limits) {\n this.page++;\n this.getData(this.$route.query.type_id);\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wxlist/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
This diff could not be displayed because it is too large.
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.function.name */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.function.name.js\");\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.regexp.split */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.split.js\");\n/* harmony import */ var core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/GoodsOne.vue */ \"./src/views/common/GoodsOne.vue\");\n/* harmony import */ var _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/goodsDetail.vue */ \"./src/views/common/goodsDetail.vue\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/views/common/addCarAlert */ \"./src/views/common/addCarAlert.vue\");\n\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_5__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"lxshop\",\n data: function data() {\n return {\n detailsData: {\n isShow: false,\n id: \"\"\n },\n carshow: true,\n isWindow: true,\n inputShow: true,\n meaushow: true,\n supplierShow: false,\n confirmSupplierNames: \"全部供应商\",\n confirmSuppliers: \"\",\n supplierListLocal: [],\n supplierIsBlue: false,\n popdetailbool: false\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_4__[\"mapState\"])({\n loading: function loading(state) {\n return state.lxshop.loading;\n },\n supplierList: function supplierList(state) {\n return state.lxshop.supplierList;\n },\n supplierIds: function supplierIds(state) {\n return state.lxshop.supplierIds;\n },\n isLyData: function isLyData(state) {\n return state.lxshop.isLyData;\n },\n lyData: function lyData(state) {\n return state.lxshop.lyData;\n },\n isHaveData: function isHaveData(state) {\n return state.lxshop.isHaveData;\n },\n isShowAlert: function isShowAlert(state) {\n return state.gooddetail.isShowAlert;\n }\n })),\n watch: {\n isShowAlert: function isShowAlert(now) {\n if (now) {\n this.detailsData = {\n isShow: false,\n id: \"\"\n };\n this.$store.dispatch({\n type: \"cartCount\"\n });\n }\n },\n supplierList: function supplierList(val) {\n this.supplierListLocal = val;\n },\n supplierIds: function supplierIds(val) {\n this.confirmSuppliers = val;\n },\n isLyData: function isLyData(val) {\n if (val) {\n this.getData();\n }\n }\n },\n created: function created() {\n this.allSUpplier();\n this.scrollFns();\n },\n mounted: function mounted() {},\n methods: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_4__[\"mapMutations\"])([\"resetData\"]), {\n //所有供应商\n allSUpplier: function allSUpplier() {\n this.$store.dispatch({\n type: \"supplierApi\"\n });\n },\n getData: function getData(reset) {\n var ids_ = [];\n\n if (this.confirmSuppliers) {\n ids_ = this.confirmSuppliers.split(\",\");\n }\n\n if (reset) {\n this.resetData();\n }\n\n if (ids_.length > 0) {\n for (var i = 0; i < ids_.length; i++) {\n this.$store.dispatch({\n type: \"searchLyEsData\",\n k: ids_[i]\n });\n }\n }\n },\n toSearchp: function toSearchp() {\n window.location.href = \"/v3/search/search_index.html?ptag=lxshop-topnav\";\n },\n supplierShit: function supplierShit() {\n this.supplierShow = !this.supplierShow;\n },\n supplierCheck: function supplierCheck(ids) {\n var self = this;\n\n for (var i = 0; i < self.supplierListLocal.length; i++) {\n if (self.supplierListLocal[i].ids == ids) {\n self.supplierListLocal[i].isCheck = !self.supplierListLocal[i].isCheck;\n }\n }\n },\n reset: function reset() {\n var self = this;\n\n for (var i = 0; i < self.supplierListLocal.length; i++) {\n self.supplierListLocal[i].isCheck = false;\n }\n },\n confirm: function confirm() {\n var self = this;\n self.confirmSuppliers = \"\";\n self.confirmSupplierNames = \"\";\n\n for (var i = 0; i < self.supplierListLocal.length; i++) {\n if (self.supplierListLocal[i].isCheck) {\n self.confirmSuppliers += \",\" + self.supplierListLocal[i].ids;\n self.confirmSupplierNames += \",\" + self.supplierListLocal[i].name;\n }\n }\n\n self.confirmSuppliers = self.confirmSuppliers.slice(1);\n self.confirmSupplierNames = self.confirmSupplierNames.slice(1);\n\n if (!self.confirmSupplierNames) {\n self.confirmSupplierNames = \"全部供应商\";\n this.supplierIsBlue = false;\n } else {\n this.supplierIsBlue = true;\n }\n\n this.supplierShow = !this.supplierShow;\n\n if (this.confirmSuppliers == \"\") {\n this.confirmSuppliers = this.supplierIds;\n }\n\n this.getData(1);\n },\n moreData: function moreData(id_, p) {\n console.log(id_);\n this.$store.dispatch({\n type: \"searchLyEsData\",\n k: id_,\n p: p,\n isMore: 1\n });\n },\n placeOrder: function placeOrder(id) {\n this.detailsData = {\n isShow: true,\n id: id\n };\n },\n scrollFns: function scrollFns() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 200) {\n if (self.confirmSupplierNames != \"全部供应商\") {\n self.popdetailbool = true;\n }\n } else {\n self.popdetailbool = false;\n }\n };\n }\n }),\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n GoodsOne: _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n goodsDetail: _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n addCarAlert: _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_10__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/lxshop/lxshop.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.function.name */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.function.name.js\");\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.regexp.split */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.split.js\");\n/* harmony import */ var core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_split__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/GoodsOne.vue */ \"./src/views/common/GoodsOne.vue\");\n/* harmony import */ var _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/goodsDetail.vue */ \"./src/views/common/goodsDetail.vue\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @/views/common/addCarAlert */ \"./src/views/common/addCarAlert.vue\");\n\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_5__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"lxshop\",\n data: function data() {\n return {\n detailsData: {\n isShow: false,\n id: \"\"\n },\n carshow: true,\n isWindow: true,\n inputShow: true,\n meaushow: true,\n supplierShow: false,\n confirmSupplierNames: \"全部供应商\",\n confirmSuppliers: \"\",\n supplierListLocal: [],\n supplierIsBlue: false,\n popdetailbool: false\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_4__[\"mapState\"])({\n loading: function loading(state) {\n return state.lxshop.loading;\n },\n supplierList: function supplierList(state) {\n return state.lxshop.supplierList;\n },\n supplierIds: function supplierIds(state) {\n return state.lxshop.supplierIds;\n },\n isLyData: function isLyData(state) {\n return state.lxshop.isLyData;\n },\n lyData: function lyData(state) {\n return state.lxshop.lyData;\n },\n isHaveData: function isHaveData(state) {\n return state.lxshop.isHaveData;\n },\n isShowAlert: function isShowAlert(state) {\n return state.gooddetail.isShowAlert;\n }\n })),\n watch: {\n isShowAlert: function isShowAlert(now) {\n if (now) {\n this.detailsData = {\n isShow: false,\n id: \"\"\n };\n this.$store.dispatch({\n type: \"cartCount\"\n });\n }\n },\n supplierList: function supplierList(val) {\n this.supplierListLocal = val;\n },\n supplierIds: function supplierIds(val) {\n this.confirmSuppliers = val;\n },\n isLyData: function isLyData(val) {\n if (val) {\n this.getData();\n }\n }\n },\n created: function created() {\n this.allSUpplier();\n this.scrollFns();\n },\n mounted: function mounted() {},\n methods: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_4__[\"mapMutations\"])([\"resetData\"]), {\n //所有供应商\n allSUpplier: function allSUpplier() {\n this.$store.dispatch({\n type: \"supplierApi\"\n });\n },\n getData: function getData(reset) {\n var ids_ = [];\n\n if (this.confirmSuppliers) {\n ids_ = this.confirmSuppliers.split(\",\");\n }\n\n if (reset) {\n this.resetData();\n }\n\n if (ids_.length > 0) {\n for (var i = 0; i < ids_.length; i++) {\n this.$store.dispatch({\n type: \"searchLyEsData\",\n k: ids_[i]\n });\n }\n }\n },\n toSearchp: function toSearchp() {\n window.location.href = \"/v3/search/search_index.html?ptag=lxshop-topnav\";\n },\n supplierShit: function supplierShit() {\n this.supplierShow = !this.supplierShow;\n },\n supplierCheck: function supplierCheck(ids) {\n var self = this;\n\n for (var i = 0; i < self.supplierListLocal.length; i++) {\n if (self.supplierListLocal[i].ids == ids) {\n self.supplierListLocal[i].isCheck = !self.supplierListLocal[i].isCheck;\n }\n }\n },\n reset: function reset() {\n var self = this;\n\n for (var i = 0; i < self.supplierListLocal.length; i++) {\n self.supplierListLocal[i].isCheck = false;\n }\n },\n confirm: function confirm() {\n var self = this;\n self.confirmSuppliers = \"\";\n self.confirmSupplierNames = \"\";\n\n for (var i = 0; i < self.supplierListLocal.length; i++) {\n if (self.supplierListLocal[i].isCheck) {\n self.confirmSuppliers += \",\" + self.supplierListLocal[i].ids;\n self.confirmSupplierNames += \",\" + self.supplierListLocal[i].name;\n }\n }\n\n self.confirmSuppliers = self.confirmSuppliers.slice(1);\n self.confirmSupplierNames = self.confirmSupplierNames.slice(1);\n\n if (!self.confirmSupplierNames) {\n self.confirmSupplierNames = \"全部供应商\";\n this.supplierIsBlue = false;\n } else {\n this.supplierIsBlue = true;\n }\n\n this.supplierShow = !this.supplierShow;\n\n if (this.confirmSuppliers == \"\") {\n this.confirmSuppliers = this.supplierIds;\n }\n\n this.getData(1);\n },\n moreData: function moreData(id_, p) {\n console.log(id_);\n this.$store.dispatch({\n type: \"searchLyEsData\",\n k: id_,\n p: p,\n isMore: 1\n });\n },\n placeOrder: function placeOrder(id) {\n this.detailsData = {\n isShow: true,\n id: id\n };\n },\n scrollFns: function scrollFns() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 200) {\n if (self.confirmSupplierNames != \"全部供应商\") {\n self.popdetailbool = true;\n }\n } else {\n self.popdetailbool = false;\n }\n };\n }\n }),\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n GoodsOne: _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n goodsDetail: _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n addCarAlert: _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_10__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/lxshop/lxshop.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Lazyload\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'news',\n data: function data() {\n return {\n title: \"猎芯网-新闻列表\",\n p: 1,\n cat_id: '',\n bannerHeight: 180,\n meaushow: true,\n loading: false,\n limit: 10,\n act: 0,\n navListfixed: false\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n rollbanner: function rollbanner(state) {\n return state.news.rollbanner;\n },\n cat_list: function cat_list(state) {\n return state.news.cat_list;\n },\n content_list: function content_list(state) {\n return state.news.content_list;\n },\n loadStatus: function loadStatus(state) {\n return state.news.loadStatus;\n },\n finished: function finished(state) {\n return state.news.finished;\n },\n totalLimit: function totalLimit(state) {\n return state.news.totalLimit;\n }\n })),\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n created: function created() {\n this.getData();\n },\n mounted: function mounted() {\n this.scrollFns();\n },\n methods: {\n getData: function getData() {\n var catid = \"\";\n\n if (this.cat_id) {\n catid = this.cat_id;\n } else {\n if (this.cat_list.length > 0) {\n catid = this.cat_list[0].cat_id;\n }\n }\n\n this.$store.dispatch({\n type: 'newsArticle',\n cat_id: catid,\n p: this.p,\n limit: this.limit\n });\n },\n tab: function tab(index) {\n if (this.act == index) {\n return;\n }\n\n this.act = index;\n this.p = 1;\n this.cat_id = this.cat_list[index].cat_id;\n this.getData();\n },\n onLoad: function onLoad() {\n if (this.p < this.totalLimit) {\n this.p++;\n this.getData();\n }\n },\n scrollFns: function scrollFns() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.navListfixed = true;\n } else {\n self.navListfixed = false;\n }\n };\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/news/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Lazyload\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'news',\n data: function data() {\n return {\n title: \"猎芯网-新闻列表\",\n p: 1,\n cat_id: '',\n bannerHeight: 180,\n meaushow: true,\n loading: false,\n limit: 10,\n act: 0,\n navListfixed: false\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n rollbanner: function rollbanner(state) {\n return state.news.rollbanner;\n },\n cat_list: function cat_list(state) {\n return state.news.cat_list;\n },\n content_list: function content_list(state) {\n return state.news.content_list;\n },\n loadStatus: function loadStatus(state) {\n return state.news.loadStatus;\n },\n finished: function finished(state) {\n return state.news.finished;\n },\n totalLimit: function totalLimit(state) {\n return state.news.totalLimit;\n }\n })),\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n created: function created() {\n this.getData();\n },\n mounted: function mounted() {\n this.scrollFns();\n },\n methods: {\n getData: function getData() {\n var catid = \"\";\n\n if (this.cat_id) {\n catid = this.cat_id;\n } else {\n if (this.cat_list.length > 0) {\n catid = this.cat_list[0].cat_id;\n }\n }\n\n this.$store.dispatch({\n type: 'newsArticle',\n cat_id: catid,\n p: this.p,\n limit: this.limit\n });\n },\n tab: function tab(index) {\n if (this.act == index) {\n return;\n }\n\n this.act = index;\n this.p = 1;\n this.cat_id = this.cat_list[index].cat_id;\n this.getData();\n },\n onLoad: function onLoad() {\n if (this.p < this.totalLimit) {\n this.p++;\n this.getData();\n }\n },\n scrollFns: function scrollFns() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.navListfixed = true;\n } else {\n self.navListfixed = false;\n }\n };\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/news/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_2__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'Pointmall',\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__[\"mapState\"])({\n loading: function loading(state) {\n return state.pointmall.loading;\n },\n userInfo: function userInfo(state) {\n return state.pointmall.userInfo;\n },\n getUserCurrentPoint: function getUserCurrentPoint(state) {\n return state.pointmall.getUserCurrentPoint;\n },\n isSignInToday: function isSignInToday(state) {\n return state.pointmall.isSignInToday;\n },\n isSignInTodayStateGo: function isSignInTodayStateGo(state) {\n return state.pointmall.isSignInTodayStateGo;\n },\n checkInfoState: function checkInfoState(state) {\n return state.pointmall.checkInfoState;\n },\n navlist: function navlist(state) {\n return state.pointmall.navlist;\n },\n listdata: function listdata(state) {\n return state.pointmall.listdata;\n }\n })),\n data: function data() {\n return {\n loginUrl: '/v3/login?referer=' + encodeURIComponent(window.location.href),\n //登录地址\n title: \"积分商城\",\n act: 0,\n addPointState: false,\n isLogingo: _util__WEBPACK_IMPORTED_MODULE_6__[\"default\"].isLogin() == 1 ? true : false,\n //强登录太\n isLogin: _util__WEBPACK_IMPORTED_MODULE_6__[\"default\"].isLogin() ? true : false //强弱登录太\n\n };\n },\n created: function created() {\n this.loginstate();\n },\n methods: {\n loginstate: function loginstate() {\n this.$store.dispatch({\n type: 'getPointPrize'\n });\n\n if (this.isLogin) {\n this.check();\n this.$store.dispatch({\n type: 'getUserCurrentPoint'\n });\n this.$store.dispatch({\n type: 'isSignInToday'\n });\n }\n },\n tab: function tab(index) {\n if (this.act == index) {\n return;\n }\n\n this.act = index;\n },\n check: function check() {\n this.$store.dispatch({\n type: 'loginCheckp'\n });\n },\n qiandao: function qiandao() {\n if (this.isSignInToday) {\n return;\n }\n\n if (this.isLogingo) {\n this.$store.dispatch({\n type: 'signIn'\n });\n } else {\n window.location.href = this.loginUrl;\n }\n },\n zhuanjifen: function zhuanjifen() {\n if (_util__WEBPACK_IMPORTED_MODULE_6__[\"default\"].isLogin() == 1) {\n this.addPointState = true;\n this.$store.dispatch({\n type: 'checkMktScore'\n });\n } else {\n window.location.href = this.loginUrl;\n }\n },\n changePrize: function changePrize(prize_id, prize_point, prize_name) {\n var _this = this;\n\n if (this.isLogingo) {\n if (this.getUserCurrentPoint == 0) {\n Object(vant__WEBPACK_IMPORTED_MODULE_4__[\"Toast\"])({\n message: '当前没有积分噢',\n duration: 3000\n });\n return;\n }\n\n if (this.getUserCurrentPoint < Number(prize_point)) {\n vant__WEBPACK_IMPORTED_MODULE_4__[\"Dialog\"].confirm({\n title: '温馨提示',\n message: '您当前拥有' + this.getUserCurrentPoint + '积分,还差' + (Number(prize_point) - this.getUserCurrentPoint) + '积分可以兑换此奖品,立即去赚取积分吧',\n confirmButtonText: '赚取积分'\n }).then(function () {\n _this.zhuanjifen();\n }).catch(function () {// on cancel\n });\n return;\n }\n\n vant__WEBPACK_IMPORTED_MODULE_4__[\"Dialog\"].confirm({\n title: '温馨提示',\n message: '你确定要以' + prize_point + '积分兑换' + prize_name + '吗?'\n }).then(function () {\n _this.$store.dispatch({\n type: 'exchangePrize',\n point_prize_id: prize_id\n });\n }).catch(function () {// on cancel\n });\n } else {\n window.location.href = this.loginUrl;\n }\n }\n },\n watch: {\n isSignInTodayStateGo: function isSignInTodayStateGo(val) {\n if (val) {\n this.$store.dispatch({\n type: 'getUserCurrentPoint'\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../util */ \"./src/util/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_2__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'Pointmall',\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__[\"mapState\"])({\n loading: function loading(state) {\n return state.pointmall.loading;\n },\n userInfo: function userInfo(state) {\n return state.pointmall.userInfo;\n },\n getUserCurrentPoint: function getUserCurrentPoint(state) {\n return state.pointmall.getUserCurrentPoint;\n },\n isSignInToday: function isSignInToday(state) {\n return state.pointmall.isSignInToday;\n },\n isSignInTodayStateGo: function isSignInTodayStateGo(state) {\n return state.pointmall.isSignInTodayStateGo;\n },\n checkInfoState: function checkInfoState(state) {\n return state.pointmall.checkInfoState;\n },\n navlist: function navlist(state) {\n return state.pointmall.navlist;\n },\n listdata: function listdata(state) {\n return state.pointmall.listdata;\n }\n })),\n data: function data() {\n return {\n loginUrl: '/v3/login?referer=' + encodeURIComponent(window.location.href),\n //登录地址\n title: \"积分商城\",\n act: 0,\n addPointState: false,\n isLogingo: _util__WEBPACK_IMPORTED_MODULE_6__[\"default\"].isLogin() == 1 ? true : false,\n //强登录太\n isLogin: _util__WEBPACK_IMPORTED_MODULE_6__[\"default\"].isLogin() ? true : false //强弱登录太\n\n };\n },\n created: function created() {\n this.loginstate();\n },\n methods: {\n loginstate: function loginstate() {\n this.$store.dispatch({\n type: 'getPointPrize'\n });\n\n if (this.isLogin) {\n this.check();\n this.$store.dispatch({\n type: 'getUserCurrentPoint'\n });\n this.$store.dispatch({\n type: 'isSignInToday'\n });\n }\n },\n tab: function tab(index) {\n if (this.act == index) {\n return;\n }\n\n this.act = index;\n },\n check: function check() {\n this.$store.dispatch({\n type: 'loginCheckp'\n });\n },\n qiandao: function qiandao() {\n if (this.isSignInToday) {\n return;\n }\n\n if (this.isLogingo) {\n this.$store.dispatch({\n type: 'signIn'\n });\n } else {\n window.location.href = this.loginUrl;\n }\n },\n zhuanjifen: function zhuanjifen() {\n if (_util__WEBPACK_IMPORTED_MODULE_6__[\"default\"].isLogin() == 1) {\n this.addPointState = true;\n this.$store.dispatch({\n type: 'checkMktScore'\n });\n } else {\n window.location.href = this.loginUrl;\n }\n },\n changePrize: function changePrize(prize_id, prize_point, prize_name) {\n var _this = this;\n\n if (this.isLogingo) {\n if (this.getUserCurrentPoint == 0) {\n Object(vant__WEBPACK_IMPORTED_MODULE_4__[\"Toast\"])({\n message: '当前没有积分噢',\n duration: 3000\n });\n return;\n }\n\n if (this.getUserCurrentPoint < Number(prize_point)) {\n vant__WEBPACK_IMPORTED_MODULE_4__[\"Dialog\"].confirm({\n title: '温馨提示',\n message: '您当前拥有' + this.getUserCurrentPoint + '积分,还差' + (Number(prize_point) - this.getUserCurrentPoint) + '积分可以兑换此奖品,立即去赚取积分吧',\n confirmButtonText: '赚取积分'\n }).then(function () {\n _this.zhuanjifen();\n }).catch(function () {// on cancel\n });\n return;\n }\n\n vant__WEBPACK_IMPORTED_MODULE_4__[\"Dialog\"].confirm({\n title: '温馨提示',\n message: '你确定要以' + prize_point + '积分兑换' + prize_name + '吗?'\n }).then(function () {\n _this.$store.dispatch({\n type: 'exchangePrize',\n point_prize_id: prize_id\n });\n }).catch(function () {// on cancel\n });\n } else {\n window.location.href = this.loginUrl;\n }\n }\n },\n watch: {\n isSignInTodayStateGo: function isSignInTodayStateGo(val) {\n if (val) {\n this.$store.dispatch({\n type: 'getUserCurrentPoint'\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"exchange\",\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n },\n data: function data() {\n return {\n page: 1,\n loading: false,\n limit: 12,\n flow_type: 1,\n detaillists: [],\n prize_type: 1\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n navlist: function navlist(state) {\n return state.pointmall.navlist;\n },\n loadStatus: function loadStatus(state) {\n return state.exchange.loadStatus;\n },\n finished: function finished(state) {\n return state.exchange.finished;\n },\n totalLimit: function totalLimit(state) {\n return state.exchange.totalLimit;\n },\n detaillist: function detaillist(state) {\n return state.exchange.detaillist;\n }\n })),\n created: function created() {\n this.$store.dispatch({\n type: 'getPointPrize'\n });\n this.getData();\n },\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'getUserPointExchangeList',\n page: this.page,\n limit: this.limit,\n prize_type: this.prize_type\n });\n },\n tab: function tab(prize_type) {\n if (prize_type == this.prize_type) {\n return;\n }\n\n this.prize_type = prize_type;\n this.page = 1;\n var pointDom = this.$refs['pointContent'];\n\n if (!pointDom.scrollTo) {\n pointDom.scrollTop = 0;\n } else {\n pointDom.scrollTo(0, 0);\n }\n\n this.getData();\n },\n onLoad: function onLoad() {\n if (this.page < this.totalLimit) {\n this.page++;\n this.getData();\n }\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/exchange.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"exchange\",\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n },\n data: function data() {\n return {\n page: 1,\n loading: false,\n limit: 12,\n flow_type: 1,\n detaillists: [],\n prize_type: 1\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n navlist: function navlist(state) {\n return state.pointmall.navlist;\n },\n loadStatus: function loadStatus(state) {\n return state.exchange.loadStatus;\n },\n finished: function finished(state) {\n return state.exchange.finished;\n },\n totalLimit: function totalLimit(state) {\n return state.exchange.totalLimit;\n },\n detaillist: function detaillist(state) {\n return state.exchange.detaillist;\n }\n })),\n created: function created() {\n this.$store.dispatch({\n type: 'getPointPrize'\n });\n this.getData();\n },\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'getUserPointExchangeList',\n page: this.page,\n limit: this.limit,\n prize_type: this.prize_type\n });\n },\n tab: function tab(prize_type) {\n if (prize_type == this.prize_type) {\n return;\n }\n\n this.prize_type = prize_type;\n this.page = 1;\n var pointDom = this.$refs['pointContent'];\n\n if (!pointDom.scrollTo) {\n pointDom.scrollTop = 0;\n } else {\n pointDom.scrollTo(0, 0);\n }\n\n this.getData();\n },\n onLoad: function onLoad() {\n if (this.page < this.totalLimit) {\n this.page++;\n this.getData();\n }\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/exchange.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'pointdetail',\n data: function data() {\n return {\n finishedtext: \" \",\n page: 1,\n loading: false,\n limit: 12,\n flow_type: 1,\n detaillists: []\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n getUserCurrentPoint: function getUserCurrentPoint(state) {\n return state.pointdetail.getUserCurrentPoint;\n },\n loadStatus: function loadStatus(state) {\n return state.pointdetail.loadStatus;\n },\n finished: function finished(state) {\n return state.pointdetail.finished;\n },\n totalLimit: function totalLimit(state) {\n return state.pointdetail.totalLimit;\n },\n detaillist: function detaillist(state) {\n return state.pointdetail.detaillist;\n }\n })),\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getUserCurrentPointdetail'\n });\n this.getData();\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'getUserPointDetail',\n page: this.page,\n limit: this.limit,\n flow_type: this.flow_type\n });\n },\n tab: function tab(flow_type) {\n if (this.flow_type == flow_type) {\n return;\n }\n\n var pointDom = this.$refs['pointContent'];\n this.flow_type = flow_type;\n this.page = 1;\n\n if (!pointDom.scrollTo) {\n pointDom.scrollTop = 0;\n } else {\n pointDom.scrollTo(0, 0);\n }\n\n this.getData();\n },\n onLoad: function onLoad() {\n if (this.page < this.totalLimit) {\n this.page++;\n this.getData();\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/pointDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"List\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'pointdetail',\n data: function data() {\n return {\n finishedtext: \" \",\n page: 1,\n loading: false,\n limit: 12,\n flow_type: 1,\n detaillists: []\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n getUserCurrentPoint: function getUserCurrentPoint(state) {\n return state.pointdetail.getUserCurrentPoint;\n },\n loadStatus: function loadStatus(state) {\n return state.pointdetail.loadStatus;\n },\n finished: function finished(state) {\n return state.pointdetail.finished;\n },\n totalLimit: function totalLimit(state) {\n return state.pointdetail.totalLimit;\n },\n detaillist: function detaillist(state) {\n return state.pointdetail.detaillist;\n }\n })),\n watch: {\n loadStatus: function loadStatus(val) {\n this.loading = val;\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getUserCurrentPointdetail'\n });\n this.getData();\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'getUserPointDetail',\n page: this.page,\n limit: this.limit,\n flow_type: this.flow_type\n });\n },\n tab: function tab(flow_type) {\n if (this.flow_type == flow_type) {\n return;\n }\n\n var pointDom = this.$refs['pointContent'];\n this.flow_type = flow_type;\n this.page = 1;\n\n if (!pointDom.scrollTo) {\n pointDom.scrollTop = 0;\n } else {\n pointDom.scrollTo(0, 0);\n }\n\n this.getData();\n },\n onLoad: function onLoad() {\n if (this.page < this.totalLimit) {\n this.page++;\n this.getData();\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/pointDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"pointchange\",\n data: function data() {\n return {\n prize_type: this.$route.query.prize_type,\n point_exchange_id: this.$route.query.point_exchange_id\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.pointchange.loading;\n },\n prize_info: function prize_info(state) {\n return state.pointchange.prize_info;\n },\n prize_types: function prize_types(state) {\n return state.pointchange.prize_types;\n },\n adressApiState: function adressApiState(state) {\n return state.pointchange.adressApiState;\n },\n address_info: function address_info(state) {\n return state.pointchange.address_info;\n }\n })),\n created: function created() {\n this.getPrizeInfo();\n },\n methods: {\n getPrizeInfo: function getPrizeInfo() {\n this.$store.dispatch({\n type: 'getUserPointExchangeDetail',\n point_exchange_id: this.$route.query.point_exchange_id\n });\n }\n },\n watch: {\n prize_types: function prize_types(val) {\n this.prize_type = val;\n },\n adressApiState: function adressApiState(val) {\n if (val) {\n this.$store.dispatch({\n type: 'recvlist'\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/pointchange.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"pointchange\",\n data: function data() {\n return {\n prize_type: this.$route.query.prize_type,\n point_exchange_id: this.$route.query.point_exchange_id\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.pointchange.loading;\n },\n prize_info: function prize_info(state) {\n return state.pointchange.prize_info;\n },\n prize_types: function prize_types(state) {\n return state.pointchange.prize_types;\n },\n adressApiState: function adressApiState(state) {\n return state.pointchange.adressApiState;\n },\n address_info: function address_info(state) {\n return state.pointchange.address_info;\n }\n })),\n created: function created() {\n this.getPrizeInfo();\n },\n methods: {\n getPrizeInfo: function getPrizeInfo() {\n this.$store.dispatch({\n type: 'getUserPointExchangeDetail',\n point_exchange_id: this.$route.query.point_exchange_id\n });\n }\n },\n watch: {\n prize_types: function prize_types(val) {\n this.prize_type = val;\n },\n adressApiState: function adressApiState(val) {\n if (val) {\n this.$store.dispatch({\n type: 'recvlist'\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/pointchange.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"pointrule\",\n data: function data() {\n return {};\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.pointrule.loading;\n },\n ruledata: function ruledata(state) {\n return state.pointrule.ruledata;\n }\n })),\n created: function created() {\n this.$store.dispatch({\n type: 'pointruleApi'\n });\n },\n methods: {},\n watch: {},\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/pointrule.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"pointrule\",\n data: function data() {\n return {};\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.pointrule.loading;\n },\n ruledata: function ruledata(state) {\n return state.pointrule.ruledata;\n }\n })),\n created: function created() {\n this.$store.dispatch({\n type: 'pointruleApi'\n });\n },\n methods: {},\n watch: {},\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/pointmall/pointrule.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.function.name */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.function.name.js\");\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_2__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"ActionSheet\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Picker\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Popup\"]);\nvar province = [];\nvar city = {};\nvar area = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'userInfo',\n data: function data() {\n return {\n title: \"基本信息\",\n isEdit: false,\n historyb: true,\n //开启自定义回跳\n actions: [{\n name: \"男\",\n value: 1\n }, {\n name: \"女\",\n value: 2\n }],\n showPicker: false,\n columns: [],\n actShow: false,\n actShow1: false,\n actions1: [{\n value: 3,\n name: '授权分销商'\n }, {\n value: 1,\n name: '终端采购商'\n }, {\n value: 2,\n name: '原厂制造商'\n }, {\n value: 4,\n name: '学校、科研机构'\n }, {\n value: 5,\n name: '贸易商'\n }, {\n value: 0,\n name: '个体经营者'\n }, {\n value: 0,\n name: '其他'\n }],\n xlxr: \"\",\n xxb: \"\",\n xxbVal: \"\",\n xsj: \"\",\n xyx: \"\",\n xgsmc: \"\",\n xgslx: \"\",\n xgslxVal: \"\",\n xgszj: \"\",\n xgsjj: \"\",\n xgsdz: \"\",\n com_province: \"\",\n com_city: \"\",\n com_area: \"\",\n com_province_id: \"\",\n com_city_id: \"\",\n com_area_id: \"\",\n xxxdz: \"\"\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__[\"mapState\"])({\n loading: function loading(state) {\n return state.userInfo.loading;\n },\n userInfo: function userInfo(state) {\n return state.userInfo.userInfo;\n },\n addressInfo: function addressInfo(state) {\n return state.userInfo.addressInfo;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'getUserType2'\n });\n this.$store.dispatch({\n type: 'allAddressInfo'\n });\n },\n methods: {\n editUi: function editUi() {\n if (this.isEdit) {\n this.title = \"基本信息\";\n this.isEdit = false;\n } else {\n this.title = \"基本信息编辑\";\n this.isEdit = true;\n this.xlxr = this.userInfo.user_info.nike_name;\n this.xxb = this.userInfo.user_info.sex == 2 ? '女' : '男';\n this.xxbVal = this.userInfo.user_info.sex;\n this.xsj = this.userInfo.user_info.mobile;\n this.xyx = this.userInfo.user_info.email;\n this.xgsmc = this.userInfo.company_info.com_name;\n this.xgslx = this.userInfo.company_info.type_name;\n this.xgszj = this.userInfo.company_info.com_telphone;\n this.xgsjj = this.userInfo.company_info.com_desc;\n this.com_province = this.userInfo.company_info.province_name;\n this.com_city = this.userInfo.company_info.city_name;\n this.com_area = this.userInfo.company_info.area_name;\n this.xgsdz = this.com_province + this.com_city + this.com_area;\n this.com_province_id = this.userInfo.company_info.com_province_id;\n this.com_city_id = this.userInfo.company_info.com_city_id;\n this.com_area_id = this.userInfo.company_info.com_area_id;\n this.xxxdz = this.userInfo.company_info.com_address;\n }\n },\n toSomeThingGo: function toSomeThingGo() {\n if (this.isEdit) {\n this.editUi();\n } else {\n history.go(-1);\n }\n },\n onSelect: function onSelect(item) {\n // 点击选项时默认不会关闭菜单,可以手动关闭\n this.actShow = false;\n this.xxb = item.name;\n this.xxbVal = item.value;\n },\n onSelect1: function onSelect1(item) {\n this.actShow1 = false;\n this.xgslx = item.name;\n this.xgslxVal = item.value;\n },\n showp: function showp() {\n var _this = this;\n\n this.showPicker = !this.showPicker;\n var obj_ = this.addressInfo;\n\n for (var i = 0; i < obj_.length; i++) {\n province.push({\n value: obj_[i].value,\n text: obj_[i].text\n });\n city[obj_[i].text] = obj_[i].children;\n var list2 = obj_[i].children;\n\n for (var j = 0; j < list2.length; j++) {\n area[list2[j].text] = list2[j].children;\n }\n }\n\n this.columns = [{\n values: province,\n //可以是数组,或者对象数组\n className: 'column1' //选择器的第一列\n\n }, {\n values: city[this.com_province],\n //默认选中country对象中的第一项\n className: 'column2' //选择器的第二列\n\n }, {\n values: area[this.com_city],\n //默认选中country对象中的第一项\n className: 'column3' //选择器的第二列\n\n }];\n this.$nextTick(function () {\n _this.$refs['test123'].setColumnValue(0, _this.com_province);\n\n _this.$refs['test123'].setColumnValue(1, _this.com_city);\n\n _this.$refs['test123'].setColumnValue(2, _this.com_area);\n });\n },\n onConfirm: function onConfirm(value) {\n this.showPicker = false;\n this.com_province = value[0]['text'];\n this.com_city = value[1]['text'];\n this.com_area = value[2]['text'];\n this.xgsdz = this.com_province + this.com_city + this.com_area;\n this.com_province_id = value[0]['value'];\n this.com_city_id = value[1]['value'];\n this.com_area_id = value[2]['value'];\n console.log(value);\n },\n onChange: function onChange(picker, values) {\n this.columns = [{\n values: province,\n //可以是数组,或者对象数组\n className: 'column1' //选择器的第一列\n\n }, {\n values: city[values[0]['text']],\n //默认选中country对象中的第一项\n className: 'column2' //选择器的第二列\n\n }, {\n values: area[values[1]['text']],\n //默认选中country对象中的第一项\n className: 'column3' //选择器的第二列\n\n }];\n picker.setColumnValue(0, values[0]['text']);\n picker.setColumnValue(1, values[1]['text']);\n picker.setColumnValue(2, values[2]['text']);\n },\n submitG: function submitG() {\n this.$store.dispatch({\n type: 'changeUserInfo',\n nike_name: this.xlxr,\n com_name: this.xgsmc,\n type_id: this.xgslxVal,\n sex: this.xxbVal,\n com_telphone: this.xgszj,\n com_desc: this.xgsjj,\n com_province_id: this.com_province_id,\n com_city_id: this.com_city_id,\n com_area_id: this.com_area_id,\n com_address: this.xxxdz,\n com_mobile: this.xsj,\n urlback: this.$route.query.orderPage || \"\"\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/userInfo.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.function.name */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.function.name.js\");\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_2__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"ActionSheet\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Picker\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Popup\"]);\nvar province = [];\nvar city = {};\nvar area = {};\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'userInfo',\n data: function data() {\n return {\n title: \"基本信息\",\n isEdit: false,\n historyb: true,\n //开启自定义回跳\n actions: [{\n name: \"男\",\n value: 1\n }, {\n name: \"女\",\n value: 2\n }],\n showPicker: false,\n columns: [],\n actShow: false,\n actShow1: false,\n actions1: [{\n value: 3,\n name: '授权分销商'\n }, {\n value: 1,\n name: '终端采购商'\n }, {\n value: 2,\n name: '原厂制造商'\n }, {\n value: 4,\n name: '学校、科研机构'\n }, {\n value: 5,\n name: '贸易商'\n }, {\n value: 0,\n name: '个体经营者'\n }, {\n value: 0,\n name: '其他'\n }],\n xlxr: \"\",\n xxb: \"\",\n xxbVal: \"\",\n xsj: \"\",\n xyx: \"\",\n xgsmc: \"\",\n xgslx: \"\",\n xgslxVal: \"\",\n xgszj: \"\",\n xgsjj: \"\",\n xgsdz: \"\",\n com_province: \"\",\n com_city: \"\",\n com_area: \"\",\n com_province_id: \"\",\n com_city_id: \"\",\n com_area_id: \"\",\n xxxdz: \"\"\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__[\"mapState\"])({\n loading: function loading(state) {\n return state.userInfo.loading;\n },\n userInfo: function userInfo(state) {\n return state.userInfo.userInfo;\n },\n addressInfo: function addressInfo(state) {\n return state.userInfo.addressInfo;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'getUserType2'\n });\n this.$store.dispatch({\n type: 'allAddressInfo'\n });\n },\n methods: {\n editUi: function editUi() {\n if (this.isEdit) {\n this.title = \"基本信息\";\n this.isEdit = false;\n } else {\n this.title = \"基本信息编辑\";\n this.isEdit = true;\n this.xlxr = this.userInfo.user_info.nike_name;\n this.xxb = this.userInfo.user_info.sex == 2 ? '女' : '男';\n this.xxbVal = this.userInfo.user_info.sex;\n this.xsj = this.userInfo.user_info.mobile;\n this.xyx = this.userInfo.user_info.email;\n this.xgsmc = this.userInfo.company_info.com_name;\n this.xgslx = this.userInfo.company_info.type_name;\n this.xgszj = this.userInfo.company_info.com_telphone;\n this.xgsjj = this.userInfo.company_info.com_desc;\n this.com_province = this.userInfo.company_info.province_name;\n this.com_city = this.userInfo.company_info.city_name;\n this.com_area = this.userInfo.company_info.area_name;\n this.xgsdz = this.com_province + this.com_city + this.com_area;\n this.com_province_id = this.userInfo.company_info.com_province_id;\n this.com_city_id = this.userInfo.company_info.com_city_id;\n this.com_area_id = this.userInfo.company_info.com_area_id;\n this.xxxdz = this.userInfo.company_info.com_address;\n }\n },\n toSomeThingGo: function toSomeThingGo() {\n if (this.isEdit) {\n this.editUi();\n } else {\n history.go(-1);\n }\n },\n onSelect: function onSelect(item) {\n // 点击选项时默认不会关闭菜单,可以手动关闭\n this.actShow = false;\n this.xxb = item.name;\n this.xxbVal = item.value;\n },\n onSelect1: function onSelect1(item) {\n this.actShow1 = false;\n this.xgslx = item.name;\n this.xgslxVal = item.value;\n },\n showp: function showp() {\n var _this = this;\n\n this.showPicker = !this.showPicker;\n var obj_ = this.addressInfo;\n\n for (var i = 0; i < obj_.length; i++) {\n province.push({\n value: obj_[i].value,\n text: obj_[i].text\n });\n city[obj_[i].text] = obj_[i].children;\n var list2 = obj_[i].children;\n\n for (var j = 0; j < list2.length; j++) {\n area[list2[j].text] = list2[j].children;\n }\n }\n\n this.columns = [{\n values: province,\n //可以是数组,或者对象数组\n className: 'column1' //选择器的第一列\n\n }, {\n values: city[this.com_province],\n //默认选中country对象中的第一项\n className: 'column2' //选择器的第二列\n\n }, {\n values: area[this.com_city],\n //默认选中country对象中的第一项\n className: 'column3' //选择器的第二列\n\n }];\n this.$nextTick(function () {\n _this.$refs['test123'].setColumnValue(0, _this.com_province);\n\n _this.$refs['test123'].setColumnValue(1, _this.com_city);\n\n _this.$refs['test123'].setColumnValue(2, _this.com_area);\n });\n },\n onConfirm: function onConfirm(value) {\n this.showPicker = false;\n this.com_province = value[0]['text'];\n this.com_city = value[1]['text'];\n this.com_area = value[2]['text'];\n this.xgsdz = this.com_province + this.com_city + this.com_area;\n this.com_province_id = value[0]['value'];\n this.com_city_id = value[1]['value'];\n this.com_area_id = value[2]['value'];\n console.log(value);\n },\n onChange: function onChange(picker, values) {\n this.columns = [{\n values: province,\n //可以是数组,或者对象数组\n className: 'column1' //选择器的第一列\n\n }, {\n values: city[values[0]['text']],\n //默认选中country对象中的第一项\n className: 'column2' //选择器的第二列\n\n }, {\n values: area[values[1]['text']],\n //默认选中country对象中的第一项\n className: 'column3' //选择器的第二列\n\n }];\n picker.setColumnValue(0, values[0]['text']);\n picker.setColumnValue(1, values[1]['text']);\n picker.setColumnValue(2, values[2]['text']);\n },\n submitG: function submitG() {\n this.$store.dispatch({\n type: 'changeUserInfo',\n nike_name: this.xlxr,\n com_name: this.xgsmc,\n type_id: this.xgslxVal,\n sex: this.xxbVal,\n com_telphone: this.xgszj,\n com_desc: this.xgsjj,\n com_province_id: this.com_province_id,\n com_city_id: this.com_city_id,\n com_area_id: this.com_area_id,\n com_address: this.xxxdz,\n com_mobile: this.xsj,\n urlback: this.$route.query.orderPage || \"\"\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/user/userInfo.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.regexp.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_2__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_5__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletActivate',\n data: function data() {\n return {\n title: \"激活钱包\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n showPasswordConfirm: true,\n //是否显示密码确认\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n step1: true,\n step2: false,\n form: {\n safeMobile: '',\n verifyCode: '',\n imgCode: '',\n password: '',\n passwordConfirm: ''\n },\n formError: false,\n formMsg: '',\n imgCodeVal: _api_index__WEBPACK_IMPORTED_MODULE_6__[\"productionUrlPc\"] + \"public/verify\",\n isClick: true\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__[\"mapState\"])({\n activateShowImgCode: function activateShowImgCode(state) {\n return state.wallet.activateShowImgCode;\n },\n activateCountDownFlag: function activateCountDownFlag(state) {\n return state.wallet.activateCountDownFlag;\n }\n })),\n watch: {\n activateCountDownFlag: function activateCountDownFlag(value) {\n if (value) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n },\n form: {\n deep: true,\n handler: function handler(val) {\n if (val.safeMobile && val.verifyCode) {\n this.isClick = false;\n } else {\n this.isClick = true;\n }\n }\n }\n },\n created: function created() {},\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n changeShowConfirm: function changeShowConfirm() {\n this.showPasswordConfirm = !this.showPasswordConfirm;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n //获取图片验证码\n changeImgCode: function changeImgCode() {\n this.imgCodeVal = _api_index__WEBPACK_IMPORTED_MODULE_6__[\"productionUrlPc\"] + \"public/verify?\" + new Date().getTime();\n },\n verify: function verify() {\n if (!this.form.safeMobile) {\n this.formError = true;\n this.formMsg = '亲,请输入手机';\n return;\n }\n\n var tel_reg = /^1[34578]\\d{9}$/;\n\n if (!tel_reg.test(this.form.safeMobile)) {\n this.formError = true;\n this.formMsg = '亲,手机格式不正确';\n return;\n }\n\n return true;\n },\n getCode: function getCode() {\n if (this.verify()) {\n this.$store.dispatch({\n //actions分发\n type: 'smsVerifyActivate',\n mobile: this.form.safeMobile,\n imgCode: this.form.imgCode\n });\n }\n },\n next: function next() {\n //下一步\n if (this.isClick) {\n return;\n }\n\n if (this.verify()) {\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false; //下一步\n\n this.step1 = false;\n this.step2 = true;\n }\n },\n confirm: function confirm() {\n //确认\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合\n\n if (!this.form.password) {\n this.formError = true;\n this.formMsg = '亲,请输入支付密码';\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n this.formError = true;\n this.formMsg = '亲,密码由6~20位字母、数字组合';\n return;\n }\n\n if (!this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,请再次输入支付密码';\n return;\n }\n\n if (this.form.password !== this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,两次输入支付密码不一致';\n return;\n }\n\n this.formError = false; //提交\n\n this.$store.dispatch({\n type: 'activateWallet',\n mobile: this.form.safeMobile,\n verifyCode: this.form.verifyCode,\n password: this.form.password,\n passwordConfirm: this.form.passwordConfirm,\n referer: this.$route.query.referer\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Activate.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.regexp.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_2__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_5__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletActivate',\n data: function data() {\n return {\n title: \"激活钱包\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n showPasswordConfirm: true,\n //是否显示密码确认\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n step1: true,\n step2: false,\n form: {\n safeMobile: '',\n verifyCode: '',\n imgCode: '',\n password: '',\n passwordConfirm: ''\n },\n formError: false,\n formMsg: '',\n imgCodeVal: _api_index__WEBPACK_IMPORTED_MODULE_6__[\"productionUrlPc\"] + \"public/verify\",\n isClick: true\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__[\"mapState\"])({\n activateShowImgCode: function activateShowImgCode(state) {\n return state.wallet.activateShowImgCode;\n },\n activateCountDownFlag: function activateCountDownFlag(state) {\n return state.wallet.activateCountDownFlag;\n }\n })),\n watch: {\n activateCountDownFlag: function activateCountDownFlag(value) {\n if (value) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n },\n form: {\n deep: true,\n handler: function handler(val) {\n if (val.safeMobile && val.verifyCode) {\n this.isClick = false;\n } else {\n this.isClick = true;\n }\n }\n }\n },\n created: function created() {},\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n changeShowConfirm: function changeShowConfirm() {\n this.showPasswordConfirm = !this.showPasswordConfirm;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n //获取图片验证码\n changeImgCode: function changeImgCode() {\n this.imgCodeVal = _api_index__WEBPACK_IMPORTED_MODULE_6__[\"productionUrlPc\"] + \"public/verify?\" + new Date().getTime();\n },\n verify: function verify() {\n if (!this.form.safeMobile) {\n this.formError = true;\n this.formMsg = '亲,请输入手机';\n return;\n }\n\n var tel_reg = /^1[34578]\\d{9}$/;\n\n if (!tel_reg.test(this.form.safeMobile)) {\n this.formError = true;\n this.formMsg = '亲,手机格式不正确';\n return;\n }\n\n return true;\n },\n getCode: function getCode() {\n if (this.verify()) {\n this.$store.dispatch({\n //actions分发\n type: 'smsVerifyActivate',\n mobile: this.form.safeMobile,\n imgCode: this.form.imgCode\n });\n }\n },\n next: function next() {\n //下一步\n if (this.isClick) {\n return;\n }\n\n if (this.verify()) {\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false; //下一步\n\n this.step1 = false;\n this.step2 = true;\n }\n },\n confirm: function confirm() {\n //确认\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合\n\n if (!this.form.password) {\n this.formError = true;\n this.formMsg = '亲,请输入支付密码';\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n this.formError = true;\n this.formMsg = '亲,密码由6~20位字母、数字组合';\n return;\n }\n\n if (!this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,请再次输入支付密码';\n return;\n }\n\n if (this.form.password !== this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,两次输入支付密码不一致';\n return;\n }\n\n this.formError = false; //提交\n\n this.$store.dispatch({\n type: 'activateWallet',\n mobile: this.form.safeMobile,\n verifyCode: this.form.verifyCode,\n password: this.form.password,\n passwordConfirm: this.form.passwordConfirm,\n referer: this.$route.query.referer\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Activate.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"RadioGroup\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Radio\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Cell\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"CellGroup\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletRecharge',\n data: function data() {\n return {\n title: \"钱包充值\",\n meaushow: true,\n inputNum: this.$route.query.amount || '',\n radio: '1'\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n amountRechargeID: function amountRechargeID(state) {\n return state.wallet.amountRechargeID;\n }\n })),\n watch: {\n amountRechargeID: function amountRechargeID(value) {\n if (value) {\n if (this.radio == 1) {\n //微信支付\n this.$store.dispatch({\n type: 'payTodo',\n pay_code: 'wxpay',\n // rescue: 1,\n types: 1,\n site_type: 2,\n order_id: value\n });\n } // else if (this.radio == 2) { //支付宝支付\n // window.location.href = productionUrlApi + \"pay/todo?pay_code=alipay&rescue=1&types=1&pay_mode=2&site_type=2&order_id=\" + value;\n // } else if (this.radio == 3) { //中国银联\n // window.location.href = productionUrlApi + \"pay/todo?pay_code=unionpay&rescue=1&types=1&site_type=2&order_id=\" + value;\n // }\n\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n recharge: function recharge() {\n //充值\n if (this.inputNum !== '') {\n console.log(this.radio); //充值申请\n\n this.$store.dispatch({\n type: 'walletRecharge',\n amount: this.inputNum\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Recharge.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"RadioGroup\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Radio\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Cell\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"CellGroup\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletRecharge',\n data: function data() {\n return {\n title: \"钱包充值\",\n meaushow: true,\n inputNum: this.$route.query.amount || '',\n radio: '1'\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n amountRechargeID: function amountRechargeID(state) {\n return state.wallet.amountRechargeID;\n }\n })),\n watch: {\n amountRechargeID: function amountRechargeID(value) {\n if (value) {\n if (this.radio == 1) {\n //微信支付\n this.$store.dispatch({\n type: 'payTodo',\n pay_code: 'wxpay',\n // rescue: 1,\n types: 1,\n site_type: 2,\n order_id: value\n });\n } // else if (this.radio == 2) { //支付宝支付\n // window.location.href = productionUrlApi + \"pay/todo?pay_code=alipay&rescue=1&types=1&pay_mode=2&site_type=2&order_id=\" + value;\n // } else if (this.radio == 3) { //中国银联\n // window.location.href = productionUrlApi + \"pay/todo?pay_code=unionpay&rescue=1&types=1&site_type=2&order_id=\" + value;\n // }\n\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n recharge: function recharge() {\n //充值\n if (this.inputNum !== '') {\n console.log(this.radio); //充值申请\n\n this.$store.dispatch({\n type: 'walletRecharge',\n amount: this.inputNum\n });\n }\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Recharge.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.regexp.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_2__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_5__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletRetrieve',\n data: function data() {\n return {\n title: \"找回密码\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n showPasswordConfirm: true,\n //是否显示密码确认\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n step1: true,\n step2: false,\n form: {\n verifyCode: '',\n imgCode: '',\n password: '',\n passwordConfirm: ''\n },\n formError: false,\n formMsg: '',\n imgCodeVal: _api_index__WEBPACK_IMPORTED_MODULE_6__[\"productionUrlPc\"] + \"public/verify\"\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n retieveShowImgCode: function retieveShowImgCode(state) {\n return state.wallet.retieveShowImgCode;\n },\n retieveCountDownFlag: function retieveCountDownFlag(state) {\n return state.wallet.retieveCountDownFlag;\n },\n passwordToken: function passwordToken(state) {\n return state.wallet.passwordToken;\n }\n })),\n watch: {\n retieveCountDownFlag: function retieveCountDownFlag(value) {\n if (value) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n },\n passwordToken: function passwordToken(value) {\n if (value) {\n //返回token则验证成功,下一步\n this.step1 = false;\n this.step2 = true;\n } else {\n this.step1 = true;\n this.step2 = false;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n changeShowConfirm: function changeShowConfirm() {\n this.showPasswordConfirm = !this.showPasswordConfirm;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n //获取图片验证码\n changeImgCode: function changeImgCode() {\n this.imgCodeVal = _api_index__WEBPACK_IMPORTED_MODULE_6__[\"productionUrlPc\"] + \"public/verify?\" + new Date().getTime();\n },\n getCode: function getCode() {\n this.$store.dispatch({\n //actions分发\n type: 'smsVerifyRetrieve',\n imgCode: this.form.imgCode\n });\n },\n next: function next() {\n //下一步\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false;\n this.$store.dispatch({\n type: 'verifyResetsms',\n verify_code: this.form.verifyCode\n });\n },\n confirm: function confirm() {\n //确认\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 6~20位字母和数字组合\n\n if (!this.form.password) {\n this.formError = true;\n this.formMsg = '亲,请输入支付密码';\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n this.formError = true;\n this.formMsg = '亲,密码由6~20位字母、数字组合';\n return;\n }\n\n if (!this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,请再次输入支付密码';\n return;\n }\n\n if (this.form.password !== this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,两次输入支付密码不一致';\n return;\n }\n\n this.formError = false; //提交\n\n this.$store.dispatch({\n type: 'changeWalletpwd',\n token: this.passwordToken,\n pay_password: this.form.password,\n reconfirm: this.form.passwordConfirm,\n mode: 'forget'\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Retrieve.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.regexp.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_2__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_5__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletRetrieve',\n data: function data() {\n return {\n title: \"找回密码\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n showPasswordConfirm: true,\n //是否显示密码确认\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n step1: true,\n step2: false,\n form: {\n verifyCode: '',\n imgCode: '',\n password: '',\n passwordConfirm: ''\n },\n formError: false,\n formMsg: '',\n imgCodeVal: _api_index__WEBPACK_IMPORTED_MODULE_6__[\"productionUrlPc\"] + \"public/verify\"\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n retieveShowImgCode: function retieveShowImgCode(state) {\n return state.wallet.retieveShowImgCode;\n },\n retieveCountDownFlag: function retieveCountDownFlag(state) {\n return state.wallet.retieveCountDownFlag;\n },\n passwordToken: function passwordToken(state) {\n return state.wallet.passwordToken;\n }\n })),\n watch: {\n retieveCountDownFlag: function retieveCountDownFlag(value) {\n if (value) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n },\n passwordToken: function passwordToken(value) {\n if (value) {\n //返回token则验证成功,下一步\n this.step1 = false;\n this.step2 = true;\n } else {\n this.step1 = true;\n this.step2 = false;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n changeShowConfirm: function changeShowConfirm() {\n this.showPasswordConfirm = !this.showPasswordConfirm;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n //获取图片验证码\n changeImgCode: function changeImgCode() {\n this.imgCodeVal = _api_index__WEBPACK_IMPORTED_MODULE_6__[\"productionUrlPc\"] + \"public/verify?\" + new Date().getTime();\n },\n getCode: function getCode() {\n this.$store.dispatch({\n //actions分发\n type: 'smsVerifyRetrieve',\n imgCode: this.form.imgCode\n });\n },\n next: function next() {\n //下一步\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false;\n this.$store.dispatch({\n type: 'verifyResetsms',\n verify_code: this.form.verifyCode\n });\n },\n confirm: function confirm() {\n //确认\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 6~20位字母和数字组合\n\n if (!this.form.password) {\n this.formError = true;\n this.formMsg = '亲,请输入支付密码';\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n this.formError = true;\n this.formMsg = '亲,密码由6~20位字母、数字组合';\n return;\n }\n\n if (!this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,请再次输入支付密码';\n return;\n }\n\n if (this.form.password !== this.form.passwordConfirm) {\n this.formError = true;\n this.formMsg = '亲,两次输入支付密码不一致';\n return;\n }\n\n this.formError = false; //提交\n\n this.$store.dispatch({\n type: 'changeWalletpwd',\n token: this.passwordToken,\n pay_password: this.form.password,\n reconfirm: this.form.passwordConfirm,\n mode: 'forget'\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Retrieve.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.regexp.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_2__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_5__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletVerify',\n data: function data() {\n return {\n title: \"验证身份\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n form: {\n verifyCode: '',\n imgCode: '',\n password: ''\n },\n formError: false,\n formMsg: '',\n imgCodeVal: _api_index__WEBPACK_IMPORTED_MODULE_6__[\"productionUrlPc\"] + \"public/verify\"\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n verifyShowImgCode: function verifyShowImgCode(state) {\n return state.wallet.verifyShowImgCode;\n },\n verifyCountDownFlag: function verifyCountDownFlag(state) {\n return state.wallet.verifyCountDownFlag;\n }\n })),\n watch: {\n verifyCountDownFlag: function verifyCountDownFlag(value) {\n if (value) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n //获取图片验证码\n changeImgCode: function changeImgCode() {\n this.imgCodeVal = _api_index__WEBPACK_IMPORTED_MODULE_6__[\"productionUrlPc\"] + \"public/verify?\" + new Date().getTime();\n },\n getCode: function getCode() {\n //下一步\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合\n\n if (!this.form.password) {\n Object(vant__WEBPACK_IMPORTED_MODULE_5__[\"Toast\"])({\n message: '亲,请输入支付密码',\n duration: 2000\n });\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n Object(vant__WEBPACK_IMPORTED_MODULE_5__[\"Toast\"])({\n message: '亲,密码由6~20位字母、数字组合',\n duration: 2000\n });\n return;\n }\n\n this.$store.dispatch({\n //actions分发\n type: 'sendSafesms',\n imgCode: this.form.imgCode\n });\n },\n next: function next() {\n //下一步\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合\n\n if (!this.form.password) {\n this.formError = true;\n this.formMsg = '亲,请输入支付密码';\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n this.formError = true;\n this.formMsg = '亲,密码由6~20位字母、数字组合';\n return;\n }\n\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false;\n this.$store.dispatch({\n type: 'verifySafeMobile',\n verify_code: this.form.verifyCode,\n pay_password: this.form.password\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Verify.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.regexp.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.constructor.js\");\n/* harmony import */ var core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_2__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_5__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletVerify',\n data: function data() {\n return {\n title: \"验证身份\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n yzmSend: true,\n //验证码发送\n countDown: 60,\n countDownText: '发送验证码',\n form: {\n verifyCode: '',\n imgCode: '',\n password: ''\n },\n formError: false,\n formMsg: '',\n imgCodeVal: _api_index__WEBPACK_IMPORTED_MODULE_6__[\"productionUrlPc\"] + \"public/verify\"\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n verifyShowImgCode: function verifyShowImgCode(state) {\n return state.wallet.verifyShowImgCode;\n },\n verifyCountDownFlag: function verifyCountDownFlag(state) {\n return state.wallet.verifyCountDownFlag;\n }\n })),\n watch: {\n verifyCountDownFlag: function verifyCountDownFlag(value) {\n if (value) {\n this.yzmSend = false;\n this.timeNum();\n } else {\n this.yzmSend = true;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n timeNum: function timeNum() {\n var me = this;\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n me.countDown--;\n\n if (me.countDown <= 0) {\n clearInterval(clock);\n me.countDown = 60;\n me.countDownText = \"再次发送\";\n me.yzmSend = true;\n }\n }\n },\n //获取图片验证码\n changeImgCode: function changeImgCode() {\n this.imgCodeVal = _api_index__WEBPACK_IMPORTED_MODULE_6__[\"productionUrlPc\"] + \"public/verify?\" + new Date().getTime();\n },\n getCode: function getCode() {\n //下一步\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合\n\n if (!this.form.password) {\n Object(vant__WEBPACK_IMPORTED_MODULE_5__[\"Toast\"])({\n message: '亲,请输入支付密码',\n duration: 2000\n });\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n Object(vant__WEBPACK_IMPORTED_MODULE_5__[\"Toast\"])({\n message: '亲,密码由6~20位字母、数字组合',\n duration: 2000\n });\n return;\n }\n\n this.$store.dispatch({\n //actions分发\n type: 'sendSafesms',\n imgCode: this.form.imgCode\n });\n },\n next: function next() {\n //下一步\n var password_reg = new RegExp(/^[a-zA-Z0-9]{6,20}$/); //^表示开始 $表示结束 8~20位字母和数字组合\n\n if (!this.form.password) {\n this.formError = true;\n this.formMsg = '亲,请输入支付密码';\n return;\n }\n\n if (!password_reg.test(this.form.password)) {\n this.formError = true;\n this.formMsg = '亲,密码由6~20位字母、数字组合';\n return;\n }\n\n if (!this.form.verifyCode) {\n this.formError = true;\n this.formMsg = '亲,请输入验证码';\n return;\n }\n\n this.formError = false;\n this.$store.dispatch({\n type: 'verifySafeMobile',\n verify_code: this.form.verifyCode,\n pay_password: this.form.password\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Verify.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Lazyload\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"GoodsOne\",\n props: {\n dataList: {\n //数组数据\n type: Array,\n default: []\n },\n isZy: {\n //是否自营\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n hostName: window.location.origin,\n limitLength: 3,\n defaultBtn: '更多梯度价格<i class=\"icon-bot\"></i>'\n };\n },\n watch: {},\n mounted: function mounted() {},\n methods: {\n priceRow: function priceRow(index, id) {\n var dom = document.getElementById(\"priceContent\" + id);\n var arrLength = this.dataList[index].ladder_price.length;\n\n if (this.dataList[index][\"check\"]) {\n dom.style.height = \"57px\";\n this.$set(this.dataList[index], \"check\", false);\n this.$set(this.dataList[index], \"checkBtn\", '更多梯度价格<i class=\"icon-bot\"></i>');\n } else {\n dom.style.height = 19 * arrLength + \"px\";\n dom.style.transition = \"height \".concat((arrLength - 3) * 0.125, \"s linear\");\n dom.style.webkitTransition = \"height \".concat((arrLength - 3) * 0.125, \"s linear\");\n this.$set(this.dataList[index], \"check\", true);\n this.$set(this.dataList[index], \"checkBtn\", '收起梯度价格<i class=\"icon-top\"></i>');\n }\n },\n placeOrder: function placeOrder(id) {\n this.$emit(\"placeOrder\", id);\n },\n xunjia: function xunjia() {\n _util_bus_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].$emit(\"xunjia\");\n }\n },\n components: {}\n});\n\n//# sourceURL=webpack:///./src/views/common/GoodsOne.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Lazyload\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"GoodsOne\",\n props: {\n dataList: {\n //数组数据\n type: Array,\n default: []\n },\n isZy: {\n //是否自营\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n hostName: window.location.origin,\n limitLength: 3,\n defaultBtn: '更多梯度价格<i class=\"icon-bot\"></i>'\n };\n },\n watch: {},\n mounted: function mounted() {},\n methods: {\n priceRow: function priceRow(index, id) {\n var dom = document.getElementById(\"priceContent\" + id);\n var arrLength = this.dataList[index].ladder_price.length;\n\n if (this.dataList[index][\"check\"]) {\n dom.style.height = \"57px\";\n this.$set(this.dataList[index], \"check\", false);\n this.$set(this.dataList[index], \"checkBtn\", '更多梯度价格<i class=\"icon-bot\"></i>');\n } else {\n dom.style.height = 19 * arrLength + \"px\";\n dom.style.transition = \"height \".concat((arrLength - 3) * 0.125, \"s linear\");\n dom.style.webkitTransition = \"height \".concat((arrLength - 3) * 0.125, \"s linear\");\n this.$set(this.dataList[index], \"check\", true);\n this.$set(this.dataList[index], \"checkBtn\", '收起梯度价格<i class=\"icon-top\"></i>');\n }\n },\n placeOrder: function placeOrder(id) {\n this.$emit(\"placeOrder\", id);\n },\n xunjia: function xunjia() {\n _util_bus_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].$emit(\"xunjia\");\n }\n },\n components: {}\n});\n\n//# sourceURL=webpack:///./src/views/common/GoodsOne.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_ ...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n props: {\n goodDetail: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n isShowMore: false,\n singlePriceCn: 0,\n //国内单价\n singlePriceUs: 0,\n //香港单价\n navInit: 0,\n startNum: 0,\n //起订量\n multipleNum: 0,\n //倍数\n aggregateNum: 0,\n //一组的数量\n stockNum: 0,\n //库存,\n zyladderArr: [],\n //阶梯价\n zySingleInit: 0,\n //自营数量初始值\n goodsNum: 0 //商品数量\n\n };\n },\n computed: {\n total: function total() {\n if (this.navInit == 1) {\n //香港\n return \"$\" + (this.goodsNum * this.singlePriceUs).toFixed(4);\n } else {\n //国内\n return \"¥\" + (this.goodsNum * this.singlePriceCn).toFixed(4);\n }\n }\n },\n watch: {\n \"goodDetail.goods_id\": function goodDetailGoods_id() {\n var data = this.goodDetail;\n\n if (JSON.stringify(data) != \"{}\") {\n if (this.goodDetail.goods_type == 1 || this.goodDetail.goods_type == 2) {\n if (data.min_buy) {\n this.startNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_buy);\n }\n\n if (data.multiple) {\n this.multipleNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.multiple);\n }\n\n if (data.min_mpq) {\n this.aggregateNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_mpq);\n }\n\n if (data.goods_number) {\n this.stockNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.goods_number);\n }\n\n if (this.startNum == this.multipleNum) {\n //倍数和起订量相等\n this.zySingleInit = this.startNum;\n } else if (this.startNum > this.multipleNum) {\n //起订量大于倍数\n if (this.startNum % this.multipleNum) {\n //起订量跟倍数的比值为小数\n this.zySingleInit = Math.ceil(this.startNum / this.multipleNum) * this.multipleNum;\n } else {\n //起订量跟倍数的比值为整数时取起订量\n this.zySingleInit = this.startNum;\n }\n } else {\n //起订量小于倍数\n this.zySingleInit = this.multipleNum;\n }\n\n if (data.tiered) {\n for (var i = 0; i < data.tiered.length; i++) {\n var singleData = data.tiered[i];\n this.zyladderArr.push({\n pricecn: Number(singleData.price_cn).toFixed(4),\n num: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(singleData.purchases),\n priceus: Number(singleData.price_us).toFixed(4)\n });\n }\n }\n }\n }\n },\n goodsNum: function goodsNum(now) {\n if (String(now).indexOf(\".\") > 0) this.goodsNum = \"\";\n this.goodsNum = String(now).replace(/\\D/g, \"\");\n this.ladderComputer(now);\n\n if (Number(now) > this.stockNum) {\n this.$toast(\"购买数量不能大于库存!\");\n this.goodsNum = this.stockNum;\n }\n },\n zySingleInit: function zySingleInit(now) {\n this.goodsNum = now;\n }\n },\n methods: {\n showImagePreview: function showImagePreview(position, timer) {\n var images = [this.goodDetail.brand_logo || 'https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png'];\n var instance = Object(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"])({\n images: images,\n asyncClose: !!timer,\n showIndex: false\n });\n\n if (timer) {\n setTimeout(function () {\n instance.close();\n }, timer);\n }\n },\n imgErr: function imgErr() {\n this.goodDetail.brand_logo = \"https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png\";\n },\n changeNav: function changeNav(i) {\n this.navInit = i;\n },\n ladderComputer: function ladderComputer(v) {\n var length = this.zyladderArr.length; //阶梯价计算价格v\n\n if (!length) {\n //阶梯价的数据为空\n this.singlePriceCn = 0;\n this.singlePriceUs = 0;\n return;\n } else {\n //阶梯价的数据不为空\n if (length == 1) {\n //阶梯价的数据为1\n this.singlePriceCn = this.zyladderArr[0].pricecn;\n this.singlePriceUs = this.zyladderArr[0].priceus;\n return;\n } else {\n //阶梯价的数据不为1\n if (v <= this.zyladderArr[0].num) {\n //输入数量小于等于最小值\n this.singlePriceCn = this.zyladderArr[0].pricecn;\n this.singlePriceUs = this.zyladderArr[0].priceus;\n return;\n } else if (v >= this.zyladderArr[length - 1].num) {\n //输入数量大于等于最大值\n this.singlePriceCn = this.zyladderArr[length - 1].pricecn;\n this.singlePriceUs = this.zyladderArr[length - 1].priceus;\n return;\n } else {\n for (var i = 0; i < this.zyladderArr.length; i++) {\n if (v >= this.zyladderArr[i].num && v < this.zyladderArr[i + 1].num) {\n this.singlePriceCn = this.zyladderArr[i].pricecn;\n this.singlePriceUs = this.zyladderArr[i].priceus;\n break;\n }\n }\n }\n }\n }\n },\n blurSingle: function blurSingle() {\n //购买数量为0\n if (!Number(this.goodsNum)) {\n this.$toast(\"购买数量不能少于起订量!\");\n this.goodsNum = this.zySingleInit;\n } else {\n //购买数量不为0\n if (Number(this.goodsNum) % this.multipleNum) {\n //当购买数量不是倍数的整数倍\n var num = Math.ceil(Number(this.goodsNum) / this.multipleNum) * this.multipleNum;\n\n if (num < this.startNum) {\n //取倍数的整数后小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n } else {\n //取倍数的整数后不小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\uFF0C\\u6211\\u4EEC\\u5DF2\\u4E3A\\u60A8\\u8C03\\u6574\\u8D2D\\u4E70\\u6570\\u91CF\\u3002\"));\n this.goodsNum = num;\n }\n } else {\n if (Number(this.goodsNum) < this.zySingleInit) {\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n }\n }\n }\n },\n reduceSingle: function reduceSingle() {\n if (Number(this.goodsNum) <= this.startNum) {\n //购买数量小于等于起订量\n this.$toast(\"购买数量不能少于起订量!\");\n } else {\n //购买数量大于起订量\n if (Number(this.goodsNum) - this.multipleNum < this.startNum) {\n //购买数量减倍数小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n } else {\n this.goodsNum = Number(this.goodsNum) - this.multipleNum;\n }\n }\n },\n addSingle: function addSingle() {\n this.goodsNum = Number(this.goodsNum) + this.multipleNum;\n },\n xdOrAdd: function xdOrAdd(type) {\n //1购买 2加入购物车\n var datax = {\n id: this.goodDetail.goods_id,\n num: this.goodsNum,\n buy: type == 1 ? 1 : -1,\n delivery_place: this.navInit == 0 ? 1 : 2,\n searchModel: this.$route.query.k || \"\",\n module_name: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n click_ptag: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getCookie(\"ptag\") || \"\"\n };\n\n if (type == 1) {\n //立即购买\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"立即购买\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n } else {\n //加入购物车\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"加入购物车\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n }\n\n this.$store.dispatch({\n type: \"addGoods\",\n data: {\n datax: datax,\n type: 2,\n k: this.$route.query.k || \"\" //1表示自营 2表示联营\n\n }\n });\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/lyDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n props: {\n goodDetail: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n isShowMore: false,\n singlePriceCn: 0,\n //国内单价\n singlePriceUs: 0,\n //香港单价\n navInit: 0,\n startNum: 0,\n //起订量\n multipleNum: 0,\n //倍数\n aggregateNum: 0,\n //一组的数量\n stockNum: 0,\n //库存,\n zyladderArr: [],\n //阶梯价\n zySingleInit: 0,\n //自营数量初始值\n goodsNum: 0 //商品数量\n\n };\n },\n computed: {\n total: function total() {\n if (this.navInit == 1) {\n //香港\n return \"$\" + (this.goodsNum * this.singlePriceUs).toFixed(4);\n } else {\n //国内\n return \"¥\" + (this.goodsNum * this.singlePriceCn).toFixed(4);\n }\n }\n },\n watch: {\n \"goodDetail.goods_id\": function goodDetailGoods_id() {\n var data = this.goodDetail;\n\n if (JSON.stringify(data) != \"{}\") {\n if (this.goodDetail.goods_type == 1 || this.goodDetail.goods_type == 2) {\n if (data.min_buy) {\n this.startNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_buy);\n }\n\n if (data.multiple) {\n this.multipleNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.multiple);\n }\n\n if (data.min_mpq) {\n this.aggregateNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_mpq);\n }\n\n if (data.goods_number) {\n this.stockNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.goods_number);\n }\n\n if (this.startNum == this.multipleNum) {\n //倍数和起订量相等\n this.zySingleInit = this.startNum;\n } else if (this.startNum > this.multipleNum) {\n //起订量大于倍数\n if (this.startNum % this.multipleNum) {\n //起订量跟倍数的比值为小数\n this.zySingleInit = Math.ceil(this.startNum / this.multipleNum) * this.multipleNum;\n } else {\n //起订量跟倍数的比值为整数时取起订量\n this.zySingleInit = this.startNum;\n }\n } else {\n //起订量小于倍数\n this.zySingleInit = this.multipleNum;\n }\n\n if (data.tiered) {\n for (var i = 0; i < data.tiered.length; i++) {\n var singleData = data.tiered[i];\n this.zyladderArr.push({\n pricecn: Number(singleData.price_cn).toFixed(4),\n num: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(singleData.purchases),\n priceus: Number(singleData.price_us).toFixed(4)\n });\n }\n }\n }\n }\n },\n goodsNum: function goodsNum(now) {\n if (String(now).indexOf(\".\") > 0) this.goodsNum = \"\";\n this.goodsNum = String(now).replace(/\\D/g, \"\");\n this.ladderComputer(now);\n\n if (Number(now) > this.stockNum) {\n this.$toast(\"购买数量不能大于库存!\");\n this.goodsNum = this.stockNum;\n }\n },\n zySingleInit: function zySingleInit(now) {\n this.goodsNum = now;\n }\n },\n methods: {\n showImagePreview: function showImagePreview(position, timer) {\n var images = [this.goodDetail.brand_logo || 'https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png'];\n var instance = Object(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"])({\n images: images,\n asyncClose: !!timer,\n showIndex: false\n });\n\n if (timer) {\n setTimeout(function () {\n instance.close();\n }, timer);\n }\n },\n imgErr: function imgErr() {\n this.goodDetail.brand_logo = \"https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png\";\n },\n changeNav: function changeNav(i) {\n this.navInit = i;\n },\n ladderComputer: function ladderComputer(v) {\n var length = this.zyladderArr.length; //阶梯价计算价格v\n\n if (!length) {\n //阶梯价的数据为空\n this.singlePriceCn = 0;\n this.singlePriceUs = 0;\n return;\n } else {\n //阶梯价的数据不为空\n if (length == 1) {\n //阶梯价的数据为1\n this.singlePriceCn = this.zyladderArr[0].pricecn;\n this.singlePriceUs = this.zyladderArr[0].priceus;\n return;\n } else {\n //阶梯价的数据不为1\n if (v <= this.zyladderArr[0].num) {\n //输入数量小于等于最小值\n this.singlePriceCn = this.zyladderArr[0].pricecn;\n this.singlePriceUs = this.zyladderArr[0].priceus;\n return;\n } else if (v >= this.zyladderArr[length - 1].num) {\n //输入数量大于等于最大值\n this.singlePriceCn = this.zyladderArr[length - 1].pricecn;\n this.singlePriceUs = this.zyladderArr[length - 1].priceus;\n return;\n } else {\n for (var i = 0; i < this.zyladderArr.length; i++) {\n if (v >= this.zyladderArr[i].num && v < this.zyladderArr[i + 1].num) {\n this.singlePriceCn = this.zyladderArr[i].pricecn;\n this.singlePriceUs = this.zyladderArr[i].priceus;\n break;\n }\n }\n }\n }\n }\n },\n blurSingle: function blurSingle() {\n //购买数量为0\n if (!Number(this.goodsNum)) {\n this.$toast(\"购买数量不能少于起订量!\");\n this.goodsNum = this.zySingleInit;\n } else {\n //购买数量不为0\n if (Number(this.goodsNum) % this.multipleNum) {\n //当购买数量不是倍数的整数倍\n var num = Math.ceil(Number(this.goodsNum) / this.multipleNum) * this.multipleNum;\n\n if (num < this.startNum) {\n //取倍数的整数后小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n } else {\n //取倍数的整数后不小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\uFF0C\\u6211\\u4EEC\\u5DF2\\u4E3A\\u60A8\\u8C03\\u6574\\u8D2D\\u4E70\\u6570\\u91CF\\u3002\"));\n this.goodsNum = num;\n }\n } else {\n if (Number(this.goodsNum) < this.zySingleInit) {\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n }\n }\n }\n },\n reduceSingle: function reduceSingle() {\n if (Number(this.goodsNum) <= this.startNum) {\n //购买数量小于等于起订量\n this.$toast(\"购买数量不能少于起订量!\");\n } else {\n //购买数量大于起订量\n if (Number(this.goodsNum) - this.multipleNum < this.startNum) {\n //购买数量减倍数小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n } else {\n this.goodsNum = Number(this.goodsNum) - this.multipleNum;\n }\n }\n },\n addSingle: function addSingle() {\n this.goodsNum = Number(this.goodsNum) + this.multipleNum;\n },\n xdOrAdd: function xdOrAdd(type) {\n //1购买 2加入购物车\n var datax = {\n id: this.goodDetail.goods_id,\n num: this.goodsNum,\n buy: type == 1 ? 1 : -1,\n delivery_place: this.navInit == 0 ? 1 : 2,\n searchModel: this.$route.query.k || \"\",\n module_name: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n click_ptag: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getCookie(\"ptag\") || \"\"\n };\n\n if (type == 1) {\n //立即购买\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"立即购买\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n } else {\n //加入购物车\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"加入购物车\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n }\n\n this.$store.dispatch({\n type: \"addGoods\",\n data: {\n datax: datax,\n type: 2,\n k: this.$route.query.k || \"\" //1表示自营 2表示联营\n\n }\n });\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/lyDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n props: {\n goodDetail: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n images: [],\n isShowMore: false,\n ypNum: 0,\n //组\n singlePrice: 0,\n //单价\n tipText: \"\",\n btnText: \"\",\n navInit: 0,\n startNum: 0,\n //起订量\n multipleNum: 0,\n //倍数\n aggregateNum: 0,\n //一组的数量\n stockNum: 0,\n //库存,\n zyladderArr: [],\n //阶梯价\n zySingleInit: 0,\n //自营数量初始值\n goodsNum: 0 //商品数量\n\n };\n },\n computed: {\n total: function total() {\n return (this.goodsNum * this.singlePrice).toFixed(4);\n }\n },\n watch: {\n ypNum: function ypNum(now) {\n if (String(now).indexOf(\".\") > 0) this.ypNum = \"\";\n this.ypNum = String(now).replace(/\\D/g, \"\");\n this.goodsNum = now * this.aggregateNum;\n },\n \"goodDetail.goods_id\": function goodDetailGoods_id() {\n var data = this.goodDetail;\n\n if (JSON.stringify(data) != \"{}\") {\n if (this.goodDetail.goods_type == 3 || this.goodDetail.goods_type == 4) {\n if (data.min_buy) {\n this.startNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_buy);\n }\n\n if (data.mpl) {\n this.multipleNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.mpl);\n }\n\n if (data.min_mpq) {\n this.aggregateNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_mpq);\n }\n\n if (data.goods_number) {\n this.stockNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.goods_number);\n }\n\n if (this.startNum == this.multipleNum) {\n //倍数和起订量相等\n this.zySingleInit = this.startNum;\n } else if (this.startNum > this.multipleNum) {\n //起订量大于倍数\n if (this.startNum % this.multipleNum) {\n //起订量跟倍数的比值为小数\n this.zySingleInit = Math.ceil(this.startNum / this.multipleNum) * this.multipleNum;\n } else {\n //起订量跟倍数的比值为整数时取起订量\n this.zySingleInit = this.startNum;\n }\n } else {\n //起订量小于倍数\n this.zySingleInit = this.multipleNum;\n }\n\n if (data.tiered) {\n for (var i = 0; i < data.tiered.length; i++) {\n var singleData = data.tiered[i];\n this.zyladderArr.push({\n price: Number(singleData.price_cn).toFixed(4),\n num: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(singleData.purchases)\n });\n }\n }\n }\n }\n },\n goodsNum: function goodsNum(now) {\n if (String(now).indexOf(\".\") > 0) this.goodsNum = \"\";\n this.goodsNum = String(now).replace(/\\D/g, \"\");\n this.ladderComputer(now);\n\n if (Number(now) > this.stockNum) {\n this.tipText = \"库存不足,下单后我们将帮您订货\";\n this.btnText = \"预售订货\";\n } else {\n this.tipText = \"想要购买更多?直接下单,我们帮您订货\";\n this.btnText = \"立即购买\";\n }\n },\n zySingleInit: function zySingleInit(now) {\n this.goodsNum = now;\n }\n },\n methods: {\n showImagePreview: function showImagePreview(position, timer) {\n var images = [this.goodDetail.brand_logo || 'https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png'];\n var instance = Object(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"])({\n images: images,\n asyncClose: !!timer,\n showIndex: false\n });\n\n if (timer) {\n setTimeout(function () {\n instance.close();\n }, timer);\n }\n },\n imgErr: function imgErr() {\n this.goodDetail.brand_logo = \"https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png\";\n },\n changeNav: function changeNav(i) {\n this.navInit = i;\n\n if (i == 1) {\n if (this.goodsNum % this.aggregateNum) {\n //如果商品数量除以组数不为整数\n this.ypNum = Math.ceil(this.goodsNum / this.aggregateNum);\n } else {\n //如果商品数量除以组数为整数\n this.ypNum = Number(this.goodsNum) / this.aggregateNum;\n }\n }\n },\n ladderComputer: function ladderComputer(v) {\n //阶梯价计算价格v\n var length = this.zyladderArr.length;\n\n if (!length) {\n //阶梯价的数据为空\n this.singlePrice = 0;\n return;\n } else {\n //阶梯价的数据不为空\n if (length == 1) {\n //阶梯价的数据为1\n this.singlePrice = this.zyladderArr[0].price;\n return;\n } else {\n //阶梯价的数据不为1\n if (v <= this.zyladderArr[0].num) {\n //输入数量小于等于最小值\n this.singlePrice = this.zyladderArr[0].price;\n return;\n } else if (v >= this.zyladderArr[length - 1].num) {\n //输入数量大于等于最大值\n this.singlePrice = this.zyladderArr[length - 1].price;\n return;\n } else {\n for (var i = 0; i < this.zyladderArr.length; i++) {\n if (v >= this.zyladderArr[i].num && v < this.zyladderArr[i + 1].num) {\n this.singlePrice = this.zyladderArr[i].price;\n break;\n }\n }\n }\n }\n }\n },\n blurSingle: function blurSingle() {\n //购买数量为0\n if (!Number(this.goodsNum)) {\n this.$toast(\"购买数量不能少于起订量!\");\n this.goodsNum = this.zySingleInit;\n } else {\n //购买数量不为0\n if (Number(this.goodsNum) % this.multipleNum) {\n //当购买数量不是倍数的整数倍\n var num = Math.ceil(Number(this.goodsNum) / this.multipleNum) * this.multipleNum;\n\n if (num < this.startNum) {\n //取倍数的整数后小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n } else {\n //取倍数的整数后不小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\uFF0C\\u6211\\u4EEC\\u5DF2\\u4E3A\\u60A8\\u8C03\\u6574\\u8D2D\\u4E70\\u6570\\u91CF\\u3002\"));\n this.goodsNum = num;\n }\n } else {\n if (Number(this.goodsNum) < this.zySingleInit) {\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n }\n }\n }\n },\n blurZu: function blurZu() {\n if (Number(this.goodsNum) * Number(this.aggregateNum) < this.startNum) {\n this.$toast(\"购买数量不能少于起订量!\");\n this.ypNum = Math.ceil(this.startNum / this.aggregateNum);\n }\n },\n reduceSingle: function reduceSingle() {\n if (Number(this.goodsNum) <= this.startNum) {\n //购买数量小于等于起订量\n this.$toast(\"购买数量不能少于起订量!\");\n } else {\n //购买数量大于起订量\n if (Number(this.goodsNum) - this.multipleNum < this.startNum) {\n //购买数量减倍数小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n } else {\n this.goodsNum = Number(this.goodsNum) - this.multipleNum;\n }\n }\n },\n addSingle: function addSingle() {\n this.goodsNum = Number(this.goodsNum) + this.multipleNum;\n },\n reduceZu: function reduceZu() {\n if (Number(this.goodsNum) <= this.startNum) {\n return;\n } else {\n this.ypNum = Number(this.ypNum) - 1;\n }\n },\n addZu: function addZu() {\n this.ypNum = Number(this.ypNum) + 1;\n },\n xdOrAdd: function xdOrAdd(type) {\n var datax = {\n id: this.goodDetail.goods_id,\n num: this.goodsNum,\n buy: type == 1 ? 1 : -1,\n searchModel: this.$route.query.k || \"\",\n module_name: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n click_ptag: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getCookie(\"ptag\") || \"\"\n };\n\n if (type == 1) {\n //立即购买\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"立即购买\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n } else {\n //加入购物车\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"加入购物车\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n }\n\n this.$store.dispatch({\n type: \"addGoods\",\n data: {\n datax: datax,\n type: 1,\n k: this.$route.query.k || \"\" //1表示自营 2表示联营\n\n }\n });\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/zyDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../util/index */ \"./src/util/index.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n props: {\n goodDetail: {\n type: Object,\n default: function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n images: [],\n isShowMore: false,\n ypNum: 0,\n //组\n singlePrice: 0,\n //单价\n tipText: \"\",\n btnText: \"\",\n navInit: 0,\n startNum: 0,\n //起订量\n multipleNum: 0,\n //倍数\n aggregateNum: 0,\n //一组的数量\n stockNum: 0,\n //库存,\n zyladderArr: [],\n //阶梯价\n zySingleInit: 0,\n //自营数量初始值\n goodsNum: 0 //商品数量\n\n };\n },\n computed: {\n total: function total() {\n return (this.goodsNum * this.singlePrice).toFixed(4);\n }\n },\n watch: {\n ypNum: function ypNum(now) {\n if (String(now).indexOf(\".\") > 0) this.ypNum = \"\";\n this.ypNum = String(now).replace(/\\D/g, \"\");\n this.goodsNum = now * this.aggregateNum;\n },\n \"goodDetail.goods_id\": function goodDetailGoods_id() {\n var data = this.goodDetail;\n\n if (JSON.stringify(data) != \"{}\") {\n if (this.goodDetail.goods_type == 3 || this.goodDetail.goods_type == 4) {\n if (data.min_buy) {\n this.startNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_buy);\n }\n\n if (data.mpl) {\n this.multipleNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.mpl);\n }\n\n if (data.min_mpq) {\n this.aggregateNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.min_mpq);\n }\n\n if (data.goods_number) {\n this.stockNum = _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(data.goods_number);\n }\n\n if (this.startNum == this.multipleNum) {\n //倍数和起订量相等\n this.zySingleInit = this.startNum;\n } else if (this.startNum > this.multipleNum) {\n //起订量大于倍数\n if (this.startNum % this.multipleNum) {\n //起订量跟倍数的比值为小数\n this.zySingleInit = Math.ceil(this.startNum / this.multipleNum) * this.multipleNum;\n } else {\n //起订量跟倍数的比值为整数时取起订量\n this.zySingleInit = this.startNum;\n }\n } else {\n //起订量小于倍数\n this.zySingleInit = this.multipleNum;\n }\n\n if (data.tiered) {\n for (var i = 0; i < data.tiered.length; i++) {\n var singleData = data.tiered[i];\n this.zyladderArr.push({\n price: Number(singleData.price_cn).toFixed(4),\n num: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].aggxde(singleData.purchases)\n });\n }\n }\n }\n }\n },\n goodsNum: function goodsNum(now) {\n if (String(now).indexOf(\".\") > 0) this.goodsNum = \"\";\n this.goodsNum = String(now).replace(/\\D/g, \"\");\n this.ladderComputer(now);\n\n if (Number(now) > this.stockNum) {\n this.tipText = \"库存不足,下单后我们将帮您订货\";\n this.btnText = \"预售订货\";\n } else {\n this.tipText = \"想要购买更多?直接下单,我们帮您订货\";\n this.btnText = \"立即购买\";\n }\n },\n zySingleInit: function zySingleInit(now) {\n this.goodsNum = now;\n }\n },\n methods: {\n showImagePreview: function showImagePreview(position, timer) {\n var images = [this.goodDetail.brand_logo || 'https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png'];\n var instance = Object(vant__WEBPACK_IMPORTED_MODULE_4__[\"ImagePreview\"])({\n images: images,\n asyncClose: !!timer,\n showIndex: false\n });\n\n if (timer) {\n setTimeout(function () {\n instance.close();\n }, timer);\n }\n },\n imgErr: function imgErr() {\n this.goodDetail.brand_logo = \"https://www.ichunt.com/v3/dist/res/m/images/materiel_img_3.png\";\n },\n changeNav: function changeNav(i) {\n this.navInit = i;\n\n if (i == 1) {\n if (this.goodsNum % this.aggregateNum) {\n //如果商品数量除以组数不为整数\n this.ypNum = Math.ceil(this.goodsNum / this.aggregateNum);\n } else {\n //如果商品数量除以组数为整数\n this.ypNum = Number(this.goodsNum) / this.aggregateNum;\n }\n }\n },\n ladderComputer: function ladderComputer(v) {\n //阶梯价计算价格v\n var length = this.zyladderArr.length;\n\n if (!length) {\n //阶梯价的数据为空\n this.singlePrice = 0;\n return;\n } else {\n //阶梯价的数据不为空\n if (length == 1) {\n //阶梯价的数据为1\n this.singlePrice = this.zyladderArr[0].price;\n return;\n } else {\n //阶梯价的数据不为1\n if (v <= this.zyladderArr[0].num) {\n //输入数量小于等于最小值\n this.singlePrice = this.zyladderArr[0].price;\n return;\n } else if (v >= this.zyladderArr[length - 1].num) {\n //输入数量大于等于最大值\n this.singlePrice = this.zyladderArr[length - 1].price;\n return;\n } else {\n for (var i = 0; i < this.zyladderArr.length; i++) {\n if (v >= this.zyladderArr[i].num && v < this.zyladderArr[i + 1].num) {\n this.singlePrice = this.zyladderArr[i].price;\n break;\n }\n }\n }\n }\n }\n },\n blurSingle: function blurSingle() {\n //购买数量为0\n if (!Number(this.goodsNum)) {\n this.$toast(\"购买数量不能少于起订量!\");\n this.goodsNum = this.zySingleInit;\n } else {\n //购买数量不为0\n if (Number(this.goodsNum) % this.multipleNum) {\n //当购买数量不是倍数的整数倍\n var num = Math.ceil(Number(this.goodsNum) / this.multipleNum) * this.multipleNum;\n\n if (num < this.startNum) {\n //取倍数的整数后小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n } else {\n //取倍数的整数后不小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\uFF0C\\u6211\\u4EEC\\u5DF2\\u4E3A\\u60A8\\u8C03\\u6574\\u8D2D\\u4E70\\u6570\\u91CF\\u3002\"));\n this.goodsNum = num;\n }\n } else {\n if (Number(this.goodsNum) < this.zySingleInit) {\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n this.goodsNum = this.zySingleInit;\n }\n }\n }\n },\n blurZu: function blurZu() {\n if (Number(this.goodsNum) * Number(this.aggregateNum) < this.startNum) {\n this.$toast(\"购买数量不能少于起订量!\");\n this.ypNum = Math.ceil(this.startNum / this.aggregateNum);\n }\n },\n reduceSingle: function reduceSingle() {\n if (Number(this.goodsNum) <= this.startNum) {\n //购买数量小于等于起订量\n this.$toast(\"购买数量不能少于起订量!\");\n } else {\n //购买数量大于起订量\n if (Number(this.goodsNum) - this.multipleNum < this.startNum) {\n //购买数量减倍数小于起订量\n this.$toast(\"\\u8D2D\\u4E70\\u6570\\u91CF\\u5FC5\\u987B\\u4E3A\".concat(this.multipleNum, \"\\u7684\\u6574\\u6570\\u500D\\u4E14\\u4E0D\\u80FD\\u5C11\\u4E8E\\u8D77\\u8BA2\\u91CF\\uFF01\"));\n } else {\n this.goodsNum = Number(this.goodsNum) - this.multipleNum;\n }\n }\n },\n addSingle: function addSingle() {\n this.goodsNum = Number(this.goodsNum) + this.multipleNum;\n },\n reduceZu: function reduceZu() {\n if (Number(this.goodsNum) <= this.startNum) {\n return;\n } else {\n this.ypNum = Number(this.ypNum) - 1;\n }\n },\n addZu: function addZu() {\n this.ypNum = Number(this.ypNum) + 1;\n },\n xdOrAdd: function xdOrAdd(type) {\n var datax = {\n id: this.goodDetail.goods_id,\n num: this.goodsNum,\n buy: type == 1 ? 1 : -1,\n searchModel: this.$route.query.k || \"\",\n module_name: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n click_ptag: _util_index__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getCookie(\"ptag\") || \"\"\n };\n\n if (type == 1) {\n //立即购买\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"立即购买\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n } else {\n //加入购物车\n try {\n sensors.track(\"brandList\", {\n click_ptag: this.goodDetail.module_name || \"\",\n click_adtag: this.$route.query.adtag || this.$route.query.ptag || \"\",\n element_name: \"加入购物车\",\n click_account: this.goodDetail.account_name || \"\",\n brand_id: this.goodDetail.brand_id || \"\",\n class_id: this.goodDetail.class_id || \"\",\n supplier_id: this.goodDetail.supplier_id || \"\"\n });\n } catch (e) {}\n }\n\n this.$store.dispatch({\n type: \"addGoods\",\n data: {\n datax: datax,\n type: 1,\n k: this.$route.query.k || \"\" //1表示自营 2表示联营\n\n }\n });\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/zyDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'newsDetail',\n data: function data() {\n return {\n title: \"猎芯网-新闻列表详情\",\n p: 1,\n meaushow: true,\n popdetailbool: false\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n newsDetailObj: function newsDetailObj(state) {\n return state.newsdetail.newsDetailObj;\n },\n loadStatus: function loadStatus(state) {\n return state.newsdetail.loadStatus;\n },\n newsDetailAd: function newsDetailAd(state) {\n return state.newsdetail.newsDetailAd;\n }\n })),\n watch: {\n newsDetailObj: function newsDetailObj(val) {\n if (JSON.stringify(val) != \"{}\") {\n this.title = val.current_info.title;\n window.document.title = val.current_info.title;\n }\n }\n },\n created: function created() {\n this.getDataAd();\n this.getData();\n this.scrollFns();\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'newsArticleDetail',\n art_id: this.$route.params.art_id\n });\n },\n getDataAd: function getDataAd() {\n this.$store.dispatch({\n type: 'newsArticleDetailAd',\n cat_id: this.$route.params.cat_id\n });\n },\n popdetailact: function popdetailact() {\n this.popdetailbool = false;\n this.newsDetailAd.h5_news_ad_pop = \"\";\n },\n scrollFns: function scrollFns() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 100) {\n self.popdetailbool = true;\n }\n };\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/news/Detail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'newsDetail',\n data: function data() {\n return {\n title: \"猎芯网-新闻列表详情\",\n p: 1,\n meaushow: true,\n popdetailbool: false\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n newsDetailObj: function newsDetailObj(state) {\n return state.newsdetail.newsDetailObj;\n },\n loadStatus: function loadStatus(state) {\n return state.newsdetail.loadStatus;\n },\n newsDetailAd: function newsDetailAd(state) {\n return state.newsdetail.newsDetailAd;\n }\n })),\n watch: {\n newsDetailObj: function newsDetailObj(val) {\n if (JSON.stringify(val) != \"{}\") {\n this.title = val.current_info.title;\n window.document.title = val.current_info.title;\n }\n }\n },\n created: function created() {\n this.getDataAd();\n this.getData();\n this.scrollFns();\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'newsArticleDetail',\n art_id: this.$route.params.art_id\n });\n },\n getDataAd: function getDataAd() {\n this.$store.dispatch({\n type: 'newsArticleDetailAd',\n cat_id: this.$route.params.cat_id\n });\n },\n popdetailact: function popdetailact() {\n this.popdetailbool = false;\n this.newsDetailAd.h5_news_ad_pop = \"\";\n },\n scrollFns: function scrollFns() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 100) {\n self.popdetailbool = true;\n }\n };\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/news/Detail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletCashier',\n data: function data() {\n return {\n title: \"猎芯网收银台\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n password: ''\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n orderInfoData: function orderInfoData(state) {\n return state.wallet.orderInfoData;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'orderInfo',\n order_id: this.$route.query.order_id || ''\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n forget: function forget() {\n this.$router.push({\n path: '/wallet/retrieve'\n });\n },\n pay: function pay() {\n this.$store.dispatch({\n type: 'walletPayTodo',\n pay_code: 'wallet',\n pay_password: this.password,\n //支付密码 pay_code=wallet时传入\n rescue: 1,\n types: 0,\n site_type: 2,\n order_id: this.$route.query.order_id || ''\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Cashier.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Icon\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'WalletCashier',\n data: function data() {\n return {\n title: \"猎芯网收银台\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n password: ''\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n orderInfoData: function orderInfoData(state) {\n return state.wallet.orderInfoData;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'orderInfo',\n order_id: this.$route.query.order_id || ''\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n forget: function forget() {\n this.$router.push({\n path: '/wallet/retrieve'\n });\n },\n pay: function pay() {\n this.$store.dispatch({\n type: 'walletPayTodo',\n pay_code: 'wallet',\n pay_password: this.password,\n //支付密码 pay_code=wallet时传入\n rescue: 1,\n types: 0,\n site_type: 2,\n order_id: this.$route.query.order_id || ''\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Cashier.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Popup\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"DatetimePicker\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Picker\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletRecord',\n data: function data() {\n return {\n title: \"充值提现记录\",\n text: '全部',\n meaushow: true,\n recordYear: new Date().getFullYear(),\n recordMonth: new Date().getMonth() + 1 < 10 ? \"0\" + (new Date().getMonth() + 1) : new Date().getMonth() + 1,\n updateYear: '',\n updateMonth: '',\n dateShow: false,\n //年月弹出层\n typeShow: false,\n //类型弹出层\n currentDate: new Date(),\n //目前年月\n typeCheckedkeyId: '',\n typeCheckedText: '',\n dialog: false,\n active: 0,\n columns: [{\n \"keyId\": '',\n \"text\": \"全部\"\n }, {\n \"keyId\": 1,\n \"text\": \"钱包充值\"\n }, {\n \"keyId\": 2,\n \"text\": \"钱包提现\"\n }]\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_4__[\"mapState\"])({\n walletRecordData: function walletRecordData(state) {\n return state.wallet.walletRecordData;\n }\n })),\n watch: {},\n created: function created() {\n //格式化日期\n function setDate(date) {\n y = date.getFullYear();\n m = date.getMonth() + 1;\n d = date.getDate();\n m = m < 10 ? \"0\" + m : m;\n d = d < 10 ? \"0\" + d : d;\n return y + \"-\" + m + \"-\" + d;\n } //封装时间格式\n\n\n function format(time, format) {\n var t = new Date(time);\n\n var tf = function tf(i) {\n return (i < 10 ? '0' : '') + i;\n };\n\n return format.replace(/yyyy|MM|dd|HH|mm|ss/g, function (a) {\n switch (a) {\n case 'yyyy':\n return tf(t.getFullYear());\n break;\n\n case 'MM':\n return tf(t.getMonth() + 1);\n break;\n\n case 'mm':\n return tf(t.getMinutes());\n break;\n\n case 'dd':\n return tf(t.getDate());\n break;\n\n case 'HH':\n return tf(t.getHours());\n break;\n\n case 'ss':\n return tf(t.getSeconds());\n break;\n }\n });\n } //获取当前月的第一天\n\n\n function getCurrentMonthFirst() {\n var date = new Date();\n date.setDate(1);\n return date;\n } //获取当前月的最后一天\n\n\n function getCurrentMonthLast() {\n var date = new Date();\n var currentMonth = date.getMonth();\n var nextMonth = ++currentMonth;\n var nextMonthFirstDay = new Date(date.getFullYear(), nextMonth, 1);\n var oneDay = 1000 * 60 * 60 * 24;\n return new Date(nextMonthFirstDay - oneDay);\n }\n\n this.$store.dispatch({\n type: 'walletRecordList',\n wallet_type: '',\n stime: format(getCurrentMonthFirst(), 'yyyy-MM-dd'),\n etime: format(getCurrentMonthLast(), 'yyyy-MM-dd')\n });\n },\n methods: {\n showPopDate: function showPopDate() {\n if (!this.dateShow) {\n this.dateShow = true;\n } else {\n this.dateShow = false;\n }\n },\n showPopType: function showPopType() {\n this.dialog = !this.dialog;\n },\n formatter: function formatter(type, value) {\n if (type === 'year') {\n return \"\".concat(value);\n } else if (type === 'month') {\n return \"\".concat(value);\n }\n\n return value;\n },\n dateChange: function dateChange(value) {\n this.updateYear = value.getValues()[0];\n this.updateMonth = value.getValues()[1];\n },\n onDateCancel: function onDateCancel() {\n this.dateShow = false;\n this.recordYear = this.recordYear;\n this.recordMonth = this.recordMonth;\n },\n onDateConfirm: function onDateConfirm() {\n this.dateShow = false;\n this.recordYear = this.updateYear || this.recordYear;\n this.recordMonth = this.updateMonth || this.recordMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletRecordList',\n wallet_type: this.typeCheckedkeyId || '',\n stime: getMonthFirstDay(this.recordYear, this.recordMonth),\n etime: getMonthLastDay(this.recordYear, this.recordMonth)\n });\n },\n onTypeConfirm: function onTypeConfirm(value, index) {\n this.dialog = false;\n this.active = index;\n this.text = this.columns[index].text;\n this.typeCheckedkeyId = value;\n this.recordYear = this.updateYear || this.recordYear;\n this.recordMonth = this.updateMonth || this.recordMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletRecordList',\n wallet_type: value,\n stime: getMonthFirstDay(this.recordYear, this.recordMonth),\n etime: getMonthLastDay(this.recordYear, this.recordMonth)\n });\n },\n onTypeCancel: function onTypeCancel() {\n this.typeShow = false;\n },\n detail: function detail(amount) {\n //待支付的钱包充值订单,可跳去查看详情\n //直接调用$router.push实现携带参数的跳转\n this.$router.push({\n path: '/wallet/recharge',\n query: {\n amount: amount\n }\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Record.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Popup\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"DatetimePicker\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Picker\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletRecord',\n data: function data() {\n return {\n title: \"充值提现记录\",\n text: '全部',\n meaushow: true,\n recordYear: new Date().getFullYear(),\n recordMonth: new Date().getMonth() + 1 < 10 ? \"0\" + (new Date().getMonth() + 1) : new Date().getMonth() + 1,\n updateYear: '',\n updateMonth: '',\n dateShow: false,\n //年月弹出层\n typeShow: false,\n //类型弹出层\n currentDate: new Date(),\n //目前年月\n typeCheckedkeyId: '',\n typeCheckedText: '',\n dialog: false,\n active: 0,\n columns: [{\n \"keyId\": '',\n \"text\": \"全部\"\n }, {\n \"keyId\": 1,\n \"text\": \"钱包充值\"\n }, {\n \"keyId\": 2,\n \"text\": \"钱包提现\"\n }]\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_4__[\"mapState\"])({\n walletRecordData: function walletRecordData(state) {\n return state.wallet.walletRecordData;\n }\n })),\n watch: {},\n created: function created() {\n //格式化日期\n function setDate(date) {\n y = date.getFullYear();\n m = date.getMonth() + 1;\n d = date.getDate();\n m = m < 10 ? \"0\" + m : m;\n d = d < 10 ? \"0\" + d : d;\n return y + \"-\" + m + \"-\" + d;\n } //封装时间格式\n\n\n function format(time, format) {\n var t = new Date(time);\n\n var tf = function tf(i) {\n return (i < 10 ? '0' : '') + i;\n };\n\n return format.replace(/yyyy|MM|dd|HH|mm|ss/g, function (a) {\n switch (a) {\n case 'yyyy':\n return tf(t.getFullYear());\n break;\n\n case 'MM':\n return tf(t.getMonth() + 1);\n break;\n\n case 'mm':\n return tf(t.getMinutes());\n break;\n\n case 'dd':\n return tf(t.getDate());\n break;\n\n case 'HH':\n return tf(t.getHours());\n break;\n\n case 'ss':\n return tf(t.getSeconds());\n break;\n }\n });\n } //获取当前月的第一天\n\n\n function getCurrentMonthFirst() {\n var date = new Date();\n date.setDate(1);\n return date;\n } //获取当前月的最后一天\n\n\n function getCurrentMonthLast() {\n var date = new Date();\n var currentMonth = date.getMonth();\n var nextMonth = ++currentMonth;\n var nextMonthFirstDay = new Date(date.getFullYear(), nextMonth, 1);\n var oneDay = 1000 * 60 * 60 * 24;\n return new Date(nextMonthFirstDay - oneDay);\n }\n\n this.$store.dispatch({\n type: 'walletRecordList',\n wallet_type: '',\n stime: format(getCurrentMonthFirst(), 'yyyy-MM-dd'),\n etime: format(getCurrentMonthLast(), 'yyyy-MM-dd')\n });\n },\n methods: {\n showPopDate: function showPopDate() {\n if (!this.dateShow) {\n this.dateShow = true;\n } else {\n this.dateShow = false;\n }\n },\n showPopType: function showPopType() {\n this.dialog = !this.dialog;\n },\n formatter: function formatter(type, value) {\n if (type === 'year') {\n return \"\".concat(value);\n } else if (type === 'month') {\n return \"\".concat(value);\n }\n\n return value;\n },\n dateChange: function dateChange(value) {\n this.updateYear = value.getValues()[0];\n this.updateMonth = value.getValues()[1];\n },\n onDateCancel: function onDateCancel() {\n this.dateShow = false;\n this.recordYear = this.recordYear;\n this.recordMonth = this.recordMonth;\n },\n onDateConfirm: function onDateConfirm() {\n this.dateShow = false;\n this.recordYear = this.updateYear || this.recordYear;\n this.recordMonth = this.updateMonth || this.recordMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletRecordList',\n wallet_type: this.typeCheckedkeyId || '',\n stime: getMonthFirstDay(this.recordYear, this.recordMonth),\n etime: getMonthLastDay(this.recordYear, this.recordMonth)\n });\n },\n onTypeConfirm: function onTypeConfirm(value, index) {\n this.dialog = false;\n this.active = index;\n this.text = this.columns[index].text;\n this.typeCheckedkeyId = value;\n this.recordYear = this.updateYear || this.recordYear;\n this.recordMonth = this.updateMonth || this.recordMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletRecordList',\n wallet_type: value,\n stime: getMonthFirstDay(this.recordYear, this.recordMonth),\n etime: getMonthLastDay(this.recordYear, this.recordMonth)\n });\n },\n onTypeCancel: function onTypeCancel() {\n this.typeShow = false;\n },\n detail: function detail(amount) {\n //待支付的钱包充值订单,可跳去查看详情\n //直接调用$router.push实现携带参数的跳转\n this.$router.push({\n path: '/wallet/recharge',\n query: {\n amount: amount\n }\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Record.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletStatus',\n data: function data() {\n return {\n title: \"钱包状态\",\n meaushow: true\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n dialogTips: function dialogTips() {\n vant__WEBPACK_IMPORTED_MODULE_4__[\"Dialog\"].alert({\n message: '<p style=\"font-size:16px;\">您的' + this.walletInfoData.wallet_freeze_format + '元正在提现中,</p><p style=\"font-size:16px;\">预计1个工作日后到账,</p><p style=\"font-size:16px;\">节假日顺延,请耐心等候。</p>'\n }).then(function () {// on close\n });\n },\n submit: function submit() {\n this.$router.push({\n path: '/wallet/activate'\n });\n },\n forgetPassword: function forgetPassword() {\n this.$router.push({\n path: '/wallet/retrieve'\n });\n },\n bindBank: function bindBank() {\n this.$router.push({\n path: '/wallet/verify'\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Status.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_4__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletStatus',\n data: function data() {\n return {\n title: \"钱包状态\",\n meaushow: true\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n }\n })),\n watch: {},\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n dialogTips: function dialogTips() {\n vant__WEBPACK_IMPORTED_MODULE_4__[\"Dialog\"].alert({\n message: '<p style=\"font-size:16px;\">您的' + this.walletInfoData.wallet_freeze_format + '元正在提现中,</p><p style=\"font-size:16px;\">预计1个工作日后到账,</p><p style=\"font-size:16px;\">节假日顺延,请耐心等候。</p>'\n }).then(function () {// on close\n });\n },\n submit: function submit() {\n this.$router.push({\n path: '/wallet/activate'\n });\n },\n forgetPassword: function forgetPassword() {\n this.$router.push({\n path: '/wallet/retrieve'\n });\n },\n bindBank: function bindBank() {\n this.$router.push({\n path: '/wallet/verify'\n });\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Status.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Popup\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"DatetimePicker\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Picker\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletDetail',\n data: function data() {\n return {\n title: \"钱包明细\",\n meaushow: true,\n dateYear: new Date().getFullYear(),\n //初始化当前年\n dateMonth: new Date().getMonth() + 1 < 10 ? \"0\" + (new Date().getMonth() + 1) : new Date().getMonth() + 1,\n //初始化当前月\n updateYear: '',\n updateMonth: '',\n dateShow: false,\n //年月弹出层\n typeShow: false,\n //类型弹出层\n currentDate: new Date(),\n //目前年月\n typeCheckedkeyId: '',\n typeCheckedText: '',\n text: '全部交易类型',\n dialog: false,\n active: 0,\n columns: [{\n \"keyId\": '',\n \"text\": \"全部交易类型\"\n }, {\n \"keyId\": 21,\n \"text\": \"订单支付\"\n }, {\n \"keyId\": 10,\n \"text\": \"钱包充值\"\n }, {\n \"keyId\": 20,\n \"text\": \"钱包提现\"\n }, {\n \"keyId\": 12,\n \"text\": \"活动返现\"\n }, {\n \"keyId\": 100,\n \"text\": \"余额调整\"\n }]\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_4__[\"mapState\"])({\n walletListData: function walletListData(state) {\n return state.wallet.walletListData;\n }\n })),\n watch: {},\n created: function created() {\n //格式化日期\n function setDate(date) {\n y = date.getFullYear();\n m = date.getMonth() + 1;\n d = date.getDate();\n m = m < 10 ? \"0\" + m : m;\n d = d < 10 ? \"0\" + d : d;\n return y + \"-\" + m + \"-\" + d;\n } //封装时间格式\n\n\n function format(time, format) {\n var t = new Date(time);\n\n var tf = function tf(i) {\n return (i < 10 ? '0' : '') + i;\n };\n\n return format.replace(/yyyy|MM|dd|HH|mm|ss/g, function (a) {\n switch (a) {\n case 'yyyy':\n return tf(t.getFullYear());\n break;\n\n case 'MM':\n return tf(t.getMonth() + 1);\n break;\n\n case 'mm':\n return tf(t.getMinutes());\n break;\n\n case 'dd':\n return tf(t.getDate());\n break;\n\n case 'HH':\n return tf(t.getHours());\n break;\n\n case 'ss':\n return tf(t.getSeconds());\n break;\n }\n });\n } //获取当前月的第一天\n\n\n function getCurrentMonthFirst() {\n var date = new Date();\n date.setDate(1);\n return date;\n } //获取当前月的最后一天\n\n\n function getCurrentMonthLast() {\n var date = new Date();\n var currentMonth = date.getMonth();\n var nextMonth = ++currentMonth;\n var nextMonthFirstDay = new Date(date.getFullYear(), nextMonth, 1);\n var oneDay = 1000 * 60 * 60 * 24;\n return new Date(nextMonthFirstDay - oneDay);\n }\n\n this.$store.dispatch({\n type: 'walletListLog',\n log_type: '',\n stime: format(getCurrentMonthFirst(), 'yyyy-MM-dd'),\n etime: format(getCurrentMonthLast(), 'yyyy-MM-dd')\n });\n },\n methods: {\n showPopDate: function showPopDate() {\n if (!this.dateShow) {\n this.dateShow = true;\n } else {\n this.dateShow = false;\n }\n },\n showPopType: function showPopType() {\n this.dialog = !this.dialog;\n },\n formatter: function formatter(type, value) {\n if (type === 'year') {\n return \"\".concat(value);\n } else if (type === 'month') {\n return \"\".concat(value);\n }\n\n return value;\n },\n dateChange: function dateChange(value) {\n this.updateYear = value.getValues()[0];\n this.updateMonth = value.getValues()[1];\n },\n onDateCancel: function onDateCancel() {\n this.dateShow = false;\n this.dateYear = this.dateYear;\n this.dateMonth = this.dateMonth;\n },\n onDateConfirm: function onDateConfirm() {\n this.dateShow = false;\n this.dateYear = this.updateYear || this.dateYear;\n this.dateMonth = this.updateMonth || this.dateMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletListLog',\n log_type: this.typeCheckedkeyId || '',\n stime: getMonthFirstDay(this.dateYear, this.dateMonth),\n etime: getMonthLastDay(this.dateYear, this.dateMonth)\n });\n },\n onTypeConfirm: function onTypeConfirm(value, index) {\n this.dialog = false;\n this.active = index;\n this.text = this.columns[index].text;\n this.typeCheckedkeyId = value;\n this.dateYear = this.updateYear || this.dateYear;\n this.dateMonth = this.updateMonth || this.dateMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletListLog',\n log_type: value,\n stime: getMonthFirstDay(this.dateYear, this.dateMonth),\n etime: getMonthLastDay(this.dateYear, this.dateMonth)\n });\n },\n onTypeCancel: function onTypeCancel() {\n this.typeShow = false;\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/WalletDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.regexp.replace */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.regexp.replace.js\");\n/* harmony import */ var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_3__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Popup\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"DatetimePicker\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Picker\"]).use(vant__WEBPACK_IMPORTED_MODULE_6__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletDetail',\n data: function data() {\n return {\n title: \"钱包明细\",\n meaushow: true,\n dateYear: new Date().getFullYear(),\n //初始化当前年\n dateMonth: new Date().getMonth() + 1 < 10 ? \"0\" + (new Date().getMonth() + 1) : new Date().getMonth() + 1,\n //初始化当前月\n updateYear: '',\n updateMonth: '',\n dateShow: false,\n //年月弹出层\n typeShow: false,\n //类型弹出层\n currentDate: new Date(),\n //目前年月\n typeCheckedkeyId: '',\n typeCheckedText: '',\n text: '全部交易类型',\n dialog: false,\n active: 0,\n columns: [{\n \"keyId\": '',\n \"text\": \"全部交易类型\"\n }, {\n \"keyId\": 21,\n \"text\": \"订单支付\"\n }, {\n \"keyId\": 10,\n \"text\": \"钱包充值\"\n }, {\n \"keyId\": 20,\n \"text\": \"钱包提现\"\n }, {\n \"keyId\": 12,\n \"text\": \"活动返现\"\n }, {\n \"keyId\": 100,\n \"text\": \"余额调整\"\n }]\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_4__[\"mapState\"])({\n walletListData: function walletListData(state) {\n return state.wallet.walletListData;\n }\n })),\n watch: {},\n created: function created() {\n //格式化日期\n function setDate(date) {\n y = date.getFullYear();\n m = date.getMonth() + 1;\n d = date.getDate();\n m = m < 10 ? \"0\" + m : m;\n d = d < 10 ? \"0\" + d : d;\n return y + \"-\" + m + \"-\" + d;\n } //封装时间格式\n\n\n function format(time, format) {\n var t = new Date(time);\n\n var tf = function tf(i) {\n return (i < 10 ? '0' : '') + i;\n };\n\n return format.replace(/yyyy|MM|dd|HH|mm|ss/g, function (a) {\n switch (a) {\n case 'yyyy':\n return tf(t.getFullYear());\n break;\n\n case 'MM':\n return tf(t.getMonth() + 1);\n break;\n\n case 'mm':\n return tf(t.getMinutes());\n break;\n\n case 'dd':\n return tf(t.getDate());\n break;\n\n case 'HH':\n return tf(t.getHours());\n break;\n\n case 'ss':\n return tf(t.getSeconds());\n break;\n }\n });\n } //获取当前月的第一天\n\n\n function getCurrentMonthFirst() {\n var date = new Date();\n date.setDate(1);\n return date;\n } //获取当前月的最后一天\n\n\n function getCurrentMonthLast() {\n var date = new Date();\n var currentMonth = date.getMonth();\n var nextMonth = ++currentMonth;\n var nextMonthFirstDay = new Date(date.getFullYear(), nextMonth, 1);\n var oneDay = 1000 * 60 * 60 * 24;\n return new Date(nextMonthFirstDay - oneDay);\n }\n\n this.$store.dispatch({\n type: 'walletListLog',\n log_type: '',\n stime: format(getCurrentMonthFirst(), 'yyyy-MM-dd'),\n etime: format(getCurrentMonthLast(), 'yyyy-MM-dd')\n });\n },\n methods: {\n showPopDate: function showPopDate() {\n if (!this.dateShow) {\n this.dateShow = true;\n } else {\n this.dateShow = false;\n }\n },\n showPopType: function showPopType() {\n this.dialog = !this.dialog;\n },\n formatter: function formatter(type, value) {\n if (type === 'year') {\n return \"\".concat(value);\n } else if (type === 'month') {\n return \"\".concat(value);\n }\n\n return value;\n },\n dateChange: function dateChange(value) {\n this.updateYear = value.getValues()[0];\n this.updateMonth = value.getValues()[1];\n },\n onDateCancel: function onDateCancel() {\n this.dateShow = false;\n this.dateYear = this.dateYear;\n this.dateMonth = this.dateMonth;\n },\n onDateConfirm: function onDateConfirm() {\n this.dateShow = false;\n this.dateYear = this.updateYear || this.dateYear;\n this.dateMonth = this.updateMonth || this.dateMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletListLog',\n log_type: this.typeCheckedkeyId || '',\n stime: getMonthFirstDay(this.dateYear, this.dateMonth),\n etime: getMonthLastDay(this.dateYear, this.dateMonth)\n });\n },\n onTypeConfirm: function onTypeConfirm(value, index) {\n this.dialog = false;\n this.active = index;\n this.text = this.columns[index].text;\n this.typeCheckedkeyId = value;\n this.dateYear = this.updateYear || this.dateYear;\n this.dateMonth = this.updateMonth || this.dateMonth; //获取某年某月的第一天\n\n function getMonthFirstDay(y, m) {\n var date = new Date(y, m - 1, 1);\n var firstDate = new Date(date.getTime());\n return firstDate.getFullYear() + '-' + (Number(firstDate.getMonth()) + 1) + '-' + firstDate.getDate();\n } //获取某年某月的最后一天\n\n\n function getMonthLastDay(y, m) {\n var date = new Date(y, m, 1);\n var lastDate = new Date(date.getTime() - 1000 * 60 * 60 * 24);\n return lastDate.getFullYear() + '-' + (Number(lastDate.getMonth()) + 1) + '-' + lastDate.getDate();\n }\n\n this.$store.dispatch({\n type: 'walletListLog',\n log_type: value,\n stime: getMonthFirstDay(this.dateYear, this.dateMonth),\n etime: getMonthLastDay(this.dateYear, this.dateMonth)\n });\n },\n onTypeCancel: function onTypeCancel() {\n this.typeShow = false;\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/WalletDetail.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_2__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_5__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_5__[\"NumberKeyboard\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletWithdraw',\n data: function data() {\n return {\n title: \"钱包提现\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n amountNum: true,\n password: '',\n withdrawNum: '',\n clickFlag: true,\n moneyBtn: false,\n zIndex: 999999\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n amountWithdrawFlag: function amountWithdrawFlag(state) {\n return state.wallet.amountWithdrawFlag;\n }\n })),\n watch: {\n withdrawNum: function withdrawNum(val) {\n if (Number(val) > Number(this.walletInfoData.wallet_usable)) {\n this.amountNum = false;\n } else {\n this.amountNum = true;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n withdraw: function withdraw() {\n //全部提现\n this.withdrawNum = this.walletInfoData.wallet_usable;\n },\n submit: function submit() {\n if (this.withdrawNum !== '') {\n if (this.password) {\n //提现申请\n this.$store.dispatch({\n type: 'walletWithdraw',\n amount: this.withdrawNum,\n pay_password: this.password\n });\n } else {\n Object(vant__WEBPACK_IMPORTED_MODULE_5__[\"Toast\"])({\n message: '请输入提现密码'\n });\n }\n }\n },\n onInput: function onInput(key) {\n this.withdrawNum = this.withdrawNum + key;\n },\n onDelete: function onDelete(key) {\n this.withdrawNum = this.withdrawNum.slice(0, this.withdrawNum.length - 1);\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Withdraw.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.number.constructor */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.number.constructor.js\");\n/* harmony import */ var core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_number_constructor__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_2__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_5__[\"Icon\"]).use(vant__WEBPACK_IMPORTED_MODULE_5__[\"NumberKeyboard\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'walletWithdraw',\n data: function data() {\n return {\n title: \"钱包提现\",\n meaushow: true,\n showPassword: true,\n //是否显示密码\n amountNum: true,\n password: '',\n withdrawNum: '',\n clickFlag: true,\n moneyBtn: false,\n zIndex: 999999\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__[\"mapState\"])({\n walletInfoData: function walletInfoData(state) {\n return state.wallet.walletInfoData;\n },\n amountWithdrawFlag: function amountWithdrawFlag(state) {\n return state.wallet.amountWithdrawFlag;\n }\n })),\n watch: {\n withdrawNum: function withdrawNum(val) {\n if (Number(val) > Number(this.walletInfoData.wallet_usable)) {\n this.amountNum = false;\n } else {\n this.amountNum = true;\n }\n }\n },\n created: function created() {\n this.$store.dispatch({\n type: 'getWalletInfo'\n });\n },\n methods: {\n changeShow: function changeShow() {\n this.showPassword = !this.showPassword;\n },\n withdraw: function withdraw() {\n //全部提现\n this.withdrawNum = this.walletInfoData.wallet_usable;\n },\n submit: function submit() {\n if (this.withdrawNum !== '') {\n if (this.password) {\n //提现申请\n this.$store.dispatch({\n type: 'walletWithdraw',\n amount: this.withdrawNum,\n pay_password: this.password\n });\n } else {\n Object(vant__WEBPACK_IMPORTED_MODULE_5__[\"Toast\"])({\n message: '请输入提现密码'\n });\n }\n }\n },\n onInput: function onInput(key) {\n this.withdrawNum = this.withdrawNum + key;\n },\n onDelete: function onDelete(key) {\n this.withdrawNum = this.withdrawNum.slice(0, this.withdrawNum.length - 1);\n }\n },\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/wallet/Withdraw.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"aboutUs\",\n components: {\n \"van-swipe\": vant__WEBPACK_IMPORTED_MODULE_1__[\"Swipe\"],\n \"van-swipe-item\": vant__WEBPACK_IMPORTED_MODULE_1__[\"SwipeItem\"]\n },\n data: function data() {\n return {\n current: 0\n };\n },\n created: function created() {\n this.$store.dispatch({\n type: \"getAboutUsData\"\n });\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.aboutus.loading;\n },\n aboutdata: function aboutdata(state) {\n return state.aboutus.aboutdata;\n }\n })),\n methods: {\n onChange: function onChange(index) {\n var self = this;\n setTimeout(function () {\n self.current = index;\n }, 300);\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/aboutUs/index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"aboutUs\",\n components: {\n \"van-swipe\": vant__WEBPACK_IMPORTED_MODULE_1__[\"Swipe\"],\n \"van-swipe-item\": vant__WEBPACK_IMPORTED_MODULE_1__[\"SwipeItem\"]\n },\n data: function data() {\n return {\n current: 0\n };\n },\n created: function created() {\n this.$store.dispatch({\n type: \"getAboutUsData\"\n });\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.aboutus.loading;\n },\n aboutdata: function aboutdata(state) {\n return state.aboutus.aboutdata;\n }\n })),\n methods: {\n onChange: function onChange(index) {\n var self = this;\n setTimeout(function () {\n self.current = index;\n }, 300);\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/aboutUs/index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core ...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -32,7 +32,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex ...@@ -32,7 +32,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_1__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Lazyload\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'slide',\n props: {\n slidedata: Array\n },\n methods: {\n recordFn: function recordFn(index, url) {\n try {\n sensors.track('bannerClick', {\n page_type: 'h5-index',\n banner_location: 'h5-index-banner-' + index,\n url: url\n });\n } catch (e) {}\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/Slide.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_1__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_1__[\"Lazyload\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'slide',\n props: {\n slidedata: Array\n },\n methods: {\n recordFn: function recordFn(index, url) {\n try {\n sensors.track('bannerClick', {\n page_type: 'h5-index',\n banner_location: 'h5-index-banner-' + index,\n url: url\n });\n } catch (e) {}\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/Slide.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -44,7 +44,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_ ...@@ -44,7 +44,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue_
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Navigator.vue */ \"./src/views/common/Navigator.vue\");\n/* harmony import */ var _views_common_Slide_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Slide.vue */ \"./src/views/common/Slide.vue\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"PullRefresh\"]).use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Lazyload\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'index',\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_1__[\"mapState\"])({\n index: function index(state) {\n return state.home.index;\n },\n loading: function loading(state) {\n return state.home.loading;\n },\n loginCheck: function loginCheck(state) {\n return state.common.loginCheck;\n }\n }),\n data: function data() {\n return {\n ptag: 'index',\n isLoading: false,\n height: 33\n };\n },\n beforeRouteEnter: function beforeRouteEnter(to, from, next) {\n next(function (vm) {\n vm.getData();\n });\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'index'\n });\n },\n onRefresh: function onRefresh() {\n var _this = this;\n\n setTimeout(function () {\n _this.isLoading = false;\n\n _this.$store.dispatch({\n type: 'index'\n });\n }, 1000);\n },\n recordFn: function recordFn(type) {// if (type == 'login') {\n // sensors.track('TopNavClick', {\n // top_nav_click: \"h5-登录\"\n // });\n // } else if (type == 'search') {\n // sensors.track('TopNavClick', {\n // top_nav_click: \"h5-搜索\"\n // });\n // } else if (type == 'member') {\n // sensors.track('TopNavClick', {\n // top_nav_click: \"h5-会员中心\"\n // });\n // }\n },\n recordFloorFn: function recordFloorFn(type) {//神策预留\n },\n jump: function jump() {\n this.recordFn('search');\n window.location.href = '/v3/search/search_index.html?ptag=index-topnav';\n }\n },\n components: {\n Navigator: _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n Slide: _views_common_Slide_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/home/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Navigator.vue */ \"./src/views/common/Navigator.vue\");\n/* harmony import */ var _views_common_Slide_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/Slide.vue */ \"./src/views/common/Slide.vue\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"PullRefresh\"]).use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Lazyload\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'index',\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_1__[\"mapState\"])({\n index: function index(state) {\n return state.home.index;\n },\n loading: function loading(state) {\n return state.home.loading;\n },\n loginCheck: function loginCheck(state) {\n return state.common.loginCheck;\n }\n }),\n data: function data() {\n return {\n ptag: 'index',\n isLoading: false,\n height: 33\n };\n },\n beforeRouteEnter: function beforeRouteEnter(to, from, next) {\n next(function (vm) {\n vm.getData();\n });\n },\n methods: {\n getData: function getData() {\n this.$store.dispatch({\n type: 'index'\n });\n },\n onRefresh: function onRefresh() {\n var _this = this;\n\n setTimeout(function () {\n _this.isLoading = false;\n\n _this.$store.dispatch({\n type: 'index'\n });\n }, 1000);\n },\n recordFn: function recordFn(type) {// if (type == 'login') {\n // sensors.track('TopNavClick', {\n // top_nav_click: \"h5-登录\"\n // });\n // } else if (type == 'search') {\n // sensors.track('TopNavClick', {\n // top_nav_click: \"h5-搜索\"\n // });\n // } else if (type == 'member') {\n // sensors.track('TopNavClick', {\n // top_nav_click: \"h5-会员中心\"\n // });\n // }\n },\n recordFloorFn: function recordFloorFn(type) {//神策预留\n },\n jump: function jump() {\n this.recordFn('search');\n window.location.href = '/v3/search/search_index.html?ptag=index-topnav';\n }\n },\n components: {\n Navigator: _views_common_Navigator_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n Slide: _views_common_Slide_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/home/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"chain\",\n data: function data() {\n return {\n bannerHeight: 220,\n needVal: \"\",\n needValLength: 0,\n tipMsg: \"\",\n linkName: \"\",\n mobile: \"\",\n codetext: \"获取验证码\",\n codeactive: false,\n codestatus: false,\n imgcodestatus: false,\n imgcodeval: \"\",\n codeval: \"\"\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.chain.loading;\n },\n formImgShow: function formImgShow(state) {\n return state.chain.formImgShow;\n },\n formCodeStatus: function formCodeStatus(state) {\n return state.chain.formCodeStatus;\n }\n })),\n created: function created() {},\n methods: {\n //短信倒计时form1\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n getCode: function getCode() {\n if (this['imgcodestatus']) {\n if (!this['imgcodeval']) {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: \"请确认图片验证码\",\n duration: 3000\n });\n return;\n }\n }\n\n if (this.codeactive) {\n return;\n }\n\n this.$store.dispatch({\n type: 'chainSmsVerify',\n mobile: this['mobile'],\n verify: this['imgcodeval']\n });\n },\n submitForm: function submitForm() {\n if (this.needVal.length < 10) {\n console.log(55);\n this.tipMsg = '亲,您的详细需求最少10个字';\n return;\n } else {\n this.tipMsg = \"\";\n }\n\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(this.linkName)) {\n this.tipMsg = '亲,称呼只能为英文和中文';\n return;\n } else {\n this.tipMsg = '';\n }\n\n var r = /^1[345678]\\d{9}$/;\n\n if (r.test(this['mobile'])) {\n this['tipMsg'] = \"\";\n } else {\n this['tipMsg'] = \"请输入正确格式的手机号码\";\n return;\n }\n\n if (!this['codeval']) {\n this['tipMsg'] = \"验证码不能为空\";\n return;\n } else {\n this['tipMsg'] = \"\";\n }\n\n this.$store.dispatch({\n type: 'chainFindBg',\n need: this['needVal'],\n mobile: this['mobile'],\n linkName: this['linkName'],\n verifyCode: this['codeval']\n });\n }\n },\n watch: {\n needVal: function needVal(val) {\n this.needValLength = val.length;\n\n if (val.length < 10) {\n this.tipMsg = '亲,您的详细需求最少10个字';\n } else {\n this.tipMsg = \"\";\n }\n },\n linkName: function linkName(val) {\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(val)) {\n this.tipMsg = '亲,称呼只能为英文和中文';\n } else {\n this.tipMsg = '';\n }\n },\n mobile: function mobile(val) {\n var r = /^1[345678]\\d{9}$/;\n\n if (r.test(val)) {\n this.tipMsg = \"\";\n this.codestatus = true;\n } else {\n this.tipMsg = \"请输入正确格式的手机号码\";\n this.codestatus = false;\n }\n },\n formCodeStatus: function formCodeStatus(val) {\n if (val) {\n this.timeNum();\n }\n },\n formImgShow: function formImgShow(val) {\n this.imgcodestatus = val;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/chain/chain.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"chain\",\n data: function data() {\n return {\n bannerHeight: 220,\n needVal: \"\",\n needValLength: 0,\n tipMsg: \"\",\n linkName: \"\",\n mobile: \"\",\n codetext: \"获取验证码\",\n codeactive: false,\n codestatus: false,\n imgcodestatus: false,\n imgcodeval: \"\",\n codeval: \"\"\n };\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.chain.loading;\n },\n formImgShow: function formImgShow(state) {\n return state.chain.formImgShow;\n },\n formCodeStatus: function formCodeStatus(state) {\n return state.chain.formCodeStatus;\n }\n })),\n created: function created() {},\n methods: {\n //短信倒计时form1\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n getCode: function getCode() {\n if (this['imgcodestatus']) {\n if (!this['imgcodeval']) {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: \"请确认图片验证码\",\n duration: 3000\n });\n return;\n }\n }\n\n if (this.codeactive) {\n return;\n }\n\n this.$store.dispatch({\n type: 'chainSmsVerify',\n mobile: this['mobile'],\n verify: this['imgcodeval']\n });\n },\n submitForm: function submitForm() {\n if (this.needVal.length < 10) {\n console.log(55);\n this.tipMsg = '亲,您的详细需求最少10个字';\n return;\n } else {\n this.tipMsg = \"\";\n }\n\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(this.linkName)) {\n this.tipMsg = '亲,称呼只能为英文和中文';\n return;\n } else {\n this.tipMsg = '';\n }\n\n var r = /^1[345678]\\d{9}$/;\n\n if (r.test(this['mobile'])) {\n this['tipMsg'] = \"\";\n } else {\n this['tipMsg'] = \"请输入正确格式的手机号码\";\n return;\n }\n\n if (!this['codeval']) {\n this['tipMsg'] = \"验证码不能为空\";\n return;\n } else {\n this['tipMsg'] = \"\";\n }\n\n this.$store.dispatch({\n type: 'chainFindBg',\n need: this['needVal'],\n mobile: this['mobile'],\n linkName: this['linkName'],\n verifyCode: this['codeval']\n });\n }\n },\n watch: {\n needVal: function needVal(val) {\n this.needValLength = val.length;\n\n if (val.length < 10) {\n this.tipMsg = '亲,您的详细需求最少10个字';\n } else {\n this.tipMsg = \"\";\n }\n },\n linkName: function linkName(val) {\n var reg = /^[\\u0391-\\uFFE5A-Za-z]+$/;\n\n if (!reg.test(val)) {\n this.tipMsg = '亲,称呼只能为英文和中文';\n } else {\n this.tipMsg = '';\n }\n },\n mobile: function mobile(val) {\n var r = /^1[345678]\\d{9}$/;\n\n if (r.test(val)) {\n this.tipMsg = \"\";\n this.codestatus = true;\n } else {\n this.tipMsg = \"请输入正确格式的手机号码\";\n this.codestatus = false;\n }\n },\n formCodeStatus: function formCodeStatus(val) {\n if (val) {\n this.timeNum();\n }\n },\n formImgShow: function formImgShow(val) {\n this.imgcodestatus = val;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/chain/chain.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex ...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'seo',\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.seo.loading;\n },\n form1ImgShow: function form1ImgShow(state) {\n return state.seo.form1ImgShow;\n },\n form2ImgShow: function form2ImgShow(state) {\n return state.seo.form2ImgShow;\n },\n form1CodeStatus: function form1CodeStatus(state) {\n return state.seo.form1CodeStatus;\n },\n form2CodeStatus: function form2CodeStatus(state) {\n return state.seo.form2CodeStatus;\n },\n isRegLogin: function isRegLogin(state) {\n return state.seo.isRegLogin;\n }\n }), {\n mobile: function mobile(val) {\n return this.form1.mobile;\n },\n mobile2: function mobile2(val) {\n return this.form2.mobile;\n }\n }),\n data: function data() {\n return {\n loadings: false,\n isWindow: true,\n //右侧开启窗口监听滚动\n codeactive: false,\n //form1短信验证码禁用状态\n codeactive2: false,\n //form2短信验证码禁用状态\n codetext: \"获取验证码\",\n //form1发短信按钮文案\n codetext2: \"获取验证码\",\n //form2发短信按钮文案\n form1: {\n mobile: \"\",\n code: \"\",\n codestatus: false,\n imgcode: \"\",\n imgcodestatus: false,\n msg: \"\"\n },\n form2: {\n mobile: \"\",\n code: \"\",\n codestatus: false,\n imgcode: \"\",\n imgcodestatus: false,\n msg: \"\",\n goods_name: \"\",\n brand_name: \"\"\n }\n };\n },\n methods: {\n //短信倒计时form1\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n //短信倒计时form1\n timeNum2: function timeNum2() {\n var me = this;\n var wait = 60;\n me.codeactive2 = true;\n me.codetext2 = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext2 = wait + '秒后获取';\n me.codeactive2 = true;\n } else {\n clearInterval(clock);\n me.codeactive2 = false;\n me.codetext2 = '重新获取';\n wait = 60;\n }\n }\n },\n //获取验证码\n getCode: function getCode(type_) {\n var form_ = type_ == 2 ? \"form2\" : \"form1\";\n\n if (this[form_]['imgcodestatus']) {\n if (!this[form_]['imgcode']) {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: \"请确认图片验证码\",\n duration: 3000\n });\n return;\n }\n }\n\n var codeactive = type_ == 2 ? \"codeactive2\" : \"codeactive\";\n\n if (this[codeactive]) {\n return;\n }\n\n this.$store.dispatch({\n type: 'smsVerify',\n mobile: this[form_]['mobile'],\n verify: this[form_]['imgcode'],\n types: form_\n });\n },\n //提交表单form1\n submitForm: function submitForm(type_) {\n var form_ = type_ == 2 ? \"form2\" : \"form1\";\n var r = /^1[345678]\\d{9}$/;\n\n if (r.test(this[form_]['mobile'])) {\n this[form_]['msg'] = \"\";\n } else {\n this[form_]['msg'] = \"请输入正确格式的手机号码\";\n return;\n }\n\n if (!this[form_]['code']) {\n this[form_]['msg'] = \"验证码不能为空\";\n return;\n } else {\n this[form_]['msg'] = \"\";\n }\n\n this.$store.dispatch({\n type: 'actionLogin',\n account: this[form_]['mobile'],\n sms_verify: this[form_]['code'],\n form_name: form_\n });\n }\n },\n watch: {\n form2CodeStatus: function form2CodeStatus(val) {\n if (val) {\n this.timeNum2();\n }\n },\n form1CodeStatus: function form1CodeStatus(val) {\n if (val) {\n this.timeNum();\n }\n },\n form1ImgShow: function form1ImgShow(val) {\n this.form1.imgcodestatus = val;\n },\n form2ImgShow: function form2ImgShow(val) {\n this.form2.imgcodestatus = val;\n },\n mobile: function mobile(val) {\n var r = /^1[345678]\\d{9}$/;\n\n if (r.test(val)) {\n this.form1.msg = \"\";\n this.form1.codestatus = true;\n } else {\n this.form1.msg = \"请输入正确格式的手机号码\";\n this.form1.codestatus = false;\n }\n },\n mobile2: function mobile2(val) {\n var r = /^1[345678]\\d{9}$/;\n\n if (r.test(val)) {\n this.form2.msg = \"\";\n this.form2.codestatus = true;\n } else {\n this.form2.msg = \"请输入正确格式的手机号码\";\n this.form2.codestatus = false;\n }\n },\n isRegLogin: function isRegLogin(val) {\n if (val) {\n var datajson_ = {\n brand: this.form2.brand_name,\n type: this.form2.goods_name //登录成功调用反馈接口\n\n };\n this.$store.dispatch({\n type: 'feedback',\n types: 8,\n mobile: this.form2.mobile,\n content: JSON.stringify(datajson_)\n });\n }\n }\n },\n components: {\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/seo/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'seo',\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.seo.loading;\n },\n form1ImgShow: function form1ImgShow(state) {\n return state.seo.form1ImgShow;\n },\n form2ImgShow: function form2ImgShow(state) {\n return state.seo.form2ImgShow;\n },\n form1CodeStatus: function form1CodeStatus(state) {\n return state.seo.form1CodeStatus;\n },\n form2CodeStatus: function form2CodeStatus(state) {\n return state.seo.form2CodeStatus;\n },\n isRegLogin: function isRegLogin(state) {\n return state.seo.isRegLogin;\n }\n }), {\n mobile: function mobile(val) {\n return this.form1.mobile;\n },\n mobile2: function mobile2(val) {\n return this.form2.mobile;\n }\n }),\n data: function data() {\n return {\n loadings: false,\n isWindow: true,\n //右侧开启窗口监听滚动\n codeactive: false,\n //form1短信验证码禁用状态\n codeactive2: false,\n //form2短信验证码禁用状态\n codetext: \"获取验证码\",\n //form1发短信按钮文案\n codetext2: \"获取验证码\",\n //form2发短信按钮文案\n form1: {\n mobile: \"\",\n code: \"\",\n codestatus: false,\n imgcode: \"\",\n imgcodestatus: false,\n msg: \"\"\n },\n form2: {\n mobile: \"\",\n code: \"\",\n codestatus: false,\n imgcode: \"\",\n imgcodestatus: false,\n msg: \"\",\n goods_name: \"\",\n brand_name: \"\"\n }\n };\n },\n methods: {\n //短信倒计时form1\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.codeactive = false;\n me.codetext = '重新获取';\n wait = 60;\n }\n }\n },\n //短信倒计时form1\n timeNum2: function timeNum2() {\n var me = this;\n var wait = 60;\n me.codeactive2 = true;\n me.codetext2 = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext2 = wait + '秒后获取';\n me.codeactive2 = true;\n } else {\n clearInterval(clock);\n me.codeactive2 = false;\n me.codetext2 = '重新获取';\n wait = 60;\n }\n }\n },\n //获取验证码\n getCode: function getCode(type_) {\n var form_ = type_ == 2 ? \"form2\" : \"form1\";\n\n if (this[form_]['imgcodestatus']) {\n if (!this[form_]['imgcode']) {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: \"请确认图片验证码\",\n duration: 3000\n });\n return;\n }\n }\n\n var codeactive = type_ == 2 ? \"codeactive2\" : \"codeactive\";\n\n if (this[codeactive]) {\n return;\n }\n\n this.$store.dispatch({\n type: 'smsVerify',\n mobile: this[form_]['mobile'],\n verify: this[form_]['imgcode'],\n types: form_\n });\n },\n //提交表单form1\n submitForm: function submitForm(type_) {\n var form_ = type_ == 2 ? \"form2\" : \"form1\";\n var r = /^1[345678]\\d{9}$/;\n\n if (r.test(this[form_]['mobile'])) {\n this[form_]['msg'] = \"\";\n } else {\n this[form_]['msg'] = \"请输入正确格式的手机号码\";\n return;\n }\n\n if (!this[form_]['code']) {\n this[form_]['msg'] = \"验证码不能为空\";\n return;\n } else {\n this[form_]['msg'] = \"\";\n }\n\n this.$store.dispatch({\n type: 'actionLogin',\n account: this[form_]['mobile'],\n sms_verify: this[form_]['code'],\n form_name: form_\n });\n }\n },\n watch: {\n form2CodeStatus: function form2CodeStatus(val) {\n if (val) {\n this.timeNum2();\n }\n },\n form1CodeStatus: function form1CodeStatus(val) {\n if (val) {\n this.timeNum();\n }\n },\n form1ImgShow: function form1ImgShow(val) {\n this.form1.imgcodestatus = val;\n },\n form2ImgShow: function form2ImgShow(val) {\n this.form2.imgcodestatus = val;\n },\n mobile: function mobile(val) {\n var r = /^1[345678]\\d{9}$/;\n\n if (r.test(val)) {\n this.form1.msg = \"\";\n this.form1.codestatus = true;\n } else {\n this.form1.msg = \"请输入正确格式的手机号码\";\n this.form1.codestatus = false;\n }\n },\n mobile2: function mobile2(val) {\n var r = /^1[345678]\\d{9}$/;\n\n if (r.test(val)) {\n this.form2.msg = \"\";\n this.form2.codestatus = true;\n } else {\n this.form2.msg = \"请输入正确格式的手机号码\";\n this.form2.codestatus = false;\n }\n },\n isRegLogin: function isRegLogin(val) {\n if (val) {\n var datajson_ = {\n brand: this.form2.brand_name,\n type: this.form2.goods_name //登录成功调用反馈接口\n\n };\n this.$store.dispatch({\n type: 'feedback',\n types: 8,\n mobile: this.form2.mobile,\n content: JSON.stringify(datajson_)\n });\n }\n }\n },\n components: {\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/seo/Index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -66,7 +66,7 @@ eval("exports = module.exports = __webpack_require__(/*! ../../../node_modules/_ ...@@ -66,7 +66,7 @@ eval("exports = module.exports = __webpack_require__(/*! ../../../node_modules/_
/*! no static exports found */ /*! no static exports found */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
eval("var escape = __webpack_require__(/*! ../../../../node_modules/_css-loader@1.0.1@css-loader/lib/url/escape.js */ \"./node_modules/_css-loader@1.0.1@css-loader/lib/url/escape.js\");\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js */ \"./node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".seo-content{background:#10141d;width:100%}.seo-content .seo-head{width:100%;height:11.4rem;background:url(\" + escape(__webpack_require__(/*! ../../images/seo/head.png */ \"./src/assets/images/seo/head.png\")) + \") no-repeat;background-size:100% 100%;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:1.24rem}.seo-content .seo-head .head-nav{width:100%;height:22px;background:#c9b086}.seo-content .seo-head .head-nav li{float:left;width:20%;text-align:center;height:22px;font-size:12px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:2px}.seo-content .seo-head .head-nav li a{color:#181c27;display:block;cursor:pointer;width:100%;height:18px;line-height:16px;-webkit-box-sizing:border-box;box-sizing:border-box;border-right:1px solid #9f8d70}.seo-content .seo-section .form-box1{padding-top:30px}.seo-content .seo-section .form-box1 .form-group{width:8.4rem;height:40px;line-height:40px;text-align:center;margin:0 auto;margin-bottom:15px}.seo-content .seo-section .form-box1 .form-group .pr{position:relative}.seo-content .seo-section .form-box1 .form-group span{width:2.506rem;height:40px;line-height:40px;background-color:#eecea4;border-radius:.027rem;font-size:14px;text-align:justify;text-align-last:justify;padding:0 .2rem;-webkit-box-sizing:border-box;box-sizing:border-box}.seo-content .seo-section .form-box1 .form-group .input-box{width:5.573rem;height:40px;line-height:40px;background-color:#ffffff;border-radius:.027rem;border:solid .04rem #f2c58b;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.seo-content .seo-section .form-box1 .form-group .input-box i{float:left;height:100%;width:20%;font-size:14px;position:relative;top:-1px}.seo-content .seo-section .form-box1 .form-group .input-box input{font-size:14px;text-align:left;width:80%;float:left;height:100%}.seo-content .seo-section .form-box1 .form-group .input-box .code{position:absolute;right:0px;height:40px;width:2rem;top:0px;cursor:pointer;color:#1080d0;text-align:center;line-height:40px;font-size:12px}.seo-content .seo-section .form-box1 .form-group .input-box .code.dis{color:#ccc}.seo-content .seo-section .form-box1 .form-group .input-box .img-code{position:absolute;right:0px;height:40px;width:2rem;top:0px;cursor:pointer}.seo-content .seo-section .form-box1 .submit-button{width:8.4rem;height:40px;text-align:center;line-height:40px;margin:0 auto;background:url(\" + escape(__webpack_require__(/*! ../../images/seo/submit.png */ \"./src/assets/images/seo/submit.png\")) + \") no-repeat;background-size:100% 100%;font-size:14px;cursor:pointer;color:#181c27}.seo-content .seo-section .form-box1 .form1-tips{text-align:center;color:#fff;font-size:14px}.seo-content .seo-section .img-show-static{height:14.706rem;background:url(\" + escape(__webpack_require__(/*! ../../images/seo/staticx.png */ \"./src/assets/images/seo/staticx.png\")) + \") no-repeat;background-size:100% 100%;margin-top:30px}.seo-content .seo-section .zizi-box{height:10.333rem;width:8.4rem;background:url(\" + escape(__webpack_require__(/*! ../../images/seo/lxzz.png */ \"./src/assets/images/seo/lxzz.png\")) + \") no-repeat;background-size:100% 100%;margin:0 auto;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:3.786rem}.seo-content .seo-section .zizi-box .zizi-ct{width:7.333rem;height:3.4rem;border-style:solid;border-width:.08rem;border-color:#c1b193;margin:0 auto;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:.826rem}.seo-content .seo-section .zizi-box .zizi-ct .slide-box{margin:0 auto;width:3rem;height:2.28rem}.seo-content .seo-section .zizi-box .zizi-ct .slide-box .slide-pic{width:3rem;height:2.28rem}.seo-content .seo-section .form-box2{width:8.4rem;margin:0 auto;margin-top:30px}.seo-content .seo-section .form-box2 .title-form{color:#f2cea1;font-size:17px;text-align:center;margin-bottom:30px}.seo-content .seo-section .form-box2 .title-form img{vertical-align:middle;display:inline-block;width:17px;height:17px;margin-right:5px}.seo-content .seo-section .form-box2 .form-group{margin-bottom:17px}.seo-content .seo-section .form-box2 .form-group .pr{position:relative}.seo-content .seo-section .form-box2 .form-group .input-box{width:8.4rem;height:40px;line-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#ffffff;border-radius:.053rem;border:solid .04rem #f2c58b;overflow:hidden}.seo-content .seo-section .form-box2 .form-group .input-box .f-red{color:#ff0000;position:relative;left:.2rem}.seo-content .seo-section .form-box2 .form-group .input-box .hiddenfont{visibility:hidden}.seo-content .seo-section .form-box2 .form-group .input-box i{float:left;height:100%;width:20%;font-size:14px;text-align:center;position:relative;top:-1px}.seo-content .seo-section .form-box2 .form-group .input-box input{font-size:14px;text-align:left;width:80%;float:left;height:100%}.seo-content .seo-section .form-box2 .form-group .input-box .code{position:absolute;right:0px;height:40px;width:2rem;top:0px;cursor:pointer;color:#1080d0;text-align:center;line-height:40px;font-size:14px}.seo-content .seo-section .form-box2 .form-group .input-box .code.dis{color:#ccc}.seo-content .seo-section .form-box2 .form-group .input-box .img-code{position:absolute;right:0px;height:40px;width:2rem;top:0px;cursor:pointer}.seo-content .seo-section .form2-tips{text-align:center;color:#fff;font-size:14px;margin-top:30px}.seo-content .seo-section .submit-button1{width:8.4rem;height:40px;background-color:#eecea4;border-radius:40px;margin:0 auto;color:#181c27;font-size:14px;cursor:pointer;line-height:40px;text-align:center;margin-bottom:50px}.seo-content .seo-section .foot-box{height:2.2rem;background:url(\" + escape(__webpack_require__(/*! ../../images/seo/foot.png */ \"./src/assets/images/seo/foot.png\")) + \") no-repeat;background-size:100% 100%;margin:0 auto}.seo-content .seo-section .foot-box .foot-box-ct{height:30px;line-height:30px;background-color:#e8b778;text-align:center;font-size:14px;color:#181c27;position:relative;top:-10px}.seo-content .seo-section .foot-box .foot-box-ct i{font-size:14px!important}.seo-content .seo-section .foot-box .foot-box-ct a{color:#181c27 !important}\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/assets/css/seo/index.min.css?./node_modules/_css-loader@1.0.1@css-loader??ref--6-oneOf-1-1!./node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@3.0.0@postcss-loader/src??ref--6-oneOf-1-2"); eval("var escape = __webpack_require__(/*! ../../../../node_modules/_css-loader@1.0.1@css-loader/lib/url/escape.js */ \"./node_modules/_css-loader@1.0.1@css-loader/lib/url/escape.js\");\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js */ \"./node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".seo-content{background:#10141d;width:100%}.seo-content .seo-head{width:100%;height:11.4rem;background:url(\" + escape(__webpack_require__(/*! ../../images/seo/head.png */ \"./src/assets/images/seo/head.png\")) + \") no-repeat;background-size:100% 100%;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:1.24rem}.seo-content .seo-head .head-nav{width:100%;height:22px;background:#c9b086}.seo-content .seo-head .head-nav li{float:left;width:20%;text-align:center;height:22px;font-size:12px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:2px}.seo-content .seo-head .head-nav li a{color:#181c27;display:block;cursor:pointer;width:100%;height:18px;line-height:16px;-webkit-box-sizing:border-box;box-sizing:border-box;border-right:1px solid #9f8d70}.seo-content .seo-section .form-box1{padding-top:30px}.seo-content .seo-section .form-box1 .form-group{width:8.4rem;height:40px;line-height:40px;text-align:center;margin:0 auto;margin-bottom:15px}.seo-content .seo-section .form-box1 .form-group .pr{position:relative}.seo-content .seo-section .form-box1 .form-group span{width:2.506rem;height:40px;line-height:40px;background-color:#eecea4;border-radius:.027rem;font-size:14px;text-align:justify;-moz-text-align-last:justify;text-align-last:justify;padding:0 .2rem;-webkit-box-sizing:border-box;box-sizing:border-box}.seo-content .seo-section .form-box1 .form-group .input-box{width:5.573rem;height:40px;line-height:40px;background-color:#ffffff;border-radius:.027rem;border:solid .04rem #f2c58b;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.seo-content .seo-section .form-box1 .form-group .input-box i{float:left;height:100%;width:20%;font-size:14px;position:relative;top:-1px}.seo-content .seo-section .form-box1 .form-group .input-box input{font-size:14px;text-align:left;width:80%;float:left;height:100%}.seo-content .seo-section .form-box1 .form-group .input-box .code{position:absolute;right:0px;height:40px;width:2rem;top:0px;cursor:pointer;color:#1080d0;text-align:center;line-height:40px;font-size:12px}.seo-content .seo-section .form-box1 .form-group .input-box .code.dis{color:#ccc}.seo-content .seo-section .form-box1 .form-group .input-box .img-code{position:absolute;right:0px;height:40px;width:2rem;top:0px;cursor:pointer}.seo-content .seo-section .form-box1 .submit-button{width:8.4rem;height:40px;text-align:center;line-height:40px;margin:0 auto;background:url(\" + escape(__webpack_require__(/*! ../../images/seo/submit.png */ \"./src/assets/images/seo/submit.png\")) + \") no-repeat;background-size:100% 100%;font-size:14px;cursor:pointer;color:#181c27}.seo-content .seo-section .form-box1 .form1-tips{text-align:center;color:#fff;font-size:14px}.seo-content .seo-section .img-show-static{height:14.706rem;background:url(\" + escape(__webpack_require__(/*! ../../images/seo/staticx.png */ \"./src/assets/images/seo/staticx.png\")) + \") no-repeat;background-size:100% 100%;margin-top:30px}.seo-content .seo-section .zizi-box{height:10.333rem;width:8.4rem;background:url(\" + escape(__webpack_require__(/*! ../../images/seo/lxzz.png */ \"./src/assets/images/seo/lxzz.png\")) + \") no-repeat;background-size:100% 100%;margin:0 auto;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:3.786rem}.seo-content .seo-section .zizi-box .zizi-ct{width:7.333rem;height:3.4rem;border-style:solid;border-width:.08rem;border-color:#c1b193;margin:0 auto;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:.826rem}.seo-content .seo-section .zizi-box .zizi-ct .slide-box{margin:0 auto;width:3rem;height:2.28rem}.seo-content .seo-section .zizi-box .zizi-ct .slide-box .slide-pic{width:3rem;height:2.28rem}.seo-content .seo-section .form-box2{width:8.4rem;margin:0 auto;margin-top:30px}.seo-content .seo-section .form-box2 .title-form{color:#f2cea1;font-size:17px;text-align:center;margin-bottom:30px}.seo-content .seo-section .form-box2 .title-form img{vertical-align:middle;display:inline-block;width:17px;height:17px;margin-right:5px}.seo-content .seo-section .form-box2 .form-group{margin-bottom:17px}.seo-content .seo-section .form-box2 .form-group .pr{position:relative}.seo-content .seo-section .form-box2 .form-group .input-box{width:8.4rem;height:40px;line-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#ffffff;border-radius:.053rem;border:solid .04rem #f2c58b;overflow:hidden}.seo-content .seo-section .form-box2 .form-group .input-box .f-red{color:#ff0000;position:relative;left:.2rem}.seo-content .seo-section .form-box2 .form-group .input-box .hiddenfont{visibility:hidden}.seo-content .seo-section .form-box2 .form-group .input-box i{float:left;height:100%;width:20%;font-size:14px;text-align:center;position:relative;top:-1px}.seo-content .seo-section .form-box2 .form-group .input-box input{font-size:14px;text-align:left;width:80%;float:left;height:100%}.seo-content .seo-section .form-box2 .form-group .input-box .code{position:absolute;right:0px;height:40px;width:2rem;top:0px;cursor:pointer;color:#1080d0;text-align:center;line-height:40px;font-size:14px}.seo-content .seo-section .form-box2 .form-group .input-box .code.dis{color:#ccc}.seo-content .seo-section .form-box2 .form-group .input-box .img-code{position:absolute;right:0px;height:40px;width:2rem;top:0px;cursor:pointer}.seo-content .seo-section .form2-tips{text-align:center;color:#fff;font-size:14px;margin-top:30px}.seo-content .seo-section .submit-button1{width:8.4rem;height:40px;background-color:#eecea4;border-radius:40px;margin:0 auto;color:#181c27;font-size:14px;cursor:pointer;line-height:40px;text-align:center;margin-bottom:50px}.seo-content .seo-section .foot-box{height:2.2rem;background:url(\" + escape(__webpack_require__(/*! ../../images/seo/foot.png */ \"./src/assets/images/seo/foot.png\")) + \") no-repeat;background-size:100% 100%;margin:0 auto}.seo-content .seo-section .foot-box .foot-box-ct{height:30px;line-height:30px;background-color:#e8b778;text-align:center;font-size:14px;color:#181c27;position:relative;top:-10px}.seo-content .seo-section .foot-box .foot-box-ct i{font-size:14px!important}.seo-content .seo-section .foot-box .foot-box-ct a{color:#181c27 !important}\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/assets/css/seo/index.min.css?./node_modules/_css-loader@1.0.1@css-loader??ref--6-oneOf-1-1!./node_modules/_vue-loader@15.7.0@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@3.0.0@postcss-loader/src??ref--6-oneOf-1-2");
/***/ }), /***/ }),
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _util_bus_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/bus.js */ \"./src/util/bus.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_2__[\"Dialog\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"sidebar\",\n props: {\n kefuishow: {\n type: Boolean,\n //是否展示客服\n default: true\n },\n carshow: {\n type: Boolean,\n //是否展示购物车\n default: false\n },\n isWindow: {\n type: Boolean,\n //是否开启windows监听\n default: false\n }\n },\n data: function data() {\n return {\n flag: false,\n show: false,\n showButton: false,\n closeOnClickOverlay: true,\n showFastNav: false\n };\n },\n computed: Object(vuex__WEBPACK_IMPORTED_MODULE_0__[\"mapState\"])({\n phpParams: function phpParams(state) {\n return state.common.phpParams;\n },\n cartCount: function cartCount(state) {\n return state.common.cartCount;\n }\n }),\n mounted: function mounted() {\n if (this.isWindow) {\n this.scrollFnWindow();\n } else {\n this.scrollFn();\n }\n },\n created: function created() {\n var self = this;\n _util_bus_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"].$on('xunjia', function () {\n self.recordFn();\n });\n\n if (this.carshow) {\n this.$store.dispatch({\n type: 'cartCount'\n });\n }\n },\n methods: {\n customsrService: function customsrService() {\n this.$store.dispatch({\n type: \"customsrService\"\n });\n },\n //弹性布局监听不到window\n scrollFnWindow: function scrollFnWindow() {\n var self = this;\n\n window.onscroll = function () {\n var t = document.documentElement.scrollTop || document.body.scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n scrollFn: function scrollFn() {\n var obj = document.querySelector(\".container-wrap\"),\n self = this;\n\n obj.onscroll = function () {\n var t = document.querySelector(\".container-wrap\").scrollTop;\n\n if (t >= 300) {\n self.show = true;\n } else {\n self.show = false;\n }\n };\n },\n recordFn: function recordFn() {\n this.flag = true;\n this.$store.dispatch({\n type: \"getCommonParams\"\n });\n\n try {\n sensors.track(\"RNavClick\", {\n right_nav_click: \"h5-客服\"\n });\n } catch (e) {}\n },\n changFastNav: function changFastNav() {\n this.showFastNav = !this.showFastNav;\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/common/SideBar.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex ...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vuex
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'seo',\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.findthing.loading;\n },\n form1ImgShow: function form1ImgShow(state) {\n return state.findthing.form1ImgShow;\n },\n form1CodeStatus: function form1CodeStatus(state) {\n return state.findthing.form1CodeStatus;\n },\n isRegLogin: function isRegLogin(state) {\n return state.findthing.isRegLogin;\n }\n }), {\n mobile: function mobile(val) {\n return this.form1.mobile;\n }\n }),\n data: function data() {\n return {\n loadings: false,\n isWindow: true,\n //右侧开启窗口监听滚动\n codeactive: false,\n //form1短信验证码禁用状态\n codetext: \"获取验证码\",\n //form1发短信按钮文案\n form1: {\n mobile: \"\",\n code: \"\",\n codestatus: false,\n imgcode: \"\",\n imgcodestatus: false,\n goodsNumber: \"\",\n num: \"\",\n msg: \"\"\n }\n };\n },\n methods: {\n //短信倒计时form1\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.codeactive = false;\n me.codetext = '获取验证码';\n wait = 60;\n }\n }\n },\n //获取验证码\n getCode: function getCode() {\n if (this['form1']['imgcodestatus']) {\n if (!this['form1']['imgcode']) {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: \"请确认图片验证码\",\n duration: 3000\n });\n return;\n }\n }\n\n if (this.codeactive) {\n return;\n }\n\n this.$store.dispatch({\n type: 'smsVerify1',\n mobile: this['form1']['mobile'],\n verify: this['form1']['imgcode']\n });\n },\n //提交表单form1\n submitForm: function submitForm() {\n if (!this['form1']['goodsNumber']) {\n this['form1']['msg'] = \"型号不能为空\";\n return;\n } else {\n this['form1']['msg'] = \"\";\n }\n\n var r = /^1[345678]\\d{9}$/;\n\n if (r.test(this['form1']['mobile'])) {\n this['form1']['msg'] = \"\";\n } else {\n this['form1']['msg'] = \"请输入正确格式的手机号码\";\n return;\n }\n\n if (!this['form1']['code']) {\n this['form1']['msg'] = \"验证码不能为空\";\n return;\n } else {\n this['form1']['msg'] = \"\";\n }\n\n this.$store.dispatch({\n type: 'actionLogin1',\n account: this['form1']['mobile'],\n sms_verify: this['form1']['code']\n });\n }\n },\n watch: {\n form1CodeStatus: function form1CodeStatus(val) {\n if (val) {\n this.timeNum();\n }\n },\n form1ImgShow: function form1ImgShow(val) {\n this.form1.imgcodestatus = val;\n },\n mobile: function mobile(val) {\n var r = /^1[345678]\\d{9}$/;\n\n if (r.test(val)) {\n this.form1.msg = \"\";\n this.form1.codestatus = true;\n } else {\n this.form1.msg = \"请输入正确格式的手机号码\";\n this.form1.codestatus = false;\n }\n },\n isRegLogin: function isRegLogin(val) {\n if (val) {\n var datajson_ = {\n number: this.form1.num,\n type: this.form1.goodsNumber //登录成功调用反馈接口\n\n };\n this.$store.dispatch({\n type: 'feedback1',\n types: 7,\n mobile: this.form1.mobile,\n content: JSON.stringify(datajson_)\n });\n }\n }\n },\n components: {\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/findthing/index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ \"./node_modules/_vue@2.6.10@vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_1__[\"default\"].use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Swipe\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"SwipeItem\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"]).use(vant__WEBPACK_IMPORTED_MODULE_3__[\"Loading\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: 'seo',\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__[\"mapState\"])({\n loading: function loading(state) {\n return state.findthing.loading;\n },\n form1ImgShow: function form1ImgShow(state) {\n return state.findthing.form1ImgShow;\n },\n form1CodeStatus: function form1CodeStatus(state) {\n return state.findthing.form1CodeStatus;\n },\n isRegLogin: function isRegLogin(state) {\n return state.findthing.isRegLogin;\n }\n }), {\n mobile: function mobile(val) {\n return this.form1.mobile;\n }\n }),\n data: function data() {\n return {\n loadings: false,\n isWindow: true,\n //右侧开启窗口监听滚动\n codeactive: false,\n //form1短信验证码禁用状态\n codetext: \"获取验证码\",\n //form1发短信按钮文案\n form1: {\n mobile: \"\",\n code: \"\",\n codestatus: false,\n imgcode: \"\",\n imgcodestatus: false,\n goodsNumber: \"\",\n num: \"\",\n msg: \"\"\n }\n };\n },\n methods: {\n //短信倒计时form1\n timeNum: function timeNum() {\n var me = this;\n var wait = 60;\n me.codeactive = true;\n me.codetext = wait + '秒后获取';\n var clock = setInterval(doLoop, 1000);\n\n function doLoop() {\n wait--;\n\n if (wait > 0) {\n me.codetext = wait + '秒后获取';\n me.codeactive = true;\n } else {\n clearInterval(clock);\n me.codeactive = false;\n me.codetext = '获取验证码';\n wait = 60;\n }\n }\n },\n //获取验证码\n getCode: function getCode() {\n if (this['form1']['imgcodestatus']) {\n if (!this['form1']['imgcode']) {\n Object(vant__WEBPACK_IMPORTED_MODULE_3__[\"Toast\"])({\n message: \"请确认图片验证码\",\n duration: 3000\n });\n return;\n }\n }\n\n if (this.codeactive) {\n return;\n }\n\n this.$store.dispatch({\n type: 'smsVerify1',\n mobile: this['form1']['mobile'],\n verify: this['form1']['imgcode']\n });\n },\n //提交表单form1\n submitForm: function submitForm() {\n if (!this['form1']['goodsNumber']) {\n this['form1']['msg'] = \"型号不能为空\";\n return;\n } else {\n this['form1']['msg'] = \"\";\n }\n\n var r = /^1[345678]\\d{9}$/;\n\n if (r.test(this['form1']['mobile'])) {\n this['form1']['msg'] = \"\";\n } else {\n this['form1']['msg'] = \"请输入正确格式的手机号码\";\n return;\n }\n\n if (!this['form1']['code']) {\n this['form1']['msg'] = \"验证码不能为空\";\n return;\n } else {\n this['form1']['msg'] = \"\";\n }\n\n this.$store.dispatch({\n type: 'actionLogin1',\n account: this['form1']['mobile'],\n sms_verify: this['form1']['code']\n });\n }\n },\n watch: {\n form1CodeStatus: function form1CodeStatus(val) {\n if (val) {\n this.timeNum();\n }\n },\n form1ImgShow: function form1ImgShow(val) {\n this.form1.imgcodestatus = val;\n },\n mobile: function mobile(val) {\n var r = /^1[345678]\\d{9}$/;\n\n if (r.test(val)) {\n this.form1.msg = \"\";\n this.form1.codestatus = true;\n } else {\n this.form1.msg = \"请输入正确格式的手机号码\";\n this.form1.codestatus = false;\n }\n },\n isRegLogin: function isRegLogin(val) {\n if (val) {\n var datajson_ = {\n number: this.form1.num,\n type: this.form1.goodsNumber //登录成功调用反馈接口\n\n };\n this.$store.dispatch({\n type: 'feedback1',\n types: 7,\n mobile: this.form1.mobile,\n content: JSON.stringify(datajson_)\n });\n }\n }\n },\n components: {\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n }\n});\n\n//# sourceURL=webpack:///./src/views/findthing/index.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core ...@@ -20,7 +20,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.function.name */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.function.name.js\");\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.array.find-index */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.find-index.js\");\n/* harmony import */ var core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.1@vant/es/index.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _rightSelect__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./rightSelect */ \"./src/views/xianhuo/rightSelect.vue\");\n/* harmony import */ var _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/GoodsOne.vue */ \"./src/views/common/GoodsOne.vue\");\n/* harmony import */ var _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/goodsDetail.vue */ \"./src/views/common/goodsDetail.vue\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/views/common/addCarAlert */ \"./src/views/common/addCarAlert.vue\");\n\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"xianhuo\",\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n \"van-icon\": vant__WEBPACK_IMPORTED_MODULE_4__[\"Icon\"],\n rightSelect: _rightSelect__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n \"van-list\": vant__WEBPACK_IMPORTED_MODULE_4__[\"List\"],\n GoodsOne: _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n goodsDetail: _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n addCarAlert: _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_11__[\"default\"]\n },\n data: function data() {\n return {\n detailsData: {\n isShow: false,\n id: \"\"\n },\n isWindow: true,\n carshow: true,\n isZy: true,\n zyFilterInit: -1,\n zyRankInit: 0,\n //0综合 1库存多到少 2//库存少到多 3//价格高到低 4//价格低到高\n classFilter: \"\",\n brand: \"\",\n encap: \"\",\n packing: \"\",\n classStr: \"\",\n brandStr: \"\",\n encapStr: \"\",\n packingStr: \"\",\n secondClass: [],\n //二级分类的数组\n addClassStr: \"\",\n //点击确定生成的分类id\n firstCheckId: \"\",\n //当二级数据存在时判断一级数据的id\n firstClassName: \"\",\n //第一级数据的name,\n secondClassName: \"\",\n //第二级数据的name\n isResetData: false,\n //是否重置数据\n isShowRight: false,\n //是否展示右侧\n list: [],\n loadingXh: false,\n p: 1,\n rightFilterData: {},\n navTopStr: {\n classStr: \"\",\n brandStr: \"\",\n encapStr: \"\",\n packingStr: \"\",\n rightStr: \"\"\n },\n isScrollShow: false\n };\n },\n created: function created() {\n this.getDefaultClass();\n this.$store.commit(\"closeAlert\");\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_5__[\"mapState\"])({\n zyFilter: function zyFilter(state) {\n return state.xianhuo.zyFilter;\n },\n zyClass: function zyClass(state) {\n return state.xianhuo.zyClass;\n },\n zyRank: function zyRank(state) {\n return state.xianhuo.zyRank;\n },\n classData: function classData(state) {\n return state.xianhuo.classData;\n },\n classLight: function classLight(state) {\n return state.xianhuo.classLight;\n },\n zyFilterData: function zyFilterData(state) {\n return state.xianhuo.zyFilterData;\n },\n zyData: function zyData(state) {\n return state.xianhuo.zyData;\n },\n total: function total(state) {\n return state.xianhuo.total;\n },\n loading: function loading(state) {\n return state.xianhuo.loading;\n },\n finished: function finished(state) {\n return state.xianhuo.finished;\n },\n isShowAlert: function isShowAlert(state) {\n return state.gooddetail.isShowAlert;\n }\n })),\n watch: {\n isShowAlert: function isShowAlert(now) {\n if (now) {\n this.detailsData = {\n isShow: false,\n id: \"\"\n };\n this.$store.dispatch({\n type: \"cartCount\"\n });\n }\n },\n loading: function loading(now) {\n this.loadingXh = now;\n },\n zyRankInit: function zyRankInit(now) {\n this.p = 1;\n this.getZyData();\n },\n classLight: function classLight(now) {\n this.secondClass = now.class_id2_list || [];\n this.firstCheckId = now.class_id1;\n this.firstClassName = now.class_id1_name;\n var index = this.secondClass.findIndex(function (val, index, arr) {\n if (val.flag) {\n return val;\n }\n });\n\n if (index == -1) {\n this.classFilter = this.firstClassName;\n } else {\n this.classFilter = this.firstClassName + \",\" + this.secondClass[index].class_id2_name;\n }\n\n this.navTopStr.classStr = this.classFilter;\n }\n },\n methods: {\n getDefaultClass: function getDefaultClass() {\n var _this = this;\n\n _api_index__WEBPACK_IMPORTED_MODULE_10__[\"services\"].defaultClass().then(function (res) {\n if (res.data.err_code == 0) {\n _this.classStr = res.data.data;\n _this.addClassStr = res.data.data;\n\n _this.getZyData();\n } else {}\n }).catch(function (err) {});\n },\n placeOrder: function placeOrder(id) {\n this.detailsData = {\n isShow: true,\n id: id\n };\n },\n scrollEvent: function scrollEvent(e) {\n if (this.navTopStr.classStr || this.navTopStr.brandStr || this.navTopStr.encapStr || this.navTopStr.packingStr || this.navTopStr.rightStr) {\n if (e.target.scrollTop > 40) {\n this.isScrollShow = true;\n } else {\n this.isScrollShow = false;\n }\n }\n },\n onLoad: function onLoad() {\n this.p++;\n this.getZyData();\n },\n toSearch: function toSearch() {\n window.location.href = \"/v3/search/search_index.html?ptag=lxshop-topnav\";\n },\n resetRight: function resetRight() {\n this.getZyData();\n },\n filterRight: function filterRight(v) {\n this.isShowRight = false;\n this.p = 1;\n this.rightFilterData = v;\n this.getZyData();\n },\n openRight: function openRight() {\n this.isShowRight = true;\n this.zyFilterInit = -1;\n },\n closeRight: function closeRight() {\n if (this.isShowRight) {\n this.isShowRight = false;\n }\n\n if (this.zyFilterInit != -1) {\n this.zyFilterInit = -1;\n }\n },\n getClassSecond: function getClassSecond(v) {\n //第一级数据选中\n this.firstCheckId = \"\";\n this.classStr = v.class_id1;\n this.firstClassName = v.class_id1_name;\n this.isResetData = false;\n\n for (var i = 0; i < this.classData.length; i++) {\n if (this.classData[i].class_id1 == v.class_id1) {\n this.classData[i].flag = true;\n this.secondClass = this.classData[i].class_id2_list;\n this.getSecondData({}, \"2\");\n } else {\n this.classData[i].flag = false;\n }\n }\n },\n getSecondData: function getSecondData(v) {\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"1\";\n\n //第二级数据选中\n if (type == \"1\") {\n this.classStr = v.class_id2;\n this.secondClassName = v.class_id2_name;\n this.isResetData = false;\n }\n\n for (var i = 0; i < this.secondClass.length; i++) {\n if (this.secondClass[i].class_id2 == v.class_id2) {\n this.secondClass[i].flag = true;\n } else {\n this.secondClass[i].flag = false;\n }\n }\n },\n getZyData: function getZyData() {\n var params = {\n p: this.p,\n offset: 10\n };\n this.navTopStr.rightStr = \"\";\n var rightFilterStr = JSON.stringify(this.rightFilterData);\n\n if (this.addClassStr) {\n params[\"class_id/condition\"] = this.addClassStr;\n }\n\n if (this.brandStr) {\n params[\"brand_id/condition\"] = this.brandStr;\n }\n\n if (this.encapStr) {\n params[\"encap/condition\"] = this.encapStr;\n }\n\n if (this.packingStr) {\n params[\"packing/condition\"] = this.packingStr;\n }\n\n if (this.zyRankInit == 0) {\n params[\"com_rank\"] = 1;\n } else if (this.zyRankInit == 1) {\n params[\"stock_rank\"] = 2;\n } else if (this.zyRankInit == 2) {\n params[\"stock_rank\"] = 1;\n } else if (this.zyRankInit == 3) {\n params[\"single_rank\"] = 1;\n } else if (this.zyRankInit == 4) {\n params[\"single_rank\"] = 2;\n }\n\n if (rightFilterStr !== \"{}\") {\n if (JSON.stringify(this.rightFilterData.filterData) !== \"{}\") {\n params[\"attrs/nested\"] = JSON.stringify(this.rightFilterData.filterData);\n var str = \"\";\n\n for (var k in this.rightFilterData.filterData) {\n var singData = this.rightFilterData.filterData[k];\n\n if (singData.length) {\n str += \".\" + singData.join();\n }\n }\n\n str = str.slice(1);\n console.log(str);\n this.navTopStr.rightStr = str;\n }\n\n if (this.rightFilterData.isyh) {\n params[\"avail_rank\"] = 1;\n }\n }\n\n this.$store.dispatch({\n type: \"getZyData\",\n data: params\n });\n },\n changezyRankInit: function changezyRankInit(i) {\n if (i == \"kc\") {\n if (this.zyRankInit == 1) {\n this.zyRankInit = 2;\n } else {\n this.zyRankInit = 1;\n }\n } else if (i == \"jg\") {\n if (this.zyRankInit == 3) {\n this.zyRankInit = 4;\n } else {\n this.zyRankInit = 3;\n }\n } else {\n this.zyRankInit = i;\n }\n },\n changeZyFilterInit: function changeZyFilterInit(i) {\n if (this.zyFilterInit == i) {\n this.zyFilterInit = -1;\n } else {\n this.zyFilterInit = i;\n }\n },\n addFilterData: function addFilterData(k, type) {\n this.isResetData = false;\n\n if (!this.zyFilterData[type].list[k].check) {\n this.$set(this.zyFilterData[type].list[k], \"check\", true);\n } else {\n this.$set(this.zyFilterData[type].list[k], \"check\", false);\n }\n },\n reset: function reset(type) {\n //重置筛选数据\n this.isResetData = true;\n var str = \"\";\n\n if (type == \"class\") {\n this.firstCheckId = \"\";\n\n for (var i = 0; i < this.classData.length; i++) {\n this.classData[i].flag = 0;\n }\n\n for (var _i = 0; _i < this.secondClass.length; _i++) {\n this.secondClass[_i].flag = 0;\n }\n } else {\n if (type == \"brand\") {\n str = \"brand_id\";\n } else if (type == \"encap\") {\n str = \"encap\";\n } else if (type == \"packing\") {\n str = \"packing\";\n }\n\n for (var _i2 = 0; _i2 < this.zyFilterData[str].list.length; _i2++) {\n if (this.zyFilterData[str].list[_i2].check) {\n this.zyFilterData[str].list[_i2].check = false;\n }\n }\n }\n },\n addPostData: function addPostData(type) {\n //添加筛选数据\n this.zyFilterInit = -1;\n\n if (type == \"class\") {\n //分类筛选\n this.brand = \"\";\n this.encap = \"\";\n this.packing = \"\";\n this.brandStr = \"\";\n this.encapStr = \"\";\n this.packingStr = \"\";\n\n if (this.isResetData) {\n this.addClassStr = \"\";\n this.firstClassName = \"\";\n this.secondClassName = \"\";\n this.classFilter = \"\";\n this.navTopStr.classStr = \"\";\n } else {\n this.addClassStr = this.classStr;\n this.classFilter = this.secondClassName ? this.firstClassName + \",\" + this.secondClassName : this.firstClassName;\n this.navTopStr.classStr = this.classFilter;\n }\n } else if (type == \"brand\") {\n //制造商\n this.brandStr = \"\";\n this.brand = \"\";\n\n if (this.isResetData) {\n this.navTopStr.brandStr = \"\";\n } else {\n for (var i = 0; i < this.zyFilterData[\"brand_id\"].list.length; i++) {\n if (this.zyFilterData[\"brand_id\"].list[i].check) {\n this.brandStr += this.zyFilterData[\"brand_id\"].list[i].id + \",\";\n this.brand += this.zyFilterData[\"brand_id\"].list[i].name + \",\";\n }\n }\n }\n\n this.brandStr = this.brandStr.slice(0, -1);\n this.brand = this.brand.slice(0, -1);\n this.navTopStr.brandStr = this.brand;\n } else if (type == \"encap\") {\n //封装规格\n this.encapStr = \"\";\n this.encap = \"\";\n\n if (this.isResetData) {\n this.navTopStr.encapStr = \"\";\n } else {\n for (var _i3 = 0; _i3 < this.zyFilterData[\"encap\"].list.length; _i3++) {\n if (this.zyFilterData[\"encap\"].list[_i3].check) {\n this.encapStr += this.zyFilterData[\"encap\"].list[_i3].id + \",\";\n this.encap += this.zyFilterData[\"encap\"].list[_i3].name + \",\";\n }\n }\n }\n\n this.encapStr = this.encapStr.slice(0, -1);\n this.encap = this.encap.slice(0, -1);\n this.navTopStr.encapStr = this.encap;\n } else if (type == \"packing\") {\n //包装筛选\n this.packingStr = \"\";\n this.packing = \"\";\n\n if (this.isResetData) {\n this.navTopStr.packingStr = \"\";\n } else {\n for (var _i4 = 0; _i4 < this.zyFilterData[\"packing\"].list.length; _i4++) {\n if (this.zyFilterData[\"packing\"].list[_i4].check) {\n this.packingStr += this.zyFilterData[\"packing\"].list[_i4].id + \",\";\n this.packing += this.zyFilterData[\"packing\"].list[_i4].name + \",\";\n }\n }\n }\n\n this.packingStr = this.packingStr.slice(0, -1);\n this.packing = this.packing.slice(0, -1);\n this.navTopStr.packingStr = this.packing;\n }\n\n this.p = 1;\n this.getZyData();\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/xianhuo/xianhuo.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.function.name */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.function.name.js\");\n/* harmony import */ var core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_function_name__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.array.find-index */ \"./node_modules/_core-js@2.6.9@core-js/modules/es6.array.find-index.js\");\n/* harmony import */ var core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_array_find_index__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/objectSpread */ \"./node_modules/_@babel_runtime@7.4.5@@babel/runtime/helpers/esm/objectSpread.js\");\n/* harmony import */ var _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/views/common/Header.vue */ \"./src/views/common/Header.vue\");\n/* harmony import */ var vant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vant */ \"./node_modules/_vant@2.0.2@vant/es/index.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vuex */ \"./node_modules/_vuex@3.1.1@vuex/dist/vuex.esm.js\");\n/* harmony import */ var _rightSelect__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./rightSelect */ \"./src/views/xianhuo/rightSelect.vue\");\n/* harmony import */ var _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/views/common/GoodsOne.vue */ \"./src/views/common/GoodsOne.vue\");\n/* harmony import */ var _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/views/common/goodsDetail.vue */ \"./src/views/common/goodsDetail.vue\");\n/* harmony import */ var _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @/views/common/SideBar.vue */ \"./src/views/common/SideBar.vue\");\n/* harmony import */ var _api_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../api/index */ \"./src/api/index.js\");\n/* harmony import */ var _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/views/common/addCarAlert */ \"./src/views/common/addCarAlert.vue\");\n\n\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n\n\n\n\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"xianhuo\",\n components: {\n Header: _views_common_Header_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n \"van-icon\": vant__WEBPACK_IMPORTED_MODULE_4__[\"Icon\"],\n rightSelect: _rightSelect__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n \"van-list\": vant__WEBPACK_IMPORTED_MODULE_4__[\"List\"],\n GoodsOne: _views_common_GoodsOne_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n goodsDetail: _views_common_goodsDetail_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n SideBar: _views_common_SideBar_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n addCarAlert: _views_common_addCarAlert__WEBPACK_IMPORTED_MODULE_11__[\"default\"]\n },\n data: function data() {\n return {\n detailsData: {\n isShow: false,\n id: \"\"\n },\n isWindow: true,\n carshow: true,\n isZy: true,\n zyFilterInit: -1,\n zyRankInit: 0,\n //0综合 1库存多到少 2//库存少到多 3//价格高到低 4//价格低到高\n classFilter: \"\",\n brand: \"\",\n encap: \"\",\n packing: \"\",\n classStr: \"\",\n brandStr: \"\",\n encapStr: \"\",\n packingStr: \"\",\n secondClass: [],\n //二级分类的数组\n addClassStr: \"\",\n //点击确定生成的分类id\n firstCheckId: \"\",\n //当二级数据存在时判断一级数据的id\n firstClassName: \"\",\n //第一级数据的name,\n secondClassName: \"\",\n //第二级数据的name\n isResetData: false,\n //是否重置数据\n isShowRight: false,\n //是否展示右侧\n list: [],\n loadingXh: false,\n p: 1,\n rightFilterData: {},\n navTopStr: {\n classStr: \"\",\n brandStr: \"\",\n encapStr: \"\",\n packingStr: \"\",\n rightStr: \"\"\n },\n isScrollShow: false\n };\n },\n created: function created() {\n this.getDefaultClass();\n this.$store.commit(\"closeAlert\");\n },\n computed: Object(D_lxWork_h5_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, Object(vuex__WEBPACK_IMPORTED_MODULE_5__[\"mapState\"])({\n zyFilter: function zyFilter(state) {\n return state.xianhuo.zyFilter;\n },\n zyClass: function zyClass(state) {\n return state.xianhuo.zyClass;\n },\n zyRank: function zyRank(state) {\n return state.xianhuo.zyRank;\n },\n classData: function classData(state) {\n return state.xianhuo.classData;\n },\n classLight: function classLight(state) {\n return state.xianhuo.classLight;\n },\n zyFilterData: function zyFilterData(state) {\n return state.xianhuo.zyFilterData;\n },\n zyData: function zyData(state) {\n return state.xianhuo.zyData;\n },\n total: function total(state) {\n return state.xianhuo.total;\n },\n loading: function loading(state) {\n return state.xianhuo.loading;\n },\n finished: function finished(state) {\n return state.xianhuo.finished;\n },\n isShowAlert: function isShowAlert(state) {\n return state.gooddetail.isShowAlert;\n }\n })),\n watch: {\n isShowAlert: function isShowAlert(now) {\n if (now) {\n this.detailsData = {\n isShow: false,\n id: \"\"\n };\n this.$store.dispatch({\n type: \"cartCount\"\n });\n }\n },\n loading: function loading(now) {\n this.loadingXh = now;\n },\n zyRankInit: function zyRankInit(now) {\n this.p = 1;\n this.getZyData();\n },\n classLight: function classLight(now) {\n this.secondClass = now.class_id2_list || [];\n this.firstCheckId = now.class_id1;\n this.firstClassName = now.class_id1_name;\n var index = this.secondClass.findIndex(function (val, index, arr) {\n if (val.flag) {\n return val;\n }\n });\n\n if (index == -1) {\n this.classFilter = this.firstClassName;\n } else {\n this.classFilter = this.firstClassName + \",\" + this.secondClass[index].class_id2_name;\n }\n\n this.navTopStr.classStr = this.classFilter;\n }\n },\n methods: {\n getDefaultClass: function getDefaultClass() {\n var _this = this;\n\n _api_index__WEBPACK_IMPORTED_MODULE_10__[\"services\"].defaultClass().then(function (res) {\n if (res.data.err_code == 0) {\n _this.classStr = res.data.data;\n _this.addClassStr = res.data.data;\n\n _this.getZyData();\n } else {}\n }).catch(function (err) {});\n },\n placeOrder: function placeOrder(id) {\n this.detailsData = {\n isShow: true,\n id: id\n };\n },\n scrollEvent: function scrollEvent(e) {\n if (this.navTopStr.classStr || this.navTopStr.brandStr || this.navTopStr.encapStr || this.navTopStr.packingStr || this.navTopStr.rightStr) {\n if (e.target.scrollTop > 40) {\n this.isScrollShow = true;\n } else {\n this.isScrollShow = false;\n }\n }\n },\n onLoad: function onLoad() {\n this.p++;\n this.getZyData();\n },\n toSearch: function toSearch() {\n window.location.href = \"/v3/search/search_index.html?ptag=lxshop-topnav\";\n },\n resetRight: function resetRight() {\n this.getZyData();\n },\n filterRight: function filterRight(v) {\n this.isShowRight = false;\n this.p = 1;\n this.rightFilterData = v;\n this.getZyData();\n },\n openRight: function openRight() {\n this.isShowRight = true;\n this.zyFilterInit = -1;\n },\n closeRight: function closeRight() {\n if (this.isShowRight) {\n this.isShowRight = false;\n }\n\n if (this.zyFilterInit != -1) {\n this.zyFilterInit = -1;\n }\n },\n getClassSecond: function getClassSecond(v) {\n //第一级数据选中\n this.firstCheckId = \"\";\n this.classStr = v.class_id1;\n this.firstClassName = v.class_id1_name;\n this.isResetData = false;\n\n for (var i = 0; i < this.classData.length; i++) {\n if (this.classData[i].class_id1 == v.class_id1) {\n this.classData[i].flag = true;\n this.secondClass = this.classData[i].class_id2_list;\n this.getSecondData({}, \"2\");\n } else {\n this.classData[i].flag = false;\n }\n }\n },\n getSecondData: function getSecondData(v) {\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"1\";\n\n //第二级数据选中\n if (type == \"1\") {\n this.classStr = v.class_id2;\n this.secondClassName = v.class_id2_name;\n this.isResetData = false;\n }\n\n for (var i = 0; i < this.secondClass.length; i++) {\n if (this.secondClass[i].class_id2 == v.class_id2) {\n this.secondClass[i].flag = true;\n } else {\n this.secondClass[i].flag = false;\n }\n }\n },\n getZyData: function getZyData() {\n var params = {\n p: this.p,\n offset: 10\n };\n this.navTopStr.rightStr = \"\";\n var rightFilterStr = JSON.stringify(this.rightFilterData);\n\n if (this.addClassStr) {\n params[\"class_id/condition\"] = this.addClassStr;\n }\n\n if (this.brandStr) {\n params[\"brand_id/condition\"] = this.brandStr;\n }\n\n if (this.encapStr) {\n params[\"encap/condition\"] = this.encapStr;\n }\n\n if (this.packingStr) {\n params[\"packing/condition\"] = this.packingStr;\n }\n\n if (this.zyRankInit == 0) {\n params[\"com_rank\"] = 1;\n } else if (this.zyRankInit == 1) {\n params[\"stock_rank\"] = 2;\n } else if (this.zyRankInit == 2) {\n params[\"stock_rank\"] = 1;\n } else if (this.zyRankInit == 3) {\n params[\"single_rank\"] = 1;\n } else if (this.zyRankInit == 4) {\n params[\"single_rank\"] = 2;\n }\n\n if (rightFilterStr !== \"{}\") {\n if (JSON.stringify(this.rightFilterData.filterData) !== \"{}\") {\n params[\"attrs/nested\"] = JSON.stringify(this.rightFilterData.filterData);\n var str = \"\";\n\n for (var k in this.rightFilterData.filterData) {\n var singData = this.rightFilterData.filterData[k];\n\n if (singData.length) {\n str += \".\" + singData.join();\n }\n }\n\n str = str.slice(1);\n console.log(str);\n this.navTopStr.rightStr = str;\n }\n\n if (this.rightFilterData.isyh) {\n params[\"avail_rank\"] = 1;\n }\n }\n\n this.$store.dispatch({\n type: \"getZyData\",\n data: params\n });\n },\n changezyRankInit: function changezyRankInit(i) {\n if (i == \"kc\") {\n if (this.zyRankInit == 1) {\n this.zyRankInit = 2;\n } else {\n this.zyRankInit = 1;\n }\n } else if (i == \"jg\") {\n if (this.zyRankInit == 3) {\n this.zyRankInit = 4;\n } else {\n this.zyRankInit = 3;\n }\n } else {\n this.zyRankInit = i;\n }\n },\n changeZyFilterInit: function changeZyFilterInit(i) {\n if (this.zyFilterInit == i) {\n this.zyFilterInit = -1;\n } else {\n this.zyFilterInit = i;\n }\n },\n addFilterData: function addFilterData(k, type) {\n this.isResetData = false;\n\n if (!this.zyFilterData[type].list[k].check) {\n this.$set(this.zyFilterData[type].list[k], \"check\", true);\n } else {\n this.$set(this.zyFilterData[type].list[k], \"check\", false);\n }\n },\n reset: function reset(type) {\n //重置筛选数据\n this.isResetData = true;\n var str = \"\";\n\n if (type == \"class\") {\n this.firstCheckId = \"\";\n\n for (var i = 0; i < this.classData.length; i++) {\n this.classData[i].flag = 0;\n }\n\n for (var _i = 0; _i < this.secondClass.length; _i++) {\n this.secondClass[_i].flag = 0;\n }\n } else {\n if (type == \"brand\") {\n str = \"brand_id\";\n } else if (type == \"encap\") {\n str = \"encap\";\n } else if (type == \"packing\") {\n str = \"packing\";\n }\n\n for (var _i2 = 0; _i2 < this.zyFilterData[str].list.length; _i2++) {\n if (this.zyFilterData[str].list[_i2].check) {\n this.zyFilterData[str].list[_i2].check = false;\n }\n }\n }\n },\n addPostData: function addPostData(type) {\n //添加筛选数据\n this.zyFilterInit = -1;\n\n if (type == \"class\") {\n //分类筛选\n this.brand = \"\";\n this.encap = \"\";\n this.packing = \"\";\n this.brandStr = \"\";\n this.encapStr = \"\";\n this.packingStr = \"\";\n\n if (this.isResetData) {\n this.addClassStr = \"\";\n this.firstClassName = \"\";\n this.secondClassName = \"\";\n this.classFilter = \"\";\n this.navTopStr.classStr = \"\";\n } else {\n this.addClassStr = this.classStr;\n this.classFilter = this.secondClassName ? this.firstClassName + \",\" + this.secondClassName : this.firstClassName;\n this.navTopStr.classStr = this.classFilter;\n }\n } else if (type == \"brand\") {\n //制造商\n this.brandStr = \"\";\n this.brand = \"\";\n\n if (this.isResetData) {\n this.navTopStr.brandStr = \"\";\n } else {\n for (var i = 0; i < this.zyFilterData[\"brand_id\"].list.length; i++) {\n if (this.zyFilterData[\"brand_id\"].list[i].check) {\n this.brandStr += this.zyFilterData[\"brand_id\"].list[i].id + \",\";\n this.brand += this.zyFilterData[\"brand_id\"].list[i].name + \",\";\n }\n }\n }\n\n this.brandStr = this.brandStr.slice(0, -1);\n this.brand = this.brand.slice(0, -1);\n this.navTopStr.brandStr = this.brand;\n } else if (type == \"encap\") {\n //封装规格\n this.encapStr = \"\";\n this.encap = \"\";\n\n if (this.isResetData) {\n this.navTopStr.encapStr = \"\";\n } else {\n for (var _i3 = 0; _i3 < this.zyFilterData[\"encap\"].list.length; _i3++) {\n if (this.zyFilterData[\"encap\"].list[_i3].check) {\n this.encapStr += this.zyFilterData[\"encap\"].list[_i3].id + \",\";\n this.encap += this.zyFilterData[\"encap\"].list[_i3].name + \",\";\n }\n }\n }\n\n this.encapStr = this.encapStr.slice(0, -1);\n this.encap = this.encap.slice(0, -1);\n this.navTopStr.encapStr = this.encap;\n } else if (type == \"packing\") {\n //包装筛选\n this.packingStr = \"\";\n this.packing = \"\";\n\n if (this.isResetData) {\n this.navTopStr.packingStr = \"\";\n } else {\n for (var _i4 = 0; _i4 < this.zyFilterData[\"packing\"].list.length; _i4++) {\n if (this.zyFilterData[\"packing\"].list[_i4].check) {\n this.packingStr += this.zyFilterData[\"packing\"].list[_i4].id + \",\";\n this.packing += this.zyFilterData[\"packing\"].list[_i4].name + \",\";\n }\n }\n }\n\n this.packingStr = this.packingStr.slice(0, -1);\n this.packing = this.packing.slice(0, -1);\n this.navTopStr.packingStr = this.packing;\n }\n\n this.p = 1;\n this.getZyData();\n }\n }\n});\n\n//# sourceURL=webpack:///./src/views/xianhuo/xianhuo.vue?./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./node_modules/_babel-loader@8.0.6@babel-loader/lib!./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!./node_modules/_vue-loader@15.7.0@vue-loader/lib??vue-loader-options");
/***/ }), /***/ }),
......
This diff could not be displayed because it is too large.
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