|
|
|
@ -1,8 +1,14 @@ |
|
|
|
|
<template> |
|
|
|
|
<view class="grid-wap u-m-b-20 u-flex u-flex-wrap u-col-center" v-if="list.length"> |
|
|
|
|
<view class="grid-item u-flex-col u-row-center u-col-center" v-for="(menu, index) in list" :key="index" @tap="jump(menu)"> |
|
|
|
|
<image class="tool-img" :src="menu.image" mode="aspectFill"></image> |
|
|
|
|
<view class="item-title">{{ menu.name }}</view> |
|
|
|
|
<view style="text-align: center;" v-if="menu.name!='在线客服'"> |
|
|
|
|
<image class="tool-img" :src="menu.image" mode="aspectFill"></image> |
|
|
|
|
<view class="item-title">{{ menu.name }}</view> |
|
|
|
|
</view> |
|
|
|
|
<button open-type="contact" v-else plain style="background: transparent;line-height: normal;border: 0;"> |
|
|
|
|
<image class="tool-img" :src="menu.image" mode="aspectFill"></image> |
|
|
|
|
<view class="item-title">{{ menu.name }}</view> |
|
|
|
|
</button> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
|