pages-evaluate-evaluate.e0de69b4.js 8.8 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-evaluate-evaluate"],{"0f22":function(e,t,a){"use strict";var r=a("ce5a"),n=a.n(r);n.a},"1dbe":function(e,t,a){"use strict";a.r(t);var r=a("f82c"),n=a.n(r);for(var i in r)"default"!==i&&function(e){a.d(t,e,(function(){return r[e]}))}(i);t["default"]=n.a},"3a67":function(e,t,a){"use strict";a.r(t);var r=a("cfa4"),n=a("1dbe");for(var i in n)"default"!==i&&function(e){a.d(t,e,(function(){return n[e]}))}(i);a("0f22");var o,d=a("f0c5"),u=Object(d["a"])(n["default"],r["b"],r["c"],!1,null,"00eecd1f",null,!1,r["a"],o);t["default"]=u.exports},"71ab":function(e,t,a){var r=a("24fb");t=r(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/*主题色及按钮渐变背景*/\r\n/*字体大小*/.evaluate[data-v-00eecd1f]{width:%?690?%;margin:0 auto;position:relative;padding-bottom:%?120?%}.evaluate .title[data-v-00eecd1f]{font-size:%?32?%;font-weight:700;margin-top:%?30?%}.evaluate .title[data-v-00eecd1f]::after{content:"";display:block;width:%?32?%;height:%?6?%;background:linear-gradient(93deg,#ff232c,#ff571b);border-radius:%?6?%;margin:%?3?% 0 0 %?15?%}.evaluate .eva_con[data-v-00eecd1f]{display:flex;justify-content:flex-start;margin-top:%?30?%}.evaluate .eva_con .user_photo[data-v-00eecd1f]{width:%?68?%;height:%?68?%;border-radius:50%;flex-shrink:0;margin-right:%?20?%}.evaluate .eva_con .eva_detail[data-v-00eecd1f]{border-bottom:%?2?% solid #f5f5f5;padding-bottom:%?20?%;width:85%}.evaluate .eva_con .eva_detail .content[data-v-00eecd1f]{min-height:%?40?%;padding-right:%?30?%;box-sizing:border-box;word-break:break-all}.evaluate .eva_con .eva_detail .shop_eval[data-v-00eecd1f]{font-size:%?28?%;color:#999}.evaluate .eva_con .eva_detail .shop_eval uni-text[data-v-00eecd1f]{margin-right:%?8?%;vertical-align:%?-12?%}.evaluate .eva_con .eva_detail > uni-view uni-view[data-v-00eecd1f]{font-size:%?28?%;margin-bottom:%?15?%}.evaluate .eva_con .eva_detail > uni-view uni-text[data-v-00eecd1f]{font-size:%?24?%;color:#999}.evaluate .eva_con .eva_detail > uni-view .reply_btn[data-v-00eecd1f]{width:%?116?%;height:%?54?%;background:linear-gradient(93deg,#ff232c,#ff571b);border-radius:%?28?%;color:#fff;font-size:%?28?%}.evaluate .eva_con .eva_detail .reply_count[data-v-00eecd1f]{margin-top:%?20?%;color:#fb231f;font-size:%?24?%}.evaluate .eva_con .eva_detail .reply[data-v-00eecd1f]{margin-top:%?40?%}.evaluate .eva_con .eva_detail .reply .reply_photo uni-image[data-v-00eecd1f]{height:%?50?%;width:%?50?%;margin-right:%?20?%;border-radius:50%}.evaluate .eva_con .eva_detail .reply .reply_photo uni-text[data-v-00eecd1f]{font-size:%?28?%;color:#fb231f}.evaluate .eva_con .eva_detail .reply .reply_con[data-v-00eecd1f]{margin-top:%?15?%}.evaluate .eva_con .eva_detail .reply .reply_con uni-text[data-v-00eecd1f]{font-size:%?28?%;color:#333}.evaluate .eval[data-v-00eecd1f]{width:100%;height:%?98?%;position:fixed;left:0;bottom:0;z-index:9999;background-color:#fff}.evaluate .eval uni-input[data-v-00eecd1f]{width:%?418?%;height:%?68?%;background:#f8f8f8;border-radius:%?34?%;padding-left:%?20?%;color:#333;margin-right:%?15?%}.evaluate .eval uni-view[data-v-00eecd1f]{width:%?192?%;height:%?68?%;background:linear-gradient(93deg,#ff232c,#ff571b);color:#fff;font-size:%?28?%;border-radius:%?34?%}.evaluate .eval .iconfont[data-v-00eecd1f]{font-size:%?42?%;color:#999;margin:0 %?20?%}',""]),e.exports=t},ce5a:function(e,t,a){var r=a("71ab");"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("4f06").default;n("18489a6c",r,!0,{sourceMap:!1,shadowMode:!1})},cfa4:function(e,t,a){"use strict";var r;a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){return r}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"evaluate"},[a("v-uni-view",{staticClass:"title"},[e._v("全部")]),e._l(e.evaList,(function(t){return a("v-uni-view",{key:t.id,staticClass:"eva_con"},[t.user?a("v-uni-image",{staticClass:"user_photo",attrs:{src:t.user.avatar}}):e._e(),a("v-uni-view",{staticClass:"eva_detail"},[a("v-uni-view",[t.user?a("v-uni-view",{staticStyle:{"font-weight":"bold"}},[e._v(e._s(t.user.nickname))]):e._e(),a("v-uni-text",[e._v(e._s(t.created_at))])],1),a("v-uni-view",{staticClass:"flexS shop_eval"},[a("v-uni-text",[e._v("评价星级")]),e._l(t.star,(function(e,t){return a("v-uni-view",{key:"s"+t},[a("v-uni-text",{staticClass:"iconfont iconxingxing",staticStyle:{color:"#FB231F"}})],1)})),e._l(e.star,(function(e,t){return a("v-uni-view",{key:t},[a("v-uni-text",{staticClass:"iconfont iconxingxing",staticStyle:{color:"#999"}})],1)}))],2),t.content?a("v-uni-view",{staticClass:"content"},[e._v(e._s(t.content))]):e._e(),e._l(t.comment,(function(r){return a("v-uni-view",{key:r.id,staticClass:"reply"},[a("v-uni-view",{staticClass:"reply_photo flexS"},[a("v-uni-image",{attrs:{src:t.store.img}}),a("v-uni-text",[e._v(e._s(t.store.name))])],1),a("v-uni-view",{staticClass:"reply_con"},[a("v-uni-text",[e._v("回复")]),a("v-uni-text",{staticStyle:{color:"#B5B5B5"}},[e._v(e._s(t.nickname))]),a("v-uni-text",[e._v(":"+e._s(r.content))])],1)],1)}))],2)],1)}))],2)},i=[]},f6ca:function(e,t,a){"use strict";var r=a("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.getOrderNum=t.scanOrder=t.editRemark=t.delCancel=t.cancelList=t.orderCancel=t.replaceStore=t.diffStore=t.getShareOrder=t.getComment=t.addComment=t.getSelf=t.getLogs=t.tipSend=t.pickUp=t.orderIndex=t.payOrder=t.subOrder=t.orderQuery=t.getOrderInfo=t.getOrderList=void 0;var n=r(a("57f7")),i=function(e){return n.default.get("/order/get_order_list",e)};t.getOrderList=i;var o=function(e){return n.default.get("/order/get_order_info",e)};t.getOrderInfo=o;var d=function(e){return n.default.get("/order/get_order_no_info",e)};t.orderQuery=d;var u=function(e){return n.default.post("/order/submit_order_info",e)};t.subOrder=u;var c=function(e){return n.default.post("/payment/pay",e)};t.payOrder=c;var s=function(e){return n.default.get("/order/get_order_index",e)};t.orderIndex=s;var l=function(e){return n.default.post("/order/sure_pick_up",e)};t.pickUp=l;var f=function(e){return n.default.post("/order/tip_send",e)};t.tipSend=f;var v=function(e){return n.default.get("/order/get_order_express",e)};t.getLogs=v;var _=function(e){return n.default.post("/order/sure_one_self_take",e)};t.getSelf=_;var g=function(e){return n.default.post("/order/add_comment",e)};t.addComment=g;var p=function(e){return n.default.get("/order/get_comment",e)};t.getComment=p;var m=function(e){return n.default.get("/order/get_share_order",e)};t.getShareOrder=m;var h=function(e){return n.default.get("/order/get_user_store_diff",e)};t.diffStore=h;var b=function(e){return n.default.post("/order/replace_store",e)};t.replaceStore=b;var w=function(e){return n.default.post("/order/cancel_order",e)};t.orderCancel=w;var x=function(e){return n.default.get("/cancel/get_cancel_order_list",e)};t.cancelList=x;var y=function(e){return n.default.post("/cancel/delete_origin_order",e)};t.delCancel=y;var C=function(e){return n.default.post("/order/edit_order_remark",e)};t.editRemark=C;var k=function(e){return n.default.get("/order/get_scan_order",e)};t.scanOrder=k;var O=function(e){return n.default.get("/order/get_order_status_num",e)};t.getOrderNum=O},f82c:function(e,t,a){"use strict";a("99af"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a("f6ca"),n={data:function(){return{evaList:[],params:{page_index:1,page_size:15},totalPage:"",star:""}},onShow:function(){this.getComment()},methods:{getComment:function(e){var t=this,a=this.params,n=a.page_index,i=a.page_size;(0,r.getComment)({page_index:n,page_size:i}).then((function(a){200==a.code&&(t.totalPage=Math.ceil(a.data.total/t.params.page_size),t.evaList=e?t.evaList.concat(a.data.list):a.data.list)}))},getMore:function(){if(this.page_index>this.totalPage)return uni.showModal({content:"没有更多啦~",showCancel:!1}),!1;this.params.page_index++,this.getComment(!0)}}};t.default=n}}]);