cxybn/public/mobile/static/js/pages-all_comments-all_comments.a0dbaf0a.js
2023-10-23 16:11:09 +08:00

1 line
24 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-all_comments-all_comments"],{"0106":function(t,e,a){"use strict";a.r(e);var n=a("c236"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"0461":function(t,e,a){"use strict";a.r(e);var n=a("cbf9"),i=a("1f35");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("a2b8");var r=a("f0c5"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"07bfc4b2",null,!1,n["a"],void 0);e["default"]=s.exports},"08cb":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a9e3"),a("a630"),a("3ca3");var n={props:{color:String,vertical:Boolean,type:{type:String,default:"spinner"},size:{type:Number,default:40},textSize:String},data:function(){return{array12:Array.from({length:12})}}};e.default=n},"091a":function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'[data-v-13a5beb4]:host{font-size:0;line-height:1}.loading[data-v-13a5beb4]{display:inline-flex;align-items:center;justify-content:center;color:#c8c9cc}.loading__spinner[data-v-13a5beb4]{position:relative;box-sizing:border-box;width:%?45?%;max-width:100%;max-height:100%;height:%?45?%;-webkit-animation:rotate-data-v-13a5beb4 .8s linear infinite;animation:rotate-data-v-13a5beb4 .8s linear infinite}.loading__spinner--spinner[data-v-13a5beb4]{-webkit-animation-timing-function:steps(12);animation-timing-function:steps(12)}.loading__spinner--circular[data-v-13a5beb4]{border:%?2?% solid transparent;border-top-color:initial;border-radius:100%}.loading__text[data-v-13a5beb4]{margin-left:%?16?%;color:#969799;font-size:%?28?%;line-height:%?40?%}.loading__text[data-v-13a5beb4]:empty{display:none}.loading--vertical[data-v-13a5beb4]{-webkit-flex-direction:column;flex-direction:column}.loading--vertical .loading__text[data-v-13a5beb4]{margin:%?16?% 0 0}.loading__dot[data-v-13a5beb4]{position:absolute;top:0;left:0;width:100%;height:100%}.loading__dot[data-v-13a5beb4]:before{display:block;width:%?4?%;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.loading__dot[data-v-13a5beb4]:first-of-type{-webkit-transform:rotate(30deg);transform:rotate(30deg);opacity:1}.loading__dot[data-v-13a5beb4]:nth-of-type(2){-webkit-transform:rotate(60deg);transform:rotate(60deg);opacity:.9375}.loading__dot[data-v-13a5beb4]:nth-of-type(3){-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:.875}.loading__dot[data-v-13a5beb4]:nth-of-type(4){-webkit-transform:rotate(120deg);transform:rotate(120deg);opacity:.8125}.loading__dot[data-v-13a5beb4]:nth-of-type(5){-webkit-transform:rotate(150deg);transform:rotate(150deg);opacity:.75}.loading__dot[data-v-13a5beb4]:nth-of-type(6){-webkit-transform:rotate(180deg);transform:rotate(180deg);opacity:.6875}.loading__dot[data-v-13a5beb4]:nth-of-type(7){-webkit-transform:rotate(210deg);transform:rotate(210deg);opacity:.625}.loading__dot[data-v-13a5beb4]:nth-of-type(8){-webkit-transform:rotate(240deg);transform:rotate(240deg);opacity:.5625}.loading__dot[data-v-13a5beb4]:nth-of-type(9){-webkit-transform:rotate(270deg);transform:rotate(270deg);opacity:.5}.loading__dot[data-v-13a5beb4]:nth-of-type(10){-webkit-transform:rotate(300deg);transform:rotate(300deg);opacity:.4375}.loading__dot[data-v-13a5beb4]:nth-of-type(11){-webkit-transform:rotate(330deg);transform:rotate(330deg);opacity:.375}.loading__dot[data-v-13a5beb4]:nth-of-type(12){-webkit-transform:rotate(1turn);transform:rotate(1turn);opacity:.3125}@-webkit-keyframes rotate-data-v-13a5beb4{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-data-v-13a5beb4{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),t.exports=e},"0cf5":function(t,e,a){"use strict";a.r(e);var n=a("ab33"),i=a("0106");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("5447");var r=a("f0c5"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"14952039",null,!1,n["a"],void 0);e["default"]=s.exports},"115b":function(t,e,a){"use strict";a.r(e);var n=a("c92f"),i=a("ba06");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("4b5e");var r=a("f0c5"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"330049b4",null,!1,n["a"],void 0);e["default"]=s.exports},1825:function(t,e,a){var n=a("f726");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("20564052",n,!0,{sourceMap:!1,shadowMode:!1})},"1f35":function(t,e,a){"use strict";a.r(e);var n=a("eea4"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"1f90":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{}},components:{},props:{status:{type:String,default:"loading"},errorText:{type:String,default:"加载失败,点击重新加载"},loadingText:{type:String,default:"加载中..."},finishedText:{type:String,default:"我可是有底线的~"},slotEmpty:{type:Boolean,default:!1},color:{type:String,default:"#666"}},methods:{onRefresh:function(){this.$emit("refresh")}}};e.default=n},"1fcb":function(t,e,a){"use strict";var n=a("90f9"),i=a.n(n);i.a},3646:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,".loading-footer[data-v-6dc30303]{padding:%?30?% 0;color:#666}",""]),t.exports=e},"40e2":function(t,e,a){"use strict";var n=a("e54e"),i=a.n(n);i.a},"4b5e":function(t,e,a){"use strict";var n=a("1825"),i=a.n(n);i.a},5447:function(t,e,a){"use strict";var n=a("7ea1"),i=a.n(n);i.a},"647b":function(t,e,a){"use strict";a.r(e);var n=a("6779"),i=a("68fa");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("1fcb");var r=a("f0c5"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"13a5beb4",null,!1,n["a"],void 0);e["default"]=s.exports},"649e7":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={loading:a("647b").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"loading-footer row-center",style:"color: "+t.color},["loading"===t.status?a("v-uni-view",{staticClass:"loading row"},[a("loading",{staticClass:"mr20",attrs:{color:t.color}}),a("v-uni-text",{style:"color: "+t.color},[t._v(t._s(t.loadingText))])],1):t._e(),"finished"===t.status?a("v-uni-view",{staticClass:"finished"},[t._v(t._s(t.finishedText))]):t._e(),"error"===t.status?a("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onRefresh.apply(void 0,arguments)}}},[t._v(t._s(t.errorText))]):t._e(),"empty"===t.status?a("v-uni-view",{staticClass:"empty"},[t.slotEmpty?t._t("empty"):a("v-uni-text",[t._v("暂无数据")])],2):t._e()],1)},o=[]},6779:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{class:"loading "+(t.vertical?"loading--vertical":"")},[a("v-uni-view",{class:"loading__spinner loading__spinner--"+t.type,style:{color:t.color,width:t.size+"rpx",height:t.size+"rpx"}},t._l(t.array12,(function(e,n){return"spinner"===t.type?a("v-uni-view",{key:n,staticClass:"loading__dot"}):t._e()})),1),a("v-uni-view",{staticClass:"loading__text",style:{"font-size":t.textSize+"rpx",color:t.color}},[t._t("default")],2)],1)},i=[]},"68fa":function(t,e,a){"use strict";a.r(e);var n=a("08cb"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"6ff3":function(t,e,a){"use strict";a.r(e);var n=a("1f90"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"7ea1":function(t,e,a){var n=a("f43a");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("87cdc720",n,!0,{sourceMap:!1,shadowMode:!1})},"90f9":function(t,e,a){var n=a("091a");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("a155f2da",n,!0,{sourceMap:!1,shadowMode:!1})},a2b8:function(t,e,a){"use strict";var n=a("e648"),i=a.n(n);i.a},ab33: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={uRate:a("115b").default,customImage:a("0461").default,loadingFooter:a("e9a8").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"all_comments"},[t.isEmpty?t._e():a("v-uni-view",{staticClass:"header bg-white"},[a("v-uni-view",{staticClass:"title xs"},[a("v-uni-text",{staticClass:"lighter mr10"},[t._v("商品好评率")]),a("v-uni-text",{staticClass:"primary"},[t._v(t._s(t.percent))])],1),a("v-uni-view",{staticClass:"tab row"},[t._l(t.categoryList,(function(e,n){return[e.count?a("v-uni-view",{key:n+"_"+n+"_0",class:"tab-item xs mr10 br60 mb20 "+(t.type==e.id?"bg-primary white":"common-bg"),attrs:{"data-id":e.id},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onChangType.apply(void 0,arguments)}}},[t._v(t._s(e.name)+"("+t._s(e.count)+")")]):t._e()]}))],2)],1),a("v-uni-view",{staticClass:"main bg-white"},[a("v-uni-view",{staticClass:"evaluation-list"},t._l(t.commentList,(function(e,n){return a("v-uni-view",{key:n,staticClass:"evaluation-item"},[a("v-uni-view",{staticClass:"user-info row"},[a("v-uni-image",{staticClass:"avatar mr20",attrs:{src:e.avatar}}),a("v-uni-view",{staticClass:"user-name md mr10"},[t._v(t._s(e.nickname))]),a("u-rate",{attrs:{disabled:!0,size:"26rpx",color:"#FF2C3C"},model:{value:e.goods_comment,callback:function(a){t.$set(e,"goods_comment",a)},expression:"item.goods_comment"}})],1),a("v-uni-view",{staticClass:"muted xs mt10"},[a("v-uni-text",{staticClass:"mr20"},[t._v(t._s(e.create_time))]),a("v-uni-text",{directives:[{name:"show",rawName:"v-show",value:e.spec_value_str,expression:"item.spec_value_str"}]},[t._v(t._s(e.spec_value_str))])],1),e.comment?a("v-uni-view",{staticClass:"dec mt20"},[t._v(t._s(e.comment))]):t._e(),e.image.length?a("v-uni-view",{staticClass:"img mt20 row",staticStyle:{"flex-wrap":"wrap"}},t._l(e.image,(function(n,i){return a("v-uni-view",{key:i,staticClass:"img-item mr10 mb20",attrs:{"data-current":n,"data-uri":e.image},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.previewImage.apply(void 0,arguments)}}},[a("custom-image",{staticClass:"goods-img",attrs:{width:"160rpx",fit:"cover",height:"160rpx",radius:"6rpx","lazy-load":!0,src:n}})],1)})),1):t._e(),e.reply?a("v-uni-view",{staticClass:"seller-recall-container common-bg mt10"},[a("v-uni-view",{staticClass:"lighter nr",staticStyle:{"word-wrap":"break-word"}},[t._v("商家回复:"),a("span",{staticClass:"normal two-txt-cut"},[t._v(t._s(e.reply))])])],1):t._e()],1)})),1)],1)],1),a("loading-footer",{attrs:{status:t.status,slotEmpty:!0}},[a("v-uni-view",{staticClass:"column-center",staticStyle:{"padding-top":"200rpx"},attrs:{slot:"empty"},slot:"empty"},[a("v-uni-image",{staticClass:"img-null",attrs:{src:"/static/images/goods_null.png"}}),a("v-uni-text",{staticClass:"lighter"},[t._v("暂无评价")])],1)],1)],1)},o=[]},ba06:function(t,e,a){"use strict";a.r(e);var n=a("eac57"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},c236:function(t,e,a){"use strict";(function(t){a("7a82");var n=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d3b7"),a("14d9");var i=n(a("2909")),o=n(a("c7eb")),r=n(a("1da1")),s=a("2cf6"),c=a("93c3"),l={data:function(){return{status:c.loadingType.LOADING,page:1,type:"",commentList:[],categoryList:[],percent:"",isEmpty:!0}},components:{},props:{},onLoad:function(){var t=(0,r.default)((0,o.default)().mark((function t(e){return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.id=e.id,t.next=3,this.getCommentCategoryFun();case 3:this.getCommentListFun();case 4:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}(),onReady:function(){},onShow:function(){},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){},onReachBottom:function(){this.getCommentListFun()},methods:{onChangType:function(t){var e=this,a=t.currentTarget.dataset.id,n=this.type;a!=n&&(this.type=a,this.page=1,this.commentList=[],this.status=c.loadingType.LOADING,this.$nextTick((function(){return e.getCommentListFun()})))},getCommentCategoryFun:function(){var t=this;return new Promise((function(e){(0,s.getCommentCategory)(t.id).then((function(a){var n=a.code,i=a.data,o=i.comment,r=i.percent;1==n&&(t.categoryList=o,t.percent=r,t.type=o[0].id,t.$nextTick((function(){return e()})))}))}))},getCommentListFun:function(){var e=this,a=this.page,n=this.status,o=this.commentList,r=this.type;n!=c.loadingType.FINISHED&&(0,s.getCommentList)({id:r,goods_id:this.id,page_no:a}).then((function(a){if(1==a.code){var n=a.data,r=n.list,s=n.more;o.push.apply(o,(0,i.default)(r)),e.commentList=o,e.page++,e.$nextTick((function(){s||(e.status=c.loadingType.FINISHED),o.length<=0?e.status=c.loadingType.EMPTY:(t.log("commentList false"),e.isEmpty=!1)}))}}))},previewImage:function(t){var e=t.currentTarget.dataset,a=e.current,n=e.uri,i=n;uni.previewImage({current:a,urls:i})}}};e.default=l}).call(this,a("5a52")["default"])},c92f: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={uIcon:a("af4f").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"u-rate",attrs:{id:t.elId},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.touchMove.apply(void 0,arguments)}}},t._l(t.count,(function(e,n){return a("v-uni-view",{key:n,staticClass:"u-star-wrap",class:[t.elClass]},[a("u-icon",{attrs:{name:t.activeIndex>n?t.elActiveIcon:t.inactiveIcon,color:t.activeIndex>n?t.elActiveColor:t.inactiveColor,"custom-style":{fontSize:t.size+"rpx",padding:"0 "+t.gutter/2+"rpx"},"custom-prefix":t.customPrefix,"show-decimal-icon":t.showDecimalIcon(n),percent:t.decimal,"inactive-color":t.inactiveColor},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click(n+1,e)}}})],1)})),1)},o=[]},cbf9: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={uIcon:a("af4f").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{class:{"custom-image":!0,"image-round":t.round},style:[t.viewStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick.apply(void 0,arguments)}}},[t.error?t._e():a("v-uni-image",{staticClass:"image",attrs:{src:t.src,mode:t.mode,"lazy-load":t.lazyLoad,"show-menu-by-longpress":t.showMenuByLongpress},on:{load:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoaded.apply(void 0,arguments)},error:function(e){arguments[0]=e=t.$handleEvent(e),t.onErrored.apply(void 0,arguments)}}}),t.loading&&t.showLoading?a("v-uni-view",{staticClass:"loading-wrap image"},[t.useLoadingSlot?t._t("loading"):a("u-icon",{attrs:{color:"#aaa",name:"photo-fill",size:"45"}})],2):t._e(),t.error&&t.showError?a("v-uni-view",{staticClass:"error-wrap image"},[t.useErrorSlot?t._t("error"):a("u-icon",{attrs:{color:"#aaa",name:"error-circle-fill",size:"45"}}),a("v-uni-text",{staticClass:"sm"},[t._v("加载失败")])],2):t._e()],1)},o=[]},e54e:function(t,e,a){var n=a("3646");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("632fece0",n,!0,{sourceMap:!1,shadowMode:!1})},e648:function(t,e,a){var n=a("f630");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("4dada416",n,!0,{sourceMap:!1,shadowMode:!1})},e9a8:function(t,e,a){"use strict";a.r(e);var n=a("649e7"),i=a("6ff3");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("40e2");var r=a("f0c5"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"6dc30303",null,!1,n["a"],void 0);e["default"]=s.exports},eac57:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a9e3"),a("e25e");var n={name:"u-rate",props:{value:{type:[Number,String],default:-1},count:{type:[Number,String],default:5},current:{type:[Number,String],default:0},disabled:{type:Boolean,default:!1},size:{type:[Number,String],default:32},inactiveColor:{type:String,default:"#b2b2b2"},activeColor:{type:String,default:"#FA3534"},gutter:{type:[Number,String],default:10},minCount:{type:[Number,String],default:0},allowHalf:{type:Boolean,default:!1},activeIcon:{type:String,default:"star-fill"},inactiveIcon:{type:String,default:"star"},customPrefix:{type:String,default:"uicon"},colors:{type:Array,default:function(){return[]}},icons:{type:Array,default:function(){return[]}}},data:function(){return{elId:this.$u.guid(),elClass:this.$u.guid(),starBoxLeft:0,activeIndex:-1!=this.value?this.value:this.current,starWidth:0,starWidthArr:[]}},watch:{current:function(t){this.activeIndex=t},value:function(t){this.activeIndex=t}},computed:{decimal:function(){return this.disabled?100*this.activeIndex%100:this.allowHalf?50:void 0},elActiveIcon:function(){var t=this.icons.length;if(t&&t<=this.count){var e=Math.round(this.activeIndex/Math.round(this.count/t));return e<1?this.icons[0]:e>t?this.icons[t-1]:this.icons[e-1]}return this.activeIcon},elActiveColor:function(){var t=this.colors.length;if(t&&t<=this.count){var e=Math.round(this.activeIndex/Math.round(this.count/t));return e<1?this.colors[0]:e>t?this.colors[t-1]:this.colors[e-1]}return this.activeColor}},methods:{getElRectById:function(){var t=this;this.$u.getRect("#"+this.elId).then((function(e){t.starBoxLeft=e.left}))},getElRectByClass:function(){var t=this;this.$u.getRect("."+this.elClass).then((function(e){t.starWidth=e.width;for(var a=0;a<t.count;a++)t.starWidthArr[a]=(a+1)*t.starWidth}))},touchMove:function(t){if(!this.disabled&&t.changedTouches[0]){var e=t.changedTouches[0].pageX,a=e-this.starBoxLeft;a<=0&&(this.activeIndex=0);var n=Math.ceil(a/this.starWidth);this.activeIndex=n>this.count?this.count:n,this.activeIndex<this.minCount&&(this.activeIndex=this.minCount),this.emitEvent()}},click:function(t,e){this.disabled||(this.allowHalf,1==t?1==this.activeIndex?this.activeIndex=0:this.activeIndex=1:this.activeIndex=t,this.activeIndex<this.minCount&&(this.activeIndex=this.minCount),this.emitEvent())},emitEvent:function(){this.$emit("change",this.activeIndex),-1!=this.value&&this.$emit("input",this.activeIndex)},showDecimalIcon:function(t){return this.disabled&&parseInt(this.activeIndex)===t}},mounted:function(){this.getElRectById(),this.getElRectByClass()}};e.default=n},eea4:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{src:{type:String},round:Boolean,width:{type:null},height:{type:null},radius:null,lazyLoad:{type:Boolean,default:!0},useErrorSlot:Boolean,useLoadingSlot:Boolean,showMenuByLongpress:Boolean,mode:{type:String,default:"scaleToFill"},showError:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},customStyle:{type:Object,default:function(){}}},data:function(){return{error:!1,loading:!0,viewStyle:{}}},created:function(){this.setStyle()},methods:{setStyle:function(){var t=this.width,e=this.height,a=this.radius,n={};t&&(n.width=t),e&&(n.height=e),a&&(n["overflow"]="hidden",n["border-radius"]=a),this.viewStyle=n,this.customStyle&&(this.viewStyle=Object.assign(this.viewStyle,this.customStyle))},onLoaded:function(t){this.loading=!1,this.$emit("load",t.detail)},onErrored:function(t){this.error=!1,this.loading=!0,this.$emit("error",t.detail)},onClick:function(t){this.$emit("click",t.detail)}},watch:{src:function(){this.error=!1,this.loading=!0},width:function(){this.setStyle()},height:function(){this.setStyle()}}};e.default=n},f43a:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.all_comments[data-v-14952039]{padding-top:%?20?%}.all_comments .header .title[data-v-14952039]{padding:%?24?% %?26?%;border-bottom:var(--border)}.all_comments .header .tab[data-v-14952039]{padding:%?30?% 0 %?10?% %?20?%;flex-wrap:wrap}.all_comments .header .tab .tab-item[data-v-14952039]{padding:%?9?% %?29?%}.all_comments .common-bg[data-v-14952039]{background-color:#f5f5f5}.all_comments .main .evaluation-list .evaluation-item[data-v-14952039]{padding:%?20?%}.all_comments .main .evaluation-list .evaluation-item[data-v-14952039]:not(:last-of-type){border-bottom:1px solid #e5e5e5}.all_comments .main .evaluation-list .evaluation-item .avatar[data-v-14952039]{width:%?60?%;height:%?60?%;border-radius:50%}.all_comments .main .evaluation-list .evaluation-item .seller-recall-container[data-v-14952039]{padding:%?24?% %?20?%;border-radius:%?12?%}',""]),t.exports=e},f630:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.custom-image[data-v-07bfc4b2]{position:relative;display:block;width:100%;height:100%}.custom-image.image-round[data-v-07bfc4b2]{overflow:hidden;border-radius:50%}.custom-image .image[data-v-07bfc4b2]{display:block;width:100%;height:100%}.custom-image .loading-wrap[data-v-07bfc4b2],\n.custom-image .error-wrap[data-v-07bfc4b2]{position:absolute;top:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#969799;font-size:%?28?%;background-color:#f7f8fa}',""]),t.exports=e},f726:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.u-rate[data-v-330049b4]{display:-webkit-inline-flex;display:inline-flex;align-items:center;margin:0;padding:0}.u-icon[data-v-330049b4]{box-sizing:border-box}',""]),t.exports=e}}]);