text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-supplysj"],{"378d":function(a,t,e){"use strict";var i=e("f39f"),s=e.n(i);s.a},"415a":function(a,t,e){var i=e("8164");"string"===typeof i&&(i=[[a.i,i,""]]),i.locals&&(a.exports=i.locals);var s=e("4f06").default;s("3d6e649e",i,!0,{sourceMap:!1,shadowMode:!1})},"43cc":function(a,t,e){"use strict";e.r(t);var i=e("73bb"),s=e.n(i);for(var n in i)"default"!==n&&function(a){e.d(t,a,(function(){return i[a]}))}(n);t["default"]=s.a},4674:function(a,t,e){"use strict";e.r(t);var i=e("7137"),s=e.n(i);for(var n in i)"default"!==n&&function(a){e.d(t,a,(function(){return i[a]}))}(n);t["default"]=s.a},"5ad0":function(a,t,e){"use strict";e.r(t);var i=e("8a0d"),s=e("4674");for(var n in s)"default"!==n&&function(a){e.d(t,a,(function(){return s[a]}))}(n);e("378d");var o,c=e("f0c5"),r=Object(c["a"])(s["default"],i["b"],i["c"],!1,null,"e4d1a924",null,!1,i["a"],o);t["default"]=r.exports},7137:function(a,t,e){"use strict";e("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={name:"uniTopBar",props:{barid:{type:Number,default:0},title:{type:String},xueyuan:{type:String}},data:function(){return{height:""}},mounted:function(){this.height=this.StatusBar},methods:{navigateBack:function(){uni.navigateBack()}}};t.default=i},"73bb":function(a,t,e){"use strict";var i=e("4ea4");e("4160"),e("a434"),e("b680"),e("acd8"),e("4d63"),e("ac1f"),e("25f0"),e("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(e("5ad0")),n={components:{uniTopBar:s.default},filters:{formatDate:function(a){var t=new Date(1e3*a),e=t.getFullYear(),i=t.getMonth()+1;i=i<10?"0"+i:i;var s=t.getDate();s=s<10?"0"+s:s;var n=t.getHours();n=n<10?"0"+n:n;var o=t.getMinutes();o=o<10?"0"+o:o;var c=t.getSeconds();return c=c<10?"0"+c:c,e+"-"+i+"-"+s}},data:function(){return{modalName:null,confirmbtn:"发布",taobaourl:!1,jingdongurl:!1,pinduoduourl:!1,kuaishouurl:!1,addressData:{title:"",brand:"",img:"",detailimg:[],category:"",platform:"",pay_type:2,advance:"",commission:"",nowprice:"",details:"",endtime:"",fans:"",contact:"",mobile:"",wechat_work:"",type:1},realm:"",realmdata:"",platform:"",userInfo:"",height:"",examine:"",remarks:"",hackReset:!0,detailImagename:"上传图片",scheduletitle:"",scheduletip:"",percent:0,totalBytesSent:0,totalBytesExpectedToSend:0,textarea:!1}},onLoad:function(a){var t=this;t.height=this.StatusBar,uni.getStorage({key:"userInfo",success:function(e){e.data&&""!=e.data&&(t.userInfo=e.data,t.addressData.mid=t.userInfo.id,a.id?(t.supplysj(a.id),t.addressData.id=a.id,t.confirmbtn="修改"):(t.getRealm(),t.supplyplatform()))}}),t.servertime()},methods:{confirm:function(){return this.addressData.title?this.addressData.brand?this.addressData.img?this.addressData.nowprice?this.addressData.platform?this.addressData.category?this.addressData.contact?"1"!=this.addressData.pay_type||this.addressData.advance?"2"!=this.addressData.pay_type||this.addressData.commission?"3"!=this.addressData.pay_type||this.addressData.advance?"3"!=this.addressData.pay_type||this.addressData.commission?this.addressData.mobile?this.checkMobile(this.addressData.mobile)?this.addressData.wechat_work?void uni.request({url:"https://www.hongrensutui.com/api/index/supplysjadd",data:this.addressData,method:"post",header:{"Content-Type":"application/x-www-form-urlencoded"},dataType:"json",success:function(a){200==a.data.data.code?(uni.showToast({icon:"none",title:a.data.data.info}),setTimeout((function(){uni.navigateBack({delta:1})}),2e3)):uni.showToast({icon:"none",title:"发布失败！"})},fail:function(a){uni.showToast({icon:"none",title:"发布失败！"})}}):(uni.showToast({title:"微信号不能为空",icon:"none",duration:3e3}),!1):(uni.showToast({title:"联系电话格式不正确",icon:"none",duration:3e3}),!1):(uni.showToast({title:"联系电话不能为空",icon:"none",duration:3e3}),!1):(uni.showToast({title:"佣金不能为空",icon:"none",duration:3e3}),!1):(uni.showToast({title:"坑位费不能为空",icon:"none",duration:3e3}),!1):(uni.showToast({title:"佣金不能为空",icon:"none",duration:3e3}),!1):(uni.showToast({title:"坑位费不能为空",icon:"none",duration:3e3}),!1):(uni.showToast({title:"联系人不能为空",icon:"none",duration:3e3}),!1):(uni.showToast({title:"红人领域不能为空",icon:"none",duration:3e3}),!1):(uni.showToast({title:"平台要求不能为空",icon:"none",duration:3e3}),!1):(uni.showToast({title:"卷后价格不能为空",icon:"none",duration:3e3}),!1):(uni.showToast({title:"产品图片不能为空",icon:"none",duration:3e3}),!1):(uni.showToast({title:"产品品牌不能为空",icon:"none",duration:3e3}),!1):(uni.showToast({title:"标题不能为空",icon:"none",duration:3e3}),!1)},supplysj:function(a){var t=this;uni.request({url:"https://www.hongrensutui.com/api/index/supplyedit",data:{id:a},method:"POST",success:function(a){if(a.data.data.info){var e=a.data.data.info;t.addressData.mid=e.mid,t.addressData.title=e.title,t.addressData.brand=e.brand,t.addressData.img=e.img,t.addressData.detailimg=e.detailimg,t.addressData.pay_type=e.pay_type,t.addressData.advance=e.advance,t.addressData.commission=e.commission,t.addressData.nowprice=e.nowprice,t.addressData.category=e.category,t.addressData.platform=e.platform,t.addressData.details=e.details,t.addressData.endtime=e.endtime,t.addressData.fans=e.fans,t.addressData.contact=e.contact,t.addressData.mobile=e.mobile,t.addressData.wechat_work=e.wechat_work,t.addressData.type=e.type,t.examine=e.examine,t.remarks=e.remarks,t.realmdata=e.realmdata,t.getRealm(e.category),t.supplyplatform(e.platform),t.addressData.detailimg.length>0&&(t.detailImagename="继续上传",t.hackReset=!1,t.$nextTick((function(){t.hackReset=!0})))}else t.getRealm(),t.supplyplatform()}})},servertime:function(){var a=this;uni.request({url:"https://www.hongrensutui.com/api/index/servertime",method:"POST",success:function(t){a.addressData.endtime=a.formatDate(t.data.data.time)}})},formatDate:function(a){var t=new Date(1e3*a),e=t.getFullYear(),i=t.getMonth()+1;i=i<10?"0"+i:i;var s=t.getDate();s=s<10?"0"+s:s;var n=t.getHours();n=n<10?"0"+n:n;var o=t.getMinutes();o=o<10?"0"+o:o;var c=t.getSeconds();return c=c<10?"0"+c:c,e+"-"+i+"-"+s},getRealm:function(a){var t=this;uni.request({url:"https://www.hongrensutui.com/api/index/getRealm",data:{realm:a},method:"POST",success:function(a){t.realm=a.data.data.list}})},supplyplatform:function(a){var t=this;uni.request({url:"https://www.hongrensutui.com/api/index/supplyplatform",data:{platform:a},method:"POST",success:function(a){t.platform=a.data.data.list}})},checkMobile:function(a){return RegExp(/^1[35789]\d{9}$/).test(a)},endtime:function(a){this.addressData.endtime=a.detail.value},showModal:function(a){this.modalName=a.currentTarget.dataset.target,(a.currentTarget.dataset.target="textarea")&&(this.textarea=!0)},hideModal:function(a){this.modalName=null,this.textarea=!1},numFilter:function(a){var t=parseFloat(a).toFixed(2);return t},avatarImage:function(){var a=this;a.scheduletip="",a.percent=0,uni.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album"],success:function(t){var e=a.numFilter(t.tempFiles[0].size/1024/1024);if(e>2)return uni.showToast({title:"上传图片不可超过2M！当前图片"+e+"M",icon:"none",duration:3e3}),!1;var i=t.tempFilePaths,s=uni.uploadFile({url:"https://www.hongrensutui.com/api/upload/index",filePath:i[0],name:"image",success:function(t){var e=JSON.parse(t.data);a.addressData.img=e.data.url}});s.onProgressUpdate((function(t){a.scheduletitle="封面上传",a.modalName="schedule",a.percent=t.progress,a.totalBytesSent=a.numFilter(t.totalBytesSent/1024/1024),a.totalBytesExpectedToSend=a.numFilter(t.totalBytesExpectedToSend/1024/1024),100==t.progress&&(a.scheduletip="图片上传完成")}))}})},DelImg:function(){var a=this;uni.showModal({title:"",content:"确定要删除图片么？",cancelText:"取消",confirmText:"确认",success:function(t){t.confirm&&(a.addressData.img="")}})},detailImage:function(){var a=this;if(a.scheduletip="",a.percent=0,a.addressData.detailimg.length>5)return uni.showToast({title:"详情图片不能超过6个",icon:"none",duration:3e3}),!1;uni.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album"],success:function(t){var e=a.numFilter(t.tempFiles[0].size/1024/1024);if(e>2)return uni.showToast({title:"上传图片不可超过2M！当前图片"+e+"M",icon:"none",duration:3e3}),!1;var i=t.tempFilePaths,s=uni.uploadFile({url:"https://www.hongrensutui.com/api/upload/index",filePath:i[0],name:"image",success:function(t){var e=JSON.parse(t.data);a.addressData.detailimg[a.addressData.detailimg.length]=e.data.url,a.detailImagename="继续上传",a.hackReset=!1,a.$nextTick((function(){a.hackReset=!0}))}});s.onProgressUpdate((function(t){a.scheduletitle="详情图片上传",a.modalName="schedule",a.percent=t.progress,a.totalBytesSent=a.numFilter(t.totalBytesSent/1024/1024),a.totalBytesExpectedToSend=a.numFilter(t.totalBytesExpectedToSend/1024/1024),100==t.progress&&(a.scheduletip="图片上传完成")}))}})},DeldetailImg:function(a){var t=this;uni.showModal({title:"",content:"确定要删除图片么？",cancelText:"取消",confirmText:"确认",success:function(e){t.addressData.detailimg.splice(a,1)}})},chkrealm:function(a){var t=this,e=0,i=0;this.addressData.category="",this.realmdata="",this.realm.forEach((function(a,t){1==a.checked&&e++})),this.realm.forEach((function(a,s){1==a.checked&&(i++,i!=e?(t.addressData.category+=a.id+",",t.realmdata+=a.name+","):(t.addressData.category+=a.id,t.realmdata+=a.name))})),this.modalName=null},chkplatform:function(a){var t=this,e=0,i=0;this.addressData.platform="",this.platform.forEach((function(a,t){1==a.checked&&e++})),this.platform.forEach((function(a,s){1==a.checked&&(i++,t.addressData.platform+=i!=e?a.name+",":a.name)})),this.modalName=null},RadioCharge:function(a){this.addressData.pay_type=a.detail.value,"1"==this.addressData.pay_type&&(this.addressData.commission=""),"2"==this.addressData.pay_type&&(this.addressData.advance="")},ChooseCheckbox:function(a){a.checked=!a.checked},Chooserealm:function(a){if(1==a.checked)a.checked=!a.checked;else{var t=0;this.realm.forEach((function(a,e){1==a.checked&&t++})),t>=8?uni.showToast({title:"所选领域不能超过8个！",icon:"none",duration:2e3}):a.checked=!a.checked}}}};t.default=n},8164:function(a,t,e){var i=e("24fb");t=i(!1),t.push([a.i,".cu-modal[data-v-38bb2a59]{z-index:900}.rztitle[data-v-38bb2a59]{position:fixed;left:0;right:0;font-size:4.5vw;font-weight:700;background-color:#fff;height:44px;line-height:44px;text-indent:3vw}.cu-bar[data-v-38bb2a59]{position:static}.hongren[data-v-38bb2a59]{bottom:0}.platform_list[data-v-38bb2a59]{margin:3vw;background-color:#fff;border-radius:2vw}.platform_list .list[data-v-38bb2a59]{overflow:hidden;border-radius:2vw;box-shadow:1px 1px 2px rgba(26,26,26,.1)}.cu-form-group[data-v-38bb2a59]{margin:.5px 15px;padding:0}.cu-form-group .title[data-v-38bb2a59]{width:24vw}.cor-e8.text-lg[data-v-38bb2a59]{position:relative;left:-1vw;top:1vw}.cu-btn.lg[data-v-38bb2a59]{padding:0 3vw}.cu-dialog[data-v-38bb2a59]{max-height:60vh}.realmlist[data-v-38bb2a59]{max-height:46vh;overflow-x:hidden;overflow-y:auto}.nothave[data-v-38bb2a59]{font-size:3.5vw;padding-bottom:3vw;color:#999}.op-0[data-v-38bb2a59]{opacity:0}.bg-img[data-v-38bb2a59]{margin:1vw 3vw;box-shadow:1px 1px 2px rgba(26,26,26,.1)}.grid.col-4.grid-square>uni-view[data-v-38bb2a59]:nth-child(4n){margin:1vw 3vw}.cu-btn.img[data-v-38bb2a59]{height:24px;font-size:12px;background-color:#e71d36;color:#fff;padding:0 2vw}.text-orange[data-v-38bb2a59], .line-orange[data-v-38bb2a59], .lines-orange[data-v-38bb2a59]{color:#999}.bg-orange[data-v-38bb2a59]{background-color:#e71d36;color:#fff;border-radius:2px}.confirm[data-v-38bb2a59]{background-color:#e71d36}uni-radio-group[data-v-38bb2a59]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box!important;display:-webkit-flex!important;display:flex!important;font-size:3.5vw;-webkit-justify-content:space-around;justify-content:space-around}uni-radio-group span[data-v-38bb2a59]{margin-right:1vw}.coent[data-v-38bb2a59]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.cu-form-group uni-picker[data-v-38bb2a59]::after{display:none}.cu-form-group uni-picker[data-v-38bb2a59]{-webkit-box-flex:0;-webkit-flex:none;flex:none;border-radius:5px}.remarks[data-v-38bb2a59]{text-align:center;padding:3vw 3vw;color:#e71d36;line-height:5vw;font-size:3.5vw;background-color:#fff}",""]),a.exports=t},"8a0d":function(a,t,e){"use strict";var i;e.d(t,"b",(function(){return s})),e.d(t,"c",(function(){return n})),e.d(t,"a",(function(){return i}));var s=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("v-uni-view",{staticClass:"cu-bar bg-white",style:{height:a.height+44+"px",paddingTop:a.height+"px"}},[1!=a.barid?e("span",{staticClass:"clearfix"},[a.title?e("span",{staticClass:"title"},[a._v(a._s(a.title))]):e("span",{staticClass:"title"},[a._v("红人速推")])]):e("img",{staticClass:"logo_left",attrs:{src:"https://www.hongrensutui.com/h5/img/logo_left.png",mode:"heightFix"}})])},n=[]},"9ef1":function(a,t,e){"use strict";var i=e("415a"),s=e.n(i);s.a},d9d0:function(a,t,e){"use strict";e.r(t);var i=e("f5f0"),s=e("43cc");for(var n in s)"default"!==n&&function(a){e.d(t,a,(function(){return s[a]}))}(n);e("9ef1");var o,c=e("f0c5"),r=Object(c["a"])(s["default"],i["b"],i["c"],!1,null,"38bb2a59",null,!1,i["a"],o);t["default"]=r.exports},ee32:function(a,t,e){var i=e("24fb");t=i(!1),t.push([a.i,'.cu-bar[data-v-e4d1a924]{position:fixed;top:0;left:0;right:0;z-index:300;min-height:44px;background-color:#e71d36;-webkit-transform:translateZ(0);transform:translateZ(0)}.cu-bar .logo_left[data-v-e4d1a924]{margin-left:3vw;height:30px}.cuIcon-back[data-v-e4d1a924]{color:#fff;font-size:6vw;float:left;height:44px;width:44px;line-height:44px;text-align:center}.title[data-v-e4d1a924]{float:left;color:#fff;font-size:4vw;line-height:44px;\r\nmargin-left:44px\n}.cu-dialog[data-v-e4d1a924]{background-color:initial;width:auto;padding:4vw;height:auto}.cu-bar .action:first-child>uni-text[class*="cuIcon-"][data-v-e4d1a924]{margin:0}.cu-bar.tabbar .action [class*="cuIcon-"][data-v-e4d1a924]{width:auto}.cuIcon-close[data-v-e4d1a924]:before{background-color:rgba(0,0,0,.5);padding:1.5vw;border-radius:50%}',""]),a.exports=t},f39f:function(a,t,e){var i=e("ee32");"string"===typeof i&&(i=[[a.i,i,""]]),i.locals&&(a.exports=i.locals);var s=e("4f06").default;s("7be1ffd1",i,!0,{sourceMap:!1,shadowMode:!1})},f5f0:function(a,t,e){"use strict";var i;e.d(t,"b",(function(){return s})),e.d(t,"c",(function(){return n})),e.d(t,"a",(function(){return i}));var s=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("v-uni-view",[e("uni-top-bar"),e("v-uni-view",{staticClass:"hongren",style:{top:a.height+43+"px"}},[3==a.examine&&a.remarks?e("v-uni-view",{staticClass:"remarks"},[a._v("未通过原因："+a._s(a.remarks))]):a._e(),e("v-uni-view",{staticClass:"platform_list clearfix"},[e("v-uni-view",{staticClass:"list clearfix"},[e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("标题")]),e("v-uni-input",{attrs:{type:"text",placeholder:"请输入标题"},model:{value:a.addressData.title,callback:function(t){a.$set(a.addressData,"title",t)},expression:"addressData.title"}})],1),e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("产品品牌")]),e("v-uni-input",{attrs:{type:"text",placeholder:"请输入产品品牌"},model:{value:a.addressData.brand,callback:function(t){a.$set(a.addressData,"brand",t)},expression:"addressData.brand"}})],1),e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("产品封面")]),e("v-uni-view",{staticClass:"coent",staticStyle:{color:"red","font-size":"3.5vw"}},[a._v("请上传正方形封面")]),e("v-uni-button",{staticClass:"img cu-btn shadow",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.avatarImage.apply(void 0,arguments)}}},[a._v("上传封面")])],1),a.addressData.img?e("v-uni-view",{staticClass:"grid col-4 grid-square flex-sub"},[e("v-uni-view",{staticClass:"bg-img"},[e("v-uni-image",{attrs:{src:a.addressData.img,mode:"aspectFill"}}),e("v-uni-view",{staticClass:"cu-tag bg-red",on:{click:function(t){t.stopPropagation(),arguments[0]=t=a.$handleEvent(t),a.DelImg()}}},[e("v-uni-text",{staticClass:"cuIcon-close"})],1)],1)],1):a._e(),e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("带货价格")]),e("v-uni-input",{attrs:{type:"number",placeholder:"请输入劵后价格"},model:{value:a.addressData.nowprice,callback:function(t){a.$set(a.addressData,"nowprice",t)},expression:"addressData.nowprice"}}),e("v-uni-view",{staticClass:"title"},[a._v("元")])],1),e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("平台要求")]),e("v-uni-view",{staticClass:"coent"},[a._v(a._s(a.addressData.platform))]),e("v-uni-button",{staticClass:"img cu-btn shadow",attrs:{"data-target":"platformModal"},on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.showModal.apply(void 0,arguments)}}},[a._v("选择平台")])],1),e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("领域要求")]),e("v-uni-view",{staticClass:"coent"},[a._v(a._s(a.realmdata))]),e("v-uni-button",{staticClass:"img cu-btn shadow",attrs:{"data-target":"realmModal"},on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.showModal.apply(void 0,arguments)}}},[a._v("选择领域")])],1),e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("收费形式")]),e("v-uni-radio-group",{staticClass:"block",on:{change:function(t){arguments[0]=t=a.$handleEvent(t),a.RadioCharge.apply(void 0,arguments)}}},[e("v-uni-view",[e("span",[a._v("坑位费")]),e("v-uni-radio",{staticClass:"blue radio sm",class:1==a.addressData.pay_type?"checked":"",attrs:{checked:1==a.addressData.pay_type,value:"1"}})],1),e("v-uni-view",[e("span",[a._v("纯佣金")]),e("v-uni-radio",{staticClass:"blue radio sm",class:2==a.addressData.pay_type?"checked":"",attrs:{checked:2==a.addressData.pay_type,value:"2"}})],1),e("v-uni-view",[e("span",[a._v("预付+纯佣")]),e("v-uni-radio",{staticClass:"blue radio sm",class:3==a.addressData.pay_type?"checked":"",attrs:{checked:3==a.addressData.pay_type,value:"3"}})],1)],1)],1),1==a.addressData.pay_type||3==a.addressData.pay_type?e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("坑位费")]),e("v-uni-input",{attrs:{type:"number",placeholder:"请输入坑位费"},model:{value:a.addressData.advance,callback:function(t){a.$set(a.addressData,"advance",t)},expression:"addressData.advance"}}),e("v-uni-view",{staticClass:"title"},[a._v("万")])],1):a._e(),2==a.addressData.pay_type||3==a.addressData.pay_type?e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("佣金比")]),e("v-uni-input",{attrs:{type:"number",placeholder:"请输入佣金"},model:{value:a.addressData.commission,callback:function(t){a.$set(a.addressData,"commission",t)},expression:"addressData.commission"}}),e("v-uni-view",{staticClass:"title"},[a._v("%")])],1):a._e(),e("v-uni-view",{staticClass:"cu-form-group align-start"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("产品详情")]),e("v-uni-view",{staticClass:"coent",staticStyle:{padding:"3vw 0","min-height":"50px"},attrs:{"data-target":"textarea"},on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.showModal.apply(void 0,arguments)}}},[a._v(a._s(a.addressData.details))])],1),e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("详情图片")]),e("v-uni-view",{staticClass:"coent",staticStyle:{color:"red","font-size":"3.5vw"}},[a._v("上传图片保持宽度一致")]),e("v-uni-button",{staticClass:"img cu-btn shadow",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.detailImage.apply(void 0,arguments)}}},[a._v(a._s(a.detailImagename))])],1),a.hackReset?e("v-uni-view",{staticClass:"grid col-4 grid-square flex-sub"},a._l(a.addressData.detailimg,(function(t,i){return e("v-uni-view",{key:i,staticClass:"bg-img"},[e("v-uni-image",{attrs:{src:t,mode:"aspectFill"}}),e("v-uni-view",{staticClass:"cu-tag bg-red",on:{click:function(t){t.stopPropagation(),arguments[0]=t=a.$handleEvent(t),a.DeldetailImg(i)}}},[e("v-uni-text",{staticClass:"cuIcon-close"})],1)],1)})),1):a._e(),e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("粉丝要求")]),e("v-uni-input",{attrs:{type:"number",placeholder:"请输入粉丝量"},model:{value:a.addressData.fans,callback:function(t){a.$set(a.addressData,"fans",t)},expression:"addressData.fans"}}),e("v-uni-view",{staticClass:"title"},[a._v("万以上")])],1),e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("联系人")]),e("v-uni-input",{attrs:{type:"text",placeholder:"请输入联系人"},model:{value:a.addressData.contact,callback:function(t){a.$set(a.addressData,"contact",t)},expression:"addressData.contact"}})],1),e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("联系电话")]),e("v-uni-input",{attrs:{type:"number",placeholder:"请输入联系电话"},model:{value:a.addressData.mobile,callback:function(t){a.$set(a.addressData,"mobile",t)},expression:"addressData.mobile"}})],1),e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("微信号码")]),e("v-uni-input",{attrs:{type:"text",placeholder:"请输入微信号"},model:{value:a.addressData.wechat_work,callback:function(t){a.$set(a.addressData,"wechat_work",t)},expression:"addressData.wechat_work"}})],1),e("v-uni-view",{staticClass:"cu-form-group"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"cor-e8 text-lg"},[a._v("*")]),a._v("截止日期")]),e("v-uni-input",{attrs:{type:"text",disabled:"disabled",placeholder:"请输入开始时间"},model:{value:a.addressData.endtime,callback:function(t){a.$set(a.addressData,"endtime",t)},expression:"addressData.endtime"}}),e("v-uni-picker",{staticClass:"img cu-btn shadow",attrs:{mode:"date",value:a.addressData.endtime},on:{change:function(t){arguments[0]=t=a.$handleEvent(t),a.endtime.apply(void 0,arguments)}}},[a._v("选择时间")])],1)],1)],1),e("v-uni-view",{staticClass:"padding-xl"},[e("v-uni-button",{staticClass:"cu-btn confirm block bg-blue margin-tb-sm lg",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.confirm.apply(void 0,arguments)}}},[a._v(a._s(a.confirmbtn))])],1)],1),e("v-uni-view",{staticClass:"cu-modal",class:"realmModal"==a.modalName?"show":"",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.chkrealm.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"cu-dialog",on:{click:function(t){t.stopPropagation(),arguments[0]=t=a.$handleEvent(t)}}},[e("v-uni-view",{staticClass:"cu-bar bg-white"},[e("v-uni-view",{staticClass:"action text-blue"}),e("v-uni-view",{staticClass:"action text-green",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.chkrealm.apply(void 0,arguments)}}},[a._v("确定")])],1),e("v-uni-view",{staticClass:"realmlist"},a._l(a.realm,(function(t,i){return 0==t.pid?e("v-uni-view",{key:i,staticClass:"padding-xs"},[e("v-uni-view",[a._v(a._s(t.name))]),e("v-uni-view",{staticClass:"grid col-3 padding-sm"},a._l(a.realm,(function(i,s){return i.pid==t.id?e("v-uni-view",{key:s,staticClass:"padding-xs"},[e("v-uni-button",{staticClass:"box cu-btn block",class:i.checked?"bg-orange":"line-orange",attrs:{"data-value":i.id},on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.Chooserealm(i)}}},[a._v(a._s(i.name))])],1):a._e()})),1)],1):a._e()})),1),e("v-uni-view",{staticClass:"nothave"},[a._v("没有找到？联系客服添加领域")])],1)],1),e("v-uni-view",{staticClass:"cu-modal top-modal",class:"platformModal"==a.modalName?"show":"",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.chkplatform.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"cu-dialog",on:{click:function(t){t.stopPropagation(),arguments[0]=t=a.$handleEvent(t)}}},[e("v-uni-view",{staticClass:"cu-bar bg-white"},[e("v-uni-view",{staticClass:"action text-blue"}),e("v-uni-view",{staticClass:"action text-green",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.chkplatform.apply(void 0,arguments)}}},[a._v("确定")])],1),e("v-uni-view",{staticClass:"grid col-3 padding-sm"},a._l(a.platform,(function(t,i){return e("v-uni-view",{key:i,staticClass:"padding-xs"},[e("v-uni-button",{staticClass:"cu-btn orange block",class:t.checked?"bg-orange":"line-orange",attrs:{"data-value":t.name},on:{click:function(e){arguments[0]=e=a.$handleEvent(e),a.ChooseCheckbox(t)}}},[a._v(a._s(t.name))])],1)})),1),e("v-uni-view",{staticClass:"nothave"},[a._v("没有找到？联系客服添加分类")])],1)],1),e("v-uni-view",{staticClass:"cu-modal",class:"schedule"==a.modalName?"show":""},[e("v-uni-view",{staticClass:"cu-dialog",on:{click:function(t){t.stopPropagation(),arguments[0]=t=a.$handleEvent(t),a.hideModal.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"cu-bar bg-white"},[e("v-uni-view",{staticClass:"action text-gray"},[a._v(a._s(a.scheduletitle))]),e("v-uni-view",{staticClass:"action text-green",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.hideModal.apply(void 0,arguments)}}},[a._v("确定")])],1),e("v-uni-view",{staticClass:"padding-sm"},[e("v-uni-view",{staticClass:"padding bg-white clearfix"},[e("v-uni-view",{staticClass:"cu-progress"},[e("v-uni-view",{staticClass:"bg-red",style:[{width:a.percent+"%"}]},[a._v(a._s(a.percent+"%"))])],1),e("v-uni-view",{staticStyle:{float:"left","margin-top":"2vw"}},[a._v(a._s(a.scheduletip))]),e("v-uni-view",{staticStyle:{float:"right","margin-top":"2vw"}},[a._v(a._s(a.totalBytesSent)+"MB/"+a._s(a.totalBytesExpectedToSend)+"MB")])],1)],1)],1)],1),e("v-uni-view",{staticClass:"cu-modal",class:"textarea"==a.modalName?"show":"",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.hideModal.apply(void 0,arguments)}}},[a.textarea?e("v-uni-view",{staticClass:"cu-dialog",on:{click:function(t){t.stopPropagation(),arguments[0]=t=a.$handleEvent(t)}}},[e("v-uni-view",{staticClass:"cu-bar bg-white"},[e("v-uni-view",{staticClass:"action text-green"},[a._v("产品详情")]),e("v-uni-view",{staticClass:"action text-green",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.hideModal.apply(void 0,arguments)}}},[a._v("确定")])],1),e("v-uni-textarea",{staticStyle:{width:"100%",padding:"3vw","background-color":"#fff","text-align":"left"},attrs:{maxlength:"2000",placeholder:"请输入产品详情"},model:{value:a.addressData.details,callback:function(t){a.$set(a.addressData,"details",t)},expression:"addressData.details"}})],1):a._e()],1)],1)},n=[]}}]);