Add navigation to policy detail and adjust font sizes in policyList component
- Implemented a method to navigate to the policy detail page with the selected item's ID. - Reduced font sizes for various elements in the policyList component to improve layout and readability.
This commit is contained in:
@@ -278,6 +278,11 @@ export default {
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
toPolicyDetail() {
|
||||
uni.navigateTo({
|
||||
url: `/packageRc/pages/policy/policyDetail?id=${item.id}`,
|
||||
})
|
||||
},
|
||||
async getCheckData() {
|
||||
const resLevel = await getDicts("zc_level");
|
||||
const resType1 = await getDicts("policy_type1");
|
||||
@@ -1162,7 +1167,7 @@ export default {
|
||||
}
|
||||
|
||||
.total-count {
|
||||
font-size: 20px !important;
|
||||
font-size: 12px !important;
|
||||
margin: 20px 0 !important;
|
||||
display: block;
|
||||
}
|
||||
@@ -1171,14 +1176,14 @@ export default {
|
||||
padding: 32px !important;
|
||||
}
|
||||
.title {
|
||||
font-size: 24px !important;
|
||||
font-size: 14px !important;
|
||||
font-weight: 600;
|
||||
margin-bottom: 16px !important;
|
||||
}
|
||||
.infos {
|
||||
margin-bottom: 16px !important;
|
||||
view {
|
||||
font-size: 18px !important;
|
||||
font-size: 11px !important;
|
||||
line-height: 1.6 !important;
|
||||
padding: 4px 12px !important;
|
||||
margin-right: 12px !important;
|
||||
@@ -1212,7 +1217,7 @@ export default {
|
||||
margin-right: 16rpx !important;
|
||||
}
|
||||
.loading-text {
|
||||
font-size: 26px !important;
|
||||
font-size: 16px !important;
|
||||
}
|
||||
}
|
||||
/* #endif */
|
||||
@@ -1237,12 +1242,12 @@ export default {
|
||||
font-weight: 300;
|
||||
.iconfont{
|
||||
|
||||
font-size: 40px!important;
|
||||
font-size: 24px!important;
|
||||
}
|
||||
}
|
||||
.nav-title {
|
||||
color: #fff;
|
||||
font-size: 43rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.nav-placeholder {
|
||||
@@ -1283,7 +1288,7 @@ export default {
|
||||
}
|
||||
|
||||
.date-md {
|
||||
font-size: 60rpx;
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
color: #107afd;
|
||||
line-height: 1;
|
||||
@@ -1304,7 +1309,7 @@ export default {
|
||||
justify-content: center;
|
||||
|
||||
.card-title {
|
||||
font-size: 64rpx;
|
||||
font-size: 38rpx;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
margin-bottom: 24rpx;
|
||||
@@ -1321,7 +1326,7 @@ export default {
|
||||
flex-wrap: wrap;
|
||||
|
||||
.info-tag {
|
||||
font-size: 48rpx;
|
||||
font-size: 29rpx;
|
||||
color: #999;
|
||||
margin-right: 24rpx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user