Browse Source

越南

yuenan
xubinxcode 3 years ago
parent
commit
447c257e8f
8 changed files with 14 additions and 8 deletions
  1. +1
    -1
      addons/unishop/uniapp/uni-shop/pages/order/createOrder.vue
  2. +9
    -3
      addons/unishop/uniapp/uni-shop/pages/product/product.vue
  3. +1
    -1
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html
  4. +1
    -1
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.efaaf531.js
  5. +1
    -0
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-order-createOrder.61d465df.js
  6. +0
    -1
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-order-createOrder.95123f09.js
  7. +0
    -1
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-product-product.368138ff.js
  8. +1
    -0
      addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-product-product.ff43a840.js

+ 1
- 1
addons/unishop/uniapp/uni-shop/pages/order/createOrder.vue View File

@@ -266,7 +266,7 @@
this.$api.msg('请填写收货人姓名');
return;
}
if (!/(^1[3|4|5|7|8][0-9]{9}$)/.test(adres.mobile)) {
if (!/(^0[0-9]{9}$)/.test(adres.mobile)) {
this.$api.msg('请输入正确的手机号码');
return;
}


+ 9
- 3
addons/unishop/uniapp/uni-shop/pages/product/product.vue View File

@@ -51,12 +51,12 @@
<view style="display: flex;justify-content: space-between;align-items: center;">
<view class="price-box" v-if="flash == false">
<text class="price-tip">¥</text>
<text class="price">{{specProduct.sales_price}}</text>
<text class="m-price" v-if="specProduct.market_price">¥{{specProduct.market_price}}</text>
<text class="price">{{specProduct.sales_price|million}}</text>
<text class="m-price" v-if="specProduct.market_price">¥{{specProduct.market_price|million}}</text>
<text class="coupon-tip" v-if="specProduct.market_price > 0 && specProduct.market_price > specProduct.sales_price">{{(specProduct.sales_price/specProduct.market_price*10).toFixed(1)}}折</text>
</view>
<view class="bot-row">
<text>已售: {{product.sales}}</text>
<text>已售: {{product.sales}}+</text>
</view>
</view>
<view style="display: flex;justify-content: space-between;align-items: center;">
@@ -240,6 +240,12 @@
ProgressBar,
uniCountdown
},
filters: {
million: function (value) {
if (!value) return 0;
return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); // 将整数部分逢三一断
}
},
computed: {
...mapGetters(['userInfo', 'hasLogin']),


+ 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.83ec382e.js></script><script src=/h5/static/js/index.12d25690.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.83ec382e.js></script><script src=/h5/static/js/index.efaaf531.js></script></body></html>

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


+ 1
- 0
addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-order-createOrder.61d465df.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-order-createOrder.95123f09.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-product.368138ff.js
File diff suppressed because it is too large
View File


+ 1
- 0
addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-product-product.ff43a840.js
File diff suppressed because it is too large
View File


Loading…
Cancel
Save