Files
2026-04-14 17:38:46 +08:00

1 line
9.9 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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([[13,19],{476:function(t,e,o){"use strict";var r=o(14),l=o(4),n=o(5),d=o(141),c=o(24),v=o(18),f=o(293),m=o(54),_=o(104),x=o(292),h=o(3),y=o(105).f,C=o(45).f,w=o(23).f,S=o(477),N=o(478).trim,I="Number",k=l.Number,E=k.prototype,z=l.TypeError,F=n("".slice),A=n("".charCodeAt),T=function(t){var e=x(t,"number");return"bigint"==typeof e?e:M(e)},M=function(t){var e,o,r,l,n,d,c,code,v=x(t,"number");if(_(v))throw z("Cannot convert a Symbol value to a number");if("string"==typeof v&&v.length>2)if(v=N(v),43===(e=A(v,0))||45===e){if(88===(o=A(v,2))||120===o)return NaN}else if(48===e){switch(A(v,1)){case 66:case 98:r=2,l=49;break;case 79:case 111:r=8,l=55;break;default:return+v}for(d=(n=F(v,2)).length,c=0;c<d;c++)if((code=A(n,c))<48||code>l)return NaN;return parseInt(n,r)}return+v};if(d(I,!k(" 0o1")||!k("0b1")||k("+0x1"))){for(var O,j=function(t){var e=arguments.length<1?0:k(T(t)),o=this;return m(E,o)&&h((function(){S(o)}))?f(Object(e),o,j):e},R=r?y(k):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),V=0;R.length>V;V++)v(k,O=R[V])&&!v(j,O)&&w(j,O,C(k,O));j.prototype=E,E.constructor=j,c(l,I,j,{constructor:!0})}},477:function(t,e,o){var r=o(5);t.exports=r(1..valueOf)},478:function(t,e,o){var r=o(5),l=o(36),n=o(19),d=o(479),c=r("".replace),v="["+d+"]",f=RegExp("^"+v+v+"*"),m=RegExp(v+v+"*$"),_=function(t){return function(e){var o=n(l(e));return 1&t&&(o=c(o,f,"")),2&t&&(o=c(o,m,"")),o}};t.exports={start:_(1),end:_(2),trim:_(3)}},479:function(t,e){t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},480:function(t,e,o){var content=o(483);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(17).default)("7c52e05d",content,!0,{sourceMap:!1})},481:function(t,e,o){"use strict";o.r(e);o(476);var r={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)}}},l=(o(482),o(8)),component=Object(l.a)(r,(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},482:function(t,e,o){"use strict";o(480)},483:function(t,e,o){var r=o(16)(!1);r.push([t.i,".price-format{display:flex;align-items:baseline}",""]),t.exports=r},528:function(t,e,o){var content=o(552);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(17).default)("7c371b52",content,!0,{sourceMap:!1})},551:function(t,e,o){"use strict";o(528)},552:function(t,e,o){var r=o(16)(!1);r.push([t.i,".evaluation-list[data-v-de1b98b2]{padding:0 10px}.evaluation-list .list1 .shop-info[data-v-de1b98b2]{padding:10px 16px;background-color:#f6f6f6}.evaluation-list .list1 .item[data-v-de1b98b2]{align-items:stretch}.evaluation-list .list1 .item .item-hd[data-v-de1b98b2]{height:40px;background:#f2f2f2;padding:0 20px}.evaluation-list .list1 .item .item-hd .status[data-v-de1b98b2]{width:300px;text-align:right}.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]{margin-right:10px;width:72px;height:72px}.evaluation-list .list1 .item .operate[data-v-de1b98b2]{width:200px}.evaluation-list .list1 .item .operate .btn[data-v-de1b98b2]{background-color:#ff2c3c;width:104px;height:32px;border:1px solid hsla(0,0%,89.8%,.89804);border-radius:2px;cursor:pointer}.evaluation-list .list2 .user[data-v-de1b98b2]{margin-right:14px}.evaluation-list .list2>.item[data-v-de1b98b2]{width:920px;padding:15px 0;border-bottom:1px dashed #e5e5e5;align-items:flex-start}.evaluation-list .list2>.item .avatar img[data-v-de1b98b2]{border-radius:50%;width:44px;height:44px}.evaluation-list .list2>.item .comment-imglist[data-v-de1b98b2]{margin-top:10px}.evaluation-list .list2>.item .comment-imglist .item[data-v-de1b98b2]{width:80px;height:80px;margin-right:6px}.evaluation-list .list2>.item .reply[data-v-de1b98b2]{background-color:#f6f6f6;align-items:flex-start;padding:10px}.evaluation-list .list2>.item .goods[data-v-de1b98b2]{width:922px;background-color:#f6f6f6;padding:14px}.evaluation-list .list2>.item .goods .goods-img[data-v-de1b98b2]{width:72px;height:72px}",""]),t.exports=r},606:function(t,e,o){"use strict";o.r(e);o(29);var r={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"}]}}},l=(o(551),o(8)),component=Object(l.a)(r,(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(o,r){return e("div",{key:r,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:o.shop.logo,fit:"contain"}})],1),t._v(" "),e("div",{staticClass:"xs"},[t._v("\n "+t._s(o.shop.name)+"\n ")])]),t._v(" "),e("div",{staticClass:"xs muted",staticStyle:{"margin-right":"100px"}},[t._v("\n 下单时间:"+t._s(o.create_time)+"\n ")]),t._v(" "),e("div",{staticClass:"xs muted"},[t._v("\n 订单编号:"+t._s(o.order_sn)+"\n ")])]),t._v(" "),e("div",{staticClass:"goods-all"},t._l(o.order_goods_un_comment,(function(o,r){return e("div",{staticClass:"goods-item flex"},[e("nuxt-link",{attrs:{to:"/goods_details/".concat(o.goods_id)}},[e("el-image",{staticClass:"goods-img",attrs:{src:o.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(o.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(o.id)}},[t._v("去评价")])],1)]),t._v(" "),e("div",{staticClass:"sm lighter m-b-8"},[t._v(t._s(o.goods_item.spec_value_str))]),t._v(" "),e("div",{staticClass:"primary"},[e("price-formate",{attrs:{price:o.goods_price}})],1)])],1)})),0)])])})),0):t._e(),t._v(" "),2==t.type?e("div",{staticClass:"list2 flex-col"},t._l(t.list,(function(o,r){return e("div",{key:r,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(o.create_time))]),t._v(" "),e("div",{staticClass:"m-t-10"},[t._v("\n "+t._s(o.comment)+"\n ")]),t._v(" "),e("div",{staticClass:"comment-imglist flex"},t._l(o.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":o.goods_comment_image_arr,src:img,fit:"contain"}})],1)})),0),t._v(" "),o.reply?e("div",{staticClass:"flex reply mt16"},[e("div",{staticClass:"primary"},[t._v("商家回复:")]),t._v(" "),e("div",{staticClass:"lighter"},[t._v("\n "+t._s(o.reply)+"\n ")])]):t._e(),t._v(" "),e("nuxt-link",{attrs:{to:"/goods_details/".concat(o.goods.id)}},[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:"flex m-b-8"},[e("div",{staticClass:"flex",staticStyle:{width:"451px"}},[e("div",{staticClass:"xs line-1 m-r-5"},[t._v(t._s(o.goods.name))]),t._v(" "),e("div",{staticClass:"xs"},[t._v(t._s(o.goods_item.spec_value_str))])]),t._v(" "),e("div",{staticClass:"flex"},[e("el-image",{staticStyle:{height:"16px",width:"16px"},attrs:{src:o.shop_logo,fit:"contain"}}),t._v(" "),e("div",{staticClass:"m-l-5 xs"},[t._v("\n "+t._s(o.shop_name)+"\n ")])],1)]),t._v(" "),e("div",{staticClass:"m-t-8 primary"},[e("price-formate",{attrs:{price:o.order_goods.total_pay_price}})],1)])],1)])],1)])})),0):t._e()])}),[],!1,null,"de1b98b2",null);e.default=component.exports;installComponents(component,{PriceFormate:o(481).default})}}]);