From abbb6f73cb0a5d15b56fedb461ee7b5084dd95e4 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Fri, 24 Oct 2025 14:42:23 +0800 Subject: [PATCH] =?UTF-8?q?h5=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/plate/index.vue | 10 ++--- main.js | 6 +++ packages/order/parkorderinfo.vue | 3 +- packages/park/book.vue | 9 ++--- packages/park/index.vue | 18 +++++++-- pages.json | 63 +++++++++++++++++++++----------- 6 files changed, 74 insertions(+), 35 deletions(-) diff --git a/components/plate/index.vue b/components/plate/index.vue index 44a009e..cd18f79 100644 --- a/components/plate/index.vue +++ b/components/plate/index.vue @@ -22,7 +22,7 @@
重置
- +
关闭
@@ -45,7 +45,7 @@ return [1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', - 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '港', '澳', '学', '领' + 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '警','港', '澳', '学', '领' ] } }, @@ -140,7 +140,7 @@ width: 66upx; height: 66upx; background-color: #fffbe9; - border: 1px solid #cf995a; + border: 1px solid #EF9525; border-radius: 10upx; display: flex; align-items: center; @@ -155,7 +155,7 @@ } &.active { - background-color: #cf995a; + background-color: #EF9525; } } } @@ -212,7 +212,7 @@ position: absolute; bottom: 10upx; right: 22upx; - width: 100upx; + width: 62upx; height: 84upx; background-color: #adb2bc; border-radius: 10upx; diff --git a/main.js b/main.js index 20b101c..0bc4d6c 100644 --- a/main.js +++ b/main.js @@ -36,3 +36,9 @@ moment.locale('zh-cn', { }) Vue.prototype.util = util; Vue.prototype.$moment = moment; + +// main.js +import Plate from '@/components/plate/index.vue' // 注意路径是否正确(建议用绝对路径) + +// 全局注册:第一个参数是组件标签名(需与页面中使用的 一致) +Vue.component('plate', Plate) diff --git a/packages/order/parkorderinfo.vue b/packages/order/parkorderinfo.vue index b392245..425fa28 100644 --- a/packages/order/parkorderinfo.vue +++ b/packages/order/parkorderinfo.vue @@ -274,7 +274,8 @@ .orderBoxInfoRowTxt { font-size: 24rpx; font-family: PingFang SC; - color: #828282; + color: #828282; + width:100%; } .orderBoxTime { diff --git a/packages/park/book.vue b/packages/park/book.vue index f372853..3354779 100644 --- a/packages/park/book.vue +++ b/packages/park/book.vue @@ -113,13 +113,12 @@