Browse Source

样式修改

master
aBin 4 years ago
parent
commit
83e927c38a
  1. 28
      src/views/Activity/Activity.vue
  2. 6
      src/views/Business/components/SearchBox.vue
  3. 12
      src/views/ItInformation/ItInformation.vue
  4. 22
      src/views/Policy/components/PolicyList.vue

28
src/views/Activity/Activity.vue

@ -8,18 +8,11 @@
<div class="inner">
<div class="search-list">
<span>
<a-checkbox :checked="sta.ly === 1" @click="cSta('ly')">路演</a-checkbox>
<a-checkbox :checked="sta.jz === 1" @click="cSta('jz')">讲座</a-checkbox>
<a-checkbox :checked="sta.sl === 1" @click="cSta('sl')">沙龙</a-checkbox>
<a-checkbox style="font-size: 20px; font-weight: bold" :checked="sta.ly === 1" @click="cSta('ly')">路演</a-checkbox>
<a-checkbox style="font-size: 20px; font-weight: bold" :checked="sta.jz === 1" @click="cSta('jz')">讲座</a-checkbox>
<a-checkbox style="font-size: 20px; font-weight: bold" :checked="sta.sl === 1" @click="cSta('sl')">沙龙</a-checkbox>
</span>
<a-input-search
@search="getData"
class="search"
enter-button="搜索"
placeholder="请输入..."
style="width: 381px"
v-model="iptCon"
/>
<a-input-search @search="getData" class="search" enter-button="搜索" placeholder="请输入..." style="width: 381px" v-model="iptCon" />
</div>
<div class="policy-box">
<div :key="index" class="policy-list" v-for="(item, index) in lists">
@ -29,7 +22,7 @@
<a-icon class="pol-icon" type="notification" />
</div>
<p @click="jumpDetails(item)" class="item-title pointer">{{ item.title }}</p>
<p @click="jumpDetails(item)" class="item-content pointer">{{ item.content }}</p>
<p @click="jumpDetails(item)" class="item-content pointer">{{ item.intro }}</p>
<p class="source-time d-flex flex-column">
<span class="source">
时间{{ item.releaseTime }}
@ -38,10 +31,7 @@
<span class="source">地点{{ item.address }}</span>
</p>
<p class="original">
<a-button
disabled
v-if="item.releaseTime && Date.parse(item.releaseTime) < Date.parse(nowData)"
>报名已结束</a-button>
<a-button disabled v-if="item.releaseTime && Date.parse(item.releaseTime) < Date.parse(nowData)">报名已结束</a-button>
<enroll :act-name="item.title" :activity-id="item.activityId" v-else />
</p>
</div>
@ -229,7 +219,7 @@ export default {
overflow: hidden;
display: -webkit-box;
font-size: 24px;
color: rgba(0, 0, 0, 0.65);
color: rgba(0, 0, 0, 0.85);
font-family: Microsoft YaHei;
font-weight: bold;
-webkit-line-clamp: 1;
@ -241,7 +231,7 @@ export default {
text-indent: 2em;
font-size: 16px;
line-height: 36px;
color: rgba(0, 0, 0, 0.65);
color: rgba(0, 0, 0, 0.75);
font-family: Microsoft YaHei;
overflow: hidden;
display: -webkit-box;
@ -253,6 +243,8 @@ export default {
cursor: pointer;
font-family: Microsoft YaHei;
font-weight: 400;
font-size: 16px;
color: rgba(0, 0, 0, 0.45);
opacity: 1;
margin-right: 24px;
}

6
src/views/Business/components/SearchBox.vue

@ -1,6 +1,6 @@
<template>
<div class="search-list">
<span style="font-size: 16px; color: rgba(0, 0, 0, 0.85)">栏目</span>
<span style="font-size: 20px; font-weight: blod; color: rgba(0, 0, 0, 0.85)">栏目</span>
<!-- <a-select allow-clear style="width: 120px" @change="handleChange">
<a-select-option v-for="(item, index) in bannerList" :key="index" :value="index + 1"> {{ item }} </a-select-option>
</a-select> -->
@ -14,7 +14,7 @@
{{ item }}
</span>
<br />
<span style="font-size: 16px; color: rgba(0, 0, 0, 0.85)">类型</span>
<span style="font-size: 20px; font-weight: blod; color: rgba(0, 0, 0, 0.85)">类型</span>
<span
class="ban-style"
:class="typeNum === index + 1 ? 'ban-act' : ''"
@ -25,7 +25,7 @@
{{ item }}
</span>
<br />
<span style="font-size: 16px; color: rgba(0, 0, 0, 0.85)">时间</span>
<span style="font-size: 20px; font-weight: blod; color: rgba(0, 0, 0, 0.85)">时间</span>
<span
class="ban-style"
:class="timeNum === index + 1 ? 'ban-act' : ''"

12
src/views/ItInformation/ItInformation.vue

@ -125,7 +125,7 @@ export default {
margin-left: 200px;
text-indent: 2em;
font-size: 16px;
color: rgba(0, 0, 0, 0.35);
color: rgba(0, 0, 0, 0.75);
line-height: 36px;
font-family: Microsoft YaHei;
overflow: hidden;
@ -136,8 +136,9 @@ export default {
.source {
cursor: pointer;
font-size: 16px;
color: rgba(0, 0, 0, 0.45) !important;
font-family: Microsoft YaHei;
font-weight: 400;
opacity: 1;
margin-right: 24px;
}
@ -145,8 +146,8 @@ export default {
.time {
font-size: 14px;
font-family: Microsoft YaHei;
font-weight: 400;
color: rgba(0, 0, 0, 0.25);
// font-weight: 400;
color: rgba(0, 0, 0, 0.65);
opacity: 1;
}
@ -156,7 +157,7 @@ export default {
bottom: 25px;
font-size: 14px;
font-family: Microsoft YaHei;
font-weight: 400;
// font-weight: 400;
line-height: 22px;
opacity: 1;
margin-bottom: 0;
@ -201,6 +202,7 @@ export default {
.source-time {
margin-left: 200px;
position: absolute;
color: rgba(0, 0, 0, 0.65) !important;
bottom: 26px;
margin-bottom: 0;
}

22
src/views/Policy/components/PolicyList.vue

@ -9,10 +9,18 @@
<div class="search-list">
<!-- <search-list @iptCon="getInput" /> -->
<span>
<a-checkbox :checked="pStatus.bw - 0 === 1" @click="changeStatus('bw')">国家</a-checkbox>
<a-checkbox :checked="pStatus.sx - 0 === 1" @click="changeStatus('sx')">山西省</a-checkbox>
<a-checkbox :checked="pStatus.ty - 0 === 1" @click="changeStatus('ty')">太原市</a-checkbox>
<a-checkbox :checked="pStatus.zg - 0 === 1" @click="changeStatus('zg')">山西省综改区</a-checkbox>
<a-checkbox style="font-size: 18px; font-weight: bold" :checked="pStatus.bw - 0 === 1" @click="changeStatus('bw')">
国家
</a-checkbox>
<a-checkbox style="font-size: 18px; font-weight: bold" :checked="pStatus.sx - 0 === 1" @click="changeStatus('sx')">
山西省
</a-checkbox>
<a-checkbox style="font-size: 18px; font-weight: bold" :checked="pStatus.ty - 0 === 1" @click="changeStatus('ty')">
太原市
</a-checkbox>
<a-checkbox style="font-size: 18px; font-weight: bold" :checked="pStatus.zg - 0 === 1" @click="changeStatus('zg')">
山西省综改区
</a-checkbox>
</span>
<a-input-group class="search" compact>
<a-select @change="changeCode" style="width: 120px; height: 40px" v-model="pStatus.policyText[pStatus.value - 1]">
@ -194,7 +202,7 @@ export default {
.item-title {
overflow: hidden;
display: -webkit-box;
font-size: 20px;
font-size: 18px;
color: rgba(0, 0, 0, 0.65);
font-family: Microsoft YaHei;
font-weight: bold;
@ -206,7 +214,7 @@ export default {
text-indent: 2em;
font-size: 14px;
line-height: 24px;
color: rgba(0, 0, 0, 0.65);
color: rgba(0, 0, 0, 0.75);
font-family: Microsoft YaHei;
overflow: hidden;
display: -webkit-box;
@ -226,7 +234,7 @@ export default {
font-size: 14px;
font-family: Microsoft YaHei;
font-weight: 400;
color: rgba(0, 0, 0, 0.25);
color: rgba(0, 0, 0, 0.45);
opacity: 1;
}

Loading…
Cancel
Save