| 1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([[12,20],{483:function(t,e,o){var content=o(487);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(20).default)("bc98bd04",content,!0,{sourceMap:!1})},485:function(t,e,o){"use strict";o.r(e);o(300);var l={data:function(){return{priceSlice:{}}},components:{},props:{firstSize:{type:Number,default:14},secondSize:{type:Number,default:14},color:{type:String},weight:{type:[String,Number],default:400},price:{type:[String,Number],default:""},showSubscript:{type:Boolean,default:!0},subscriptSize:{type:Number,default:14},lineThrough:{type:Boolean,default:!1}},created:function(){this.priceFormat()},watch:{price:function(t){this.priceFormat()}},methods:{priceFormat:function(){var t=this.price,e={};null!==t&&(t=parseFloat(t),t=String(t).split("."),e.first=t[0],e.second=t[1],this.priceSlice=e)}}},r=(o(486),o(9)),component=Object(r.a)(l,(function(){var t=this,e=t._self._c;return e("span",{class:(t.lineThrough?"line-through":"")+"price-format",style:{color:t.color,"font-weight":t.weight}},[t.showSubscript?e("span",{style:{"font-size":t.subscriptSize+"px","margin-right":"1px"}},[t._v("¥")]):t._e(),t._v(" "),e("span",{style:{"font-size":t.firstSize+"px","margin-right":"1px"}},[t._v(t._s(t.priceSlice.first))]),t._v(" "),t.priceSlice.second?e("span",{style:{"font-size":t.secondSize+"px"}},[t._v("."+t._s(t.priceSlice.second))]):t._e()])}),[],!1,null,null,null);e.default=component.exports},486:function(t,e,o){"use strict";o(483)},487:function(t,e,o){var l=o(19)((function(i){return i[1]}));l.push([t.i,".price-format{align-items:baseline;display:flex}",""]),l.locals={},t.exports=l},526:function(t,e,o){var content=o(550);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(20).default)("02ebe828",content,!0,{sourceMap:!1})},549:function(t,e,o){"use strict";o(526)},550:function(t,e,o){var l=o(19)((function(i){return i[1]}));l.push([t.i,".evaluation-list[data-v-0d03b704]{padding:0 10px}.evaluation-list .list1 .item[data-v-0d03b704]{align-items:stretch;border-bottom:1px solid #e5e5e5}.evaluation-list .list1 .item .item-hd[data-v-0d03b704]{background:#f2f2f2;height:40px;padding:0 20px}.evaluation-list .list1 .item .item-hd .status[data-v-0d03b704]{text-align:right;width:300px}.evaluation-list .list1 .item .goods[data-v-0d03b704]{padding:17px 0}.evaluation-list .list1 .item .goods .goods-item[data-v-0d03b704]{padding:10px 20px}.evaluation-list .list1 .item .goods .goods-item .goods-img[data-v-0d03b704]{height:72px;margin-right:10px;width:72px}.evaluation-list .list1 .item .operate[data-v-0d03b704]{width:200px}.evaluation-list .list1 .item .operate .btn[data-v-0d03b704]{border:1px solid #e5e5e5;border-radius:2px;cursor:pointer;height:32px;width:104px}.evaluation-list .list2>.item[data-v-0d03b704]{align-items:flex-start;border-bottom:1px dashed #e5e5e5;padding:20px}.evaluation-list .list2>.item .avatar img[data-v-0d03b704]{border-radius:50%;height:44px;width:44px}.evaluation-list .list2>.item .comment-imglist[data-v-0d03b704]{margin-top:10px}.evaluation-list .list2>.item .comment-imglist .item[data-v-0d03b704]{height:80px;margin-right:6px;width:80px}.evaluation-list .list2>.item .reply[data-v-0d03b704]{align-items:flex-start;background-color:#f0f0f0;padding:10px}.evaluation-list .list2>.item .goods[data-v-0d03b704]{background-color:#f0f0f0;padding:15px;width:930px}.evaluation-list .list2>.item .goods .goods-img[data-v-0d03b704]{height:72px;width:72px}",""]),l.locals={},t.exports=l},609:function(t,e,o){"use strict";o.r(e);o(64),o(26),o(21),o(25),o(12),o(31),o(22),o(32);var l=o(10),r=o(13);function n(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(object);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,o)}return e}var c={props:{list:{type:Array,default:function(){return[]}},type:{type:String}},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?n(Object(source),!0).forEach((function(e){Object(l.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):n(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(r.e)(["publicData"]))},d=c,m=(o(549),o(9)),component=Object(m.a)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"evaluation-list"},[0==t.type?e("div",{staticClass:"list1"},t._l(t.list,(function(o,l){return e("div",{key:l,staticClass:"item flex"},[e("div",{staticClass:"goods"},[e("div",{staticClass:"goods-item flex"},[e("el-image",{staticClass:"goods-img",attrs:{src:o.goods_image,alt:""}}),t._v(" "),e("div",{staticClass:"goods-info flex1"},[e("div",{staticClass:"goods-name flex row-between",staticStyle:{"align-items":"flex-start"}},[e("div",{staticClass:"line-1",staticStyle:{width:"600px"}},[t._v("\n "+t._s(o.goods_name)+"\n ")]),t._v(" "),e("div",{staticClass:"operate flex-col row-end"},[e("nuxt-link",{staticClass:"btn lighter sm flex row-center",attrs:{to:"/user/evaluation/evaluate?id=".concat(o.id)}},[t._v("去评价")])],1)]),t._v(" "),e("div",{staticClass:"sm lighter m-b-8"},[t._v(t._s(o.spec_value_str))]),t._v(" "),e("div",{staticClass:"primary"},[e("price-formate",{attrs:{price:o.goods_price}})],1)])],1)])])})),0):t._e(),t._v(" "),1==t.type?e("div",{staticClass:"list2"},t._l(t.list,(function(o,l){return e("div",{key:l,staticClass:"item flex col-top"},[e("div",{},[e("el-image",{staticStyle:{height:"44px",width:"44px","border-radius":"50%"},attrs:{src:t.publicData.my.avatar}})],1),t._v(" "),o.goods_comment?e("div",{staticClass:"m-l-20"},[e("div",{staticClass:"lg m-b-10"},[t._v("\n "+t._s(t.publicData.my.nickname)+"\n ")]),t._v(" "),e("div",{staticClass:"muted sm"},[t._v("评价时间:"+t._s(o.goods_comment.create_time))]),t._v(" "),e("div",{staticClass:"m-t-10"},[t._v("\n "+t._s(o.goods_comment.comment)+"\n ")]),t._v(" "),e("div",{staticClass:"comment-imglist flex"},t._l(o.goods_comment.goods_comment_image,(function(img,t){return e("div",{key:t,staticClass:"item"},[e("el-image",{staticStyle:{height:"100%",width:"100%"},attrs:{"preview-src-list":o.goods_comment.goods_comment_image.map((function(t){return t.uri})),src:img.uri,fit:"contain"}})],1)})),0),t._v(" "),o.goods_comment.reply?e("div",{staticClass:"flex reply m-t-16"},[e("div",{staticClass:"flex-none"},[t._v("商家回复:")]),t._v(" "),e("div",{staticClass:"lighter"},[t._v("\n "+t._s(o.goods_comment.reply)+"\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"goods flex m-t-16"},[e("el-image",{staticClass:"goods-img",attrs:{src:o.goods_image,alt:""}}),t._v(" "),e("div",{staticClass:"goods-info m-l-10"},[e("div",{staticClass:"line1 mb8"},[t._v(t._s(o.goods_name))]),t._v(" "),e("div",{staticClass:"sm lighter m-b-8"},[t._v(t._s(o.spec_value_str))]),t._v(" "),e("div",{staticClass:"m-t-8 primary"},[e("price-formate",{attrs:{price:o.goods_price}})],1)])],1)]):t._e()])})),0):t._e()])}),[],!1,null,"0d03b704",null);e.default=component.exports;installComponents(component,{PriceFormate:o(485).default})}}]);
|