// #ifndef VUE3 import Vue from 'vue' import './uni.promisify.adaptor' import "uview-plus/index.scss"; Vue.config.productionTip = false App.mpType = 'app' const app = new Vue({ ...App }) app.$mount() // #endif // #ifdef VUE3 import { createSSRApp } from 'vue' export func...
以下是一个简单的uView-plus表单校验示例: vue <template> <view> <u-form :model="form" ref="uFormRef" :rules="rules"> <u-form-item label="姓名" prop="name"> <u-input v-model="form.name" /> </u-form-item> <u-form-item label="...
'vue'; // 创建响应式数据 const baseList = ref([ { name: 'photo', title: '图片' }, { name: 'lock', title: '锁头' }, { name: 'star', title: '星星' }, ]); // 创建对子组件的引用 const uToastRef = ref(null); // 定义方法 const click = (name) => { if (uToastRef....
版本信息 "uview-plus": "^3.3.4" "vue": "^3.4.31" 当前类型声明为: // types/comps.d.ts declare module '@vue/runtime-core' { export interface GlobalComponents { ... } } 需要更改为: // types/comps.d.ts declare module 'vue' { export interface GlobalComponen
u-tabs-item u-tabs-item.vue u-tabs u-tabs.vue u-tag u-tag.vue u-td u-td.vue u-text u-text.vue u-textarea u-textarea.vue u-toast u-toast.vue u-toolbar u-toolbar.vue u-tooltip u-tooltip.vue u-tr u-tr.vue u-transition u-transition.vue u-upload mixin.js...
feat: toast 组件支持遮掩层穿透#417 eb65e88 510aacf File tree src pages/componentsB/toast toast.nvue uni_modules/uview-plus/components/u-toast u-toast.vue 2 files changed +7 -5 lines changed src/pages/componentsB/toast/toast.nvue ...
"navigationBarTitleText": "Tabbar-vue" } }, { "path": "waterfall/waterfall", "style": { 8 changes: 7 additions & 1 deletion 8 src/pages/componentsB/tabbar/tabbar.nvue Original file line numberDiff line numberDiff line change @@ -195,7 +195,8 @@ :placeholder="true" :safeAreaInset...
import { ref } from 'vue' import type { UniFormRef } from '@/uni_modules/uview-plus/types' const form1 = ref<UniFormRef|null>(null) </template> import { ref } from 'vue' import type { UniFormRef } from '@/uni_modules/uview-plus/types' const form1 = ref<UniFormRef|null>(nul...
src/uni_modules/uview-plus/components/u-slider/u-slider.vue +9-9 Original file line numberDiff line numberDiff line change @@ -32,15 +32,15 @@ 3232 > 3333 </view> 3434 <viewclass="u-slider__button-wrap"@touchstart="onTouchStart" ...
checkbox index.vue tabbar index.vue componentsC/test index.vue static/uview/example min_button.png min_button_select.png uview-ui components u-cell-item u-cell-item.vue u-checkbox-group u-checkbox-group.vue u-checkbox u-checkbox.vue u-collapse-item u-collapse-item.vue...