Commit 33c8d16b authored by YangAo's avatar YangAo 🇨🇳

政策订阅 样式修改

parent 311c4ec9
...@@ -98,10 +98,10 @@ ...@@ -98,10 +98,10 @@
<div class="PolicySubscription-content"> <div class="PolicySubscription-content">
<template v-if="cardList.length > 0"> <template v-if="cardList.length > 0">
<el-row class="title"> <el-row class="title">
<el-col :span="2"> <el-col :span="1">
<span>#</span> <span>#</span>
</el-col> </el-col>
<el-col :span="10"> <el-col :span="11">
<span>标题</span> <span>标题</span>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
...@@ -122,25 +122,25 @@ ...@@ -122,25 +122,25 @@
@click="gotoDetails(item.id)" @click="gotoDetails(item.id)"
> >
<el-row class="row"> <el-row class="row">
<el-col :span="2"> <el-col class="index" :span="1">
<span>{{ index + 1 }}</span> <span>{{ index + 1 }}</span>
</el-col> </el-col>
<el-col :span="10" style="cursor: pointer"> <el-col class="title-text" :span="11" style="cursor: pointer">
<span style=" color: #018FD6;font-weight: bold">[{{ <div class="level">{{
findLabelSingle(item.level, 'policyLevel') findLabelSingle(item.level, 'policyLevel')
}}]</span> }}</div>
<span style="white-space: pre-wrap">{{ item.title }}</span> <div class="title-detail" style="white-space: pre-wrap">{{ item.title }}</div>
</el-col> </el-col>
<el-col :span="6"> <el-col class="support-amount" :span="6">
<span>{{ <span>{{
item.isSupport === undefined || item.isSupport === null || item.isSupport === '0' ? '根据实际情况给予扶持' : item.supportAmount + '万元' item.isSupport === undefined || item.isSupport === null || item.isSupport === '0' ? '根据实际情况给予扶持' : item.supportAmount + '万元'
}}</span> }}</span>
</el-col> </el-col>
<el-col :span="3"> <el-col class="release-time" :span="3">
<span v-if="item.releaseDate">{{ item.releaseDate | transformDateByFormat('YYYY/MM/DD') }}</span> <span v-if="item.releaseDate">{{ item.releaseDate | transformDateByFormat('YYYY/MM/DD') }}</span>
<span v-else>{{ nothingTip }}</span> <span v-else>{{ nothingTip }}</span>
</el-col> </el-col>
<el-col :span="3"> <el-col class="declare-end-time" :span="3">
<!--<span v-if="item.declareBeginTime != null && item.declareEndTime != null">{{ <!--<span v-if="item.declareBeginTime != null && item.declareEndTime != null">{{
item.declareBeginTime | transformDateByFormat('YYYY/MM/DD') item.declareBeginTime | transformDateByFormat('YYYY/MM/DD')
}} ~ {{ item.declareEndTime | transformDateByFormat('YYYY/MM/DD') }}</span> }} ~ {{ item.declareEndTime | transformDateByFormat('YYYY/MM/DD') }}</span>
...@@ -158,17 +158,18 @@ ...@@ -158,17 +158,18 @@
</el-row> </el-row>
</div> </div>
</div> </div>
<pagination
:page.sync="searchForm.pageNum"
:limit.sync="searchForm.pageSize"
:rows="[10, 20, 30, 50]"
:total="total"
@pagination="handleQuery"
/>
</template> </template>
<div v-else class="no-data"> <div v-else class="no-data">
<el-image :src="images.ZanWuShuJu" /> <el-image :src="images.ZanWuShuJu" />
</div> </div>
<pagination
:page.sync="searchForm.pageNum"
:limit.sync="searchForm.pageSize"
:rows="[10, 20, 30, 50]"
:total="total"
@pagination="handleQuery"
/>
</div> </div>
<el-dialog <el-dialog
class="policy-subscription-add-subscription-dialog" class="policy-subscription-add-subscription-dialog"
...@@ -777,6 +778,8 @@ export default { ...@@ -777,6 +778,8 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
.PolicySubscription-module { .PolicySubscription-module {
font-size: 15px;
color: #333333;
.search { .search {
background-color: #FFFFFF; background-color: #FFFFFF;
...@@ -833,11 +836,13 @@ export default { ...@@ -833,11 +836,13 @@ export default {
.PolicySubscription-content { .PolicySubscription-content {
margin: 20px 0; margin: 20px 0;
background-color: #FFFFFF;
padding: 25px 40px;
.title { .title {
padding: 0 15px; padding: 0 10px 19px;
margin: 20px 0;
background-color: #FFFFFF; background-color: #FFFFFF;
border-bottom: 1px solid #E4E4E4;
font-size: 17px; font-size: 17px;
font-family: Source Han Sans CN-Bold, Source Han Sans CN,serif; font-family: Source Han Sans CN-Bold, Source Han Sans CN,serif;
font-weight: bold; font-weight: bold;
...@@ -856,16 +861,25 @@ export default { ...@@ -856,16 +861,25 @@ export default {
.pc-card { .pc-card {
.pc-cardChild { .pc-cardChild {
padding: 15px; padding: 20px 10px;
margin-bottom: 10px; border-bottom: 1px solid #E4E4E4;
background-color: #FFFFFF;
.row { .row {
padding: 5px 0;
.row-label { .row-label {
font-weight: bold; font-weight: bold;
} }
.title-text {
display: flex;
padding-right: 70px;
.level {
min-width: 5.1rem;
text-align: center;
color: #1A78E5;
}
.title-detail {
}
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment