调整字体等

This commit is contained in:
2026-03-12 17:11:14 +08:00
parent b8558dfb41
commit bc16633f75
5 changed files with 284 additions and 104 deletions

View File

@@ -1,5 +1,5 @@
<template>
<view class="page h5-pc-page" style="background-image: url(../../../packageRc/static/pageBg.png);">
<view class="page" :class="{'h5-pc-page': isH5}" style="background-image: url(../../../packageRc/static/pageBg.png);">
<scroll-view :scroll-y="true" style="height: 100vh;position: relative;z-index: 1;" :show-scrollbar="false">
<view class="input-outer-part"
style="padding: 24rpx 32rpx 0;max-height: unset;">
@@ -102,9 +102,15 @@ import { getPolicyDetail } from "@/packageRc/apiRc/policy";
return {
policyDetail: {},
loading: false,
isH5: false,
isPc: false,
}
},
onLoad(options) {
// #ifdef H5
this.isH5 = true;
this.isPc = true;
// #endif
this.getPolicy(options.id);
},
onShow() {
@@ -360,29 +366,52 @@ import { getPolicyDetail } from "@/packageRc/apiRc/policy";
padding-right: 0 !important;
}
.title-line {
font-size: 52rpx !important;
font-size: 24px !important;
font-weight: 600;
line-height: 1.4 !important;
}
.infos {
font-size: 38rpx !important;
font-size: 20px !important;
line-height: 1.8 !important;
.info {
margin-top: 10rpx !important;
}
}
.main-ceontent-list-item-title {
font-size: 42rpx !important;
line-height: 60rpx !important;
font-size: 24px !important;
font-weight: 600;
line-height: 1.6 !important;
margin-bottom: 24rpx !important;
}
.main-ceontent-list-item-content {
font-size: 38rpx !important;
line-height: 56rpx !important;
font-size: 20px !important;
line-height: 1.6 !important;
padding: 24rpx !important;
}
.tag {
font-size: 34rpx !important;
font-size: 20px !important;
}
.main-ceontent-list-title {
font-size: 24px !important;
font-weight: 600 !important;
}
.part-title {
font-size: 24px !important;
font-weight: 600 !important;
}
.part-info {
font-size: 20px !important;
}
.notice-list .title {
font-size: 24px !important;
font-weight: 600 !important;
}
.notice-content {
font-size: 20px !important;
}
.enclosure-item {
font-size: 20px !important;
}
}
/* #endif */
</style>

View File

@@ -1,6 +1,6 @@
<template>
<view
class="page h5-pc-page"
class="page" :class="{'h5-pc-page': isH5}"
style="
background-image: url(../../../packageRc/static/pageBg.png);
"
@@ -44,7 +44,7 @@
style="position: relative; padding: 32rpx 0; color: #000"
>
<!-- <view v-if="total" style="position: relative;padding-bottom: 16px;color: #000;"> -->
<text> {{ total }} </text>
<text class="total-count"> {{ total }} </text>
</view>
<!-- <scroll-view :scroll-y="true" style="height: calc(100vh - 342rpx);position: relative;z-index: 1;" -->
<scroll-view
@@ -69,14 +69,14 @@
<view v-if="item.sourceUnit">{{ item.sourceUnit }}</view>
</view>
<view class="bottom-line">
<view
><uni-icons color="#A2A2A2" type="info" size="12"></uni-icons
>发文日期{{ item.publishTime }}</view
>
<view
><uni-icons color="#A2A2A2" type="eye" size="12"></uni-icons
>浏览量{{ item.viewNum || 0 }}</view
>
<view>
<uni-icons color="#A2A2A2" type="info" :size="uniIconSize"></uni-icons>
发文日期{{ item.publishTime }}
</view>
<view>
<uni-icons color="#A2A2A2" type="eye" :size="uniIconSize"></uni-icons>
浏览量{{ item.viewNum || 0 }}
</view>
</view>
</view>
<view style="padding-bottom: 24rpx">
@@ -85,11 +85,8 @@
src="https://rc.jinan.gov.cn/qcwjyH5/static/images/person/empty.png"
style="width: 100%; display: block; margin: 0 auto"
/>
<view v-if="loading"
><u-loading-icon></u-loading-icon>
<view style="text-align: center; color: #8e8e8e; font-size: 24rpx"
>加载中~</view
>
<view v-if="loading">
<uni-load-more status="loading" :content-text="{contentrefresh: '加载中~'}"></uni-load-more>
</view>
<view
v-else-if="showMorePage"
@@ -116,6 +113,8 @@ export default {
},
data() {
return {
uniIconSize: 18,
isH5: false,
queryParams: {
pageNum: 1,
pageSize: 10,
@@ -130,6 +129,10 @@ export default {
};
},
onLoad(options) {
// #ifdef H5
this.uniIconSize = 20;
this.isH5 = true;
// #endif
this.queryParams.zclx = options.zclx;
this.getCheckData();
},
@@ -668,25 +671,62 @@ export default {
width: 100% !important;
.input-outer-part {
width: 80% !important;
width: 100% !important;
margin: 0 auto !important;
padding-left: 0 !important;
padding-right: 0 !important;
padding-left: 32px !important;
padding-right: 32px !important;
box-sizing: border-box !important;
}
.total-count {
font-size: 20px !important;
margin: 20px 0 !important;
display: block;
}
.policy-list {
margin-bottom: 24px !important;
padding: 32px !important;
}
.title {
font-size: 48rpx !important;
margin-bottom: 24rpx !important;
font-size: 24px !important;
font-weight: 600;
margin-bottom: 16px !important;
}
.infos view {
font-size: 36rpx !important;
line-height: 56rpx !important;
.infos {
margin-bottom: 16px !important;
view {
font-size: 18px !important;
line-height: 1.6 !important;
padding: 4px 12px !important;
margin-right: 12px !important;
}
}
.bottom-line {
font-size: 34rpx !important;
margin-top: 24rpx !important;
font-size: 18px !important;
margin-top: 16px !important;
display: flex;
align-items: center;
border-top: 1px solid #f0f0f0;
padding-top: 16px;
}
.bottom-line uni-icons {
font-size: 20px !important;
margin-right: 8rpx;
}
input {
font-size: 36rpx !important;
font-size: 20px !important;
height: 48px !important;
}
.search-line {
height: 80rpx !important;
}
.policy-list .title image {
width: 56rpx !important;
height: 56rpx !important;
margin-right: 16rpx !important;
}
.loading-text {
font-size: 20px !important;
}
}
/* #endif */