pages-mine-liuyan.3bc86daa.js 4.7 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mine-liuyan"],{"1cf8":function(t,e,n){t.exports=n.p+"static/img/empty.f330efae.png"},"246b":function(t,e,n){"use strict";n.r(e);var i=n("b41a"),a=n.n(i);for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"3f71":function(t,e,n){"use strict";n.r(e);var i=n("9f4f"),a=n("246b");for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("78d1");var u,s=n("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"726400be",null,!1,i["a"],u);e["default"]=r.exports},"5b90":function(t,e,n){var i=n("a2dd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("1ef22b22",i,!0,{sourceMap:!1,shadowMode:!1})},"78d1":function(t,e,n){"use strict";var i=n("5b90"),a=n.n(i);a.a},"9f4f":function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"liuyan_content"},[0==t.liuyan.length?i("v-uni-view",{staticClass:"empty"},[i("v-uni-view",{staticClass:"enptyStatus"},[i("v-uni-image",{attrs:{src:n("1cf8"),mode:""}}),i("v-uni-view",{staticClass:"words"},[t._v("暂无内容")])],1)],1):t._e(),i("v-uni-view",{staticClass:"item_wrap"},t._l(t.liuyan,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item"},[i("v-uni-image",{attrs:{src:e.user?e.user.headimg:"",mode:""}}),i("v-uni-view",{staticClass:"info"},[i("v-uni-view",{staticClass:"info_top"},[i("v-uni-view",{staticClass:"name"},[t._v(t._s(e.user?e.user.name:"--"))]),i("v-uni-view",{staticClass:"time"},[t._v(t._s(e.created_at.split(" ")[0]))])],1),i("v-uni-view",{staticClass:"info_content"},[t._v(t._s(e.body))])],1)],1)})),1)],1)},o=[]},a2dd:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \n */.liuyan_content[data-v-726400be]{padding:16px}.liuyan_content .enptyStatus[data-v-726400be]{display:flex;justify-content:center;align-items:center;flex-direction:column;padding:30px 10px}.liuyan_content .enptyStatus uni-image[data-v-726400be]{width:120px;height:150px;margin-top:100px}.liuyan_content .enptyStatus .words[data-v-726400be]{color:#ffae21;font-size:18px;padding-top:18px}.liuyan_content .item_wrap .item[data-v-726400be]{display:flex;padding:8px 0 0;border-bottom:1px solid #f6f8f9}.liuyan_content .item_wrap .item uni-image[data-v-726400be]{width:32px;height:32px;border-radius:50%;margin-right:10px;flex-shrink:0}.liuyan_content .item_wrap .item .info[data-v-726400be]{padding-bottom:8px;width:calc(100% - 42px)}.liuyan_content .item_wrap .item .info .info_top[data-v-726400be]{width:100%;display:flex;justify-content:space-between}.liuyan_content .item_wrap .item .info .name[data-v-726400be]{font-size:14px;color:#333;margin-bottom:4px;line-height:20px}.liuyan_content .item_wrap .item .info .info_content[data-v-726400be]{line-height:22px;font-size:14px;color:#666;margin-bottom:5px;text-align:justify;word-break:break-all}.liuyan_content .item_wrap .item .info .time[data-v-726400be]{color:#999;font-size:13px}.liuyan_content .item_wrap .item .info .huifu_wrap[data-v-726400be]{background-color:#f4f4f4;padding:10px;margin-top:10px}.liuyan_content .item_wrap .item .info .huifu_wrap .huifu[data-v-726400be]{margin-bottom:10px}.liuyan_content .item_wrap .item .info .huifu_wrap .huifu uni-text[data-v-726400be]{color:#333}.liuyan_content .item_wrap .item .info .huifu_wrap .huifu .huifu_name[data-v-726400be]{color:#909399}',""]),t.exports=e},b41a:function(t,e,n){"use strict";var i=n("4ea4");n("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var a=i(n("1da1")),o={data:function(){return{liuyan:[],tea_id:"",page:1,last:!1}},onLoad:function(t){var e=this;return(0,a.default)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.tea_id=t.tea_id,e.get_liuyan();case 2:case"end":return n.stop()}}),n)})))()},onReachBottom:function(){this.last||this.page++,console.log(this.page),this.get_liuyan()},methods:{get_liuyan:function(){var t=this,e={page:this.page};this.$u.get("/mentor/leave-message",e).then((function(e){console.log(e,"liuyan");var n=e.data.list;t.page>1&&0==n.length?(uni.showToast({title:"暂无更多",icon:"none"}),t.last=!0):t.liuyan=t.liuyan.concat(n)}))}}};e.default=o}}]);