|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view class="row">
|
|
|
- <view class="col-lg-3 col-sm-12 cursor-pointer mb-2" v-for="item in list" :key="item.id" :class="{ disabled: item.disabled }" @click="handleClick(item)">
|
|
|
+ <view class="col-lg-3 col-sm-12 cursor-pointer mb-2 " :data-tooltip="props.title" v-for="item in list" :key="item.id" :class="{ disabled: item.disabled }" @click="handleClick(item)">
|
|
|
<view class="card hover">
|
|
|
<view class="card-header d-flex justify-content-between align-items-center">
|
|
|
<h4 class="card-title mb-0">{{ item.name }}</h4>
|
|
|
@@ -109,6 +109,10 @@
|
|
|
list: {
|
|
|
type: Array,
|
|
|
default: () => []
|
|
|
+ },
|
|
|
+ title: {
|
|
|
+ type: String,
|
|
|
+ default: ''
|
|
|
}
|
|
|
})
|
|
|
|