bztang-admin/addons/yun_shop/static/app/js/chunk-07fe2c10.542379b3.js

1 line
16 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-07fe2c10"],{4933:function(t,e,i){var o=i("b06d");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var a=i("499e").default;a("906986b2",o,!0,{sourceMap:!1,shadowMode:!1})},"8c49":function(t,e,i){"use strict";i.r(e);var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"auction_vip",attrs:{id:"auction_vip"}},[i("c-title",{attrs:{hide:!1,text:"贵宾厅"}}),i("div",{staticClass:"content"},[i("div",{staticClass:"wrap"},[i("div",{staticClass:"select"},[i("div",{staticClass:"select-option"},[i("span",[t._v(t._s(1==t.status?"拍品":"拍卖官"))]),i("i",{staticClass:"iconfont icon-down",on:{click:function(e){t.show=!0}}})]),t.show?i("div",{staticClass:"option"},[i("div",{staticClass:"option-one",on:{click:function(e){return t.select(1)}}},[t._v(" 拍品 ")]),i("div",{staticClass:"option-two",on:{click:function(e){return t.select(2)}}},[t._v(" 拍卖官 ")])]):t._e()]),i("div",{staticClass:"input"},[i("i",{staticClass:"iconfont icon-sousuo",on:{click:t.getSearch}}),i("input",{directives:[{name:"model",rawName:"v-model",value:t.keyword,expression:"keyword"}],attrs:{type:"text",placeholder:1==t.status?"搜索拍卖商品":"搜索拍卖官"},domProps:{value:t.keyword},on:{keypress:t.enterSearch,input:function(e){e.target.composing||(t.keyword=e.target.value)}}})])]),2==t.status?i("div",{staticClass:"amount"},[t._v(" 拍卖官总数:"+t._s(t.total)+"个 ")]):t._e(),1==t.status?i("div",{staticClass:"amount"},[t._v(" 拍品总数:"+t._s(t.total)+"个 ")]):t._e(),1==t.status?i("div",{staticClass:"good-list"},t._l(t.datas,(function(e,o){return i("div",{key:o,staticClass:"good",on:{click:function(i){return t.toDetail(e)}}},[i("div",{staticClass:"image"},[i("img",{attrs:{src:e.thumb}})]),i("div",{staticClass:"bottom"},[i("div",{staticClass:"tit"},[t._v(t._s(e.title))]),i("div",{staticClass:"cash"},[i("span",[t._v("起拍价")]),i("div",{staticClass:"money"},[i("span",{staticStyle:{"font-size":"12px"}},[t._v(t._s(t.$i18n.t("money")))]),i("span",[t._v(t._s(e.start_price?e.start_price:0))])])])]),i("div",{staticClass:"time"},[t._v(" "+t._s(e.end_shooting?t.timestampToTime(e.end_shooting):"")+"结束 ")]),1==e.is_pass&&0==e.is_verify?i("div",{staticClass:"mask"},[t._m(0,!0)]):t._e()])})),0):t._e(),2==t.status?i("div",{staticClass:"shop-item"},t._l(t.datas,(function(e,o){return i("div",{key:o,staticClass:"item",on:{click:function(i){return t.yanzhen(e)}}},[i("div",{staticClass:"avator"},[i("img",{attrs:{src:e.avatar}})]),i("div",{staticClass:"name"},[t._v(t._s(e.nick_name))]),i("div",[t._v("浏览:"+t._s(e.browse_num)+"次")]),1==e.is_pass&&0==e.is_verify?i("div",{staticClass:"mask",staticStyle:{"border-radius":"1.3125rem"}},[t._m(1,!0)]):t._e()])})),0):t._e()]),i("van-popup",{staticStyle:{width:"100%",height:"40%"},attrs:{position:"bottom","close-on-masker":!1},model:{value:t.show1,callback:function(e){t.show1=e},expression:"show1"}},[i("div",{staticClass:"pop"},[i("div",{staticClass:"title"},[t._v("请输入店铺密码")]),i("div",{staticClass:"check"},[i("span",[t._v("密码")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],attrs:{type:"password"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}})]),i("div",{staticClass:"bottom-btn",on:{click:function(e){return t.confirm(t.item)}}},[t._v(" 确定 ")])])])],1)},a=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"lock"},[i("i",{staticClass:"iconfont icon-pm_auction_lock"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"lock"},[i("i",{staticClass:"iconfont icon-pm_auction_lock"})])}],n=(i("99af"),i("6968")),s=i("ac0d"),r={mixins:[s["a"]],data:function(){return{show:!1,status:1,loading:!1,allLoaded:!1,goload:!0,isLoadMore:!0,page:1,total_page:0,datas:[],keyword:"",show1:!1,password:"",dataInfo:{},total:0}},activated:function(){this.initData(),this.getSearch()},methods:{enterSearch:function(t){13===t.keyCode&&(t.preventDefault(),this.getSearch())},toDetail:function(t){this.$router.push(this.fun.getUrl("auctionGood",{id:t.member_id,goods_id:t.goods_id}))},initData:function(){this.loading=!1,this.allLoaded=!1,this.goload=!0,this.isLoadMore=!0,this.page=1,this.total_page=0,this.datas=[],this.keyword="",this.show1=!1,this.password="",this.total=0,this.dataInfo={}},select:function(t){this.status=t,this.show=!1,this.initData(),this.getSearch()},yanzhen:function(t){this.dataInfo=t,1==t.is_verify?this.$router.push(this.fun.getUrl("auctioneerShop",{id:this.dataInfo.member_id})):this.show1=!0},timestampToTime:function(t){var e=new Date(1e3*t),i=e.getFullYear()+"-",o=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",a=this.change(e.getDate())+" ",n=this.change(e.getHours())+":",s=this.change(e.getMinutes());return i+o+a+n+s},change:function(t){return t<10?"0"+t:t},confirm:function(t){var e=this,i={art:"verifyPassword",auction_id:this.dataInfo.member_id,passwd:this.password};$http.get("plugin.auction.api.index.getAuctionData",i,"获取中").then((function(t){1==t.result?(e.show1=!1,e.$router.push(e.fun.getUrl("auctioneerShop",{id:e.dataInfo.member_id}))):e.$dialog.alert({message:t.msg})})).catch((function(t){}))},getSearch:function(){var t=this,e={keyword:this.keyword,status:this.status,auc_status:"",is_new:"",is_recommend:"",auctioneer_id:"",art:"getSearch",page:this.page,is_pass:"1"};$http.get("plugin.auction.api.index.getAuctionData",e,"获取中").then((function(e){1==e.result?(t.total_page=e.data.getSearch.last_page,t.total_page||(t.total_page=0),t.total=e.data.getSearch.total,t.datas=e.data.getSearch.data):t.$dialog.alert({message:e.msg})})).catch((function(t){}))},getMoreData:function(t){var e=this;if(this.page!==this.total_page){if(this.page>=this.total_page)return e.loading=!0,void(e.allLoaded=!0);this.page=this.page+1;var i={keyword:this.keyword,status:this.status,auc_status:"",is_new:"",is_recommend:"",auctioneer_id:"",art:"getSearch",page:this.page,is_pass:"1"};$http.get("plugin.auction.api.index.getAuctionData",i,"加载中").then((function(t){if(1!==t.result)return e.page=e.page-1,e.loading=!0,e.allLoaded=!0,void(e.isLoadMore=!1);e.total_page=t.data.getSearch.last_page,e.loading=!1,e.allLoaded=!1,e.datas=e.datas.concat(t.data.getSearch.data)}),(function(t){}))}}},components:{cTitle:n["a"]}},c=r,l=c,d=(i("b946"),i("2877")),p=Object(d["a"])(l,o,a,!1,null,"6fe515eb",null);e["default"]=p.exports},ac0d:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var o=document.documentElement,a=document.body,n={data:function(){return{}},activated:function(){window.addEventListener("scroll",this.handleScroll)},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getScrollTop:function(){var t=0;return o&&o.scrollTop?t=o.scrollTop:a&&(t=a.scrollTop),t},getClientHeight:function(){var t=0;return t=a.clientHeight&&o.clientHeight?Math.min(a.clientHeight,o.clientHeight):Math.max(a.clientHeight,o.clientHeight),t},getScrollHeight:function(){return Math.max(a.scrollHeight,o.scrollHeight)},handleScroll:function(){this.otherScroll();var t=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=t>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}},b06d:function(t,e,i){var o=i("24fb");e=o(!1),e.push([t.i,"#auction_vip[data-v-6fe515eb]{background-color:#fff;height:100vh}#auction_vip .content[data-v-6fe515eb]{padding:0 .75rem;background-color:#fff}#auction_vip .content .wrap[data-v-6fe515eb]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#auction_vip .content .wrap .select[data-v-6fe515eb]{margin-right:1rem;position:relative;width:5rem}#auction_vip .content .wrap .select .option[data-v-6fe515eb]{position:absolute;width:4rem;border:1px solid #ccc;-webkit-box-shadow:0 0 .4375rem 0 hsla(0,0%,76.1%,.31);box-shadow:0 0 .4375rem 0 hsla(0,0%,76.1%,.31);background-color:#fff;z-index:999}#auction_vip .content .wrap .select .option .option-one[data-v-6fe515eb]{border-bottom:1px solid #ccc}#auction_vip .content .wrap .select .option .option-one[data-v-6fe515eb],#auction_vip .content .wrap .select .option .option-two[data-v-6fe515eb]{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:2rem}#auction_vip .content .wrap .input[data-v-6fe515eb],#auction_vip .content .wrap .select .option .option-one[data-v-6fe515eb],#auction_vip .content .wrap .select .option .option-two[data-v-6fe515eb]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#auction_vip .content .wrap .input[data-v-6fe515eb]{width:16.8125rem;height:1.875rem;background-color:#f8f8f8;border-radius:.9375rem;margin:0 auto;margin-top:.75rem;margin-bottom:.75rem}#auction_vip .content .wrap .input i[data-v-6fe515eb]{color:#c9c9c9;margin-right:.75rem;margin-left:.75rem}#auction_vip .content .wrap .input input[data-v-6fe515eb]{outline:none;border:none;color:#c9c9c9;font-size:12px}#auction_vip .content .amount[data-v-6fe515eb]{margin-bottom:1rem;color:#666;text-align:left}#auction_vip .content .good-list[data-v-6fe515eb]{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:1.25rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#auction_vip .content .good-list .good[data-v-6fe515eb]{width:48%;margin-right:4%;-webkit-box-shadow:0 0 .4375rem 0 hsla(0,0%,76.1%,.31);box-shadow:0 0 .4375rem 0 hsla(0,0%,76.1%,.31);border-radius:.3125rem;position:relative;margin-bottom:1.25rem}#auction_vip .content .good-list .good .image[data-v-6fe515eb]{width:100%;height:10.625rem}#auction_vip .content .good-list .good .image img[data-v-6fe515eb]{width:100%;height:100%;border-top-left-radius:.3125rem;border-top-right-radius:.3125rem}#auction_vip .content .good-list .good .bottom[data-v-6fe515eb]{padding:0 .5rem;padding-top:.5rem;padding-bottom:1rem}#auction_vip .content .good-list .good .bottom .tit[data-v-6fe515eb]{color:#333;text-align:left}#auction_vip .content .good-list .good .bottom .cash[data-v-6fe515eb]{text-align:left;font-size:12px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-top:1.125rem}#auction_vip .content .good-list .good .bottom .cash .money[data-v-6fe515eb]{font-size:16px;color:#ef3e3e}#auction_vip .content .good-list .good .time[data-v-6fe515eb]{left:0;width:5.4375rem;background-image:-webkit-gradient(linear,right top,left top,from(#ff6333),to(#ff2c29)),-webkit-gradient(linear,left top,left bottom,from(#fe8a02),to(#fe8a02));background-image:-webkit-linear-gradient(right,#ff6333,#ff2c29),-webkit-linear-gradient(#fe8a02,#fe8a02);background-image:linear-gradient(270deg,#ff6333,#ff2c29),linear-gradient(#fe8a02,#fe8a02);border-radius:.3125rem 0 .3125rem;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;font-size:12px}#auction_vip .content .good-list .good .mask[data-v-6fe515eb],#auction_vip .content .good-list .good .time[data-v-6fe515eb]{position:absolute;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;top:0}#auction_vip .content .good-list .good .mask[data-v-6fe515eb]{background-color:hsla(0,0%,54.9%,.5);width:100%;height:100%}#auction_vip .content .good-list .good .mask .lock[data-v-6fe515eb]{width:2.8125rem;height:2.8125rem;background-color:hsla(0,0%,100%,.4);-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;color:#fff;border-radius:50%}#auction_vip .content .good-list .good .mask .lock i[data-v-6fe515eb]{font-size:28px}#auction_vip .content .good-list .good[data-v-6fe515eb]:nth-child(2n){margin-right:0}#auction_vip .content .shop-item[data-v-6fe515eb]{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}#auction_vip .content .shop-item[data-v-6fe515eb],#auction_vip .content .shop-item .item[data-v-6fe515eb]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#auction_vip .content .shop-item .item[data-v-6fe515eb]{position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-right:2%;width:32%;padding:1rem 0;background-color:#fff;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;border-radius:1.3125rem;text-align:left;-webkit-box-shadow:0 0 .4375rem 0 hsla(0,0%,76.1%,.31);box-shadow:0 0 .4375rem 0 hsla(0,0%,76.1%,.31);margin-bottom:1rem}#auction_vip .content .shop-item .item .avator[data-v-6fe515eb]{width:3.0625rem;height:3.0625rem;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:50%;margin-bottom:.75rem}#auction_vip .content .shop-item .item .avator img[data-v-6fe515eb]{width:100%;height:100%;border-radius:50%}#auction_vip .content .shop-item .item .name[data-v-6fe515eb]{margin-bottom:.75rem}#auction_vip .content .shop-item .item .count[data-v-6fe515eb]{color:#999;font-size:12px}#auction_vip .content .shop-item .item .mask[data-v-6fe515eb]{border-radius:1.3125rem;background-color:hsla(0,0%,54.9%,.5);position:absolute;width:100%;height:100%}#auction_vip .content .shop-item .item .mask[data-v-6fe515eb],#auction_vip .content .shop-item .item .mask .lock[data-v-6fe515eb]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}#auction_vip .content .shop-item .item .mask .lock[data-v-6fe515eb]{width:2.8125rem;height:2.8125rem;background-color:hsla(0,0%,100%,.4);-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;border-radius:50%}#auction_vip .content .shop-item .item .mask .lock i[data-v-6fe515eb]{font-size:28px}#auction_vip .content .shop-item .item[data-v-6fe515eb]:nth-child(3n){margin-right:0}#auction_vip .pop[data-v-6fe515eb]{padding:0 .75rem}#auction_vip .pop .check[data-v-6fe515eb]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-bottom:1rem}#auction_vip .pop .check input[data-v-6fe515eb]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;border:none;outline:none;margin-left:1rem;border-bottom:1px solid #ccc}#auction_vip .pop .title[data-v-6fe515eb]{padding:1.5rem 0}#auction_vip .pop .bottom-btn[data-v-6fe515eb],#auction_vip .pop .title[data-v-6fe515eb]{font-size:18px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#auction_vip .pop .bottom-btn[data-v-6fe515eb]{height:2.8125rem;background-image:-webkit-gradient(linear,left top,left bottom,from(#ff2c29),to(#ff2c29)),-webkit-gradient(linear,left top,left bottom,from(#ff590f),to(#ff590f));background-image:-webkit-linear-gradient(#ff2c29,#ff2c29),-webkit-linear-gradient(#ff590f,#ff590f);background-image:linear-gradient(#ff2c29,#ff2c29),linear-gradient(#ff590f,#ff590f);background-blend-mode:normal,normal;border-radius:1.4375rem;color:#fff;margin-top:6.25rem}",""]),t.exports=e},b946:function(t,e,i){"use strict";i("4933")}}]);