bztang-admin/addons/yun_shop/static/app/js/chunk-20f85f26.6833e70c.js

1 line
5.9 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.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-20f85f26"],{"83bd":function(t,e,i){"use strict";i("c4a2")},ac0d:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var a=document.documentElement,o=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 a&&a.scrollTop?t=a.scrollTop:o&&(t=o.scrollTop),t},getClientHeight:function(){var t=0;return t=o.clientHeight&&a.clientHeight?Math.min(o.clientHeight,a.clientHeight):Math.max(o.clientHeight,a.clientHeight),t},getScrollHeight:function(){return Math.max(o.scrollHeight,a.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(){}}}},b324:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".list[data-v-c3c88ea6]{margin:.75rem .75rem;padding-bottom:1rem}.list .lis[data-v-c3c88ea6]{margin-bottom:.75rem;background:#fff;border-radius:.5rem;padding:.75rem;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.list .lis[data-v-c3c88ea6],.list .lis .rightImg[data-v-c3c88ea6]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.list .lis .rightImg[data-v-c3c88ea6]{width:1.5rem;border-radius:50%;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.list .lis .rightImg img[data-v-c3c88ea6]{width:1.5rem;height:1.5rem;border-radius:50%}.list .lis .contenBox[data-v-c3c88ea6]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}.list .lis .contenBox[data-v-c3c88ea6],.list .lis .contenBox .name[data-v-c3c88ea6]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.list .lis .contenBox .name[data-v-c3c88ea6]{font-weight:700;font-size:.9375rem;margin-bottom:.125rem;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.list .lis .contenBox .name .id[data-v-c3c88ea6]{font-size:.75rem;color:#fff;padding:.0625rem .35rem;border-radius:.75rem;background:#02bbff;margin-left:.25rem}.list .lis .contenBox .time[data-v-c3c88ea6]{font-size:.75rem;font-weight:400;color:#999;text-align:left}.list .lis .contenBox .title[data-v-c3c88ea6]{font-size:.9375rem;font-weight:400;color:#333;margin-top:.25rem;text-align:left}.list .lis .left[data-v-c3c88ea6]{width:1.5rem;height:1.5rem;border-radius:50%;margin-right:.25rem}.list .lis .left img[data-v-c3c88ea6]{width:100%;height:100%;border-radius:50%}",""]),t.exports=e},c4a2:function(t,e,i){var a=i("b324");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("499e").default;o("a2c84ba4",a,!0,{sourceMap:!1,shadowMode:!1})},c782:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"storeManageFormDetail"}},[i("c-title",{attrs:{hide:!1,text:"查看数据"}}),i("div",{staticClass:"list"},t._l(t.list,(function(e,a){return i("div",{key:a,staticClass:"lis"},[i("div",{staticClass:"left",on:{click:function(i){return t.toformDetail(e)}}},[e.member?i("img",{attrs:{src:e.member.avatar_image,alt:""}}):t._e()]),e.member?i("div",{staticClass:"contenBox",on:{click:function(i){return t.toformDetail(e)}}},[i("div",{staticClass:"name"},[t._v(" "+t._s(e.member.nickname)+" "),i("div",{staticClass:"id"},[t._v("ID"+t._s(e.member_id))])]),i("div",{staticClass:"time"},[t._v(t._s(e.created_at))]),e.another_title?i("div",{staticClass:"title"},[t._v(t._s(e.another_title))]):t._e()]):t._e(),i("div",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:t.copyLink(e),expression:"copyLink(item)",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:t.onCopy,expression:"onCopy",arg:"success"}],staticClass:"rightImg"},[i("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images%2FstoreManagement%2Fdiyform2%402x.png",alt:""}})])])})),0)],1)},o=[],n=(i("e7e5"),i("d399")),s=(i("14d9"),i("99af"),i("ac0d")),r={mixins:[s["a"]],data:function(){return{goods_link:"www.com",list:[],isLoadMore:!0,page:1,total_page:0}},activated:function(){this.getData()},computed:{copyLink:function(t){var e=this;return function(t){var i=e.fun.getKeyByMid();return e.fun.getSiteRoot()+"/addons/yun_shop/?menu#/formDetail/"+t.id+"?i="+e.fun.getKeyByI()+"&mid="+i}}},methods:{toformDetail:function(t){var e=t.id;this.$router.push(this.fun.getUrl("formDetail",{id:e}))},getData:function(){var t=this;$http.post("plugin.diyform.api.diy-form.formDataList",{form_id:this.$route.params.form_id}).then((function(e){1==e.result&&(t.list=e.data.data,t.isLoadMore=!0,t.total_page=e.data.last_page,t.total_page||(t.total_page=0))})).catch((function(t){}))},getMoreData:function(){var t=this;this.isLoadMore=!1;var e={page:this.page};this.page>=this.total_page?this.isLoadMore=!1:(this.isLoading=!0,this.page=this.page+1,e.page=this.page,e.form_id=this.$route.params.form_id,$http.get("plugin.diyform.api.diy-form.formDataList",e,"加载中").then((function(e){if(t.isLoadMore=!0,1!==e.result)return t.page=t.page-1,void(t.isLoadMore=!1);t.list=t.list.concat(e.data.data)})).catch((function(t){})))},onCopy:function(){Object(n["a"])({message:"复制成功",position:"bottom",duration:5e3})}}},c=r,l=(i("83bd"),i("2877")),d=Object(l["a"])(c,a,o,!1,null,"c3c88ea6",null);e["default"]=d.exports}}]);