Browse Source

越南

yuenan
xubinxcode 3 years ago
parent
commit
33db4299f5
5 changed files with 4 additions and 11 deletions
  1. +1
    -8
      addons/unishop/uniapp/uni-shop/pages/product/evaluate.vue
  2. +1
    -1
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html
  3. +1
    -1
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.e12d09eb.js
  4. +0
    -1
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-product-evaluate.66564c54.js
  5. +1
    -0
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-product-evaluate.7e7041e6.js

+ 1
- 8
addons/unishop/uniapp/uni-shop/pages/product/evaluate.vue View File

@@ -35,14 +35,7 @@
},
filters: {
tip: function (value) {
if(value.length<=2){
return value;
}
let len = value.length-2;
let xing = '';
for (let i=0;i<len;i++) {
xing+='*';
}
let xing = '***';
return value.substring(0,1)+xing+value.substring(value.length-1);
}
},


+ 1
- 1
addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html View File

@@ -1,3 +1,3 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>宜家自购商城</title><script>document.addEventListener('DOMContentLoaded', function() {
document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
})</script><link rel=stylesheet href=/h5/static/index.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script>/*BAIDU_STAT*/</script><script src=/h5/static/js/chunk-vendors.99ddd405.js></script><script src=/h5/static/js/index.7c890c19.js></script></body></html>
})</script><link rel=stylesheet href=/h5/static/index.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script>/*BAIDU_STAT*/</script><script src=/h5/static/js/chunk-vendors.99ddd405.js></script><script src=/h5/static/js/index.e12d09eb.js></script></body></html>

addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.e12d09eb.js
File diff suppressed because it is too large
View File


+ 0
- 1
addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-product-evaluate.66564c54.js View File

@@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-evaluate"],{4183:function(t,e,i){"use strict";var a=i("c327"),n=i.n(a);n.a},4245:function(t,e,i){"use strict";i.r(e);var a=i("7b0a"),n=i.n(a);for(var r in a)"default"!==r&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},"70d5":function(t,e,i){"use strict";i.r(e);var a=i("a1c3"),n=i("4245");for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("4183");var s,o=i("f0c5"),c=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"e7830288",null,!1,a["a"],s);e["default"]=c.exports},"7b0a":function(t,e,i){"use strict";var a=i("4ea4");i("4160"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var n=a(i("1da1")),r={data:function(){return{product_id:0,page:1,pageSize:20,list:[]}},filters:{tip:function(t){if(t.length<=2)return t;for(var e=t.length-2,i="",a=0;a<e;a++)i+="*";return t.substring(0,1)+i+t.substring(t.length-1)}},onLoad:function(t){this.product_id=t.product_id,this.getEvaluete()},onPullDownRefresh:function(){this.page=1,this.list=[],this.getEvaluete()},onReachBottom:function(){this.getEvaluete()},methods:{getEvaluete:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$api.request("/product/evaluate","GET",{product_id:t.product_id,page:t.page,pagesize:t.pageSize});case 2:i=e.sent,uni.stopPullDownRefresh(),i&&(t.page++,i.forEach((function(e){t.list.push(e)})));case 5:case"end":return e.stop()}}),e)})))()}}};e.default=r},a1c3:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"eva-section"},t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"eva-box"},[i("v-uni-image",{staticClass:"portrait",attrs:{src:e.avatar,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticStyle:{display:"flex","align-content":"center"}},[i("v-uni-text",{staticClass:"name"},[t._v(t._s(t._f("tip")(e.username||"游客")))]),t._l(e.rate,(function(t){return[i("svg",{staticClass:"icon",attrs:{t:"1620733744028",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1253",width:"20",height:"20"}},[i("path",{attrs:{d:"M576.4 203.3c46.7 90.9 118.6 145.5 215.7 163.9 97.1 18.4 111.5 64.9 43.3 139.5s-95.6 162.9-82.3 265.2c13.2 102.3-24.6 131-113.4 86.2s-177.7-44.8-266.6 0-126.6 16-113.4-86.2c13.2-102.3-14.2-190.7-82.4-265.2-68.2-74.6-53.7-121.1 43.3-139.5 97.1-18.4 169-73 215.7-163.9 46.6-90.9 93.4-90.9 140.1 0z","p-id":"1254",fill:"#f4ea2a"}})])]}))],2),i("v-uni-text",{staticClass:"con"},[t._v(t._s(e.comment))]),i("v-uni-view",{staticClass:"bot"},[""!=e.spec?i("v-uni-text",{staticClass:"attr"},[t._v("购买类型:"+t._s(e.spec))]):i("v-uni-text",{staticClass:"attr"}),i("v-uni-text",{staticClass:"time"},[t._v(t._s(e.createtime_text))])],1)],1)],1)})),1)],1)},r=[]},c327:function(t,e,i){var a=i("c3f0");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("b414b122",a,!0,{sourceMap:!1,shadowMode:!1})},c3f0:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/\n/* 评价 */.eva-section[data-v-e7830288]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?20?% %?30?%;background:#fff;margin-top:%?16?%}.eva-box[data-v-e7830288]{display:-webkit-box;display:-webkit-flex;display:flex;padding:%?20?% 0}.eva-box .name[data-v-e7830288]{vertical-align:center;margin-right:%?30?%}.eva-box .portrait[data-v-e7830288]{-webkit-flex-shrink:0;flex-shrink:0;width:%?80?%;height:%?80?%;border-radius:100px}.eva-box .right[data-v-e7830288]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;font-size:%?28?%;color:#606266;padding-left:%?26?%}.eva-box .right .con[data-v-e7830288]{font-size:%?28?%;color:#303133;padding:%?20?% 0}.eva-box .right .bot[data-v-e7830288]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;font-size:%?24?%;color:#909399}',""]),t.exports=e}}]);

