{"size": 5797, "ext": "js", "max_stars_repo_path": "public/static/h5/static/js/pages-share-list.f56c7a8d.js", "max_stars_repo_name": "fahaiishappy/yaohaipei", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/static/h5/static/js/pages-share-list.f56c7a8d.js", "max_issues_repo_name": "fahaiishappy/yaohaipei", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/static/h5/static/js/pages-share-list.f56c7a8d.js", "max_forks_repo_name": "fahaiishappy/yaohaipei", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 5797.0, "max_line_length": 5797, "alphanum_fraction": 0.6808694152}
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-share-list"],{1736:function(n,t,e){"use strict";var i={mescrollUni:e("c499").default},a=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",[e("uni-top-bar",{attrs:{title:n.toptitle}}),e("mescroll-uni",{ref:"mescrollRef",attrs:{height:"100%",top:n.topheight+43+"px",down:n.downOption,up:n.upOption},on:{init:function(t){arguments[0]=t=n.$handleEvent(t),n.mescrollInit.apply(void 0,arguments)},down:function(t){arguments[0]=t=n.$handleEvent(t),n.downCallback.apply(void 0,arguments)},up:function(t){arguments[0]=t=n.$handleEvent(t),n.upCallback.apply(void 0,arguments)}}},n._l(n.goods,(function(t,i){return e("v-uni-view",{key:i,staticClass:"sharelist"},[e("v-uni-view",{staticClass:"logo"},[e("img",{attrs:{src:"https://www.hongrensutui.com/uploads/share/home_logo2.png"}})]),e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"title"},[e("span",{staticClass:"name"},[n._v("红人速推")]),1==t.category?e("span",{staticClass:"cu-tag light bg-red round sm"},[n._v("每日心语")]):n._e(),2==t.category?e("span",{staticClass:"cu-tag light bg-red round sm"},[n._v("拉新素材")]):n._e(),e("span",{staticClass:"share cu-tag light bg-orange radius",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n.copy(t.content,t.img)}}},[n._v("发圈"),e("span",{staticClass:"light text-orange cuIcon-forward"})])]),e("v-uni-view",{staticClass:"cont"},[n._v(n._s(t.content))]),e("v-uni-view",{staticClass:"img"},[e("img",{attrs:{src:t["img"]},on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n.imgMap(t["img"])}}})])],1)],1)})),1)],1)},o=[];e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){return i}))},1976:function(n,t,e){var i=e("ae63");"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=e("4f06").default;a("77f3b4b8",i,!0,{sourceMap:!1,shadowMode:!1})},"79b6":function(n,t,e){"use strict";e.r(t);var i=e("8ba9"),a=e.n(i);for(var o in i)"default"!==o&&function(n){e.d(t,n,(function(){return i[n]}))}(o);t["default"]=a.a},"8ba9":function(n,t,e){"use strict";var i=e("ee27");e("99af"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(e("9dcd")),o=i(e("7f51")),s=i(e("7265")),c={components:{uniTopBar:a.default},mixins:[o.default,s.default],data:function(){return{goods:"",height:"",topheight:"",toptitle:"每日心语",downOption:{auto:!0},upOption:{auto:!1,noMoreSize:4,toTop:{src:""},empty:{tip:"~ 空空如也 ~"}}}},filters:{formatDate:function(n){var t=new Date(1e3*n),e=t.getFullYear(),i=t.getMonth()+1;i=i<10?"0"+i:i;var a=t.getDate();a=a<10?"0"+a:a;var o=t.getHours();o=o<10?"0"+o:o;var s=t.getMinutes();s=s<10?"0"+s:s;var c=t.getSeconds();return c=c<10?"0"+c:c,e+"-"+i+"-"+a}},props:{tabs:Array},mounted:function(){this.topheight=this.StatusBar,this.height=uni.getSystemInfoSync().windowHeight+"px"},methods:{downCallback:function(n){this.mescroll.resetUpScroll(),this.mescroll.endSuccess()},upCallback:function(n){var t=this;t.supplylist(n)},supplylist:function(n){var t=this,e=this;uni.request({url:"https://www.hongrensutui.com/api/index/sharelist",data:{pagenum:n.num,pagesize:n.size},method:"POST",success:function(i){var a=i.data.data.list,o=a.length;1==n.num&&(e.goods=[]),e.goods=e.goods.concat(i.data.data.list),t.mescroll.endByPage(o),setTimeout((function(){t.mescroll.endSuccess(o)}),20)},fail:function(n){e.mescroll.endErr()}})},imgMap:function(n){uni.previewImage({urls:[n]})},copy:function(n,t){uni.showModal({content:n,confirmText:"复制内容",success:function(){uni.setClipboardData({data:n,success:function(){uni.showToast({title:"复制成功"})}}),uni.showModal({title:"长按图片，保存到手机，就可以发朋友圈啦！"})}})},onxiazai:function(n){uni.downloadFile({url:n,success:function(n){200===n.statusCode&&uni.saveImageToPhotosAlbum({filePath:n.tempFilePath,success:function(){uni.showToast({title:"保存成功",icon:"none"})},fail:function(){uni.showToast({title:"保存失败，请稍后重试",icon:"none"})}})}})},details:function(n,t){uni.navigateTo({url:"/pages/supply/details?id="+n+"&mid="+t})}}};t.default=c},ae63:function(n,t,e){var i=e("24fb");t=i(!1),t.push([n.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/*数据列表*/.sharelist[data-v-129c959e]{margin-bottom:3vw;padding:3vw;display:-webkit-box;display:-webkit-flex;display:flex;background-color:#fdfdfd;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.sharelist .logo[data-v-129c959e]{width:10vw}.sharelist .logo img[data-v-129c959e]{width:10vw;height:10vw;border-radius:50%}.sharelist .content[data-v-129c959e]{-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:0 2vw}.sharelist .content .title[data-v-129c959e]{position:relative}.sharelist .content .title .name[data-v-129c959e]{line-height:10vw}.sharelist .content .title .cu-tag[data-v-129c959e]{position:relative;top:-.4vw;margin-left:2vw}.sharelist .content .title .share[data-v-129c959e]{position:absolute;right:0;top:1.6vw}.sharelist .content .cont[data-v-129c959e]{font-size:3.5vw;padding-bottom:3vw}.sharelist .content .img img[data-v-129c959e]{width:75px;height:133px}",""]),n.exports=t},dc75:function(n,t,e){"use strict";e.r(t);var i=e("1736"),a=e("79b6");for(var o in a)"default"!==o&&function(n){e.d(t,n,(function(){return a[n]}))}(o);e("f9e2");var s,c=e("f0c5"),l=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"129c959e",null,!1,i["a"],s);t["default"]=l.exports},f9e2:function(n,t,e){"use strict";var i=e("1976"),a=e.n(i);a.a}}]);