From 63a7d4f2bb7fdeaa1e6ed616a14c213d91d25a99 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期五, 27 十二月 2024 15:21:21 +0800 Subject: [PATCH] 轮播图优化 --- src/components/choice/choice.vue | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/components/choice/choice.vue b/src/components/choice/choice.vue index 622f6f9..63e5726 100644 --- a/src/components/choice/choice.vue +++ b/src/components/choice/choice.vue @@ -3,8 +3,8 @@ <!-- 棰樼洰鍐呭鍙婇�夐」閮ㄥ垎 --> <div style="display: flex; flex-direction: column;"> <div class="question-t"> - <span style="display: flex; "><span class="hs1">鈼�</span>璇烽�夊嚭浣犺涓烘纭殑绛旀銆�</span> - <span>绗瑊{ currentQuestion.id }}棰� (鍏眥{ questions.length}}棰�)</span> + <p style="display: flex;"><span class="hs1">鈼�</span>璇烽�夊嚭浣犺涓烘纭殑绛旀銆�</p> + <p>绗瑊{ currentQuestion.id }}棰� (鍏眥{ questions.length}}棰�)</p> </div> <div class="question-content"> <p>{{ currentQuestion.stem.stemTxt }}</p> @@ -429,6 +429,10 @@ justify-content: space-between; width: 100%; margin-top: 10px; + + p{ + text-indent: 0em + } } .all-options { @@ -455,6 +459,12 @@ flex-wrap: wrap; height: min-content; } + + .question-t { + display: block; + width: 100%; + margin-top: 10px; +} } .option { @@ -584,7 +594,6 @@ } .face-text { - text-wrap: nowrap; } </style> -- Gitblit v1.9.1