更新记录
1.0.1(2023-01-03) 下载此版本
input组件 toast组件被其他组件背景色遮挡 titlebar组件的返回事件中this执行子组件问题
1.0.0(2022-12-08) 下载此版本
首次提交,定义了button、titlebar、toast、popup/sheet等基础组件
平台兼容性
uni-app
Vue2 | Vue3 | Chrome | Safari | app-vue | app-nvue | Android | iOS | 鸿蒙 |
---|---|---|---|---|---|---|---|---|
√ | √ | √ | √ | √ | - | - | - | - |
微信小程序 | 支付宝小程序 | 抖音小程序 | 百度小程序 | 快手小程序 | 京东小程序 | 鸿蒙元服务 | QQ小程序 | 飞书小程序 | 快应用-华为 | 快应用-联盟 |
---|---|---|---|---|---|---|---|---|---|---|
√ | √ | - | - | - | - | - | - | - | - | - |
其他
多语言 | 暗黑模式 | 宽屏模式 |
---|---|---|
× | × | √ |
yinrh-core
核心功能代码库
使用方法
vue组件可在template
中直接使用
组件介绍
yinrh-titlebar.vue 自定义TitleBar组件
import yinrhTitlebar from '@/uni_modules/yinrh-core/components/yinrh-core/yinrh-titlebar.vue'
export default {
components: {
yinrhTitlebar,
},
}
yinrh-button.vue 自定义button组件
import yinrhButton from '@/uni_modules/yinrh-core/components/yinrh-core/yinrh-button.vue'
export default {
components: {
yinrhButton,
},
}
yinrh-toast.vue 自定义toast组件
import yinrhToast from '@/uni_modules/yinrh-core/components/yinrh-core/yinrh-toast.vue'
export default {
components: {
yinrhToast,
},
}
yinrh-popup.vue 自定义popup组件
import yinrhPopup from '@/uni_modules/yinrh-core/components/yinrh-core/yinrh-popup.vue'
export default {
components: {
yinrhPopup,
},
}
yinrh-loading.vue 自定义loading组件(无效,只能在created中可以实现动画)
import yinrhLoading from '@/uni_modules/yinrh-core/components/yinrh-core/yinrh-loading.vue'
export default {
components: {
yinrhLoading,
},
}
yinrh-keyval.vue 自定义keyval组件(left-icon和right-icon)
import yinrhKeyval from '@/uni_modules/yinrh-core/components/yinrh-core/yinrh-keyval.vue'
export default {
components: {
yinrhKeyval,
},
}
yinrh-input.vue 自定义input组件(left-icon和delete)
import yinrhInput from '@/uni_modules/yinrh-core/components/yinrh-core/yinrh-input.vue'
export default {
components: {
yinrhInput,
},
}
yinrh-radio.vue 自定义radio组件
import yinrhRadio from '@/uni_modules/yinrh-core/components/yinrh-core/yinrh-radio.vue'
export default {
components: {
yinrhRadio,
},
}