Browse Source

样式

v4.3.1_xiaowang_bug
是小王呀\24601 1 year ago
parent
commit
e3df1134e2
  1. 9
      app.wxss
  2. BIN
      images/pingfangheiti.ttf
  3. 14
      pages/index/index.js
  4. 17
      pages/index/index.wxss
  5. 13
      pages/resiAndHouse/resiAndHouse.js
  6. 54
      pages/resiAndHouse/resiAndHouse.wxss
  7. 3
      subpages/InspectionReport/pages/InspectionReport/InspectionReport.wxss
  8. 8
      subpages/addResi/pages/addResi/addResi.wxml
  9. 2
      subpages/addResi/pages/addResi/addResi.wxss
  10. 4
      subpages/addhouse/pages/addhouse/addhouse.wxss
  11. 13
      subpages/communitySelfInsp/pages/historyQuery/historyQuery.js
  12. 2
      subpages/communitySelfInsp/pages/historyQuery/historyQuery.wxml
  13. 9
      subpages/communitySelfInsp/pages/historyQuery/historyQuery.wxss
  14. 3
      subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.wxml
  15. 12
      subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.wxss
  16. 13
      subpages/nohouse/pages/nohouse/nohouse.js
  17. 3
      subpages/nohouse/pages/nohouse/nohouse.wxss
  18. 38
      subpages/residentCategory/pages/residentCategory/residentCategory.wxss
  19. 13
      subpages/resnoinformation/pages/resnoinformation/resnoinformation.js
  20. 10
      subpages/resnoinformation/pages/resnoinformation/resnoinformation.wxss

9
app.wxss

