1 line
18 KiB
JavaScript
1 line
18 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-31906e79"],{"12db":function(t,e,a){t.exports=a.p+"static/app/img/bg_business.d5aaf2e9.png"},"30fd":function(t,e,a){var i=a("df1a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=a("499e").default;s("7a60a676",i,!0,{sourceMap:!1,shadowMode:!1})},3830:function(t,e,a){t.exports=a.p+"static/app/img/bg_idcard_up.411a1fe6.png"},"5bc4":function(t,e,a){t.exports=a.p+"static/app/img/photo_btn.d3f598c3.png"},8846:function(t,e,a){"use strict";a("30fd")},b2e2:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"auction_apply",attrs:{id:"auction_apply"}},[i("c-title",{attrs:{hide:!1,text:"拍卖申请"}}),i("div",{staticClass:"content"},[t.banner_img?i("div",{staticClass:"bannar"},[i("img",{attrs:{src:t.banner_img}})]):t._e(),t._m(0),i("div",{staticClass:"item"},[t._m(1),i("input",{directives:[{name:"model",rawName:"v-model",value:t.real_name,expression:"real_name"}],staticClass:"right",attrs:{placeholder:"请输入姓名"},domProps:{value:t.real_name},on:{input:function(e){e.target.composing||(t.real_name=e.target.value)}}})]),i("div",{staticClass:"item"},[t._m(2),i("input",{directives:[{name:"model",rawName:"v-model",value:t.mobile,expression:"mobile"}],staticClass:"right",attrs:{placeholder:"请输入手机号"},domProps:{value:t.mobile},on:{input:function(e){e.target.composing||(t.mobile=e.target.value)}}})]),i("div",{staticClass:"item"},[t._m(3),i("input",{directives:[{name:"model",rawName:"v-model",value:t.city,expression:"city"}],staticClass:"right",attrs:{placeholder:"请选择城市",readonly:""},domProps:{value:t.city},on:{click:function(e){e.stopPropagation(),t.show1=!0},input:function(e){e.target.composing||(t.city=e.target.value)}}})]),i("div",{staticClass:"item"},[t._m(4),i("input",{directives:[{name:"model",rawName:"v-model",value:t.street,expression:"street"}],staticClass:"right",attrs:{placeholder:"请选择街道",readonly:""},domProps:{value:t.street},on:{click:function(e){e.stopPropagation(),t.streetShow=!0},input:function(e){e.target.composing||(t.street=e.target.value)}}})]),i("div",{staticClass:"item"},[t._m(5),i("input",{directives:[{name:"model",rawName:"v-model",value:t.address,expression:"address"}],staticClass:"right",attrs:{placeholder:"请输入详细地址"},domProps:{value:t.address},on:{input:function(e){e.target.composing||(t.address=e.target.value)}}})]),i("div",{staticClass:"item"},[t._m(6),i("input",{directives:[{name:"model",rawName:"v-model",value:t.identity_card,expression:"identity_card"}],staticClass:"right",attrs:{placeholder:"请输入身份证号码"},domProps:{value:t.identity_card},on:{input:function(e){e.target.composing||(t.identity_card=e.target.value)}}})]),i("div",{staticClass:"item"},[t._m(7),i("input",{directives:[{name:"model",rawName:"v-model",value:t.company,expression:"company"}],staticClass:"right",attrs:{placeholder:"请输入企业名称"},domProps:{value:t.company},on:{input:function(e){e.target.composing||(t.company=e.target.value)}}})]),i("div",{staticClass:"upload"},[i("div",{staticClass:"list"},[t._m(8),i("div",{staticClass:"image",style:{backgroundImage:"url("+(t.back.length>0?t.back:a("3830"))+")"}},[i("div",{staticClass:"icon"},[i("van-uploader",{attrs:{"after-read":t.idback}})],1)])]),i("div",{staticClass:"list"},[t._m(9),i("div",{staticClass:"image",style:{backgroundImage:"url("+(t.positive.length>0?t.positive:a("db18"))+")"}},[i("div",{staticClass:"icon"},[i("van-uploader",{attrs:{"after-read":t.idpositive}})],1)])]),i("div",{staticClass:"list"},[t._m(10),i("div",{staticClass:"image",style:{backgroundImage:"url("+(t.holdID.length>0?t.holdID:a("3830"))+")"}},[i("div",{staticClass:"icon"},[i("van-uploader",{attrs:{"after-read":t.idHand}})],1)])]),i("div",{staticClass:"list"},[t._m(11),i("div",{staticClass:"image",style:{backgroundImage:"url("+(t.license.length>0?t.license:a("3830"))+")"}},[i("div",{staticClass:"icon"},[i("van-uploader",{attrs:{"after-read":t.licensePhoto}})],1)])]),t._m(12),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.remark,expression:"remark"}],staticClass:"mes",attrs:{placeholder:"填写备注信息"},domProps:{value:t.remark},on:{input:function(e){e.target.composing||(t.remark=e.target.value)}}}),i("div",{staticClass:"check"},[i("van-checkbox",{attrs:{"checked-color":"#f40420"},model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}}),i("div",{staticClass:"agree"},[i("span",[t._v("阅读并同意")]),i("span",{staticClass:"apply",on:{click:t.showPop}},[t._v("《申请协议》")])])],1)]),i("div",{staticClass:"btn",on:{click:t.apply}},[t._v(" 提交 ")])]),i("yd-cityselect",{attrs:{callback:t.result1,items:t.district},model:{value:t.show1,callback:function(e){t.show1=e},expression:"show1"}}),i("van-popup",{staticStyle:{width:"80%"},attrs:{position:"center",round:""},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("div",{staticClass:"popup"},[i("i",{staticClass:"iconfont icon-pm_auction_success",staticStyle:{color:"#ff2c29","font-size":"50px"}}),i("div",{staticClass:"success"},[t._v("提交成功")]),i("span",[t._v("请等待管理员审核")]),i("div",{staticClass:"pop-btn",on:{click:t.toaucion}},[t._v("确认")])])]),i("van-popup",{staticStyle:{width:"80%"},attrs:{position:"center",round:""},model:{value:t.show2,callback:function(e){t.show2=e},expression:"show2"}},[i("div",{staticClass:"popup-agreement"},[i("div",{staticClass:"title"},[t._v(" 申请协议 "),i("i",{staticClass:"iconfont icon-close11",on:{click:function(e){t.show2=!1}}})]),i("div",{staticStyle:{"text-align":"left"}},[i("p",{domProps:{innerHTML:t._s(t.agreement)}})])])]),i("van-popup",{staticStyle:{width:"100%",height:"100%"},attrs:{position:"right"},model:{value:t.streetShow,callback:function(e){t.streetShow=e},expression:"streetShow"}},[i("van-nav-bar",{staticClass:"pcStyle_ydT",attrs:{title:"选择街道"},scopedSlots:t._u([{key:"left",fn:function(){return[i("span",[i("van-icon",{attrs:{name:"arrow-left",size:"18",color:"#333"},nativeOn:{click:function(e){t.streetShow=!1}}})],1)]},proxy:!0}])}),t._l(t.districtVal,(function(e,a){return i("van-cell",{key:a,attrs:{border:t.flase,center:"","title-style":"text-align:left"},nativeOn:{click:function(a){return t.streetConfirm(e)}}},[i("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(e.areaname))])])}))],2)],1)},s=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"title"},[a("div",{staticClass:"line"}),a("span",[t._v("申请信息")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left"},[a("span",[t._v("姓名")]),a("span",{staticClass:"xi"},[t._v("*")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left"},[a("span",[t._v("手机号")]),a("span",{staticClass:"xi"},[t._v("*")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left"},[a("span",[t._v("所在城市")]),a("span",{staticClass:"xi"},[t._v("*")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left"},[a("span",[t._v("街道")]),a("span",{staticClass:"xi"},[t._v("*")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left"},[a("span",[t._v("详细地址")]),a("span",{staticClass:"xi"},[t._v("*")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left"},[a("span",[t._v("身份证号码")]),a("span",{staticClass:"xi"},[t._v("*")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left"},[a("span",[t._v("企业名称")]),a("span",{staticClass:"xi"},[t._v("*")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left"},[a("span",[t._v("身份证人像面")]),a("span",{staticClass:"xi"},[t._v("*")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left"},[a("span",[t._v("身份证国徽面")]),a("span",{staticClass:"xi"},[t._v("*")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left"},[a("span",[t._v("手持身份证照片")]),a("span",{staticClass:"xi"},[t._v("*")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"left"},[a("span",[t._v("企业营业执照照片")]),a("span",{staticClass:"xi"},[t._v("*")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"remark"},[a("div",{staticClass:"line"}),a("span",[t._v("备注信息")])])}],n=(a("e7e5"),a("d399")),o=a("6968"),r={data:function(){return{street_id:"",districtVal:[],strShow:!1,streetShow:!1,show1:!1,model1:"",district:district,checked:!0,show:!1,show2:!1,agreement:"",real_name:"",mobile:"",identity_card:"",province_id:"",city_id:"",district_id:"",company:"",positive:"",back:"",holdID:"",license:"",remark:"",address:"",banner_img:""}},activated:function(){window.scrollTo(0,0),this.getverifyGoods()},methods:{getverifyGoods:function(){var t=this,e={art:"verifyGoods"};$http.get("plugin.auction.api.index.getAuctionData",e,"获取中").then((function(e){t.getAgreement(),1==e.result?t.initData():e.msg.url.length>0?t.$dialog.confirm({message:e.msg.msg}).then((function(){window.location.href=e.msg.url[0]})).catch((function(){t.$router.go(-1)})):t.$dialog.confirm({message:e.msg.msg}).then((function(){t.$router.push(t.fun.getUrl("member"))})).catch((function(){t.$router.go(-1)}))})).catch((function(t){}))},toaucion:function(){this.$router.push(this.fun.getUrl("auctioneer"))},initData:function(){this.street_id="",this.districtVal=[],this.strShow=!1,this.streetShow=!1,this.show1=!1,this.model1="",this.district=district,this.checked=!0,this.show=!1,this.show2=!1,this.agreement="",this.real_name="",this.mobile="",this.identity_card="",this.province_id="",this.city_id="",this.district_id="",this.company="",this.positive="",this.back="",this.holdID="",this.license="",this.remark="",this.address="",this.banner_img=""},getApply:function(){var t=this,e={art:"getApply"};$http.get("plugin.auction.api.index.getAuctionData",e,"获取中").then((function(e){1==e.result?(t.real_name=e.data.getApply.real_name,t.address=e.data.getApply.address,t.remark=e.data.getApply.remark,t.province_id=e.data.getApply.province_id,t.district_id=e.data.getApply.district_id,t.city_id=e.data.getApply.city_id,t.back=e.data.getApply.back,t.positive=e.data.getApply.positive,t.license=e.data.getApply.license,t.holdID=e.data.getApply.holdID,t.mobile=e.data.getApply.mobile,t.identity_card=e.data.getApply.identity_card,t.company=e.data.getApply.company):t.$dialog.alert({message:e.msg})})).catch((function(t){}))},apply:function(){var t=this;if(this.checked){var e={art:"apply",real_name:this.real_name,mobile:this.mobile,province_id:this.province_id,city_id:this.city_id,district_id:this.district_id,address:this.address,identity_card:this.identity_card,company:this.company,positive:this.positive,back:this.back,holdID:this.holdID,license:this.license,remark:this.remark,street_id:this.street_id};$http.get("plugin.auction.api.index.getAuctionData",e,"获取中").then((function(e){1==e.result?t.show=!0:t.$dialog.alert({message:e.msg})})).catch((function(t){}))}else Object(n["a"])("请同意申请协议")},licensePhoto:function(t){var e=this,a=new FormData;a.append("file",t.file),this.uploadUrl=this.fun.getRealUrl("upload.uploadPic",{}),axios.post(this.uploadUrl,a,{headers:{"Content-Type":"multipart/form-data"}}).then((function(t){1===t.data.result?e.license=t.data.data.img_url:Object(n["a"])(t.data.msg)})).catch((function(t){}))},idback:function(t){var e=this,a=new FormData;a.append("file",t.file),this.uploadUrl=this.fun.getRealUrl("upload.uploadPic",{}),axios.post(this.uploadUrl,a,{headers:{"Content-Type":"multipart/form-data"}}).then((function(t){1===t.data.result?e.back=t.data.data.img_url:Object(n["a"])(t.data.msg)})).catch((function(t){}))},idpositive:function(t){var e=this,a=new FormData;a.append("file",t.file),this.uploadUrl=this.fun.getRealUrl("upload.uploadPic",{}),axios.post(this.uploadUrl,a,{headers:{"Content-Type":"multipart/form-data"}}).then((function(t){1===t.data.result?e.positive=t.data.data.img_url:Object(n["a"])(t.data.msg)})).catch((function(t){}))},idHand:function(t){var e=this,a=new FormData;a.append("file",t.file),this.uploadUrl=this.fun.getRealUrl("upload.uploadPic",{}),axios.post(this.uploadUrl,a,{headers:{"Content-Type":"multipart/form-data"}}).then((function(t){1===t.data.result?e.holdID=t.data.data.img_url:Object(n["a"])(t.data.msg)})).catch((function(t){}))},showPop:function(){this.show2=!0},result1:function(t){this.city=t.itemName1+t.itemName2+t.itemName3,this.province_id=t.itemValue1,this.city_id=t.itemValue2,this.district_id=t.itemValue3,this.getStreet(t.itemValue3)},streetConfirm:function(t){this.street=t.areaname,this.street_id=t.id,this.streetShow=!1},getStreet:function(t){var e=this;$http.get("member.memberAddress.street",{district_id:t}).then((function(t){1===t.result&&!e.fun.isTextEmpty(t.data)&&t.data.length>0?(e.districtVal=t.data,e.strShow=!0):e.strShow=!1})).catch((function(t){}))},getAgreement:function(){var t=this;$http.get("plugin.auction.api.index.getAuctionData",{},"获取中").then((function(e){1==e.result?(t.agreement=e.data.getAgreement.agreement,t.banner_img=e.data.getAgreement.banner_img,0==e.data.is_apply&&t.getApply()):t.$dialog.alert({message:e.msg})})).catch((function(t){}))}},components:{cTitle:o["a"]}},c=r,l=c,d=(a("8846"),a("2877")),p=Object(d["a"])(l,i,s,!1,null,"4b0374dc",null);e["default"]=p.exports},db18:function(t,e,a){t.exports=a.p+"static/app/img/bg_idcard_down@2x.10cd3a43.png"},df1a:function(t,e,a){var i=a("24fb"),s=a("1de5"),n=a("12db"),o=a("5bc4");e=i(!1);var r=s(n),c=s(o);e.push([t.i,"#auction_apply[data-v-4b0374dc]{background-color:#fff;position:relative;height:100vh}#auction_apply .content[data-v-4b0374dc]{padding:0 .75rem;background:#fff;padding-bottom:.5rem}#auction_apply .content .bannar[data-v-4b0374dc]{margin:1rem 0;width:100%}#auction_apply .content .bannar img[data-v-4b0374dc]{width:100%;height:100%;border-radius:.25rem}#auction_apply .content .title[data-v-4b0374dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#auction_apply .content .title .line[data-v-4b0374dc]{width:.3125rem;height:1.125rem;background-color:#f40420;border-radius:.1875rem;margin-right:.75rem}#auction_apply .content .item[data-v-4b0374dc]{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:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #ededed;padding:1.375rem 0}#auction_apply .content .item .left .xi[data-v-4b0374dc]{color:#f40420}#auction_apply .content .item .right[data-v-4b0374dc]{outline:none;border:none;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:right}#auction_apply .content .upload .list[data-v-4b0374dc]{padding-top:1rem;text-align:left}#auction_apply .content .upload .list .left .xi[data-v-4b0374dc]{color:#f40420}#auction_apply .content .upload .list .image[data-v-4b0374dc]{height:11rem;margin:0 auto;background-image:url("+r+");margin-top:1rem;border-radius:.5rem;background-repeat:no-repeat;background-size:100% 100%;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_apply .content .upload .list .image .icon[data-v-4b0374dc]{width:4rem;height:4rem;background-image:url("+c+");background-repeat:no-repeat;background-size:cover}#auction_apply .content .upload .list .image .icon img[data-v-4b0374dc]{width:100%;height:100%}#auction_apply .content .upload .list .image .icon .van-uploader[data-v-4b0374dc]{width:100%;height:100%;opacity:0}#auction_apply .content .remark[data-v-4b0374dc]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:1rem 0}#auction_apply .content .remark .line[data-v-4b0374dc]{width:.3125rem;height:1.125rem;background-color:#f40420;border-radius:.1875rem;margin-right:.75rem}#auction_apply .content .mes[data-v-4b0374dc]{background-color:#f2f2f7;outline:none;border:none;width:100%;height:10.9375rem;border-radius:.1875rem;padding-top:.5rem;padding-left:.5rem}#auction_apply .content .check[data-v-4b0374dc]{font-size:12px;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;margin:.5rem 0}#auction_apply .content .check .agree[data-v-4b0374dc]{margin-left:.5rem}#auction_apply .content .check .apply[data-v-4b0374dc]{color:#ef3e3e}#auction_apply .btn[data-v-4b0374dc]{width:100%;height:2.25rem;background-color:#ff2c29;border-radius:1.125rem;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;font-size:18px;color:#fff;padding-bottom:.5rem}.popup[data-v-4b0374dc]{padding:1.5rem 1rem;background-color:#fff;border-radius:1rem}.popup img[data-v-4b0374dc]{margin-bottom:1.5rem}.popup .success[data-v-4b0374dc]{font-size:24px;color:#000;margin-bottom:1rem;width:100%}.popup span[data-v-4b0374dc]{color:#999;display:inline-block;width:100%}.popup .pop-btn[data-v-4b0374dc]{margin:0 auto;width:12.75rem;height:2.8125rem;background-color:#ff6333;border-radius:1.4375rem;font-size:18px;color:#fff;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;-webkit-box-sizing:border-box;box-sizing:border-box;margin-top:2.6875rem}.popup-agreement[data-v-4b0374dc]{padding:1rem;padding-bottom:2rem;background-color:#fff;border-radius:1rem}.popup-agreement .title[data-v-4b0374dc]{position:relative;text-align:center;margin-bottom:1.5rem;font-size:18px;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}.popup-agreement .title i[data-v-4b0374dc]{position:absolute;right:0}",""]),t.exports=e}}]); |