(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e7ff72bc"],{"0627":function(e,t,c){"use strict";c.d(t,"a",(function(){return i}));var o=c("7a23"),n=c("5d2d");const l={money:void 0,title:"",project_name:"",desc:"",number_input:void 0,category_id:void 0,time_limit:60,review_limit:1440,repeat_type:1,step_group:[],task_id:void 0,repeat_num:0},i=()=>{const e=Object(o["reactive"])(n["a"].getItem("publishInfo")||l);Object(o["watch"])(e,()=>{n["a"].setItem("publishInfo",e)},{deep:!0});const t=(t={})=>{Object.assign(e,l,t)};return{form:e,resetForm:t,isEdit:e.task_id}}},"1afb":function(e,t,c){"use strict";c.r(t);var o=c("e8f3"),n=c("a410"),l=(c("14d9"),c("7a23")),i=c("6605"),r=c("e8dc"),s=c("aeeb"),a=c("0627"),d=c("7222");const b=e=>(Object(l["pushScopeId"])("data-v-6f02e6c1"),e=e(),Object(l["popScopeId"])(),e),u={class:"publish-step1"},p={class:"publish-container"},j={class:"type-list"},m=["onClick"],O=["src"],y={class:"publish-rule"},h={class:"rule-list"},f={class:"rule-item"},v=b(()=>Object(l["createElementVNode"])("div",{class:"rule-item"},[Object(l["createTextVNode"])(" 2.严禁发布低俗，涉黄，违法内容及同类悬赏平台，"),Object(l["createElementVNode"])("span",null," 否则封号处理，余额不退回账号")],-1)),_=b(()=>Object(l["createElementVNode"])("div",{class:"rule-item"},"3.请正确设置发布的项目名称与步骤",-1)),k=b(()=>Object(l["createElementVNode"])("div",{class:"rule-item"},"4.同一个项目，不同类型则起步价格不同",-1));var g={__name:"publishStep1",setup(e){const t=Object(i["d"])(),{form:c,resetForm:b}=Object(a["a"])();Object(l["onMounted"])(async()=>{const e=await Object(d["j"])();console.log(e)});const g=Object(l["computed"])(()=>{const e=[{title:"发布高价悬赏",children:[]},{title:"发布简单悬赏",children:[]}];for(const t of r["b"])"发布高价悬赏"===t.title?e[0].children.push(t):"发布简单悬赏"===t.title&&e[1].children.push(t);return e}),E=e=>{c.category_id!==e.category_id?5!==e.category_id?(b({category_id:e.category_id,category:e}),t.push("/bounty/publishStep2")):Object(s["e"])({onConfirm:()=>{b({category_id:e.category_id,category:e}),t.push("/bounty/publishStep2")}}):t.push("/bounty/publishStep2")};return(e,i)=>{const r=n["a"],s=o["a"];return Object(l["openBlock"])(),Object(l["createElementBlock"])("div",u,[Object(l["createVNode"])(r,{title:"选择发布类型"}),Object(l["createElementVNode"])("div",p,[(Object(l["openBlock"])(!0),Object(l["createElementBlock"])(l["Fragment"],null,Object(l["renderList"])(g.value,(e,t)=>(Object(l["openBlock"])(),Object(l["createElementBlock"])("div",{class:"type-section",key:e.title},[Object(l["createVNode"])(s,{title:e.title,type:0===t?"primary":"purple"},null,8,["title","type"]),Object(l["createElementVNode"])("div",j,[(Object(l["openBlock"])(!0),Object(l["createElementBlock"])(l["Fragment"],null,Object(l["renderList"])(e.children,e=>(Object(l["openBlock"])(),Object(l["createElementBlock"])("div",{class:Object(l["normalizeClass"])(["type-item",[e.category_id===Object(l["unref"])(c).category_id?"selected":""]]),key:e.text,onClick:t=>E(e)},[Object(l["createElementVNode"])("img",{src:e.pic},null,8,O)],10,m))),128))])]))),128)),Object(l["createElementVNode"])("div",y,[Object(l["createVNode"])(s,{title:"发布规则",type:"blue"}),Object(l["createElementVNode"])("div",h,[Object(l["createElementVNode"])("div",f,[Object(l["createTextVNode"])(" 1.请严格遵守"),Object(l["createElementVNode"])("span",{onClick:i[0]||(i[0]=e=>Object(l["unref"])(t).push("/bounty/rules/publish"))},"《趣攒米》悬赏任务发布规则")]),v,_,k])])])])}}},E=(c("c678"),c("6b0d")),N=c.n(E);const V=N()(g,[["__scopeId","data-v-6f02e6c1"]]);t["default"]=V},"2b5f":function(e,t,c){},c678:function(e,t,c){"use strict";c("2b5f")}}]);