From 83de834e6d932c47cb6cfbc9cdcfaa8a81143d01 Mon Sep 17 00:00:00 2001 From: fifthThirteen <570205219@qq.com> Date: Fri, 10 Jan 2025 18:09:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B4=BB=E5=8A=A8=E5=91=8A=E7=A4=BA?= =?UTF-8?q?=E7=BE=8E=E4=BA=BA=E5=9B=BE#152?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/gonggao/daily.less | 63 +++++++ src/components/gonggao/Daily.vue | 44 ++++- src/components/gonggao/daily/MrtDialog.vue | 178 ++++++++++++++++++ src/components/gonggao/daily/SimpleMrt.vue | 78 +++++--- src/components/gonggao/daily/SimpleMrtV1.vue | 65 +++++++ src/components/gonggao/daily/SimpleNotice.vue | 5 +- src/service/gonggao.js | 16 +- src/store/pvg.js | 2 +- 8 files changed, 422 insertions(+), 29 deletions(-) create mode 100644 src/components/gonggao/daily/MrtDialog.vue create mode 100644 src/components/gonggao/daily/SimpleMrtV1.vue diff --git a/src/assets/css/gonggao/daily.less b/src/assets/css/gonggao/daily.less index 2375d8e09..4093c5d06 100644 --- a/src/assets/css/gonggao/daily.less +++ b/src/assets/css/gonggao/daily.less @@ -527,6 +527,49 @@ } } } + .m-simple-mrt-new { + .flex; + flex-direction: column; + gap: 10px; + .m-mrt-item { + position: relative; + .flex; + justify-content: space-between; + align-items: center; + padding: 10px; + gap: 20px; + width: 100%; + height: 76px; + box-sizing: border-box; + + background: #ffffff; + border-radius: 10px; + font-size: 14px; + font-weight: bold; + .u-name { + .flex; + align-items: center; + gap: 10px; + color: #000000; + &.active { + color: #ffad31; + } + } + .u-desc { + font-size: 12px; + color: #999; + font-weight: normal; + } + .u-date { + font-size: 10px; + color: #999; + font-weight: normal; + position: absolute; + right: 10px; + bottom: 10px; + } + } + } .m-simple-horse { position: relative; @@ -778,4 +821,24 @@ } } } + .u-mrt-title { + .flex; + align-items: center; + gap: 10px; + .el-select { + max-width: 72px; + .el-input__inner { + border: none; + padding: 0; + background-color: transparent; + } + input { + font-size: 12px; + padding: 0; + } + .el-input__suffix { + right: -15px; + } + } + } } diff --git a/src/components/gonggao/Daily.vue b/src/components/gonggao/Daily.vue index 5139fb2ac..7e07a8ece 100644 --- a/src/components/gonggao/Daily.vue +++ b/src/components/gonggao/Daily.vue @@ -40,7 +40,20 @@