This commit is contained in:
Paidax
2024-06-03 15:47:43 +08:00
parent c22965e16f
commit ea2670dc15
+3 -2
View File
@@ -41,7 +41,8 @@ layout("/mobile/platform.html"){
<!--宫格--> <!--宫格-->
<van-grid :border="false" :column-num="2"> <van-grid :border="false" :column-num="2">
<van-grid-item :class="item.isOpen ? '' : 'not_open'" <!-- :class="item.isOpen ? '' : 'not_open'" -->
<van-grid-item :class=" '' "
:url="item.isOpen ? '/mobile/index/toHome?type=' + item.text : ''" v-for="item in gridArray"> :url="item.isOpen ? '/mobile/index/toHome?type=' + item.text : ''" v-for="item in gridArray">
<div class="item_div" :style="'background-color: ' + item.backGroundColor "> <div class="item_div" :style="'background-color: ' + item.backGroundColor ">
<div> <div>
@@ -98,7 +99,7 @@ layout("/mobile/platform.html"){
{ {
src: '/assets/platform/img/quickentry/welfare.png', src: '/assets/platform/img/quickentry/welfare.png',
text: '福利慰问', text: '福利慰问',
isOpen: true, isOpen: false,
backGroundColor: '#c88f5c' backGroundColor: '#c88f5c'
}, },
{ {