style: title 样式修改
This commit is contained in:
@@ -115,7 +115,7 @@ onMounted(() => {
|
||||
|
||||
<template>
|
||||
<div class="create_survey">
|
||||
<div class="create_survey_title" style="color: #000; text-align: left">新建任务</div>
|
||||
<div class="create_survey_title">新建任务</div>
|
||||
<div class="home-pen">
|
||||
<img :src="homePen" alt="" />
|
||||
</div>
|
||||
@@ -166,12 +166,11 @@ onMounted(() => {
|
||||
color: #000;
|
||||
|
||||
.create_survey_title {
|
||||
position: relative;
|
||||
margin: 16px;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
font-size: 15px;
|
||||
font-family: PingFangSC, 'PingFang SC';
|
||||
font-family: PingFangSC-Heavy;
|
||||
font-weight: 900;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
& .warp {
|
||||
|
||||
@@ -6,6 +6,9 @@ const surveys = defineModel('surveys', { required: true });
|
||||
|
||||
<template>
|
||||
<div class="carousel-container">
|
||||
<div class="title">
|
||||
<el-text size="large">我的问卷</el-text>
|
||||
</div>
|
||||
<van-swipe>
|
||||
<van-swipe-item v-for="question in surveys" :key="question?.sn">
|
||||
<question-list :survey="question" style="max-width: 100vw; overflow: hidden" />
|
||||
@@ -24,6 +27,13 @@ const surveys = defineModel('surveys', { required: true });
|
||||
border-radius: theme.$card-radius;
|
||||
padding: 10px;
|
||||
|
||||
.title {
|
||||
font-size: 15px;
|
||||
font-family: PingFangSC-Heavy;
|
||||
font-weight: 900;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.carousel-item {
|
||||
.swipe-container {
|
||||
margin-top: theme.$gap;
|
||||
|
||||
Reference in New Issue
Block a user