douyin/js/SubmitReport-BXXWYhji.js
2024-04-23 09:37:32 +00:00

2 lines
4.4 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{N as d,R as V,T as i,V as p,_ as m}from"./common-DzJQztrr.js";import"./vendor-B0vIwkRg.js";const A=""+new URL("../assets/1-DnPioQn1.jpg",import.meta.url).href,h=""+new URL("../assets/3-dILWj01a.jpg",import.meta.url).href,_=""+new URL("../assets/light-close-D4hDwAMn.png",import.meta.url).href,g="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAwtJREFUWEftlk1IVFEUx//3vSEDKbdBHyhIC6EQS6g2KdImisA+VhK+N0qrZuY8NWnltCrSmfscWgTie30uWlhhUOBGgwhJIslw00KL3EYifdnMnHij44yj82ZeTrnpLe+7957f+Z+PewQ2+RObbB//Af6qArGYVRMI6NNuYV4DIOVAA+A76jE3bhNps7lnpLTfATxNpJ/Ld98qACntHoDDHo2DmTsNwx9ZC2AxgDEivbFIgKUDQOKKF4h4vGyiq+v815IBuBG7gfX328eTSdRn9qTUnAXErfQakbbKuZwQFJbMDUBKaxRAg7t6iUai9rH0npICxGL3ticS3+syAMoowJMAU0aBjHFnraQAm54D/wRASqsOELVCcA0zDjDzuKoqU8kknhJpX7IhpLReMosXhqFd8lSG+arANO2rzDAA3pJ7ITPPCMEGUdtjLyVcdA5IaQ0BaF66XISB+HMnmzOdM93AuIXIfz8fhJR2ZXbXLArANK0TzHgCYGJxkZu6u/0LuQYiEeuIovADQOxKJJKVnZ1tH9ZpzY8AriXSq4ouw97eO+U+X3wSQLWiiL3BoPY+n3emaREzogAeEumn10nKVJ8g0lccL6iAadr1zPyKWQwZhnamUHxN05pjhkqk7ygJgJSDrYCwAXQT6dcLAUhpDwN8EhBVuS9kulN6UiAaHewQQvQJwadCIf9wIYBo1IoKAVIU5WAw2Po6pyy9h6Cvzz6mqjwihLgWCmmXCwE4tQ/g8Pz8r/Jw+MK3DQNEItZuRcFHAFNE+n73x8gZZtRRZrwxDD3rTVg6VUwIZpbrfOX5XDbYDLBj3HW4kNJ6C2AfIEYAOErkfNzqLLiUYSrhYgC2uXhqqWqiJxBo/5TeE43erQYWbwohmgqEaAHgAJF/xcE1M2E4bG+tqIgfWv8ipRkQFwH8BDAHpEKzB8BOAGWACADxqXwQ8/O+8XBY+5H93/NUHIlYLYqCswAcb8sBfAbEs2QSNzo6tPFCSZr73zPA6qweaMiebrwad/ZvCOBPDJZUgf8ApVDgNzLahjBqsrnoAAAAAElFTkSuQmCC",s=t=>(Vue.pushScopeId("data-v-2788d960"),t=t(),Vue.popScopeId(),t),E={class:"Report"},N={class:"f16"},w={class:"content"},B=s(()=>Vue.createElementVNode("div",{class:"title"},[Vue.createElementVNode("span",null,"你的举报将在12小时内受理若举报成功会第一时间告知处理结果请尽量提交完整的举报描述及材料")],-1)),C={class:"row"},k={class:"l-row"},f=s(()=>Vue.createElementVNode("div",{class:"notice"},"举报描述(选填)",-1)),v={class:"textarea-ctn"},D={class:"text-num"},I={class:"upload-photo"},x=["src"],y=s(()=>Vue.createElementVNode("img",{src:g,alt:""},null,-1)),L=Vue.defineComponent({name:"SubmitReport"}),S=Vue.defineComponent({...L,setup(t){const a=VueRouter.useRoute(),e=Vue.reactive({type:"色情低俗",mode:"video",desc:"",photos:[]});Vue.onMounted(()=>{e.type=a.query.type,e.mode=a.query.mode});async function r(){V(),await i(500),p(),e.photos.push(new URL(Object.assign({"../../assets/img/poster/1.jpg":A,"../../assets/img/poster/3.jpg":h})[`../../assets/img/poster/${e.photos.length}.jpg`],import.meta.url).href)}return(U,o)=>{const c=Vue.resolveComponent("BaseHeader"),u=Vue.resolveComponent("dy-button");return Vue.openBlock(),Vue.createElementBlock("div",E,[Vue.createVNode(c,null,{center:Vue.withCtx(()=>[Vue.createElementVNode("span",N,[e.mode==="video"?(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,{key:0},[Vue.createTextVNode("视频")],64)):Vue.createCommentVNode("",!0),e.mode==="music"?(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,{key:1},[Vue.createTextVNode("音乐")],64)):Vue.createCommentVNode("",!0),e.mode==="chat"?(Vue.openBlock(),Vue.createElementBlock(Vue.Fragment,{key:2},[Vue.createTextVNode("私信")],64)):Vue.createCommentVNode("",!0),Vue.createTextVNode("举报")])]),_:1}),Vue.createElementVNode("div",w,[B,Vue.createElementVNode("div",C,[Vue.createElementVNode("span",null," 举报理由:"+Vue.toDisplayString(e.type),1)]),Vue.createElementVNode("div",k,[f,Vue.createElementVNode("div",v,[Vue.withDirectives(Vue.createElementVNode("textarea",{name:"",id:"",cols:"30",rows:"10","onUpdate:modelValue":o[0]||(o[0]=n=>e.desc=n),placeholder:"详细描述举报理由"},null,512),[[Vue.vModelText,e.desc]])]),Vue.createElementVNode("div",D,Vue.toDisplayString(e.desc.length)+"/200",1)]),Vue.createElementVNode("div",I,[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(e.photos,(n,l)=>(Vue.openBlock(),Vue.createElementBlock("div",{class:"photo-wrapper",key:l},[Vue.createElementVNode("img",{class:"photo",src:n,alt:""},null,8,x),Vue.createElementVNode("img",{class:"close",src:_,alt:"",onClick:o[1]||(o[1]=R=>e.photos.pop())})]))),128)),e.photos.length!==4?(Vue.openBlock(),Vue.createElementBlock("div",{key:0,class:"upload",onClick:r},[y,Vue.createElementVNode("span",null,Vue.toDisplayString(e.photos.length)+"/4",1)])):Vue.createCommentVNode("",!0)]),Vue.createVNode(u,{type:"primary",onClick:Vue.unref(d)},{default:Vue.withCtx(()=>[Vue.createTextVNode("提交")]),_:1},8,["onClick"])])])}}}),q=m(S,[["__scopeId","data-v-2788d960"]]);export{q as default};