【开发】 首页菜单结构修改

This commit is contained in:
fengachen
2021-12-14 11:01:35 +08:00
parent 6e4c20cfbe
commit 4018763671
15 changed files with 22 additions and 8 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

+18 -6
View File
@@ -10,25 +10,33 @@ Page({
data: { data: {
date: '', date: '',
selectArr: [{ selectArr: [{
path: '../../assets/images/laikuan.png', path: '../../assets/images/laikuan-new.png',
text: '项目' text: '项目'
}, },
{ {
path: '../../assets/images/gongzuozu.png', path: '../../assets/images/gongzuozu-new.png',
text: '工作组' text: '工作组'
}, },
{ {
path: '../../assets/images/fenbiaowei.png', path: '../../assets/images/fenbiaowei-new.png',
text: '分标委' text: '分标委'
}, },
{ {
path: '../../assets/images/huiyi.png', path: '../../assets/images/huiyi-new.png',
text: '会议活动' text: '会议活动'
}, },
{ {
path: '../../assets/images/ziliao.png', path: '../../assets/images/ziliao-new .png',
text: '资料网员' text: '资料网员'
}, },
{
path: '../../assets/images/standard.png',
text: '标协会员'
},
{
path: '../../assets/images/new-contract.png',
text: '合同'
},
], ],
titleList: [ titleList: [
'会议通知', '会议通知',
@@ -141,9 +149,13 @@ Page({
url = '../committee/committee' url = '../committee/committee'
} else if (index === 3) { // 会议活动 } else if (index === 3) { // 会议活动
url = '../meeting/meeting' url = '../meeting/meeting'
} else { // 资料网员 } else if(index === 4){ // 资料网员
// url = '../data/data' // url = '../data/data'
url = '../project/project?type=ziliao' url = '../project/project?type=ziliao'
}else if(index === 5){
url= '../standardRouter/standardRouter'
}else if(index === 6){
url = '../mineContract/mineContract'
} }
wx.navigateTo({ wx.navigateTo({
url, url,
+1
View File
@@ -12,6 +12,7 @@
</view> </view>
<text>{{item.text}}</text> <text>{{item.text}}</text>
</view> </view>
<view class="select-item"></view>
</view> </view>
</view> </view>
<!-- 消息列表筛选框 --> <!-- 消息列表筛选框 -->
+3 -2
View File
@@ -9,15 +9,16 @@ page{
padding: 0 15pt; padding: 0 15pt;
} }
.select-box .select{ .select-box .select{
height: 115pt; height: 140pt;
background-color: #fff; background-color: #fff;
border-radius: 10px; border-radius: 10px;
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
flex-wrap: wrap;
align-items: center; align-items: center;
} }
.select-item{ .select-item{
flex: 1; width: 25%;
font-size: 10pt; font-size: 10pt;
color: #666666; color: #666666;
flex-direction: column; flex-direction: column;