This commit is contained in:
clay
2022-12-18 18:29:20 +08:00
parent 99b39f3eed
commit 2632ecb1f9
28 changed files with 71 additions and 65 deletions

View File

@@ -173,52 +173,52 @@
featureMask: false,
categoryList: [{
name: '烘焙宝典',
icon: '/static/category/sy_icon_hp.png',
icon: '/static/classify/sy_icon_hp.png',
active: true
},
{
name: '零食铺子',
icon: '/static/category/sy_icon_ls.png',
icon: '/static/classify/sy_icon_ls.png',
active: false
},
{
name: '饮品大全',
icon: '/static/category/sy_icon_yp.png',
icon: '/static/classify/sy_icon_yp.png',
active: false
},
{
name: '调味菜单',
icon: '/static/category/sy_icon_tw.png',
icon: '/static/classify/sy_icon_tw.png',
active: false
},
{
name: '肉食荟萃',
icon: '/static/category/sy_icon_rs.png',
icon: '/static/classify/sy_icon_rs.png',
active: false
},
{
name: '乳品手册',
icon: '/static/category/sy_icon_np.png',
icon: '/static/classify/sy_icon_np.png',
active: false
},
{
name: '果蔬地图',
icon: '/static/category/sy_icon_gs.png',
icon: '/static/classify/sy_icon_gs.png',
active: false
},
{
name: '食界新贵',
icon: '/static/category/sy_icon_sj.png',
icon: '/static/classify/sy_icon_sj.png',
active: false
},
{
name: '欢喜盒子',
icon: '/static/category/sy_icon_hz.png',
icon: '/static/classify/sy_icon_hz.png',
active: false
},
{
name: '创意工具',
icon: '/static/category/sy_icon_cy.png',
icon: '/static/classify/sy_icon_cy.png',
active: false
}
],
@@ -444,9 +444,9 @@
})
},
exportView(str) {
if(str === 'showMask') {
if (str === 'showMask') {
this.showMask = true
} else if(str === 'featureMask') {
} else if (str === 'featureMask') {
this.featureMask = true
}
},
@@ -456,7 +456,7 @@
},
navigateToSearch() {
uni.navigateTo({
url:'/pages/index/search/search'
url: '/pages/index/search/search'
})
},
goBack() {
@@ -777,7 +777,7 @@
height: 360rpx;
overflow: auto;
transition: height 1.3s ease;
.category-item {
// display: flex;