text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["promoter-pages-material"],{"2fcd":function(t,e,n){var a=n("4143");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("5c0d").default;i("263e6af7",a,!0,{sourceMap:!1,shadowMode:!1})},"31bf":function(t,e,n){(function(n){var a,i,o;(function(n,r){i=[],a=r,o="function"===typeof a?a.apply(e,i):a,void 0===o||(t.exports=o)})(0,(function(){"use strict";function e(t,e){return"undefined"==typeof e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}function a(t,e,n){var a=new XMLHttpRequest;a.open("GET",t),a.responseType="blob",a.onload=function(){d(a.response,e,n)},a.onerror=function(){console.error("could not download file")},a.send()}function i(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function o(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(a){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var r="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,s=r.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),d=r.saveAs||("object"!=typeof window||window!==r?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(t,e,n){var s=r.URL||r.webkitURL,d=document.createElement("a");e=e||t.name||"download",d.download=e,d.rel="noopener","string"==typeof t?(d.href=t,d.origin===location.origin?o(d):i(d.href)?a(t,e,n):o(d,d.target="_blank")):(d.href=s.createObjectURL(t),setTimeout((function(){s.revokeObjectURL(d.href)}),4e4),setTimeout((function(){o(d)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,n,r){if(n=n||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(e(t,r),n);else if(i(t))a(t,n,r);else{var s=document.createElement("a");s.href=t,s.target="_blank",setTimeout((function(){o(s)}))}}:function(t,e,n,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof t)return a(t,e,n);var o="application/octet-stream"===t.type,d=/constructor/i.test(r.HTMLElement)||r.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||o&&d||s)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var t=u.result;t=c?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=t:location=t,i=null},u.readAsDataURL(t)}else{var l=r.URL||r.webkitURL,h=l.createObjectURL(t);i?i.location=h:location.href=h,i=null,setTimeout((function(){l.revokeObjectURL(h)}),4e4)}});r.saveAs=d.saveAs=d,t.exports=d}))}).call(this,n("2409"))},3329:function(t,e,n){"use strict";n.r(e);var a=n("bd9c"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},3560:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("4cfc");var a={name:"he-toast",props:{zIndex:{type:[Number,String],default:""},popup:{type:Boolean,default:!0},duration:{type:[String,Number],default:250},value:{type:Boolean,default:!1}},data:function(){return{visibleSync:!1,showDrawer:!1,closeFromInner:!1}},mounted:function(){this.value&&this.open()},methods:{close:function(){this.closeFromInner=!0,this.change("showDrawer","visibleSync",!1)},open:function(){this.change("visibleSync","showDrawer",!0)},change:function(t,e,n){var a=this;1==this.popup&&this.$emit("input",n),this[t]=n,this.timer=n?setTimeout((function(){a[e]=n,a.$emit(n?"open":"close")}),50):setTimeout((function(){a[e]=n,a.$emit(n?"open":"close")}),this.duration)}},computed:{style:function(){var t={};return t.zIndex=this.uZindex,t},uZindex:function(){return this.zIndex?this.zIndex:this.$zIndex.popup}},watch:{value:function(t){t?this.open():this.closeFromInner||this.close(),this.closeFromInner=!1}}};e.default=a},3886:function(t,e,n){"use strict";var a=n("99ca").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("7ab1")),o={name:"he-save-loading",components:{heToast:i.default},props:{value:{type:Boolean,default:!0},title:{type:String,default:"图片上传中..."}},computed:{loading:{get:function(t){var e=t.value;return e},set:function(t){this.$emit("input",t)}}}};e.default=o},"3c47":function(t,e,n){"use strict";n.r(e);var a=n("3886"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},4143:function(t,e,n){var a=n("a1a8");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* start--主题色--start */\n/* end--主题色--end */.font-family-sc[data-v-4d8e010d], .he-search .he-button[data-v-4d8e010d], .he-switch .flex-sub[data-v-4d8e010d], .he-item .content[data-v-4d8e010d], .he-item .content .cu-btn[data-v-4d8e010d], .he-item .he-footer .he-jump[data-v-4d8e010d], .he-item .he-footer .he-share--count[data-v-4d8e010d], .he-item .he-footer .he-btn[data-v-4d8e010d]{font-family:PingFang SC}.font-family-din[data-v-4d8e010d]{font-family:DIN}.he-card[data-v-4d8e010d]{background-color:#fff;padding:%?32?%;border-radius:%?16?%;margin-bottom:%?16?%}.iconbtn_arrow[data-v-4d8e010d]{font-size:%?18?%;color:#bebebe}[data-v-4d8e010d] .input-placeholder{font-family:PingFang SC;font-size:%?26?%;font-weight:500;color:#999}.he-sticky[data-v-4d8e010d]{position:-webkit-sticky;position:sticky;top:0;z-index:10}.he-search[data-v-4d8e010d]{width:%?750?%;height:%?112?%;padding:%?24?% %?32?%;position:relative;margin-bottom:0}.he-search .he-input[data-v-4d8e010d]{width:%?686?%;height:%?64?%;background:#f7f7f7;border-radius:%?32?%;padding-left:%?32?%}.he-search .he-button[data-v-4d8e010d]{position:absolute;top:50%;width:%?686?%;background:transparent;left:%?64?%;-webkit-transform:translateY(-50%);transform:translateY(-50%);z-index:10;font-size:%?28?%;padding:0;font-weight:500;color:#999}.he-search .he-button .iconsearchbar_search[data-v-4d8e010d]{font-size:%?28?%;margin-right:%?16?%}.he-switch[data-v-4d8e010d]{padding:0 %?32?%;height:%?114?%;text-align:center;position:relative;background:#f5f5f5}.he-switch .he-line[data-v-4d8e010d]{width:%?52?%;height:%?4?%;position:absolute;bottom:%?24?%}[data-theme="red_theme"] .he-switch .he-line[data-v-4d8e010d]{background-color:#e60b30!important}[data-theme="purple_theme"] .he-switch .he-line[data-v-4d8e010d]{background-color:#8f2df3!important}[data-theme="blue_theme"] .he-switch .he-line[data-v-4d8e010d]{background-color:#33a7ff!important}[data-theme="green_theme"] .he-switch .he-line[data-v-4d8e010d]{background-color:#1fc551!important}[data-theme="orange_theme"] .he-switch .he-line[data-v-4d8e010d]{background-color:#ff7f00!important}[data-theme="golden_theme"] .he-switch .he-line[data-v-4d8e010d]{background-color:#caa45a!important}[data-theme="red_theme"] .he-switch .active[data-v-4d8e010d]{color:#e60b30!important}[data-theme="purple_theme"] .he-switch .active[data-v-4d8e010d]{color:#8f2df3!important}[data-theme="blue_theme"] .he-switch .active[data-v-4d8e010d]{color:#33a7ff!important}[data-theme="green_theme"] .he-switch .active[data-v-4d8e010d]{color:#1fc551!important}[data-theme="orange_theme"] .he-switch .active[data-v-4d8e010d]{color:#ff7f00!important}[data-theme="golden_theme"] .he-switch .active[data-v-4d8e010d]{color:#caa45a!important}.he-switch .flex-sub[data-v-4d8e010d]{font-size:%?28?%;font-weight:500;line-height:%?114?%;-webkit-transition-delay:.1s;transition-delay:.1s}.he-list[data-v-4d8e010d]{width:%?750?%;background:#fff;border-radius:%?16?% %?16?% 0 0;padding:0 %?32?% 0 %?32?%;overflow:hidden;min-height:calc(100vh - %?226?%)}.he-item[data-v-4d8e010d]{border-bottom:%?1?% solid #e5e5e5;padding:%?45?% 0 %?24?% 0}.he-item .content[data-v-4d8e010d]{font-size:%?30?%;font-weight:500;color:#222;line-height:%?40?%;margin-bottom:%?24?%;word-break:break-all;position:relative}.he-item .content .block[data-v-4d8e010d]{position:absolute;bottom:0;right:0;background-color:#fff}.he-item .content .cu-btn[data-v-4d8e010d]{height:auto;padding:0;font-weight:500;font-size:%?30?%;color:#3273ea;line-height:%?40?%;background-color:#fff}.he-item .content .unfold[data-v-4d8e010d]{display:inline-block}.he-item .he-images[data-v-4d8e010d]{margin:%?24?% 0 %?8?% 0}.he-item .he-images .he-img[data-v-4d8e010d]{margin-bottom:%?16?%}.he-item .he-images .he-img[data-v-4d8e010d]:not(:nth-child(3n)){margin-right:%?16?%}.he-item .he-video[data-v-4d8e010d]{margin:0 0 %?24?% 0}.he-item .he-created_time[data-v-4d8e010d]{font-size:%?26?%;font-family:PingFang SC;font-weight:500;color:#ccc;line-height:%?40?%}.he-item .he-footer[data-v-4d8e010d]{height:%?80?%}.he-item .he-footer .he-jump[data-v-4d8e010d]{padding:0;font-size:%?28?%;font-weight:500;color:#3273ea;background-color:initial;margin-right:%?24?%}.he-item .he-footer .he-share--count[data-v-4d8e010d]{font-size:%?28?%;font-weight:500;color:#ccc}.he-item .he-footer .he-btn[data-v-4d8e010d]{font-size:%?24?%;font-weight:500;border:%?1?% solid transparent;background:#fff;border-radius:%?28?%;padding:0 %?24?%;height:%?56?%;line-height:%?54?%}[data-theme="red_theme"] .he-item .he-footer .he-btn[data-v-4d8e010d]{color:#e60b30!important}[data-theme="purple_theme"] .he-item .he-footer .he-btn[data-v-4d8e010d]{color:#8f2df3!important}[data-theme="blue_theme"] .he-item .he-footer .he-btn[data-v-4d8e010d]{color:#33a7ff!important}[data-theme="green_theme"] .he-item .he-footer .he-btn[data-v-4d8e010d]{color:#1fc551!important}[data-theme="orange_theme"] .he-item .he-footer .he-btn[data-v-4d8e010d]{color:#ff7f00!important}[data-theme="golden_theme"] .he-item .he-footer .he-btn[data-v-4d8e010d]{color:#caa45a!important}[data-theme="red_theme"] .he-item .he-footer .he-btn[data-v-4d8e010d]{border-color:#e60b30!important}[data-theme="purple_theme"] .he-item .he-footer .he-btn[data-v-4d8e010d]{border-color:#8f2df3!important}[data-theme="blue_theme"] .he-item .he-footer .he-btn[data-v-4d8e010d]{border-color:#33a7ff!important}[data-theme="green_theme"] .he-item .he-footer .he-btn[data-v-4d8e010d]{border-color:#1fc551!important}[data-theme="orange_theme"] .he-item .he-footer .he-btn[data-v-4d8e010d]{border-color:#ff7f00!important}[data-theme="golden_theme"] .he-item .he-footer .he-btn[data-v-4d8e010d]{border-color:#caa45a!important}.he-item .he-footer .he-btn[data-v-4d8e010d]:nth-child(2){margin-left:%?16?%}',""]),t.exports=e},"459e":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"he-page-content",attrs:{"data-theme":t.theme}},[n("v-uni-view",{staticClass:"he-sticky"},[n("v-uni-view",{staticClass:"he-search he-card"},[n("v-uni-input",{staticClass:"he-input",attrs:{type:"text",focus:t.showInput},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.blurInput.apply(void 0,arguments)}},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}}),t.showInput?t._e():n("v-uni-button",{staticClass:"cu-btn he-button flex align-center justify-start",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openInput.apply(void 0,arguments)}}},[n("v-uni-text",{staticClass:"iconfont iconsearchbar_search"}),n("v-uni-text",[t._v("输入商品名称/素材文案搜索")])],1)],1),n("v-uni-view",{staticClass:"he-switch flex"},[n("v-uni-view",{staticClass:"flex-sub",class:{active:0===t.currentIndex},attrs:{id:"he-switch--0"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickTab(0)}}},[t._v("全部")]),n("v-uni-view",{staticClass:"flex-sub",class:{active:1===t.currentIndex},attrs:{id:"he-switch--1"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickTab(1)}}},[t._v("图片")]),n("v-uni-view",{staticClass:"flex-sub",class:{active:2===t.currentIndex},attrs:{id:"he-switch--2"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickTab(2)}}},[t._v("视频")]),n("v-uni-view",{staticClass:"he-line",style:[t.tabBarStyle]})],1)],1),n("v-uni-view",{staticClass:"he-list"},[t._l(t.list,(function(e,a){return n("v-uni-view",{key:a,staticClass:"he-item"},[n("v-uni-view",{class:[{"he-line-4":!e.unfold},"content"]},[t._v(t._s(e.content)),e.too_long?[e.unfold?t._e():n("v-uni-view",{staticClass:"block"},[t._v("..."),n("v-uni-button",{staticClass:"cu-btn",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.expandCollapse(e)}}},[t._v("展开")])],1),n("v-uni-button",{staticClass:"cu-btn unfold",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.expandCollapse(e)}}},[t._v("收起")])]:t._e()],2),1===e.type?n("v-uni-view",{staticClass:"he-images flex flex-wrap"},t._l(e.pic_list,(function(t,a){return n("he-image",{key:a,staticClass:"he-img",attrs:{"image-style":{borderRadius:"8rpx"},width:218,height:218,src:t,"is-preview":!0,list:e.pic_list}})})),1):2===e.type?n("v-uni-view",{staticClass:"he-video"},[n("listVideo",{attrs:{index:e.id,src:e.video_list.url,poster:e.video_cover},model:{value:t.videoCurrent,callback:function(e){t.videoCurrent=e},expression:"videoCurrent"}})],1):t._e(),n("v-uni-view",{staticClass:"he-created_time"},[t._v("发布时间: "+t._s(t._f("timeFormat")(e.created_time,"yyyy-mm-dd hh:MM:ss")))]),n("v-uni-view",{staticClass:"flex he-footer align-center justify-between"},[n("v-uni-view",[e.goods_id?n("v-uni-button",{staticClass:"cu-btn he-jump",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.routerGoods(e.goods_id)}}},[t._v("查看商品")]):t._e(),n("v-uni-text",{staticClass:"he-share--count"},[t._v("分享"+t._s(e.share_count))])],1),n("v-uni-view",[n("v-uni-button",{staticClass:"cu-btn he-btn",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.hairpin(e)}}},[t._v("一键发圈")]),n("v-uni-button",{staticClass:"cu-btn he-btn",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.routerCreateDynamic(e)}}},[t._v("发动态")])],1)],1)],1)})),t.list.length>0?n("he-load-more",{attrs:{"margin-top":39,"margin-bottom":39,status:t.loadStatus}}):t._e(),n("v-uni-view",{staticClass:"safe-area-inset-bottom"})],2),t.isNothing?n("he-no-content-yet",{attrs:{text:"暂无相关素材"}}):t._e(),n("he-save-loading",{attrs:{title:t.loadingText},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}}),n("he-float-window",{attrs:{"pages-url":"promoter"}})],1)},o=[]},6172:function(t,e,n){var a=n("6ea9");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("5c0d").default;i("66f035ce",a,!0,{sourceMap:!1,shadowMode:!1})},"6ea9":function(t,e,n){var a=n("a1a8");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* start--主题色--start */\n/* end--主题色--end */.he-loading[data-v-3745c31e]{width:100%;height:100%;font-size:%?28?%;font-weight:500;color:#fff;text-align:center}.he-loading__image[data-v-3745c31e]{width:%?96?%;height:%?96?%;margin-top:%?52?%;margin-bottom:%?40?%}',""]),t.exports=e},"7ab1":function(t,e,n){"use strict";n.r(e);var a=n("eb59"),i=n("99a3");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("a12e");var r,s=n("5d80"),d=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"b939559a",null,!1,a["a"],r);e["default"]=d.exports},"99a3":function(t,e,n){"use strict";n.r(e);var a=n("3560"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},a12e:function(t,e,n){"use strict";var a=n("a51d"),i=n.n(a);i.a},a51d:function(t,e,n){var a=n("b8cc");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("5c0d").default;i("01d21706",a,!0,{sourceMap:!1,shadowMode:!1})},aa36:function(t,e,n){"use strict";var a=n("6172"),i=n.n(a);i.a},b8cc:function(t,e,n){var a=n("a1a8");e=a(!1),e.push([t.i,".he-toast[data-v-b939559a]{position:fixed;top:0;left:0;right:0;bottom:0}.he-toast__box[data-v-b939559a]{width:%?256?%;height:%?256?%;background-color:rgba(0,0,0,.5);border-radius:%?16?%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);opacity:0}.he-drawer-content-visible.he-toast__box[data-v-b939559a]{-webkit-transform:scale(1) translate(-50%,-50%);transform:scale(1) translate(-50%,-50%);opacity:1}.he-drawer-content-visible[data-v-b939559a]{-webkit-transform:translateZ(0) translate(-50%,-50%)!important;transform:translateZ(0) translate(-50%,-50%)!important}",""]),t.exports=e},bd9c:function(t,e,n){"use strict";var a=n("99ca").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("b5aa"),n("cf00"),n("cd8f"),n("2c7c"),n("275f");var i=a(n("e9ff")),o=a(n("aa66")),r=a(n("4d92")),s=a(n("dc87")),d=a(n("4376")),c=n("45b6"),u=a(n("fe9c")),l=(a(n("31bf")),{name:"material",components:{heNoContentYet:o.default,heLoadMore:r.default,heSaveLoading:s.default,listVideo:d.default,heFloatWindow:u.default},data:function(){return{content:"",scrollBarLeft:0,showInput:!1,barFirstTimeMove:!0,tabQueryInfo:[{left:uni.upx2px(32)},{left:uni.upx2px(260)},{left:uni.upx2px(488)}],currentIndex:0,tabWidth:0,list:[],loadStatus:"loadmore",isNothing:!1,loading:!1,page:{},loadingText:"",videoCurrent:null}},computed:{tabBarStyle:function(t){var e=t.barFirstTimeMove,n=t.scrollBarLeft;return{transform:"translate(".concat(n,"px, -100%)"),"transition-duration":"".concat(e?0:"0.5s")}}},onLoad:function(){this.init()},methods:{init:function(){var t=this;this.scrollByIndex(),this.getList().then((function(){t.isNothing=0===t.list.length}))},getList:function(){var t=this;return(0,i.default)(regeneratorRuntime.mark((function e(){var n,a,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,c.promotermaterial)(t.page.current,t.currentIndex,t.content);case 3:return n=e.sent,a=n.data,i=n.pagination,a.forEach((function(t){var e=4*uni.upx2px(686);e-uni.upx2px(30)*t.content.length<0&&(t.too_long=!0,t.unfold=!1)})),t.page=i,t.list=t.list.concat(a),i.current===i.pageCount&&(t.loadStatus="nomore"),e.abrupt("return",!0);case 12:e.prev=12,e.t0=e["catch"](0);case 14:case"end":return e.stop()}}),e,null,[[0,12]])})))()},expandCollapse:function(t){t.unfold=!t.unfold},blurInput:function(){var t=this;this.list=[],this.$h.test.isEmpty(this.content)&&(this.showInput=!1),this.page.current=1,this.getList().then((function(){t.isNothing=0===t.list.length}))},openInput:function(){this.showInput=!this.showInput,this.list=[]},clickTab:function(t){var e=this;this.currentIndex=t,this.page.current=1,this.scrollByIndex(),this.list=[],this.getList().then((function(){e.isNothing=0===e.list.length}))},scrollByIndex:function(){var t=this,e=this.tabQueryInfo[this.currentIndex];if(e){var n=e.left+uni.upx2px(228)/2;this.scrollBarLeft=n-uni.upx2px(228)/4,!0===this.barFirstTimeMove&&setTimeout((function(){t.barFirstTimeMove=!1}),100)}},routerCreateDynamic:function(t){(0,c.promotermaterialShare)(t.id).then((function(){t.share_count++})),uni.navigateTo({url:"/promoter/pages/create-dynamic?data="+JSON.stringify(t)})},hairpin:function(t){var e=this;(0,c.promotermaterialShare)(t.id).then((function(){t.share_count++})),1===t.type?(this.loadingText="正在保存图片…",e.uniCopy({content:t.content,success:function(){uni.showToast({title:"内容已复制, 请手动下载素材图片",icon:"none"})}})):2===t.type&&e.uniCopy({content:t.content,success:function(){}})},saveFile:function(t){var e=JSON.parse(JSON.stringify(t));e.splice(0,1)[0]},saveVideoFile:function(t){var e=this;uni.downloadFile({url:t.video_list.url,success:function(n){uni.saveVideoToPhotosAlbum({filePath:n.tempFilePath,success:function(){e.loading=!1,e.uniCopy({content:t.content,success:function(){uni.showToast({title:"文案已复制， 视频已保存",icon:"none",duration:2e3})}})}})},fail:function(){}})},routerGoods:function(t){uni.navigateTo({url:"/pages/goods/detail?id=".concat(t)})}},onReachBottom:function(){var t=this;this.page.pageCount>this.page.current?(this.page.current++,this.loadStatus="loading",this.getList().then((function(){t.loadStatus="loadmore"}))):this.loadStatus="nomore"}});e.default=l},d103:function(t,e,n){"use strict";n.r(e);var a=n("459e"),i=n("3329");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("e2fc");var r,s=n("5d80"),d=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"4d8e010d",null,!1,a["a"],r);e["default"]=d.exports},dc87:function(t,e,n){"use strict";n.r(e);var a=n("e8af"),i=n("3c47");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("aa36");var r,s=n("5d80"),d=Object(s["a"])(i["default"],a["b"],a["c"],!1,null,"3745c31e",null,!1,a["a"],r);e["default"]=d.exports},e2fc:function(t,e,n){"use strict";var a=n("2fcd"),i=n.n(a);i.a},e8af:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("he-toast",{model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},[n("v-uni-view",{staticClass:"he-loading flex flex-direction align-center"},[n("v-uni-image",{staticClass:"he-loading__image",attrs:{src:t.ipAddress+"/upload-loading.gif"}}),n("v-uni-text",[t._v(t._s(t.title))])],1)],1)},o=[]},eb59:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.visibleSync?n("v-uni-view",{staticClass:"he-toast",style:[t.style],on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),function(){}.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"he-toast__box",class:t.showDrawer?"he-drawer-content-visible":""},[t._t("default")],2)],1):t._e()},o=[]}}]);