cool-team-official / cool-uni Goto Github PK
View Code? Open in Web Editor NEW简洁易用的uni-app组件库
Home Page: https://cool-js.com/uni/introduce.html
简洁易用的uni-app组件库
Home Page: https://cool-js.com/uni/introduce.html
`
<view
class="cl-list-item"
:class="itemClass"
:style="customStyle"
@touchstart="onTouchStart"
@touchmove="onTouchMove"
@touchend="onTouchEnd"
@tap="onTap"
>
//================================
// 点击事件
function onTap(e: any) {
emit("tap", e);
}
//==================================
`
// <cl-list-item label="收货地址" @tap.native="toPage('/pages/user/address/list')"> <template #icon> <text class="iconfont icon-shouhuodizhi" /> </template> </cl-list-item>
un.showToast没有任何效果
催更!
2.0版本编译成支付宝小程序无法加载。
只有在去掉main.js中的bootstrap方法,页面中不引入cl-的组件才能正常加载
期望是可以正常使用cool-uni的组件
mode="multiSelector"
[Vue warn]: Error in callback for immediate watcher "value": "TypeError: _this.options[i].findIndex is not a function"
found in
---> at components/cl-select/cl-select.vue
pages/home/index.vue
主要是不能完全展示文档,这样体验会有点差,考虑修复一下
主要内容区域会被右边的手机示例遮盖住
我的笔记本尺寸为14寸
屏幕分辨率 1980*1080
缩放150%
以上是基于windwos系统个性化设置,浏览器默认遵从
嵌套 input input placeholder 微信小程序
这个前端网页用什么模板搭建的?
https://uni.cool-js.com/question
问题如标题,cl-dialog组件没使用closeOnClickModal这个属性
字节小程序能运行吗
报错信息如下:
errror in ./src/App.vue?vue&type=style&index=1&lang=scss&
SassError: Undefined variable: "$cl-color-primary".
on line 59 of node_modules/cl-uni/static/css/button.scss
from line 2 of node_modules/cl-uni/static/css/index.scss
from line 1 of node_modules/cl-uni/index.scss
from line 79 of src/App.vue
color: $cl-color-primary;
----------^
@ ./src/App.vue?vue&type=style&index=1&lang=scss& 1:0-783 1:799-802 1:804-1584 1:804-1584
@ ./src/App.vue
@ ./src/main.js
外层事件被图片@tap.stop事件阻拦了。
文档 https://cool-js.com/uni/router.html#%E4%BD%BF%E7%94%A8中Router 路由使用的back方法错别字写成了“后腿”,应为“后退”
尝试自己主动使用无效
// plugin.js
import { createPersistedState } from 'pinia-plugin-persistedstate';
export const storePlugin = createPersistedState({
storage: {
getItem(key) {
return uni.getStorageSync(key);
},
setItem(key, value) {
uni.setStorageSync(key, value);
}
}
});
// main.js
import { createSSRApp } from "vue";
import { bootstrap } from "/@/cool";
import "/@/mock";
import App from "./App.vue";
import { createPinia } from "pinia";
import { storePlugin } from "/@/store/storePlugin";
const pinia = createPinia();
pinia.use(storePlugin);
export function createApp() {
const app = createSSRApp(App);
app.use(pinia);
// 启动
bootstrap(app);
return {
app,
};
}
cl-tabs组件官方示例内容无法渲染
cl-uni 版本 1.8.20
网页和微信小程序均无法展示
表单验证 rules 有文档吗,还是目前只有 require 一个验证
cl-search宽度不正确,无法100%
Input组件的suffix-icon属性没有点击事件,请问您这边有实现吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.