diff --git a/pages/qianggou/productDetails.vue b/pages/qianggou/productDetails.vue index 9f7fd4b..493730f 100644 --- a/pages/qianggou/productDetails.vue +++ b/pages/qianggou/productDetails.vue @@ -142,8 +142,8 @@ export default { timestampToTime(val) { var date = new Date(); - var Y = date.getFullYear() + '-'; - var M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1):date.getMonth()+1) + '-'; + var Y = date.getFullYear() + '/'; + var M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1):date.getMonth()+1) + '/'; var D = (date.getDate()< 10 ? '0'+date.getDate():date.getDate())+ ' '; var h = (date.getHours() < 10 ? '0'+date.getHours():date.getHours())+ ':'; var m = (date.getMinutes() < 10 ? '0'+date.getMinutes():date.getMinutes()) + ':'; diff --git a/unpackage/dist/build/h5/index.html b/unpackage/dist/build/h5/index.html index fe70c2b..2d08ea7 100644 --- a/unpackage/dist/build/h5/index.html +++ b/unpackage/dist/build/h5/index.html @@ -1,2 +1,2 @@