You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
xxdj1/unpackage/dist/build/h5/static/js/user-pages-comment.afbd536c.js

1 lines
5.8 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-comment"],{"2fcc":function(t,e,n){"use strict";var a=n("a95d"),i=n.n(a);i.a},"5c3b":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"user-pages-comment"},[t._l(t.list.data,(function(e,a){return n("v-uni-view",{key:a,staticClass:"list-message flex-warp mt-md ml-lg mr-lg pd-lg fill-base radius-16",class:[{"b-1px-t":0!=a}]},[n("v-uni-image",{staticClass:"item-avatar radius",attrs:{src:e.avatarUrl}}),n("v-uni-view",{staticClass:"flex-1 ml-md"},[n("v-uni-view",{staticClass:"flex-between"},[n("v-uni-view",{staticClass:"flex-y-center"},[n("v-uni-view",{staticClass:"f-paragraph c-title mr-md"},[t._v(t._s(e.nickName))]),n("v-uni-view",{staticClass:"flex-warp"},t._l(5,(function(a,i){return n("i",{key:i,staticClass:"iconfont iconyduixingxingshixin",style:{color:i<e.star?t.subColor:"#eee"}})})),0)],1),n("v-uni-view",{staticClass:"f-icontext c-caption"},[t._v(t._s(e.create_time))])],1),n("v-uni-view",{staticClass:"flex-warp mt-sm"},t._l(e.lable_text,(function(e,a){return n("v-uni-view",{key:a,staticClass:"pt-sm pb-sm pl-md pr-md mt-sm mr-sm radius fill-body f-caption c-desc"},[t._v(t._s(e))])})),1),n("v-uni-view",{staticClass:"f-caption c-caption mt-md"},[n("v-uni-text",{staticStyle:{"word-break":"break-all"},attrs:{decode:"emsp"}},[t._v(t._s(e.text))])],1)],1)],1)})),t.loading?n("load-more",{attrs:{noMore:t.list.current_page>=t.list.last_page&&t.list.data.length>0,loading:t.loading}}):t._e(),!t.loading&&t.list.data.length<=0&&1==t.list.current_page?n("abnor"):t._e(),n("v-uni-view",{staticClass:"space-footer"})],2)},i=[]},"6e6c":function(t,e,n){"use strict";n.r(e);var a=n("9036"),i=n.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(s);e["default"]=i.a},9036:function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("99af");var i=a(n("c7eb")),s=a(n("1da1")),r=a(n("5530")),o=n("26cb"),c={components:{},data:function(){return{options:{},param:{page:1,coach_id:""},list:{data:[]},loading:!0,showInd:0,showType:"",lockTap:!1,serviceList:[],commentList:[]}},computed:(0,o.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},userInfo:function(t){return t.user.userInfo},location:function(t){return t.user.location},carList:function(t){return t.order.carList}}),onLoad:function(t){this.$util.showLoading();var e=this.$util.getPage(-1).list.data[t.index].id;this.param.coach_id=e,this.initIndex()},onPullDownRefresh:function(){uni.showNavigationBarLoading(),this.initRefresh(),uni.stopPullDownRefresh()},onReachBottom:function(){this.list.current_page>=this.list.last_page||this.loading||(this.param.page=this.param.page+1,this.loading=!0,this.getList())},methods:(0,r.default)((0,r.default)((0,r.default)({},(0,o.mapActions)(["getCarList"])),(0,o.mapMutations)(["updateUserItem"])),{},{initIndex:function(){var t=arguments,e=this;return(0,s.default)((0,i.default)().mark((function n(){var a;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=t.length>0&&void 0!==t[0]&&t[0],a||!e.$jweixin.isWechat()){n.next=5;break}return n.next=4,e.$jweixin.initJssdk();case 4:e.$jweixin.wxReady((function(){e.$jweixin.hideOptionMenu()}));case 5:return n.next=7,e.getList();case 7:e.$util.setNavigationBarColor({bg:e.primaryColor});case 8:case"end":return n.stop()}}),n)})))()},initRefresh:function(){this.param.page=1,this.initIndex(!0)},getList:function(){var t=this;return(0,s.default)((0,i.default)().mark((function e(){var n,a,s;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.list,a=t.param,e.next=3,t.$api.service.commentList(a);case 3:s=e.sent,1==t.param.page||(s.data=n.data.concat(s.data)),t.list=s,t.loading=!1,t.$util.hideAll();case 7:case"end":return e.stop()}}),e)})))()}})};e.default=c},"90db":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.user-pages-comment .list-message .item-avatar[data-v-404d85f6]{width:%?52?%;height:%?52?%;background:#f4f6f8}.user-pages-comment .list-message .iconfont[data-v-404d85f6]{font-size:%?28?%;margin-right:%?5?%}',""]),t.exports=e},a95d:function(t,e,n){var a=n("90db");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("6f436e06",a,!0,{sourceMap:!1,shadowMode:!1})},e33e:function(t,e,n){"use strict";n.r(e);var a=n("5c3b"),i=n("6e6c");for(var s in i)["default"].indexOf(s)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(s);n("2fcc");var r=n("f0c5"),o=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"404d85f6",null,!1,a["a"],void 0);e["default"]=o.exports}}]);