shop-php/public/static/js/pages-users-goods_comment_con-index.002afad3.js

1 line
18 KiB
JavaScript
Raw Normal View History

2024-03-02 11:28:35 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-goods_comment_con-index"],{"104c":function(t,e,n){"use strict";n.r(e);var r=n("89ff"),o=n("5bfe");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("f882");var a=n("f0c5"),u=Object(a["a"])(o["default"],r["b"],r["c"],!1,null,"bb72e0c6",null,!1,r["a"],void 0);e["default"]=u.exports},"2db1":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{style:t.viewColor},[n("v-uni-form",{attrs:{"report-submit":"true"},on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.formSubmit.apply(void 0,arguments)}}},[t.productInfo.product?n("v-uni-view",{staticClass:"evaluate-con"},[n("v-uni-view",{staticClass:"goodsStyle acea-row row-between"},[n("v-uni-view",{staticClass:"pictrue"},[t.productInfo.productAttr.image?n("v-uni-image",{attrs:{src:t.productInfo.productAttr.image}}):n("v-uni-image",{attrs:{src:t.productInfo.product.image}})],1),n("v-uni-view",{staticClass:"text acea-row row-between"},[n("v-uni-view",{staticClass:"name line2"},[t._v(t._s(t.productInfo.product.store_name))]),n("v-uni-view",{staticClass:"money"},[n("v-uni-view",[t._v("¥"+t._s(t.productInfo.productAttr.price))]),n("v-uni-view",{staticClass:"num"},[t._v("x"+t._s(t.cart_num))])],1)],1)],1),n("v-uni-view",{staticClass:"score"},[t._l(t.scoreList,(function(e,r){return n("v-uni-view",{key:r,staticClass:"item acea-row row-middle"},[n("v-uni-view",[t._v(t._s(e.name))]),n("v-uni-view",{staticClass:"starsList"},t._l(e.stars,(function(o,i){return n("v-uni-text",{key:i,staticClass:"iconfont",class:e.index>=i?"icon-shitixing font-color":"icon-kongxinxing",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.stars(i,r)}}})})),1),n("v-uni-text",{staticClass:"evaluate"},[t._v(t._s(-1===e.index?"":e.index+1+"分"))])],1)})),n("v-uni-view",{staticClass:"textarea"},[n("v-uni-textarea",{attrs:{placeholder:"商品满足你的期待么?说说你的想法,分享给想买的他们吧~",name:"comment","placeholder-class":"placeholder"}}),n("v-uni-view",{staticClass:"list acea-row row-middle"},[t._l(t.pics,(function(e,r){return n("v-uni-view",{key:r,staticClass:"pictrue"},[n("v-uni-image",{attrs:{src:e}}),n("v-uni-text",{staticClass:"iconfont icon-guanbi1 font-color",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.DelPic(r)}}})],1)})),t.pics.length<6?n("v-uni-view",{staticClass:"pictrue acea-row row-center-wrapper row-column",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadpic.apply(void 0,arguments)}}},[n("v-uni-text",{staticClass:"iconfont icon-icon25201"}),n("v-uni-view",[t._v("上传图片")])],1):t._e()],2)],1),n("v-uni-button",{staticClass:"evaluateBnt",attrs:{formType:"submit"}},[t._v("立即评价")])],2)],1):t._e()],1),n("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}})],1)},o=[]},"550c":function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a434"),n("14d9");var o=n("736a"),i=n("26cb"),a=r(n("104c")),u={components:{authorize:a.default},data:function(){return{pics:[],scoreList:[{name:"商品质量",stars:["","","","",""],index:-1},{name:"服务态度",stars:["","","","",""],index:-1},{name:"物流服务",stars:["","","","",""],index:-1}],orderId:"",unique:"",productInfo:{},cart_num:0,isAuto:!1,isShowAuth:!1}},computed:(0,i.mapGetters)(["isLogin","viewColor"]),onLoad:function(t){if(!t.uni&&t.order_id)return this.$util.Tips({title:"缺少参数"},{tab:3,url:1});this.unique=t.uni,this.orderId=t.order_id,this.isLogin?this.getOrderProduct():(this.isAuto=!0,this.isShowAuth=!0)},methods:{onLoadFun:function(){this.isShowAuth=!1,this.getOrderProduct()},authColse:function(t){this.isShowAuth=t},getOrderProduct:functi