123456789101112131415161718192021 |
- <template>
- <view v-if="(info !== null && info !== '') || dot" :class="'custom-class van-info ' + utils.bem('info', { dot })" :style="customStyle">{{ dot ? '' : info }}</view>
- </template>
- <script module="utils" lang="wxs" src="@/miniprogram_npm/@vant/weapp/wxs/utils.wxs"></script>
- <script>
- 'use strict';
- Object.defineProperty(exports, '__esModule', {
- value: true
- });
- var component_1 = require('../common/component');
- component_1.VantComponent({
- props: {
- dot: Boolean,
- info: null,
- customStyle: String
- }
- });
- </script>
- <style>
- @import './index.css';
- </style>
|