1. 修复宫格组件在某些安卓机型可能会错乱的问题

2. 修复modal组件按钮错乱的问题
3. 修复swiper轮播图组件在安卓上后台运行一段时间后会卡顿的问题
4. 在文档详细介绍针对vue-cli创建的项目使用uView的教程
5. 修复瀑布流组件出错的问题
6. 修复keyboard键盘组件顶部文字提示类型有误的问题
parent 95f81dff
......@@ -8,7 +8,7 @@
<u-button :custom-style="{height: '32px'}" :hairLine="false" class="clear-btn" @tap="input = ''">清空</u-button>
</view>
<u-keyboard :mask="mask" ref="uKeyboard" safe-area-inset-bottom @confirm="confirm"
:random="random" :dotEnable="false" :mode="mode" :tips="true"
:random="random" :dotEnable="false" :mode="mode"
:confirmBtn="true" :cancelBtn="true" :tooltip="tooltip" v-model="show"
@change="change" @backspace="backspace"></u-keyboard>
</view>
......
......@@ -8,11 +8,11 @@
<u-popup border-radius="10" v-model="show" @close="close" @open="open" :mode="mode" length="50%" :mask="mask">
<view v-if="mode == 'center'" style="width: 400rpx;height: 400rpx">
<view class="close-btn">
<u-button size="medium">关闭弹窗</u-button>
<u-button @click="show = false;" size="medium">关闭弹窗</u-button>
</view>
</view>
<view class="close-btn" v-if="mode != 'center'">
<u-button size="medium">关闭弹窗</u-button>
<u-button size="medium" @click="show = false;">关闭弹窗</u-button>
</view>
</u-popup>
</view>
......
......@@ -6,8 +6,8 @@
<view class="u-tooltip-item u-tooltip-cancel" hover-class="u-tooltip-cancel-hover" @tap="onCancel">
{{cancelBtn ? '取消' : ''}}
</view>
<view v-if="tips" class="u-tooltip-item u-tooltip-tips">
{{tips && mode == 'number' ? '数字键盘' : mode == 'card' ? '身份证键盘' : '车牌号键盘'}}
<view v-if="showTips" class="u-tooltip-item u-tooltip-tips">
{{tips ? tips : mode == 'number' ? '数字键盘' : mode == 'card' ? '身份证键盘' : '车牌号键盘'}}
</view>
<view v-if="confirmBtn" @tap="onConfirm" class="u-tooltip-item u-tooltips-submit" hover-class="u-tooltips-submit-hover">
{{confirmBtn ? '完成' : ''}}
......@@ -63,10 +63,15 @@
default: true
},
// 是否显示工具条中间的提示
tips: {
showTips: {
type: Boolean,
default: true
},
// 工具条中间的提示文字
tips: {
type: String,
default: ''
},
// 是否显示工具条左边的"取消"按钮
cancelBtn: {
type: Boolean,
......
......@@ -7,8 +7,8 @@
showDrawer ? 'u-drawer-content-visible' : '',
zoom && mode == 'center' ? 'u-animation-zoom' : ''
]"
@touchmove.stop.prevent :style="[style]">
<view class="u-mode-center-box" @touchmove.stop.prevent v-if="mode == 'center'" :style="[centerStyle]">
@touchmove.stop.prevent @tap.stop.prevent :style="[style]">
<view class="u-mode-center-box" @tap.stop.prevent @touchmove.stop.prevent v-if="mode == 'center'" :style="[centerStyle]">
<slot />
</view>
<block v-else>
......
<template>
<view class="u-waterfall">
<view id="u-left-cloumn" class="u-cloumn">
<slot name="left" :list="leftList"></slot>
<slot name="left" :leftList="leftList"></slot>
</view>
<view id="u-right-cloumn" class="u-cloumn">
<slot name="right" :list="rightList"></slot>
<slot name="right" :rightList="rightList"></slot>
</view>
</view>
</template>
......
// 此版本发布于2020-04-25
let version = '1.1.0';
let version = '1.1.1';
export default {
v: version,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment