diff --git a/components/navigation/navigationBar.vue b/components/navigation/navigationBar.vue
index cd18f28..60d6fce 100644
--- a/components/navigation/navigationBar.vue
+++ b/components/navigation/navigationBar.vue
@@ -1,29 +1,16 @@
-
-
-
- {{ title ? title : '' }}
-
-
-
+
+
-
-
-
+
{{ title }}
-
-
+
-
@@ -44,40 +31,10 @@
type: String,
default: '#fff'
},
- leftTitle: {
- type: Boolean,
- default: false
- },
- showClear: {
- type: Boolean,
- default: false
- }
- },
- mounted() {
- // #ifdef MP
- const {
- barHeight,
- barTop,
- menuButtonLeft
- } = getWXStatusHeight()
- console.log('barHeight, barTop, menuButtonLeft: ', barHeight, barTop, menuButtonLeft);
- this.homeHeaderPaddingTop = barTop || 0
- this.homeHeaderMenuHeight = barHeight
- this.homeHeaderMenuLeft = menuButtonLeft - 6
- // #endif
},
data() {
return {
- // #ifdef MP
- homeHeaderPaddingTop: 0,
- homeHeaderMenuHeight: 0,
- homeHeaderMenuLeft: 0,
- // #endif
- // #ifdef APP || H5
- homeHeaderPaddingTop: 20,
- homeHeaderMenuHeight: 50,
- homeHeaderMenuLeft: 0
- // #endif
+
}
},
methods: {
@@ -93,37 +50,27 @@
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 2afa0cb..b06a109 100644
--- a/pages.json
+++ b/pages.json
@@ -7,7 +7,8 @@
"componentPlaceholder": {
"mine-index": "view",
"notice-index": "view",
- "subscribe": "view"
+ "subscribe": "view",
+ "my-notice": "view"
}
}
}, {
@@ -47,26 +48,46 @@
"style": {
"navigationBarTitleText": "订阅设置"
}
+ },
+ {
+ "path": "report",
+ "style": {
+ "navigationBarTitleText": "报名",
+ "navigationStyle": "custom"
+ }
}
]
}, {
"root": "pages/components",
"pages": [{
- "path": "notice-index",
- "style": {
- "navigationBarTitleText": "通告首页"
+ "path": "notice-index",
+ "style": {
+ "navigationBarTitleText": "通告首页"
+ }
+ }, {
+ "path": "notice-item",
+ "style": {
+ "navigationBarTitleText": "通告组件"
+ }
+ }, {
+ "path": "subscribe",
+ "style": {
+ "navigationBarTitleText": "订阅"
+ }
+ },
+ {
+ "path": "my-notice",
+ "style": {
+ "navigationBarTitleText": "我的通告"
+ }
+ },
+ {
+ "path": "my-notice-item",
+ "style": {
+ "navigationBarTitleText": "我的通告组件"
+ }
}
- }, {
- "path": "notice-item",
- "style": {
- "navigationBarTitleText": "通告组件"
- }
- }, {
- "path": "subscribe",
- "style": {
- "navigationBarTitleText": "订阅"
- }
- }]
+ ]
}, {
"root": "pages/mine",
"pages": [{
@@ -110,6 +131,7 @@
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "多点通告",
- "navigationBarBackgroundColor": "#FFFFFF"
+ "navigationBarBackgroundColor": "#FFFFFF",
+ "navigationStyle": "custom"
}
}
\ No newline at end of file
diff --git a/pages/components/my-notice.vue b/pages/components/my-notice.vue
index b6a5d97..d9957d9 100644
--- a/pages/components/my-notice.vue
+++ b/pages/components/my-notice.vue
@@ -110,6 +110,7 @@
}
.dl-menu-box {
+ border-bottom: 1rpx solid #EEEEEE;
display: flex;
align-items: center;
justify-content: center;
diff --git a/pages/components/notice-index.vue b/pages/components/notice-index.vue
index 9bf3f4d..0e112f2 100644
--- a/pages/components/notice-index.vue
+++ b/pages/components/notice-index.vue
@@ -74,9 +74,6 @@
-
-
-
@@ -505,6 +502,7 @@
transition: 1s;
.dl-text {
+ font-size: 32rpx;
line-height: 78rpx;
font-weight: bold;
}
@@ -577,10 +575,10 @@
align-items: center;
border-radius: 35rpx;
justify-content: center;
- height: 120rpx;
+ height: 100rpx;
width: 100%;
background: url('/static/index/member-bg.png');
- background-size: contain;
+ background-size: 100% 100%;
background-position: center;
/* 图片居中显示 */
background-repeat: no-repeat;
@@ -612,10 +610,9 @@
}
.dl-item-box {
- height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 607rpx);
+ height: calc(100vh - var(--status-bar-height) - var(--window-bottom) - 586rpx);
isplay: flex;
flex-direction: column;
- padding-top: 15rpx;
}
}
}
diff --git a/pages/components/notice-item.vue b/pages/components/notice-item.vue
index a785924..60594f1 100644
--- a/pages/components/notice-item.vue
+++ b/pages/components/notice-item.vue
@@ -39,6 +39,47 @@
+
+
+
+
+ {{dataObj.title}}
+
+
+
+
+
+ 奖励:无稿费
+ 奖励:¥{{dataObj.feeDown}}-{{dataObj.feeUp}}
+
+
+
+
+ 粉丝:{{formatNumberWithUnits(dataObj.fansDown)}}-{{formatNumberWithUnits(dataObj.fansUp)}}
+
+
+
+
+ 类型:{{dataObj.bloggerTypesText}}
+
+
+
+
+ {{dataObj.userNickName}}
+
+
+
+ {{dataObj.reportNum}}
+
+
+
+ {{dataObj.viewNum}}
+
+
+
+
+
+
@@ -52,6 +93,10 @@
dataList: {
type: Array,
default: []
+ },
+ dataObj: {
+ type: Object,
+ default: null
}
},
data() {
@@ -80,6 +125,15 @@
+
\ No newline at end of file