@ -7,12 +7,19 @@
justify-content: space-between; justify-content: space-between;
padding: 200rpx 0; padding: 200rpx 0;
box-sizing: border-box; box-sizing: border-box;
font-family: "PingFangSC-Regular", sans-serif;
} }
page { page {
--calendar-range-edge-background-color: #3E92FF; --calendar-range-edge-background-color: #3E92FF;
--calendar-range-middle-color: #81B5FB; --calendar-range-middle-color: #81B5FB;
--button-danger-background-color: linear-gradient(87deg, #81B5FB 0%, #3E92FF 100%); --button-danger-background-color: linear-gradient(87deg, #81B5FB 0%, #3E92FF 100%);
--button-danger-border-color: 'none'; --button-danger-border-color: 'none';
--calendar-selected-day-background-color: #3E92FF; --calendar-selected-day-background-color: #3E92FF;
font-family: "PingFangSC-Regular", sans-serif;
} }
@font-face {
font-family: "PingFangSC-Regular";
src: url(/images/pingfangheiti.ttf) format('truetype');
}

BIN
images/pingfangheiti.ttf

Binary file not shown.

14
pages/index/index.js

@ -35,7 +35,19 @@ Page({
share:app.globalData.share, share:app.globalData.share,
}) })
this.getInspRecord() this.getInspRecord()
wx.loadFontFace({
family: 'PingFangSC-regular',
source: 'url("https://www.your-server.com/PingFangSC-Medium.ttf")',
success: function() {
console.log('Font loaded successfully');
},
fail: function(error) {
console.error('Font loading failed', error);
},
complete: function() {
console.log('Font loading process complete');
}
});
}, },
onShareAppMessage() { onShareAppMessage() {
return{ return{

17
pages/index/index.wxss

@ -7,6 +7,7 @@ page {
flex-direction: column; flex-direction: column;
background-color: #f7f7f7; background-color: #f7f7f7;
/* z-index: -9999; */ /* z-index: -9999; */
font-family: 'PingFangSC-regular', sans-serif;
} }
.header { .header {
display: flex; display: flex;
@ -358,7 +359,6 @@ page {
white-space: nowrap; white-space: nowrap;
line-height: 36rpx; line-height: 36rpx;
margin-top: 14rpx; margin-top: 14rpx;
font-weight: 300;
} }
.text-group_5 { .text-group_5 {
position: absolute; position: absolute;
@ -389,7 +389,6 @@ page {
white-space: nowrap; white-space: nowrap;
line-height: 36rpx; line-height: 36rpx;
margin-top: 12rpx; margin-top: 12rpx;
font-weight: 300;
} }
.group_4 { .group_4 {
@ -435,7 +434,6 @@ page {
white-space: nowrap; white-space: nowrap;
line-height: 36rpx; line-height: 36rpx;
text-align: right;margin-top: 20rpx; text-align: right;margin-top: 20rpx;
font-weight: 300;
} }
.text-group_7 { .text-group_7 {
@ -472,7 +470,6 @@ page {
line-height: 36rpx; line-height: 36rpx;
text-align: right; text-align: right;
margin-top: 15rpx; margin-top: 15rpx;
font-weight: 300;
} }
@ -770,7 +767,6 @@ page {
.more{ .more{
font-size: 28rpx; font-size: 28rpx;
color: #B4B4B4; color: #B4B4B4;
font-weight: 300;
line-height: 36rpx; line-height: 36rpx;
} }
.Information{ .Information{
@ -784,7 +780,7 @@ page {
height: 110rpx; height: 110rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: 10rpx 30rpx 0 30rpx; margin: 15rpx 30rpx 0 30rpx;
} }
.Information_one{ .Information_one{
display: flex; display: flex;
@ -801,7 +797,6 @@ page {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-weight: 300;
} }
.Information_test2{ .Information_test2{
width: 60rpx; width: 60rpx;
@ -809,7 +804,6 @@ page {
font-size: 26rpx; font-size: 26rpx;
color: #666666; color: #666666;
line-height: 40rpx; line-height: 40rpx;
font-weight: 300;
} }
.Information_two{ .Information_two{
display: flex; display: flex;
@ -905,7 +899,6 @@ line-height: 40rpx;
font-size: 32rpx; font-size: 32rpx;
color: #333333; color: #333333;
line-height: 52rpx; line-height: 52rpx;
font-weight: 300;
} }
.new_submitt{ .new_submitt{
margin-top: 20rpx; margin-top: 20rpx;
@ -933,8 +926,6 @@ line-height: 40rpx;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-size: 32rpx; font-size: 32rpx;
font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
font-weight: 500;
} }
.list_card:last-child { .list_card:last-child {
@ -956,7 +947,6 @@ line-height: 40rpx;
font-size: 32rpx; font-size: 32rpx;
color: #333333; color: #333333;
line-height: 52rpx; line-height: 52rpx;
font-weight: 300;
} }
.new_submit{ .new_submit{
margin-top: 30rpx; margin-top: 30rpx;
@ -1018,7 +1008,7 @@ font-weight: 300;
justify-content: space-between; justify-content: space-between;
font-size: 32rpx; font-size: 32rpx;
margin-left: 20rpx; margin-left: 20rpx;
font-weight: 300; font-family: PingFangSC-regular;
} }
.img_door{ .img_door{
@ -1039,5 +1029,4 @@ font-weight: 300;
.card_text{ .card_text{
margin-left: 20rpx; margin-left: 20rpx;
font-size: 32rpx; font-size: 32rpx;
font-weight: 300;
} }

13
pages/resiAndHouse/resiAndHouse.js

@ -113,6 +113,19 @@ Page({
this.getAllOrgCategoryCount() this.getAllOrgCategoryCount()
this.getTableData() this.getTableData()
this.getTopTreeData() this.getTopTreeData()
wx.loadFontFace({
family: 'PingFangSC-regular',
source: 'url("https://img2.misssixty.com.cn/rs/lib/fonts/PingFangSC-regular.ttf")',
success: function() {
console.log('Font loaded successfully');
},
fail: function(error) {
console.error('Font loading failed', error);
},
complete: function() {
console.log('Font loading process complete');
}
});
}, },
// //
/** /**

54
pages/resiAndHouse/resiAndHouse.wxss

@ -469,12 +469,11 @@ page {
} }
.text_16 { .text_16 {
font-family: 'PingFangSC-regular', sans-serif;
width: fit-content; width: fit-content;
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(51, 51, 51, 1); color: rgba(51, 51, 51, 1);
font-size: 34rpx; font-size: 34rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 41rpx; line-height: 41rpx;
@ -522,7 +521,8 @@ page {
.text-wrapper_9 .label{ .text-wrapper_9 .label{
color: #999999; color: #999999;
width: 235rpx; width: 235rpx;
font-weight: 300; font-family: 'PingFangSC-regular', sans-serif;
} }
.text-wrapper_9 .value{ .text-wrapper_9 .value{
color: #04b8ad; color: #04b8ad;
@ -644,8 +644,7 @@ page {
height: 28rpx; height: 28rpx;
overflow-wrap: break-word; overflow-wrap: break-word;
font-size: 0rpx; font-size: 0rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 300;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 40rpx; line-height: 40rpx;
@ -680,12 +679,11 @@ page {
height: 30rpx; height: 30rpx;
overflow-wrap: break-word; overflow-wrap: break-word;
font-size: 0rpx; font-size: 0rpx;
font-family: PingFang-SC-Medium;
font-weight: 300;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 40rpx; line-height: 40rpx;
margin: 20rpx 0 0 0; margin: 20rpx 0 0 0;
font-family: 'PingFangSC-regular', sans-serif;
} }
.text_27 { .text_27 {
@ -726,7 +724,7 @@ page {
white-space: nowrap; white-space: nowrap;
line-height: 40rpx; line-height: 40rpx;
margin: 20rpx 0 0 0; margin: 20rpx 0 0 0;
font-weight: 300;
} }
.text_30 { .text_30 {
@ -762,31 +760,9 @@ page {
margin: 20rpx 0 0 0; margin: 20rpx 0 0 0;
} }
.text_32 {
width: 537rpx;
height: 28rpx;
overflow-wrap: break-word;
color: rgba(153, 153, 153, 1);
font-size: 30rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
text-align: left;
white-space: nowrap;
line-height: 40rpx;
}
.text_33 {
width: 537rpx;
height: 28rpx;
overflow-wrap: break-word;
color: rgba(51, 51, 51, 1);
font-size: 30rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
text-align: left;
white-space: nowrap;
line-height: 40rpx;
}
.image_6 { .image_6 {
width: 650rpx; width: 650rpx;
@ -802,19 +778,7 @@ page {
margin: 28rpx 0 0 31rpx; margin: 28rpx 0 0 31rpx;
} }
.text_34 {
width: 83rpx;
height: 32rpx;
overflow-wrap: break-word;
color: rgba(51, 51, 51, 1);
font-size: 34rpx;
font-family: PingFang-SC-Medium;
font-weight: 500;
text-align: left;
white-space: nowrap;
line-height: 41rpx;
margin-top: 2rpx;
}
.text-wrapper_23 { .text-wrapper_23 {
background-color: rgba(236, 236, 236, 0.500000); background-color: rgba(236, 236, 236, 0.500000);

3
subpages/InspectionReport/pages/InspectionReport/InspectionReport.wxss

@ -52,8 +52,7 @@ page {
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(51,51,51,1); color: rgba(51,51,51,1);
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang-SC-Regular; font-family: "PingFangSC-Regular", sans-serif;
font-weight: normal;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 42rpx; line-height: 42rpx;

8
subpages/addResi/pages/addResi/addResi.wxml

@ -153,13 +153,11 @@
<image src="../../../../images/right.png" mode="" /> <image src="../../../../images/right.png" mode="" />
</view> </view>
</view> </view>
<view class="house_btn"> </view>
<view class="house_btn">
<button bind:tap="addHouse">+</button> <button bind:tap="addHouse">+</button>
<button bind:tap="delHouse" data-indexP="{{indexP}}" wx:if="{{form.resideInfoDtos.length>1}}">-</button> <button bind:tap="delHouse" data-indexP="{{indexP}}" wx:if="{{form.resideInfoDtos.length>1}}"></button>
</view> </view>
</view>
</view> </view>
<view class="form_card form_height" wx:if="{{activeForm === 1}}"> <view class="form_card form_height" wx:if="{{activeForm === 1}}">

2
subpages/addResi/pages/addResi/addResi.wxss

@ -94,8 +94,6 @@ page {
height: 100%; height: 100%;
line-height: 100rpx; line-height: 100rpx;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC;
font-weight: 500;
color: #666666; color: #666666;
position: relative; position: relative;
} }

4
subpages/addhouse/pages/addhouse/addhouse.wxss

@ -80,7 +80,7 @@ page {
padding: 0 20rpx; padding: 0 20rpx;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
top: -60rpx; top: -50rpx;
} }
.form_card { .form_card {
background-color: #fff; background-color: #fff;
@ -131,13 +131,11 @@ page {
line-height: 100rpx; line-height: 100rpx;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 300;
color: #666666; color: #666666;
position: relative; position: relative;
} }
.form_card .form_item .label .must{ .form_card .form_item .label .must{
font-size: 32rpx; font-size: 32rpx;
font-weight: 300;
color: #FF2A00; color: #FF2A00;
position: absolute; position: absolute;
left: -18rpx; left: -18rpx;

13
subpages/communitySelfInsp/pages/historyQuery/historyQuery.js

@ -29,6 +29,19 @@ Page({
keyWord:options.keyWord keyWord:options.keyWord
}) })
this.getTable() this.getTable()
wx.loadFontFace({
family: 'PingFangSC-regular',
source: 'url("https://img2.misssixty.com.cn/rs/lib/fonts/PingFangSC-regular.ttf")',
success: function() {
console.log('Font loaded successfully');
},
fail: function(error) {
console.error('Font loading failed', error);
},
complete: function() {
console.log('Font loading process complete');
}
});
}, },
/** /**

2
subpages/communitySelfInsp/pages/historyQuery/historyQuery.wxml

@ -9,7 +9,7 @@
</view> </view>
<view class="list_3"> <view class="list_3">
<button style="font-weight: 30;" class="button1" open-type="share" bind:tap="share" data-item="{{item}}"><text class="text_one">一键分享</text></button> <button style="font-weight: 30;" class="button1" open-type="share" bind:tap="share" data-item="{{item}}"><text class="text_one">一键分享</text></button>
<button style="font-weight: 30; display: flex; justify-content: center; align-items: center;" class="button" wx:key="index" data-item="{{item}}" bind:tap="handelClickedit"><text text class="text_two">查看统计</text></button> <button class="button" wx:key="index" data-item="{{item}}" bind:tap="handelClickedit"><text text class="text_two">查看统计</text></button>
</view> </view>
</view> </view>
<view class="content"> <view class="content">

9
subpages/communitySelfInsp/pages/historyQuery/historyQuery.wxss

@ -3,6 +3,7 @@ page {
min-height: 100vh; min-height: 100vh;
overflow: hidden; overflow: hidden;
background-color: #f0f0f0; background-color: #f0f0f0;
font-family: 'PingFangSC-regular', sans-serif;
} }
.content{ .content{
height: auto; height: auto;
@ -42,8 +43,7 @@ page {
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 500;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
@ -147,7 +147,7 @@ page {
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(51,51,51,1); color: rgba(51,51,51,1);
font-size: 35rpx; font-size: 35rpx;
font-family: PingFang-SC-Bold; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 700; font-weight: 700;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
@ -207,6 +207,7 @@ page {
width: 160rpx; width: 160rpx;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.button1{ .button1{
width: 160rpx; width: 160rpx;
@ -232,7 +233,7 @@ page {
} }
.text_two{ .text_two{
width: 118rpx; width: 118rpx;
height: 28rpx; height: 40rpx;
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(255,255,255,1); color: rgba(255,255,255,1);
font-size: 30rpx; font-size: 30rpx;

3
subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.wxml

@ -10,7 +10,8 @@
<view class="field-text">所属组织</view> <view class="field-text">所属组织</view>
</view> </view>
<view class="value-dl" bind:tap="showPicker"> <view class="value-dl" bind:tap="showPicker">
<view class="di-name">{{agencyName?agencyName:'请选择-'}}</view> <view class="{{agencyName?'di-name':'di-name1'}}">{{agencyName?agencyName:'请选择-'}}</view>
<image class="di-but" src="../../../../../images/right.png" mode="aspectFit" /> <image class="di-but" src="../../../../../images/right.png" mode="aspectFit" />
</view> </view>
</view> </view>

12
subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.wxss

@ -455,7 +455,6 @@ color: #333;
} }
.telInput{ .telInput{
margin-left: 40rpx; margin-left: 40rpx;
font-weight: 300
} }
.di-name{ .di-name{
@ -463,9 +462,16 @@ color: #333;
text-align: left; text-align: left;
width: calc(100% - 30rpx); width: calc(100% - 30rpx);
margin-left: 40rpx; margin-left: 40rpx;
font-weight: 300; font-family: "PingFangSC-Regular", sans-serif;
}
.di-name1{
margin-right: 14rpx;
text-align: left;
width: calc(100% - 30rpx);
margin-left: 40rpx;
font-family: "PingFangSC-Regular", sans-serif;
color: #999;
} }
.di-but{ .di-but{
width: 30rpx; width: 30rpx;
height: 34rpx; height: 34rpx;

13
subpages/nohouse/pages/nohouse/nohouse.js

@ -40,6 +40,19 @@ orgId:''
// this.getAgencygridtree(); // this.getAgencygridtree();
this.getTopTreeData(); this.getTopTreeData();
this.waitCollectHouseList() this.waitCollectHouseList()
wx.loadFontFace({
family: 'PingFangSC-regular',
source: 'url("https://img2.misssixty.com.cn/rs/lib/fonts/PingFangSC-regular.ttf")',
success: function() {
console.log('Font loaded successfully');
},
fail: function(error) {
console.error('Font loading failed', error);
},
complete: function() {
console.log('Font loading process complete');
}
});
}, },
/** /**

3
subpages/nohouse/pages/nohouse/nohouse.wxss

@ -4,6 +4,7 @@ page{
min-height: 100vh; min-height: 100vh;
overflow: hidden; overflow: hidden;
background: #F7F7F7; background: #F7F7F7;
font-family: 'PingFangSC-regular', sans-serif;
} }
.header{ .header{
@ -129,7 +130,7 @@ line-height: 46rpx;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 42rpx; line-height: 42rpx;
font-weight: 300; font-family: 'PingFangSC-regular', sans-serif;
} }
.from_test2{ .from_test2{
font-weight: 300; font-weight: 300;

38
subpages/residentCategory/pages/residentCategory/residentCategory.wxss

@ -103,8 +103,7 @@ page{
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(57,116,246,1); color: rgba(57,116,246,1);
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 500;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 52rpx; line-height: 52rpx;
@ -437,8 +436,7 @@ page{
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(153, 153, 153, 1); color: rgba(153, 153, 153, 1);
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 300;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 40rpx; line-height: 40rpx;
@ -450,8 +448,7 @@ page{
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(51, 51, 51, 1); color: rgba(51, 51, 51, 1);
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 300;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 40rpx; line-height: 40rpx;
@ -462,8 +459,7 @@ page{
height: 30rpx; height: 30rpx;
overflow-wrap: break-word; overflow-wrap: break-word;
font-size: 0rpx; font-size: 0rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 500;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 40rpx; line-height: 40rpx;
@ -501,8 +497,7 @@ page{
display: flex; display: flex;
width: 275rpx; width: 275rpx;
overflow-wrap: break-word; overflow-wrap: break-word;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 500;
text-align: right; text-align: right;
white-space: nowrap; white-space: nowrap;
line-height: 40rpx; line-height: 40rpx;
@ -521,7 +516,7 @@ page{
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(51, 51, 51, 1); color: rgba(51, 51, 51, 1);
font-size: 34rpx; font-size: 34rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 500; font-weight: 500;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
@ -550,8 +545,7 @@ page{
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(153, 153, 153, 1); color: rgba(153, 153, 153, 1);
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 500;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 40rpx; line-height: 40rpx;
@ -563,8 +557,7 @@ page{
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(153, 153, 153, 1); color: rgba(153, 153, 153, 1);
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 500;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 40rpx; line-height: 40rpx;
@ -576,8 +569,7 @@ page{
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(51, 51, 51, 1); color: rgba(51, 51, 51, 1);
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 300;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 40rpx; line-height: 40rpx;
@ -588,7 +580,7 @@ page{
height: 28rpx; height: 28rpx;
overflow-wrap: break-word; overflow-wrap: break-word;
font-size: 0rpx; font-size: 0rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 500; font-weight: 500;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
@ -602,7 +594,7 @@ page{
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(153, 153, 153, 1); color: rgba(153, 153, 153, 1);
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 300; font-weight: 300;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
@ -615,8 +607,7 @@ page{
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(51, 51, 51, 1); color: rgba(51, 51, 51, 1);
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 300;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 40rpx; line-height: 40rpx;
@ -627,7 +618,7 @@ page{
height: 28rpx; height: 28rpx;
overflow-wrap: break-word; overflow-wrap: break-word;
font-size: 0rpx; font-size: 0rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 500; font-weight: 500;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
@ -641,8 +632,7 @@ page{
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(153, 153, 153, 1); color: rgba(153, 153, 153, 1);
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 500;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 40rpx; line-height: 40rpx;

13
subpages/resnoinformation/pages/resnoinformation/resnoinformation.js

@ -57,6 +57,19 @@ Page({
this.getDicts() this.getDicts()
this.getTopTreeData() this.getTopTreeData()
this.WaitResidentsList() this.WaitResidentsList()
wx.loadFontFace({
family: 'PingFangSC-regular',
source: 'url("https://img2.misssixty.com.cn/rs/lib/fonts/PingFangSC-regular.ttf")',
success: function() {
console.log('Font loaded successfully');
},
fail: function(error) {
console.error('Font loading failed', error);
},
complete: function() {
console.log('Font loading process complete');
}
});
}, },
// 进行树状懒加载 // 进行树状懒加载
getTopTreeData() { getTopTreeData() {

10
subpages/resnoinformation/pages/resnoinformation/resnoinformation.wxss

@ -5,6 +5,7 @@ page{
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
background: #F7F7F7; background: #F7F7F7;
font-family: 'PingFangSC-regular', sans-serif;
} }
.header{ .header{
display: flex; display: flex;
@ -48,8 +49,7 @@ page{
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(193,193,193,1); color: rgba(193,193,193,1);
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 500;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 52rpx; line-height: 52rpx;
@ -147,8 +147,7 @@ page{
height: 29rpx; height: 29rpx;
overflow-wrap: break-word; overflow-wrap: break-word;
font-size: 0rpx; font-size: 0rpx;
font-family: PingFang-SC-Medium; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 500;
text-align: center; text-align: center;
white-space: nowrap; white-space: nowrap;
line-height: 40rpx; line-height: 40rpx;
@ -244,8 +243,7 @@ page{
overflow-wrap: break-word; overflow-wrap: break-word;
color: rgba(4, 184, 173, 1); color: rgba(4, 184, 173, 1);
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang-SC-Bold; font-family: 'PingFangSC-regular', sans-serif;
font-weight: 700;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
line-height: 40rpx; line-height: 40rpx;

Loading…
Cancel
Save