+ 1
- 0
addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-product-evaluate.7e7041e6.js View File

@@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-evaluate"],{"3ec9":function(t,e,i){"use strict";var a=i("e583"),n=i.n(a);n.a},4245:function(t,e,i){"use strict";i.r(e);var a=i("7b0a"),n=i.n(a);for(var s in a)"default"!==s&&function(t){i.d(e,t,(function(){return a[t]}))}(s);e["default"]=n.a},"70d5":function(t,e,i){"use strict";i.r(e);var a=i("b837"),n=i("4245");for(var s in n)"default"!==s&&function(t){i.d(e,t,(function(){return n[t]}))}(s);i("3ec9");var r,o=i("f0c5"),c=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"ace98bd8",null,!1,a["a"],r);e["default"]=c.exports},"73a3":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/\n/* 评价 */.eva-section[data-v-ace98bd8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;padding:%?20?% %?30?%;background:#fff;margin-top:%?16?%}.eva-box[data-v-ace98bd8]{display:-webkit-box;display:-webkit-flex;display:flex;padding:%?20?% 0}.eva-box .name[data-v-ace98bd8]{vertical-align:center;margin-right:%?30?%}.eva-box .portrait[data-v-ace98bd8]{-webkit-flex-shrink:0;flex-shrink:0;width:%?80?%;height:%?80?%;border-radius:100px}.eva-box .right[data-v-ace98bd8]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;font-size:%?28?%;color:#606266;padding-left:%?26?%}.eva-box .right .con[data-v-ace98bd8]{font-size:%?28?%;color:#303133;padding:%?20?% 0}.eva-box .right .bot[data-v-ace98bd8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;font-size:%?24?%;color:#909399}',""]),t.exports=e},"7b0a":function(t,e,i){"use strict";var a=i("4ea4");i("4160"),i("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var n=a(i("1da1")),s={data:function(){return{product_id:0,page:1,pageSize:20,list:[]}},filters:{tip:function(t){var e="***";return t.substring(0,1)+e+t.substring(t.length-1)}},onLoad:function(t){this.product_id=t.product_id,this.getEvaluete()},onPullDownRefresh:function(){this.page=1,this.list=[],this.getEvaluete()},onReachBottom:function(){this.getEvaluete()},methods:{getEvaluete:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$api.request("/product/evaluate","GET",{product_id:t.product_id,page:t.page,pagesize:t.pageSize});case 2:i=e.sent,uni.stopPullDownRefresh(),i&&(t.page++,i.forEach((function(e){t.list.push(e)})));case 5:case"end":return e.stop()}}),e)})))()}}};e.default=s},b837:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return a}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"eva-section"},t._l(t.list,(function(e,a){return i("v-uni-view",{key:a,staticClass:"eva-box"},[i("v-uni-image",{staticClass:"portrait",attrs:{src:e.avatar,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticStyle:{display:"flex","align-content":"center"}},[i("v-uni-text",{staticClass:"name"},[t._v(t._s(t._f("tip")(e.username||"游客")))]),t._l(e.rate,(function(t){return[i("svg",{staticClass:"icon",attrs:{t:"1620733744028",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1253",width:"20",height:"20"}},[i("path",{attrs:{d:"M576.4 203.3c46.7 90.9 118.6 145.5 215.7 163.9 97.1 18.4 111.5 64.9 43.3 139.5s-95.6 162.9-82.3 265.2c13.2 102.3-24.6 131-113.4 86.2s-177.7-44.8-266.6 0-126.6 16-113.4-86.2c13.2-102.3-14.2-190.7-82.4-265.2-68.2-74.6-53.7-121.1 43.3-139.5 97.1-18.4 169-73 215.7-163.9 46.6-90.9 93.4-90.9 140.1 0z","p-id":"1254",fill:"#f4ea2a"}})])]}))],2),i("v-uni-text",{staticClass:"con"},[t._v(t._s(e.comment))]),i("v-uni-view",{staticClass:"bot"},[""!=e.spec?i("v-uni-text",{staticClass:"attr"},[t._v("购买类型:"+t._s(e.spec))]):i("v-uni-text",{staticClass:"attr"}),i("v-uni-text",{staticClass:"time"},[t._v(t._s(e.createtime_text))])],1)],1)],1)})),1)],1)},s=[]},e583:function(t,e,i){var a=i("73a3");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("8f278058",a,!0,{sourceMap:!1,shadowMode:!1})}}]);

Loading…
Cancel
Save