diff --git a/template/uni-app/components/goodList/index.vue b/template/uni-app/components/goodList/index.vue index b70061e16..f066953f7 100644 --- a/template/uni-app/components/goodList/index.vue +++ b/template/uni-app/components/goodList/index.vue @@ -1,165 +1,166 @@ - - - - - diff --git a/template/uni-app/pages/goods/goods_comment_con/lottery_comment.vue b/template/uni-app/pages/goods/goods_comment_con/lottery_comment.vue index 2033b89b5..3cd5c4001 100644 --- a/template/uni-app/pages/goods/goods_comment_con/lottery_comment.vue +++ b/template/uni-app/pages/goods/goods_comment_con/lottery_comment.vue @@ -1,403 +1,406 @@ - - - - - diff --git a/template/uni-app/pages/index/visualization/components/goodList.vue b/template/uni-app/pages/index/visualization/components/goodList.vue index 9f31b20dc..e961a1424 100644 --- a/template/uni-app/pages/index/visualization/components/goodList.vue +++ b/template/uni-app/pages/index/visualization/components/goodList.vue @@ -1,285 +1,289 @@ - - - - - diff --git a/template/uni-app/pages/index/visualization/components/recommend.vue b/template/uni-app/pages/index/visualization/components/recommend.vue index fbf680814..3430b8a0c 100644 --- a/template/uni-app/pages/index/visualization/components/recommend.vue +++ b/template/uni-app/pages/index/visualization/components/recommend.vue @@ -359,15 +359,15 @@ .productList .item .text .vip .vip-money { font-size: 24rpx; color: #282828; - font-weight: bold; - display: flex; + font-weight: bold; + display: flex; align-items: center; } .productList .item .text .vip .vip-money image { - width: 46rpx; - height: 21rpx; - margin-left: 4rpx; + width: 64rpx; + height: 26rpx; + margin-left: 4rpx; margin-top: 4rpx; } diff --git a/template/uni-app/pages/points_mall/integral_goods_list.vue b/template/uni-app/pages/points_mall/integral_goods_list.vue index dd438f345..9a0ca7269 100644 --- a/template/uni-app/pages/points_mall/integral_goods_list.vue +++ b/template/uni-app/pages/points_mall/integral_goods_list.vue @@ -1,440 +1,446 @@ - - - - - diff --git a/template/uni-app/utils/util.js b/template/uni-app/utils/util.js index 06007ebb9..7844fcb22 100644 --- a/template/uni-app/utils/util.js +++ b/template/uni-app/utils/util.js @@ -746,6 +746,22 @@ export default { } return 0 + }, + /* + * 获取当前时间 + */ + getNowTime() { + let today = new Date(); + let year = today.getFullYear(); // 获取当前年份 + let month = today.getMonth() + 1; // 获取当前月份(注意:月份从 0 开始计数,所以需要加 1) + let day = today.getDate(); // 获取当前日(几号) + let hour = today.getHours(); // 获取当前小时 + let minute = today.getMinutes(); // 获取当前分钟 + let second = today.getSeconds(); // 获取当前秒钟 + + // 格式化输出当前时间 + let nowTime = year + '/' + month + '/' + day + ' ' + hour + ':' + minute + ':' + second; + return nowTime }, /** * 处理服务器扫码带进来的参数 @@ -981,4 +997,4 @@ export default { }, } -} +}