| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-reply"],{"04bc":function(t,e,a){"use strict";a.r(e);var n=a("aff2"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"0bc4":function(t,e,a){"use strict";function n(t){var e=/(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)|(^[1-9]\d{5}\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{2}$)/;return!1!==e.test(t)||(console.log(t),!1)}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;"string"==typeof t&&(t=(+t).toFixed(2)),"number"==typeof t&&(t=t.toFixed(2));var e=t.split(""),a=e.reverse().map((function(t,e,a){return e%3==0&&e/3>1&&e!=a.length?t+",":t}));return a=a.reverse().join(""),a}function o(t){var e=(new Date).getTime(),a=t-e;a<0&&(a*=-1);var n=Math.floor(a/1e3/60/60/24),i=Math.floor(a/1e3/60/60%24),o=Math.floor(a/1e3/60%60),r=Math.floor(a/1e3%60);return{hours:i,minutes:o,seconds:r,day:n}}function r(t){for(var e=13-(t+"").length,a=1,n=0;n<e;n++)a+="0";a=parseInt(a);var i=new Date(parseInt(t)*a),o=i.getFullYear(),r=i.getMonth()+1,c=i.getDate(),s=i.getHours(),d=i.getMinutes(),l=i.getSeconds();return o+"-"+r+"-"+c+" "+s+":"+d+":"+l}function c(t,e,a){if(!t||"string"!=typeof t)return!1;for(var n=document.getElementsByTagName(e),i=!1,o="script"==e?"src":"href",r=0;r<n.length;r++)n[r].getAttribute(o)==t&&(i=!0);if(!i){var c=document.getElementsByTagName("head")[0],s=document.createElement(e);"script"==e&&(s.type="text/javascript"),"link"==e&&(s.rel="stylesheet"),s.setAttribute(o,t),a&&(s.onload=s.onreadystatechange=function(){this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(a(),s.onload=s.onreadystatechange=null)}),c.appendChild(s)}}a("d81d"),a("26e9"),a("e25e"),a("ac1f"),a("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.isCardNo=n,e.getMoneyStyle=i,e.timeComputed=o,e.getTime=r,e.getWwwJs=c},"0cdd":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var n={uniLoadMore:a("d47b").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"container"},[a("v-uni-swiper",{staticClass:"swiper-box"},[a("v-uni-swiper-item",[a("v-uni-scroll-view",{staticClass:"list-scroll-content",attrs:{"scroll-y":!0},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.loadDate.apply(void 0,arguments)}}},[t._l(t.list,(function(e,n){return a("v-uni-view",{key:n,staticClass:"eva-box"},[a("v-uni-view",{staticClass:"flex_item"},[a("v-uni-image",{staticClass:"portrait",attrs:{src:e.avatar,mode:"aspectFill"}}),a("v-uni-view",{staticClass:"right"},[a("v-uni-view",{staticClass:"flex"},[a("v-uni-view",{staticClass:"name"},[t._v(t._s(e.name))]),a("v-uni-view",{staticClass:"time"},[t._v(t._s(e.comment_time))])],1),a("v-uni-view",{staticClass:"Rate"},[a("uniRate",{attrs:{activeColor:"#F10F3C",disabled:"false",text:"1",size:"10",margin:"0",value:e.score}})],1)],1)],1),a("v-uni-view",{staticClass:"content-box"},[a("v-uni-text",{staticClass:"con"},[t._v(t._s(e.comment))]),a("v-uni-view",{staticClass:"con_box"},t._l(e.pics,(function(e){return a("v-uni-view",{staticClass:"con_image"},[a("v-uni-image",{attrs:{src:e},on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.imgInfo(e)}}})],1)})),1)],1)],1)})),a("uni-load-more",{attrs:{status:t.loadingType}})],2)],1)],1)],1)},o=[]},"13a2":function(t,e,a){"use strict";a.r(e);var n=a("0cdd"),i=a("5650");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("3f88b");var r,c=a("f0c5"),s=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"6ab6cc8a",null,!1,n["a"],r);e["default"]=s.exports},"15a1":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var n={uniIcons:a("e4d9").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"uni-rate"},t._l(t.stars,(function(e,n){return a("v-uni-view",{key:n,staticClass:"uni-rate__icon",style:{marginLeft:t.margin+"px"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t._onClick(n)}}},[a("uni-icons",{attrs:{color:t.color,size:t.size,type:t.isFill?"star-filled":"star"}}),a("v-uni-view",{staticClass:"uni-rate__icon-on",style:{width:e.activeWitch,top:-t.size/2+"px"}},[a("uni-icons",{attrs:{color:t.activeColor,size:t.size,type:"star-filled"}})],1)],1)})),1)},o=[]},"1b76":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"uni-load-more",props:{status:{type:String,default:"more"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=n},"20b1":function(t,e,a){"use strict";a.r(e);var n=a("15a1"),i=a("04bc");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("2a75");var r,c=a("f0c5"),s=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"289a27ba",null,!1,n["a"],r);e["default"]=s.exports},"2a75":function(t,e,a){"use strict";var n=a("56e0"),i=a.n(n);i.a},"3f88b":function(t,e,a){"use strict";var n=a("f3a1"),i=a.n(n);i.a},"4c5b":function(t,e,a){"use strict";var n=a("4ea4");a("99af"),a("d81d"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("96cf");var i=n(a("1da1")),o=a("b0d5"),r=(n(a("d47b")),n(a("20b1"))),c=a("0bc4"),s={components:{uniRate:r.default},watch:{},data:function(){return{list:[],uid:"",limit:10,page:1,loadingType:"more",loading:0}},onPullDownRefresh:function(){this.page=1,this.getDoctorList("refresh")},onLoad:function(t){this.uid=t.id,this.loadDate()},methods:{loadDate:function(t){var e=this;return(0,i.default)(regeneratorRuntime.mark((function a(){var n;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(n=e,"refresh"===t){a.next=9;break}if("nomore"!==n.loadingType){a.next=6;break}return a.abrupt("return");case 6:n.loadingType="loading";case 7:a.next=10;break;case 9:n.loadingType="more";case 10:(0,o.allComment)({page:n.page,limit:n.limit,uid:n.uid}).then((function(e){var a=e.data;"refresh"===t&&(n.list=[]);var i=a.map((function(t){return t.comment_time=(0,c.getTime)(t.comment_time),t}));n.list=n.list.concat(i),n.limit==i.length?(n.page++,n.loadingType="more"):n.loadingType="nomore","refresh"===t&&(1==n.loading?uni.hideLoading():uni.stopPullDownRefresh())})).catch((function(t){console.log(t),n.loadingType="nomore",uni.hideLoading()}));case 11:case"end":return a.stop()}}),a)})))()},imgInfo:function(t){var e=[];e.push(t),console.log(e),uni.previewImage({current:t,loop:!1,urls:e,indicator:"default"})}}};e.default=s},5399:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,".uni-load-more[data-v-5516c8de]{display:flex;flex-direction:row;height:%?80?%;align-items:center;justify-content:center}.uni-load-more__text[data-v-5516c8de]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-5516c8de]{height:24px;width:24px;margin-right:10px}.uni-load-more__img>.load[data-v-5516c8de]{position:absolute}.uni-load-more__img>.load .item[data-v-5516c8de]{width:6px;height:2px;border-top-left-radius:1px;border-bottom-left-radius:1px;background:#999;position:absolute;opacity:.2;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:load-data-v-5516c8de 1.56s ease infinite;animation:load-data-v-5516c8de 1.56s ease infinite}.uni-load-more__img>.load .item[data-v-5516c8de]:nth-child(1){-webkit-transform:rotate(90deg);transform:rotate(90deg);top:2px;left:9px}.uni-load-more__img>.load .item[data-v-5516c8de]:nth-child(2){-webkit-transform:rotate(180deg);transform:rotate(180deg);top:11px;right:0}.uni-load-more__img>.load .item[data-v-5516c8de]:nth-child(3){-webkit-transform:rotate(270deg);transform:rotate(270deg);bottom:2px;left:9px}.uni-load-more__img>.load .item[data-v-5516c8de]:nth-child(4){top:11px;left:0}.load1[data-v-5516c8de],\n.load2[data-v-5516c8de],\n.load3[data-v-5516c8de]{height:24px;width:24px}.load2[data-v-5516c8de]{-webkit-transform:rotate(30deg);transform:rotate(30deg)}.load3[data-v-5516c8de]{-webkit-transform:rotate(60deg);transform:rotate(60deg)}.load1 .item[data-v-5516c8de]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.load2 .item[data-v-5516c8de]:nth-child(1){-webkit-animation-delay:.13s;animation-delay:.13s}.load3 .item[data-v-5516c8de]:nth-child(1){-webkit-animation-delay:.26s;animation-delay:.26s}.load1 .item[data-v-5516c8de]:nth-child(2){-webkit-animation-delay:.39s;animation-delay:.39s}.load2 .item[data-v-5516c8de]:nth-child(2){-webkit-animation-delay:.52s;animation-delay:.52s}.load3 .item[data-v-5516c8de]:nth-child(2){-webkit-animation-delay:.65s;animation-delay:.65s}.load1 .item[data-v-5516c8de]:nth-child(3){-webkit-animation-delay:.78s;animation-delay:.78s}.load2 .item[data-v-5516c8de]:nth-child(3){-webkit-animation-delay:.91s;animation-delay:.91s}.load3 .item[data-v-5516c8de]:nth-child(3){-webkit-animation-delay:1.04s;animation-delay:1.04s}.load1 .item[data-v-5516c8de]:nth-child(4){-webkit-animation-delay:1.17s;animation-delay:1.17s}.load2 .item[data-v-5516c8de]:nth-child(4){-webkit-animation-delay:1.3s;animation-delay:1.3s}.load3 .item[data-v-5516c8de]:nth-child(4){-webkit-animation-delay:1.43s;animation-delay:1.43s}@-webkit-keyframes load-data-v-5516c8de{0%{opacity:1}100%{opacity:.2}}",""]),t.exports=e},5650:function(t,e,a){"use strict";a.r(e);var n=a("4c5b"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"56e0":function(t,e,a){var n=a("e733");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("36cdd6ea",n,!0,{sourceMap:!1,shadowMode:!1})},"6c58":function(t,e,a){"use strict";var n=a("f006"),i=a.n(n);i.a},78443:function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"uni-load-more"},[a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"loading"===t.status&&t.showIcon,expression:"status === 'loading' && showIcon"}],staticClass:"uni-load-more__img"},[a("v-uni-view",{staticClass:"load1 load"},[a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}})],1),a("v-uni-view",{staticClass:"load2 load"},[a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}})],1),a("v-uni-view",{staticClass:"load3 load"},[a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}})],1)],1),a("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},o=[]},aff2:function(t,e,a){"use strict";var n=a("4ea4");a("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n(a("e4d9")),o={name:"UniRate",components:{uniIcons:i.default},props:{isFill:{type:[Boolean,String],default:!0},color:{type:String,default:"#ececec"},activeColor:{type:String,default:"#ffca3e"},size:{type:[Number,String],default:24},value:{type:[Number,String],default:0},max:{type:[Number,String],default:5},margin:{type:[Number,String],default:0},disabled:{type:[Boolean,String],default:!1}},data:function(){return{valueSync:""}},computed:{stars:function(){for(var t=this.valueSync?this.valueSync:0,e=[],a=Math.floor(t),n=Math.ceil(t),i=0;i<this.max;i++)a>i?e.push({activeWitch:"100%"}):n-1===i?e.push({activeWitch:100*(t-a)+"%"}):e.push({activeWitch:"0"});return console.log("starList[4]: "+e[4].activeWitch),e}},created:function(){this.valueSync=Number(this.value)},methods:{_onClick:function(t){this.disabled||(this.valueSync=t+1,this.$emit("change",{value:this.valueSync}))}}};e.default=o},b0d5:function(t,e,a){"use strict";var n=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getDoctorList=o,e.getDoctor=r,e.calculate=c,e.createOrder=s,e.allComment=d,e.getDocterTypeList=l;var i=n(a("0966"));function o(t){return(0,i.default)({url:"/api/user.user/getDoctorList",method:"get",data:t})}function r(t){return(0,i.default)({url:"/api/user.user/getDoctor",method:"post",data:t})}function c(t){return(0,i.default)({url:"/api/object.order/calculate",method:"post",data:t})}function s(t){return(0,i.default)({url:"/api/object.order/createOrder",method:"post",data:t})}function d(t){return(0,i.default)({url:"/api/user.user/allComment",method:"post",data:t})}function l(t){return(0,i.default)({url:"/api/system.type/getList",method:"get",data:t})}},d47b:function(t,e,a){"use strict";a.r(e);var n=a("78443"),i=a("da12");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("6c58");var r,c=a("f0c5"),s=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"5516c8de",null,!1,n["a"],r);e["default"]=s.exports},da12:function(t,e,a){"use strict";a.r(e);var n=a("1b76"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},e733:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.uni-rate[data-v-289a27ba]{display:flex;line-height:0;font-size:0;flex-direction:row}.uni-rate__icon[data-v-289a27ba]{position:relative;line-height:0;font-size:0}.uni-rate__icon-on[data-v-289a27ba]{overflow:hidden;position:absolute;top:0;left:0;line-height:1;text-align:left}',""]),t.exports=e},f006:function(t,e,a){var n=a("5399");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("73707656",n,!0,{sourceMap:!1,shadowMode:!1})},f0e6:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-6ab6cc8a]{background:#fff;height:100%}uni-page-body .container[data-v-6ab6cc8a]{height:100%;padding:%?25?% %?25?%}uni-page-body .container .swiper-box[data-v-6ab6cc8a]{height:100%}uni-page-body .container .swiper-box .list-scroll-content[data-v-6ab6cc8a]{height:100%}.reply_btn[data-v-6ab6cc8a]{padding:%?15?% %?0?%;position:fixed}.reply_btn .btn[data-v-6ab6cc8a]{padding:%?10?% %?25?%;font-size:%?24?%;background:#f4f4f4;margin-right:%?25?%}.reply_btn .current[data-v-6ab6cc8a]{background-color:#e93323!important;color:#fff!important}.eva-box[data-v-6ab6cc8a]{padding:%?30?% 0}.eva-box .portrait[data-v-6ab6cc8a]{flex-shrink:0;width:%?80?%;height:%?80?%;border-radius:100px}.eva-box .right[data-v-6ab6cc8a]{flex:1;display:flex;flex-direction:column;font-size:%?28?%;color:#606266;padding-left:%?26?%}.eva-box .Rate[data-v-6ab6cc8a]{padding-top:%?25?%}.content-box[data-v-6ab6cc8a]{padding:%?20?% 0}.content-box .con[data-v-6ab6cc8a]{font-size:%?28?%;color:#303133}.content-box .bot[data-v-6ab6cc8a]{display:flex;justify-content:space-between;font-size:%?24?%;color:#909399}.con_image[data-v-6ab6cc8a]{width:%?130?%;height:%?130?%;display:inline-block;padding:%?15?%}.con_image uni-image[data-v-6ab6cc8a]{width:100%;height:100%}body.?%PAGE?%[data-v-6ab6cc8a]{background:#fff}',""]),t.exports=e},f3a1:function(t,e,a){var n=a("f0e6");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("733b11b4",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
|