glhcp/server/public/_nuxt/d1b5fd1.js

1 line
8.3 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[12,18],{488:function(t,e,l){var content=l(491);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,l(18).default)("d7ac674a",content,!0,{sourceMap:!1})},489:function(t,e,l){"use strict";l.r(e);l(300);var o={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=String(t).split("."),e.first=t[0],e.second=t[1],this.priceSlice=e)}}},r=(l(490),l(9)),component=Object(r.a)(o,(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},490:function(t,e,l){"use strict";l(488)},491:function(t,e,l){var o=l(17)((function(i){return i[1]}));o.push([t.i,".price-format{align-items:baseline;display:flex}",""]),o.locals={},t.exports=o},538:function(t,e,l){var content=l(558);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,l(18).default)("3ee50391",content,!0,{sourceMap:!1})},557:function(t,e,l){"use strict";l(538)},558:function(t,e,l){var o=l(17)((function(i){return i[1]}));o.push([t.i,".evaluation-list[data-v-de1b98b2]{padding:0 10px}.evaluation-list .list1 .shop-info[data-v-de1b98b2]{background-color:#f6f6f6;padding:10px 16px}.evaluation-list .list1 .item[data-v-de1b98b2]{align-items:stretch}.evaluation-list .list1 .item .item-hd[data-v-de1b98b2]{background:#f2f2f2;height:40px;padding:0 20px}.evaluation-list .list1 .item .item-hd .status[data-v-de1b98b2]{text-align:right;width:300px}.evaluation-list .list1 .item .goods[data-v-de1b98b2]{padding-bottom:16px}.evaluation-list .list1 .item .goods .goods-all[data-v-de1b98b2]{border:1px solid #e5e5e5;padding-top:16px}.evaluation-list .list1 .item .goods .goods-item[data-v-de1b98b2]{padding:0 16px 16px}.evaluation-list .list1 .item .goods .goods-item .goods-img[data-v-de1b98b2]{height:72px;margin-right:10px;width:72px}.evaluation-list .list1 .item .operate[data-v-de1b98b2]{width:200px}.evaluation-list .list1 .item .operate .btn[data-v-de1b98b2]{background-color:#ff2c3c;border:1px solid hsla(0,0%,90%,.898);border-radius:2px;cursor:pointer;height:32px;width:104px}.evaluation-list .list2 .user[data-v-de1b98b2]{margin-right:14px}.evaluation-list .list2>.item[data-v-de1b98b2]{align-items:flex-start;border-bottom:1px dashed #e5e5e5;padding:15px 0;width:920px}.evaluation-list .list2>.item .avatar img[data-v-de1b98b2]{border-radius:50%;height:44px;width:44px}.evaluation-list .list2>.item .comment-imglist[data-v-de1b98b2]{margin-top:10px}.evaluation-list .list2>.item .comment-imglist .item[data-v-de1b98b2]{height:80px;margin-right:6px;width:80px}.evaluation-list .list2>.item .reply[data-v-de1b98b2]{align-items:flex-start;background-color:#f6f6f6;padding:10px}.evaluation-list .list2>.item .goods[data-v-de1b98b2]{background-color:#f6f6f6;padding:14px;width:922px}.evaluation-list .list2>.item .goods .goods-img[data-v-de1b98b2]{height:72px;width:72px}",""]),o.locals={},t.exports=o},609:function(t,e,l){"use strict";l.r(e);l(30);var o={props:{list:{type:Array,default:function(){return[]}},type:{type:String},userInfo:{type:Object,default:function(){}}},data:function(){return{lists:[{image:"fdasf",goods_name:"hsdfsafsa",id:" ",spec_value_str:" spec_value_str",goods_price:"100"}]}}},r=(l(557),l(9)),component=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"evaluation-list"},[1==t.type?e("div",{staticClass:"list1"},t._l(t.list,(function(l,o){return e("div",{key:o,staticClass:"item flex"},[e("div",{staticClass:"goods"},[e("div",{staticClass:"flex shop-info"},[e("div",{staticClass:"flex",staticStyle:{"margin-right":"100px"}},[e("div",{staticClass:"m-r-8",staticStyle:{width:"16px",height:"16px"}},[e("el-image",{staticStyle:{height:"100%",width:"100%"},attrs:{src:l.shop.logo,fit:"contain"}})],1),t._v(" "),e("div",{staticClass:"xs"},[t._v("\n "+t._s(l.shop.name)+"\n ")])]),t._v(" "),e("div",{staticClass:"xs muted",staticStyle:{"margin-right":"100px"}},[t._v("\n 下单时间:"+t._s(l.create_time)+"\n ")]),t._v(" "),e("div",{staticClass:"xs muted"},[t._v("\n 订单编号:"+t._s(l.order_sn)+"\n ")])]),t._v(" "),e("div",{staticClass:"goods-all"},t._l(l.order_goods_un_comment,(function(l,o){return e("div",{staticClass:"goods-item flex"},[e("nuxt-link",{attrs:{to:"/goods_details/".concat(l.goods_id)}},[e("el-image",{staticClass:"goods-img",attrs:{src:l.goods_item.image,alt:""}})],1),t._v(" "),e("div",{staticClass:"goods-info flex-col flex-1"},[e("div",{staticClass:"goods-name flex row-between",staticStyle:{"align-items":"flex-start"}},[e("div",{staticClass:"line1",staticStyle:{width:"600px"}},[t._v("\n "+t._s(l.goods_name)+"\n ")]),t._v(" "),e("div",{staticClass:"operate flex row-end"},[e("nuxt-link",{staticClass:"btn sm flex row-center white",attrs:{to:"/user/evaluation/evaluate?id=".concat(l.id)}},[t._v("去评价")])],1)]),t._v(" "),e("div",{staticClass:"sm lighter m-b-8"},[t._v(t._s(l.goods_item.spec_value_str))]),t._v(" "),e("div",{staticClass:"primary"},[e("price-formate",{attrs:{price:l.goods_price}})],1)])],1)})),0)])])})),0):t._e(),t._v(" "),2==t.type?e("div",{staticClass:"list2 flex-col"},t._l(t.list,(function(l,o){return e("div",{key:o,staticClass:"item flex"},[e("div",{staticClass:"user"},[e("el-image",{staticStyle:{height:"44px",width:"44px","border-radius":"50%"},attrs:{src:t.userInfo.avatar}})],1),t._v(" "),e("div",{},[e("div",{staticClass:"user_name m-b-5",staticStyle:{"font-size":"14px",color:"#101010"}},[t._v("\n "+t._s(t.userInfo.nickname)+"\n ")]),t._v(" "),e("div",{staticClass:"muted sm"},[t._v("评价时间:"+t._s(l.create_time))]),t._v(" "),e("div",{staticClass:"m-t-10"},[t._v("\n "+t._s(l.comment)+"\n ")]),t._v(" "),e("div",{staticClass:"comment-imglist flex"},t._l(l.goods_comment_image_arr,(function(img,t){return e("div",{key:t,staticClass:"item"},[e("el-image",{staticStyle:{height:"100%",width:"100%"},attrs:{"preview-src-list":l.goods_comment_image_arr,src:img,fit:"contain"}})],1)})),0),t._v(" "),l.reply?e("div",{staticClass:"flex reply mt16"},[e("div",{staticClass:"primary"},[t._v("商家回复:")]),t._v(" "),e("div",{staticClass:"lighter"},[t._v("\n "+t._s(l.reply)+"\n ")])]):t._e(),t._v(" "),e("nuxt-link",{attrs:{to:"/goods_details/".concat(l.goods.id)}},[e("div",{staticClass:"goods flex m-t-16"},[e("el-image",{staticClass:"goods-img",attrs:{src:l.goods.image,alt:""}}),t._v(" "),e("div",{staticClass:"goods-info m-l-10"},[e("div",{staticClass:"flex m-b-8"},[e("div",{staticClass:"flex",staticStyle:{width:"451px"}},[e("div",{staticClass:"xs line-1 m-r-5"},[t._v(t._s(l.goods.name))]),t._v(" "),e("div",{staticClass:"xs"},[t._v(t._s(l.goods_item.spec_value_str))])]),t._v(" "),e("div",{staticClass:"flex"},[e("el-image",{staticStyle:{height:"16px",width:"16px"},attrs:{src:l.shop_logo,fit:"contain"}}),t._v(" "),e("div",{staticClass:"m-l-5 xs"},[t._v("\n "+t._s(l.shop_name)+"\n ")])],1)]),t._v(" "),e("div",{staticClass:"m-t-8 primary"},[e("price-formate",{attrs:{price:l.order_goods.total_pay_price}})],1)])],1)])],1)])})),0):t._e()])}),[],!1,null,"de1b98b2",null);e.default=component.exports;installComponents(component,{PriceFormate:l(489).default})}}]);