diff --git a/project.config.json b/project.config.json index 1086aa5..b3a3d9b 100644 --- a/project.config.json +++ b/project.config.json @@ -4,7 +4,7 @@ "ignore": [] }, "setting": { - "urlCheck": false, + "urlCheck": true, "es6": true, "postcss": true, "preloadBackgroundData": false, diff --git a/subpages/associationNew/images/copy@2x.png b/subpages/associationNew/images/copy@2x.png new file mode 100644 index 0000000..9b12595 Binary files /dev/null and b/subpages/associationNew/images/copy@2x.png differ diff --git a/subpages/associationNew/images/fire@2x.png b/subpages/associationNew/images/fire@2x.png new file mode 100644 index 0000000..645be23 Binary files /dev/null and b/subpages/associationNew/images/fire@2x.png differ diff --git a/subpages/associationNew/images/huatizhinan@2x.png b/subpages/associationNew/images/huatizhinan@2x.png new file mode 100644 index 0000000..594ddb9 Binary files /dev/null and b/subpages/associationNew/images/huatizhinan@2x.png differ diff --git a/subpages/associationNew/pages/community/community.js b/subpages/associationNew/pages/community/community.js index 34362d7..1e51dd9 100644 --- a/subpages/associationNew/pages/community/community.js +++ b/subpages/associationNew/pages/community/community.js @@ -46,12 +46,6 @@ Page({ url: `/subpages/associationNew/pages/gMembersList/gMembersList?partyGroupId=${this.data.partyGroupId}` }) }, - navToForumGuide (e) { - console.log('前往论坛指南') - wx.navigateTo({ - url: `/subpages/associationNew/pages/guideInfo/guideInfo?partyGroupId=${this.data.partyGroupId}` - }) - }, navToNewPage (e) { // console.log(e.currentTarget.dataset.page); if (e.currentTarget.dataset.page === 'help') { diff --git a/subpages/associationNew/pages/community/community.wxml b/subpages/associationNew/pages/community/community.wxml index bc8fc0a..b5ca792 100644 --- a/subpages/associationNew/pages/community/community.wxml +++ b/subpages/associationNew/pages/community/community.wxml @@ -3,10 +3,6 @@ 群成员 - - 论坛指南 - - { console.log(err) }) + }, + /* + * 前往论坛指南页面 + */ + navToForumGuide (e) { + console.log('前往论坛指南') + wx.navigateTo({ + url: `/subpages/associationNew/pages/guideInfo/guideInfo?partyGroupId=${this.data.partyGroupId}` + }) } }) \ No newline at end of file diff --git a/subpages/associationNew/pages/eventlist/eventlist.wxml b/subpages/associationNew/pages/eventlist/eventlist.wxml index 855fd29..1a4f7ec 100644 --- a/subpages/associationNew/pages/eventlist/eventlist.wxml +++ b/subpages/associationNew/pages/eventlist/eventlist.wxml @@ -1,3 +1,7 @@ + + 话题指南 + + \ No newline at end of file diff --git a/subpages/associationNew/pages/guideInfo/guideInfo.wxss b/subpages/associationNew/pages/guideInfo/guideInfo.wxss index 065f96f..63f19af 100644 --- a/subpages/associationNew/pages/guideInfo/guideInfo.wxss +++ b/subpages/associationNew/pages/guideInfo/guideInfo.wxss @@ -1,9 +1,78 @@ page { width:100%; height: auto; + min-height:100vh; overflow-y: auto; - background: #f7f7f7; + background: linear-gradient(to bottom, #db1a1f 0%,#e95027 50%,#db1a1f 100%); +} +.guide-info { + position: relative; +} +.topic-img{ + width: 750rpx; + height: 306rpx; + position: absolute; } .guide-content { - font-size: 34rpx; + display: flex; + flex-direction: column; + position: absolute; + top: 243rpx; + margin: 16rpx 30rpx; +} + +.today-top { + position: relative; +} +.today-top image{ + width: 232rpx; + height: 50rpx; +} +.today-top text{ + height: 50rpx; + line-height: 50rpx; + font-size: 32rpx; + font-family: PingFang SC; + font-weight: bold; + color: rgba(255,255,255,1); + position: absolute; + left: 76rpx; + z-index: 999; +} +.topic-item, .today-item { + background-color: #ffffff; + border-radius: 10rpx; + display: flex; + flex-direction: column; + margin-bottom: 16rpx; + width: 690rpx; +} +.item-top { + position: relative; + display: flex; + align-items: center; + padding-left: 31rpx; + margin-top: 39rpx; +} +.item-top image{ + width: 32rpx; + height: 32rpx; +} +.item-top text{ + font-size: 32rpx; + font-family: PingFang SC; + font-weight: bold; + color: #BF1F1F; + margin-left: 18rpx; +} +.item-content, .today-content{ + padding: 28rpx 32rpx; +} +.item-content text,.today-content text{ + font-size:34rpx; + font-family:PingFang SC; + font-weight:500; + color:rgba(51,51,51,1); + line-height:52rpx; + height: 52rpx; } \ No newline at end of file