WXL (wul)
7 天以前 d90b45d7e9e38e34c044b772006004f2a4cb8b8e
src/views/outsideChainwtnew.vue
@@ -23,7 +23,9 @@
                  : "亲爱的患者-家属,我们是医院的医护人员,为了更好地了解您的康复情况,请您抽一点宝贵时间,完成这份随访问卷。"
              }}
            </div>
            <div v-if="orgname" class="questionnaire-signature">———{{ orgname }}</div>
            <div v-if="orgname" class="questionnaire-signature">
              ———{{ orgname }}
            </div>
          </div>
          <el-divider class="custom-divider"></el-divider>
@@ -327,6 +329,7 @@
        <div class="completion-content">
          <div class="completion-icon">✓</div>
          <h2 class="completion-title">感谢您的配合!</h2>
          <h2 class="completion-title">祝您健康快乐!</h2>
          <p class="completion-message">
            {{
              jsy
@@ -506,7 +509,15 @@
            res.data.param3,
            res.data.param5
          );
          this.orgname = res.data.orgname;
          if (
            res.data.orgname == "省立同德翠苑院区" ||
            res.data.orgname == "省立同德之江院区" ||
            res.data.orgname == "省立同德闲林院区"
          ) {
            this.orgname = "浙江省立同德医院";
          } else {
            this.orgname = res.data.orgname;
          }
          this.param6 = res.data.param6;
        }
@@ -895,7 +906,7 @@
.questionnaire-description {
  font-size: 16px;
  color: #5a6c84;
  color: #303a47;
  line-height: 1.8;
  max-width: 720px;
  margin: 0;
@@ -904,8 +915,8 @@
  text-indent: 2em; /* 首行缩进 */
}
.questionnaire-signature {
  font-size: 15px;
  color: #8a9bb5; /* 比正文颜色稍浅,体现附属感 */
  font-size: 16px;
  color: #303a47;
  text-align: right; /* 右对齐 */
  max-width: 720px;
  margin: 8px 0 0 auto; /* 上边距8px,右边靠齐 */
@@ -972,11 +983,21 @@
.question-stem {
  display: grid;
  grid-template-columns: auto 1fr auto; /* 题号自适应,文本占满剩余空间,题型标签自适应 */
  grid-template-columns: auto 1fr auto;
  gap: 3px;
  align-items: center;
  align-items: start; /* 改为 start 避免居中导致的视觉问题 */
  margin-bottom: 20px;
  font-size: 18px;
}
.question-text {
  line-height: 1.5;
  color: #2c3e50;
  font-weight: 500;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal; /* 确保允许换行 */
  min-width: 0; /* 防止 grid 项溢出 */
}
.question-number {
@@ -985,14 +1006,14 @@
  min-width: 16px;
}
.question-text {
  line-height: 1.5;
  color: #2c3e50;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
// .question-text {
//   line-height: 1.5;
//   color: #2c3e50;
//   font-weight: 500;
//   overflow: hidden;
//   text-overflow: ellipsis;
//   white-space: nowrap;
// }
.question-type-tag {
  color: #3ba2f7;
@@ -1162,11 +1183,11 @@
    font-size: 16px;
  }
  .question-stem {
    font-size: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  // .question-stem {
  //   font-size: 16px;
  //   flex-direction: column;
  //   align-items: flex-start;
  // }
  .question-type-tag {
    margin-left: 0;