diff --git a/pages.json b/pages.json index a94f267aab88d59a962a31969b50d1c5d4e39d07..960d7e4ddbea5b3eb1642bed15f05593f7c01163 100644 --- a/pages.json +++ b/pages.json @@ -27,15 +27,6 @@ } } - ,{ - "path" : "pages/test/test-er/console-view/console-view", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - - } ], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/uni_modules/thirdlucky-console-view/changelog.md b/uni_modules/thirdlucky-console-view/changelog.md new file mode 100644 index 0000000000000000000000000000000000000000..93dd468de950377f5dae0b1aa028b1bd0cd851d9 --- /dev/null +++ b/uni_modules/thirdlucky-console-view/changelog.md @@ -0,0 +1,4 @@ +## 1.0.1(2021-12-10) +组件方法的说明文档 +## 1.0.0(2021-12-10) +控制台 diff --git a/uni_modules/thirdlucky-console-view/components/thirdlucky-console-view/thirdlucky-console-view.vue b/uni_modules/thirdlucky-console-view/components/thirdlucky-console-view/thirdlucky-console-view.vue new file mode 100644 index 0000000000000000000000000000000000000000..30a0ed44bc8fc3a647bae2814a762ece1927bcf8 --- /dev/null +++ b/uni_modules/thirdlucky-console-view/components/thirdlucky-console-view/thirdlucky-console-view.vue @@ -0,0 +1,92 @@ + + + + + diff --git a/uni_modules/thirdlucky-console-view/package.json b/uni_modules/thirdlucky-console-view/package.json new file mode 100644 index 0000000000000000000000000000000000000000..3258f08af55881fed921b808b64f3646968e5ae0 --- /dev/null +++ b/uni_modules/thirdlucky-console-view/package.json @@ -0,0 +1,80 @@ +{ + "id": "thirdlucky-console-view", + "displayName": "thirdlucky-console-view", + "version": "1.0.1", + "description": "thirdlucky-console-view", + "keywords": [ + "thirdlucky-console-view" +], + "repository": "", + "engines": { + "HBuilderX": "^3.1.0" + }, + "dcloudext": { + "category": [ + "前端组件", + "通用组件" + ], + "sale": { + "regular": { + "price": "0.00" + }, + "sourcecode": { + "price": "0.00" + } + }, + "contact": { + "qq": "" + }, + "declaration": { + "ads": "无", + "data": "无", + "permissions": "无" + }, + "npmurl": "" + }, + "uni_modules": { + "dependencies": [], + "encrypt": [], + "platforms": { + "cloud": { + "tcb": "y", + "aliyun": "y" + }, + "client": { + "Vue": { + "vue2": "u", + "vue3": "u" + }, + "App": { + "app-vue": "u", + "app-nvue": "u" + }, + "H5-mobile": { + "Safari": "u", + "Android Browser": "u", + "微信浏览器(Android)": "u", + "QQ浏览器(Android)": "u" + }, + "H5-pc": { + "Chrome": "u", + "IE": "u", + "Edge": "u", + "Firefox": "u", + "Safari": "u" + }, + "小程序": { + "微信": "u", + "阿里": "u", + "百度": "u", + "字节跳动": "u", + "QQ": "u" + }, + "快应用": { + "华为": "u", + "联盟": "u" + } + } + } + } +} \ No newline at end of file diff --git a/uni_modules/thirdlucky-console-view/readme.md b/uni_modules/thirdlucky-console-view/readme.md new file mode 100644 index 0000000000000000000000000000000000000000..e956ca549945624f3953847042a85b0cebec26e6 --- /dev/null +++ b/uni_modules/thirdlucky-console-view/readme.md @@ -0,0 +1,63 @@ +# thirdlucky-console-view + +## ConsoleView 输出控制台 +> **组件名:thirdlucky-console-view** +> 代码块: `uConsoleView` +> 作用: 可以输出日志的控制台 + +### 安装方式 + +本组件符合[easycom](https://uniapp.dcloud.io/collocation/pages?id=easycom)规范,`HBuilderX 2.5.5`起,只需将本组件导入项目,在页面`template`中即可直接使用,无需在页面中`import`和注册`components`。 +如需通过`npm`方式使用`uni-ui`组件,另行文档:[https://ext.dcloud.net.cn/plugin?id=55](https://ext.dcloud.net.cn/plugin?id=55) + +### 基本用法 + +```html + + +``` + +```javascript + + + +``` + +## API + +### DataTable Props + +| 属性名| 类型 |可选值 | 默认值| 说明 |示例 | +| :-: | :-: |:-: |:-: | :-: |:-: | +|disabled|Boolean|可选|false|是否禁用|true| +|needTime|Boolean|可选|false|是否打印时间|true| + +#### Localdata Options + +### DataTable Events + +| 事件名 | 事件说明 | 返回参数 | +| :-: | :-: | :-: | +| @changed | 文本 | e.action:行为(append-添加,clear-清除),text:所有文本,append:新增的数据 | + +### DataTable methods + +| 方法名 | 事件说明 | 参数 | +| :-: | :-: | :-: | +| appendText | 输出文本 | text:要添加的文本 | +| clearText | 清空控制台 | |