pages-evaluate-evaluate.a6d7fb8b.js 19 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-evaluate-evaluate"],{"36a4":function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,'@charset "UTF-8";.app-item[data-v-028307b1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-028307b1]{margin-top:%?10?%}.app-item uni-input[data-v-028307b1], .app-item uni-picker[data-v-028307b1], .app-item uni-textarea[data-v-028307b1]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-028307b1]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-028307b1]{width:25%;height:50%;float:left;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.kingkong uni-navigator uni-image[data-v-028307b1]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-028307b1]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-028307b1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-028307b1]{color:#fff;background:#f76454}.small-btn[data-v-028307b1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-028307b1]{color:#999;border-color:#999}.login-btn[data-v-028307b1]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-028307b1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-028307b1]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-028307b1]{margin-right:%?20?%}.border-right[data-v-028307b1]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-028307b1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-028307b1]{margin-right:%?6?%}.position-center[data-v-028307b1]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-028307b1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-028307b1]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-028307b1]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.data-card .data-card-text .text[data-v-028307b1]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-028307b1]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-028307b1]{color:#f76454}.swiper-nav[data-v-028307b1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-028307b1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%}.swiper-nav .item.active[data-v-028307b1]{color:#f76454}.swiper-nav .moveBar[data-v-028307b1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-028307b1]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-028307b1]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.swiper-area uni-swiper[data-v-028307b1]{width:100%;height:100%}.article-header[data-v-028307b1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?120?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-028307b1]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-028307b1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;margin-left:%?20?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.article-header .name .identity[data-v-028307b1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-028307b1]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-028307b1]{color:#f76454}.article-footer[data-v-028307b1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-028307b1]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-028307b1]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-028307b1]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-028307b1]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\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/* 文章场景相关 */.evaluate[data-v-028307b1]{width:%?690?%;margin:0 auto;position:relative;padding-bottom:%?120?%}.evaluate .title[data-v-028307b1]{font-size:%?32?%;font-weight:700;margin-top:%?20?%}.evaluate .title[data-v-028307b1]::after{content:"";display:block;width:%?32?%;height:%?6?%;background:-webkit-linear-gradient(top,#fc9863,#f76454);background:linear-gradient(180deg,#fc9863,#f76454);border-radius:%?6?%;margin:%?3?% 0 0 %?15?%}.evaluate .eva_con[data-v-028307b1]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;margin-top:%?30?%}.evaluate .eva_con uni-image[data-v-028307b1]{width:%?68?%;height:%?68?%;border-radius:50%;margin-right:%?20?%}.evaluate .eva_con .eva_detail[data-v-028307b1]{width:85%;border-bottom:%?2?% solid #f5f5f5;padding-bottom:%?30?%}.evaluate .eva_con .eva_detail > uni-view uni-view[data-v-028307b1]{font-size:%?28?%;margin-bottom:%?15?%}.evaluate .eva_con .eva_detail > uni-view uni-text[data-v-028307b1]{font-size:%?24?%;color:#999}.evaluate .eva_con .eva_detail .reply_count[data-v-028307b1]{margin-top:%?20?%;color:#f76454;font-size:%?24?%}.evaluate .eva_con .eva_detail .reply[data-v-028307b1]{margin-top:%?40?%}.evaluate .eva_con .eva_detail .reply .reply_photo uni-image[data-v-028307b1]{height:%?50?%;width:%?50?%;margin-right:%?20?%}.evaluate .eva_con .eva_detail .reply .reply_photo uni-text[data-v-028307b1]{font-size:%?28?%;color:#ea4a41}.evaluate .eva_con .eva_detail .reply .reply_con[data-v-028307b1]{margin-top:%?15?%}.evaluate .eva_con .eva_detail .reply .reply_con uni-text[data-v-028307b1]{font-size:%?28?%;color:#333}.evaluate .eval[data-v-028307b1]{width:100%;height:%?98?%;position:fixed;left:0;bottom:0;z-index:9999;background-color:#fff}.evaluate .eval uni-input[data-v-028307b1]{width:%?418?%;height:%?68?%;background:#f8f8f8;border-radius:%?34?%;padding-left:%?20?%;color:#333}',""]),e.exports=t},6257:function(e,t,i){"use strict";var n=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.pickUp=t.getLogs=t.addLogs=t.getLogsCode=t.getScanUser=t.getBuyUser=t.getUserInfo=t.loginTest=t.replyCommet=t.getComment=t.getStoreUser=t.replaceOrder=t.getOrderList=t.orderQuery=t.getOrderInfo=t.getAds=t.addAds=t.setDefault=t.getUserPhone=t.getAllAds=t.deleteAds=t.updateAds=t.getSku=t.shareGoods=t.getGoodsList=t.shareStore=t.uploadImg=t.editPhone=t.checkPhone=t.sendSms=t.editName=t.getStoreInfo=t.uploadCard=t.getAgree=t.agentInfo=t.storeAuth=void 0;var o=n(i("2ef8")),a=function(e){return o.default.post("/store/cert_store",e)};t.storeAuth=a;var r=function(e){return o.default.get("/store/get_agent_info",e)};t.agentInfo=r;var s=function(e){return o.default.post("/store/set_agree",e)};t.getAgree=s;var l=function(e){return o.default.post("/store/upload_cert_img",e)};t.uploadCard=l;var d=function(e){return o.default.get("/store/get_store_info",e)};t.getStoreInfo=d;var c=function(e){return o.default.post("/store/edit_store_info",e)};t.editName=c;var b=function(e){return o.default.get("/store/send_sms",e)};t.sendSms=b;var f=function(e){return o.default.post("/store/check_sms",e)};t.checkPhone=f;var u=function(e){return o.default.post("/store/edit_sms",e)};t.editPhone=u;var g=function(e){return o.default.get("/store/upload_store_img",e)};t.uploadImg=g;var w=function(e){return o.default.post("/store/share_store",e)};t.shareStore=w;var v=function(e){return o.default.get("/store_goods/get_goods_list",e)};t.getGoodsList=v;var p=function(e){return o.default.get("/store_goods/share_goods",e)};t.shareGoods=p;var k=function(e){return o.default.get("/store_goods/get_goods_taps",e)};t.getSku=k;var x=function(e){return o.default.post("/store/update_address",e)};t.updateAds=x;var m=function(e){return o.default.post("/store/destroy_address",e)};t.deleteAds=m;var h=function(e){return o.default.get("/store/get_all_address",e)};t.getAllAds=h;var _=function(e){return o.default.get("/store/get_user_info",e)};t.getUserPhone=_;var y=function(e){return o.default.post("/store/set_default_address",e)};t.setDefault=y;var j=function(e){return o.default.post("/store/add_address",e)};t.addAds=j;var z=function(e){return o.default.get("/store/get_address",e)};t.getAds=z;var C=function(e){return o.default.get("/store/get_order_info",e)};t.getOrderInfo=C;var A=function(e){return o.default.get("/store/get_order_no_info",e)};t.orderQuery=A;var L=function(e){return o.default.get("/store/get_order_list",e)};t.getOrderList=L;var S=function(e){return o.default.post("/store/submit_order_info",e)};t.replaceOrder=S;var U=function(e){return o.default.get("/store_goods/get_store_user",e)};t.getStoreUser=U;var I=function(e){return o.default.get("/store/get_comment",e)};t.getComment=I;var B=function(e){return o.default.post("/store/add_comment",e)};t.replyCommet=B;var O=function(e){return o.default.get("/set_login",e)};t.loginTest=O;var P=function(e){return o.default.get("/store/get_user_data_info",e)};t.getUserInfo=P;var M=function(e){return o.default.get("/store/get_more_buy",e)};t.getBuyUser=M;var R=function(e){return o.default.get("/store/get_more_scan",e)};t.getScanUser=R;var T=function(e){return o.default.get("/store/get_express_code",e)};t.getLogsCode=T;var G=function(e){return o.default.post("/store/add_order_express_no",e)};t.addLogs=G;var D=function(e){return o.default.get("/store/get_order_express",e)};t.getLogs=D;var E=function(e){return o.default.post("/store/one_self_take",e)};t.pickUp=E},"7b6c":function(e,t,i){"use strict";i.r(t);var n=i("9a95"),o=i("d4a9");for(var a in o)"default"!==a&&function(e){i.d(t,e,(function(){return o[e]}))}(a);i("c76b");var r,s=i("f0c5"),l=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,"028307b1",null,!1,n["a"],r);t["default"]=l.exports},"9a95":function(e,t,i){"use strict";var n;i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){return n}));var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"evaluate"},[n("v-uni-view",{staticClass:"title"},[e._v("全部")]),e._l(e.evaList,(function(t){return n("v-uni-view",{key:t.id,staticClass:"eva_con"},[n("v-uni-image",{attrs:{src:t.user.avatar}}),n("v-uni-view",{staticClass:"eva_detail"},[n("v-uni-view",{staticClass:"flexB"},[n("v-uni-view",[n("v-uni-view",{staticStyle:{"font-size":"32rpx","font-weight":"bold"}},[e._v(e._s(t.user.nickname))]),n("v-uni-text",{staticStyle:{"font-size":"28rpx"}},[e._v(e._s(t.created_at))])],1),n("v-uni-view",{staticClass:"copy_btn flexC",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.replay(t.id,t.user.nickname)}}},[e._v("回复")])],1),n("v-uni-view",[e._v(e._s(t.content))]),n("v-uni-view",{staticClass:"reply"},e._l(t.comment,(function(i){return n("v-uni-view",{key:i.id},[n("v-uni-view",{staticClass:"reply_photo flexS"},[n("v-uni-image",{attrs:{src:t.store.img}}),n("v-uni-text",[e._v(e._s(t.store.name))])],1),n("v-uni-view",{staticClass:"reply_con"},[n("v-uni-text",[e._v("回复")]),n("v-uni-text",{staticStyle:{color:"#B5B5B5",margin:"0 10rpx"}},[e._v(e._s(t.user.nickname))]),n("v-uni-text",[e._v(":"+e._s(i.content))])],1)],1)})),1)],1)],1)})),0==e.evaList.length?n("v-uni-view",{staticClass:"noData"},[n("v-uni-image",{attrs:{src:i("e207")}}),n("v-uni-view",[e._v("暂无评价")])],1):e._e(),e.isReplay?n("v-uni-view",{staticClass:"eval flexC"},[n("v-uni-input",{attrs:{type:"text",placeholder:"@"+e.name},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}}),n("v-uni-view",{staticClass:"flexC base_btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.send.apply(void 0,arguments)}}},[e._v("回复")])],1):e._e()],2)},a=[]},c76b:function(e,t,i){"use strict";var n=i("d033"),o=i.n(n);o.a},d033:function(e,t,i){var n=i("36a4");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("c2df7636",n,!0,{sourceMap:!1,shadowMode:!1})},d4a9:function(e,t,i){"use strict";i.r(t);var n=i("f3ee"),o=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,(function(){return n[e]}))}(a);t["default"]=o.a},e207:function(e,t,i){e.exports=i.p+"static/img/no_comment.56ebbc08.png"},f3ee:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i("6257"),o={data:function(){return{isReplay:!1,evaList:[],params:{page_index:1,page_size:15},id:"",name:"",content:"",total:""}},onLoad:function(){this.getList()},methods:{getList:function(){var e=this,t=this.params,i=t.page_index,o=t.page_size;(0,n.getComment)({page_index:i,page_size:o}).then((function(t){e.total=Math.ceil(e.page_size/t.data.total),e.evaList=t.data.list}))},replay:function(e,t){this.id=e,this.isReplay=!0,this.name=t},send:function(){var e=this;if(!this.content)return uni.showModal({content:"请输入回复内容",showCancel:!1}),!1;(0,n.replyCommet)({content:this.content,comment_id:this.id}).then((function(t){200==t.code?uni.showToast({title:"回复成功",duration:2e3,success:function(t){e.timer=setTimeout((function(){e.isReplay=!1,e.content="",e.getList()}),2e3)}}):uni.showModal({content:t.data,showCancel:!1})}))}}};t.default=o}}]);