样式处理

main
limingtao 11 months ago
parent 08fec1782f
commit 3c37c0a964
  1. 20
      pages/index/index.vue
  2. 3
      pages/investigation/components/investigation-item2.vue

@ -168,7 +168,7 @@
}, },
handleClick(row) { handleClick(row) {
console.log(row) console.log(row)
this.$.open('/pages/map/index?businessId=' + row.businessId + '&sectionId='+row.sectionCode + '&deptId=' +row.deptId + '&taskName=' + row.name) this.$.open('/pages/map/index?businessId=' + row.businessId + '&sectionId=' + row.sectionCode + '&deptId=' + row.deptId + '&taskName=' + row.name)
}, },
konw() { konw() {
this.$.open('/pages/knowledge/index') this.$.open('/pages/knowledge/index')
@ -178,17 +178,17 @@
// this.$.open(even) // this.$.open(even)
}, },
jump(v) { jump(v) {
if(v == 1) { if (v == 1) {
this.$.setData('pageStatus',1) this.$.setData('pageStatus', 1)
} }
if(v == 2) { if (v == 2) {
this.$.setData('pageStatus',3) this.$.setData('pageStatus', 3)
} }
this.$.openTab('/pages/investigation/index') this.$.openTab('/pages/investigation/index')
} }
}, },
onReady() {}, onReady() { },
// //
onUnload() { onUnload() {
@ -223,6 +223,7 @@
height: 500rpx; height: 500rpx;
color: #FFFFFF; color: #FFFFFF;
padding: calc(var(--status-bar-height) + 40rpx) 20rpx 20rpx; padding: calc(var(--status-bar-height) + 40rpx) 20rpx 20rpx;
.title { .title {
font-family: Tensentype MeiHeiJ, Tensentype MeiHeiJ; font-family: Tensentype MeiHeiJ, Tensentype MeiHeiJ;
font-weight: bold; font-weight: bold;
@ -368,8 +369,10 @@
padding: 20rpx 30rpx 0; padding: 20rpx 30rpx 0;
font-family: Source Han Sans CN, Source Han Sans CN; font-family: Source Han Sans CN, Source Han Sans CN;
position: sticky; position: sticky;
top: 418px; /* top: 418px; */
top: calc(var(--status-bar-height) + 798rpx);
z-index: 99; z-index: 99;
padding-bottom:30rpx;
} }
.Box { .Box {
@ -385,6 +388,8 @@
align-items: center; align-items: center;
position: relative; position: relative;
box-shadow: 1px 1px 3px #ccc; box-shadow: 1px 1px 3px #ccc;
margin-top: 0;
margin-bottom: 30rpx;
.trapezoidal { .trapezoidal {
position: absolute; position: absolute;
@ -432,6 +437,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
background: #f8fafb; background: #f8fafb;
.bg { .bg {
position: absolute; position: absolute;
top: 0; top: 0;

@ -501,7 +501,8 @@ page {
/deep/ .uni-forms-item__label { /deep/ .uni-forms-item__label {
font-size: 32rpx; font-size: 32rpx;
// height:82rpx height: auto;
margin-bottom: 20rpx;
} }
} }

Loading…
Cancel
Save