Skip to content

Commit

Permalink
chore: 组件uts的注释信息修正
Browse files Browse the repository at this point in the history
  • Loading branch information
jry committed Aug 28, 2024
1 parent 9cf6498 commit c43ea2a
Show file tree
Hide file tree
Showing 33 changed files with 159 additions and 64 deletions.
4 changes: 2 additions & 2 deletions src/uni_modules/uview-plus/components/up-badge/badge.uts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author : LQ,jry
* @Author : jry
* @Description :
* @version : 3.0
* @Date : 2021-08-20 16:44:21
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-20 14:20:58
* @FilePath : /uview-plus/libs/config/props/badge.js
Expand Down
8 changes: 8 additions & 0 deletions src/uni_modules/uview-plus/components/up-badge/props.uts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* @Author : jry
* @Description : uview-plus component's props mixin file
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 12:27:20
*/
import { defineMixin } from '../../libs/vue'
import defProps from './badge'
let crtProp = defProps['badge'] as UTSJSONObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
border-top-left-radius: $up-badge-dot-radius;
border-bottom-left-radius: $up-badge-dot-radius;
border-bottom-right-radius: $up-badge-dot-radius;
@include flex;
// @include flex;
line-height: $up-badge-text-font-size;
text-align: $up-badge-text-align;
font-size: $up-badge-text-font-size;
Expand Down
12 changes: 6 additions & 6 deletions src/uni_modules/uview-plus/components/up-button/button.uts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* @Author : LQ
* @Author : jry
* @Description :
* @version : 1.0
* @Date : 2021-08-20 16:44:21
* @LastAuthor : LQ
* @lastTime : 2021-08-20 16:51:27
* @FilePath : /u-view2.0/uview-ui/libs/config/props/button.js
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 12:27:20
* @FilePath : /uview-plus/libs/config/props/button.js
*/
export default {
// button组件
Expand Down
8 changes: 8 additions & 0 deletions src/uni_modules/uview-plus/components/up-button/props.uts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* @Author : jry
* @Description : uview-plus component's props mixin file
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 12:27:20
*/
import { defineMixin } from '../../libs/vue.uts'
import defProps from './button.uts'
let btnProp = defProps['button'] as UTSJSONObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ import { addStyle, addUnit } from '../../libs/function/index';
import { throttle } from '../../libs/function/throttle';
/**
* button 按钮
* @author jry [email protected] 2024
* @description Button 按钮
* @tutorial https://ijry.github.io/uview-plus/components/button.html
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* @Author : LQ
* @Author : jry
* @Description :
* @version : 1.0
* @Date : 2021-08-20 16:44:21
* @LastAuthor : LQ
* @lastTime : 2021-08-20 16:54:16
* @FilePath : /u-view2.0/uview-ui/libs/config/props/cellGroup.js
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 16:54:16
* @FilePath : /uview-plus/libs/config/props/cellGroup.js
*/
export default {
// cell-group组件的props
Expand Down
8 changes: 8 additions & 0 deletions src/uni_modules/uview-plus/components/up-cell-group/props.uts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* @Author : jry
* @Description : uview-plus component's props mixin file
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 12:27:20
*/
import { defineMixin } from '../../libs/vue.uts'
import defProps from '../../libs/config/props.uts'
let cellGroup = defProps['cellGroup'] as UTSJSONObject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@
import { addStyle } from '../../libs/function/index';
/**
* cellGroup 单元格
* @author jry [email protected] 2024
* @description cell单元格一般用于一组列表的情况,比如个人中心页,设置页等。
* @tutorial https://uview-plus.jiangruyi.com/components/cell.html
*
* @property {String} title 分组标题
* @property {Boolean} border 是否显示外边框 (默认 true )
* @property {Object} customStyle 定义需要用到的外部样式
*
* @event {Function} click 点击cell列表时触发
* @example <up-cell-group title="设置喜好">
*/
Expand Down
10 changes: 5 additions & 5 deletions src/uni_modules/uview-plus/components/up-cell/cell.uts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* @Author : LQ
* @Author : jry
* @Description :
* @version : 1.0
* @Date : 2021-08-20 16:44:21
* @LastAuthor : LQ
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2021-08-23 20:53:09
* @FilePath : /u-view2.0/uview-ui/libs/config/props/cell.js
* @FilePath : /uview-plus/libs/config/props/cell.js
*/
export default {
// cell组件的props
Expand Down
1 change: 1 addition & 0 deletions src/uni_modules/uview-plus/components/up-cell/up-cell.uvue
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
import { empty as testEmpty } from '../../libs/function/test.uts';
/**
* cell 单元格
* @author jry [email protected] 2024
* @description cell单元格一般用于一组列表的情况,比如个人中心页,设置页等。
* @tutorial https://uview-plus.jiangruyi.com/components/cell.html
* @property {String | Number} title 标题
Expand Down
4 changes: 2 additions & 2 deletions src/uni_modules/uview-plus/components/up-col/col.uts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author : LQ,jry
* @Author : jry,jry
* @Description :
* @version : 3.0
* @Date : 2021-08-20 16:44:21
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-20 14:20:58
* @FilePath : /uview-plus/libs/config/props/col.js
Expand Down
8 changes: 8 additions & 0 deletions src/uni_modules/uview-plus/components/up-col/props.uts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* @Author : jry
* @Description : uview-plus component's props mixin file
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 12:27:20
*/
import { defineMixin } from '../../libs/vue'
import defProps from './col'
let crtProp = defProps['col'] as UTSJSONObject
Expand Down
12 changes: 6 additions & 6 deletions src/uni_modules/uview-plus/components/up-gap/gap.uts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* @Author : LQ
* @Author : jry
* @Description :
* @version : 1.0
* @Date : 2021-08-20 16:44:21
* @LastAuthor : LQ
* @lastTime : 2021-08-20 17:05:25
* @FilePath : /u-view2.0/uview-ui/libs/config/props/gap.js
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 11:05:25
* @FilePath : /uview-plus/libs/config/props/gap.js
*/
export default {
// gap组件
Expand Down
8 changes: 8 additions & 0 deletions src/uni_modules/uview-plus/components/up-gap/props.uts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* @Author : jry
* @Description : uview-plus component's props mixin file
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 12:27:20
*/
import { defineMixin } from '../../libs/vue.uts'
import defProps from '../../libs/config/props.uts'
let gap = defProps['gap'] as UTSJSONObject
Expand Down
1 change: 1 addition & 0 deletions src/uni_modules/uview-plus/components/up-gap/up-gap.uvue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import { addStyle, addUnit, deepMerge } from '../../libs/function/index';
/**
* gap 间隔槽
* @author jry [email protected] 2024
* @description 该组件一般用于内容块之间的用一个灰色块隔开的场景,方便用户风格统一,减少工作量
* @tutorial https://ijry.github.io/uview-plus/components/gap.html
* @property {String} bgColor 背景颜色 (默认 'transparent' )
Expand Down
12 changes: 6 additions & 6 deletions src/uni_modules/uview-plus/components/up-icon/icon.uts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* @Author : LQ
* @Author : jry
* @Description :
* @version : 1.0
* @Date : 2021-08-20 16:44:21
* @LastAuthor : LQ
* @lastTime : 2021-08-20 18:00:14
* @FilePath : /u-view2.0/uview-ui/libs/config/props/icon.js
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 18:00:14
* @FilePath : /uview-plus/libs/config/props/icon.js
*/
import config from '../../libs/config/config.uts'

Expand Down
10 changes: 9 additions & 1 deletion src/uni_modules/uview-plus/components/up-icon/icons.uts
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
export default {
/*
* @Author : jry
* @Description : uview-plus component's props mixin file
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 12:27:20
*/
export default {
'upicon-level': '\ue693',
'upicon-column-line': '\ue68e',
'upicon-checkbox-mark': '\ue807',
Expand Down
8 changes: 8 additions & 0 deletions src/uni_modules/uview-plus/components/up-icon/props.uts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* @Author : jry
* @Description : uview-plus component's props mixin file
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 12:27:20
*/
import { defineMixin } from '../../libs/vue'
import defProps from '../../libs/config/props'
let crtProp = defProps['icon'] as UTSJSONObject
Expand Down
12 changes: 6 additions & 6 deletions src/uni_modules/uview-plus/components/up-image/image.uts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* @Author : LQ
* @Author : jry
* @Description :
* @version : 1.0
* @Date : 2021-08-20 16:44:21
* @LastAuthor : LQ
* @lastTime : 2021-08-20 17:01:51
* @FilePath : /u-view2.0/uview-ui/libs/config/props/image.js
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 11:01:51
* @FilePath : /uview-plus/libs/config/props/image.js
*/
export default {
// image组件
Expand Down
12 changes: 6 additions & 6 deletions src/uni_modules/uview-plus/components/up-line/line.uts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* @Author : LQ
* @Author : jry
* @Description :
* @version : 1.0
* @Date : 2021-08-20 16:44:21
* @LastAuthor : LQ
* @lastTime : 2021-08-20 17:04:49
* @FilePath : /u-view2.0/uview-ui/libs/config/props/line.js
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 11:04:49
* @FilePath : /uview-plus/libs/config/props/line.js
*/
export default {
// line组件
Expand Down
1 change: 1 addition & 0 deletions src/uni_modules/uview-plus/components/up-line/up-line.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import { addUnit, addStyle, deepMerge } from '../../libs/function/index.js';
/**
* line 线条
* @author jry ijry@qq.com 2024
* @description 此组件一般用于显示一根线条,用于分隔内容块,有横向和竖向两种模式,且能设置0.5px线条,使用也很简单
* @tutorial https://ijry.github.io/uview-plus/components/line.html
* @property {String} color 线条的颜色 ( 默认 '#d6d7d9' )
Expand Down
4 changes: 2 additions & 2 deletions src/uni_modules/uview-plus/components/up-link/link.uts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author : LQ,jry
* @Author : jry,jry
* @Description :
* @version : 3.0
* @Date : 2021-08-20 16:44:21
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-20 14:20:58
* @FilePath : /uview-plus/libs/config/props/link.js
Expand Down
1 change: 1 addition & 0 deletions src/uni_modules/uview-plus/components/up-link/up-link.uvue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import { addStyle, addUnit, getPx, toast } from '../../libs/function/index';
/**
* link 超链接
* @author jry [email protected] 2024
* @description 该组件为超链接组件,在不同平台有不同表现形式:在APP平台会通过plus环境打开内置浏览器,在小程序中把链接复制到粘贴板,同时提示信息,在H5中通过window.open打开链接。
* @tutorial https://ijry.github.io/uview-plus/components/link.html
* @property {String} color 文字颜色 (默认 color['up-primary'] )
Expand Down
8 changes: 8 additions & 0 deletions src/uni_modules/uview-plus/components/up-row/props.uts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* @Author : jry
* @Description : uview-plus component's props mixin file
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 12:27:20
*/
import { defineMixin } from '../../libs/vue'
import defProps from './row'
let crtProp = defProps['row'] as UTSJSONObject
Expand Down
4 changes: 2 additions & 2 deletions src/uni_modules/uview-plus/components/up-row/row.uts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author : LQ,jry
* @Author : jry,jry
* @Description :
* @version : 3.0
* @Date : 2021-08-20 16:44:21
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-20 14:20:58
* @FilePath : /uview-plus/libs/config/props/row.js
Expand Down
8 changes: 8 additions & 0 deletions src/uni_modules/uview-plus/components/up-tag/props.uts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
* @Author : jry
* @Description : uview-plus component's props mixin file
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 12:27:20
*/
import { defineMixin } from '../../libs/vue'
import defProps from './tag'
let crtProp = defProps['tag'] as UTSJSONObject
Expand Down
4 changes: 2 additions & 2 deletions src/uni_modules/uview-plus/components/up-tag/tag.uts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author : LQ,jry
* @Author : jry,jry
* @Description :
* @version : 3.0
* @Date : 2021-08-20 16:44:21
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-20 14:20:58
* @FilePath : /uview-plus/libs/config/props/tag.js
Expand Down
4 changes: 2 additions & 2 deletions src/uni_modules/uview-plus/components/up-text/text.uts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* @Author : LQ,jry
* @Author : jry,jry
* @Description :
* @version : 3.0
* @Date : 2021-08-20 16:44:21
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-20 14:20:58
* @FilePath : /uview-plus/libs/config/props/text.js
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
/*
* @Author : jry
* @Description : uview-plus component's props mixin file
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 12:27:20
*/
import { defineMixin } from '../../libs/vue'
import defProps from '../../libs/config/props'
let crtProp = defProps['transition'] as UTSJSONObject


export const propsTransition = defineMixin({
props: {
// 是否展示组件
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* @Author : LQ
* @Author : jry
* @Description :
* @version : 1.0
* @Date : 2021-08-20 16:44:21
* @LastAuthor : LQ
* @lastTime : 2021-08-20 16:59:00
* @FilePath : /u-view2.0/uview-ui/libs/config/props/transition.js
* @version : 4.0
* @Date : 2024-04-22 16:44:21
* @LastAuthor : jry
* @lastTime : 2024-08-28 16:59:00
* @FilePath : /uview-plus/libs/config/props/transition.js
*/
export default {
// transition动画组件的props
Expand Down
Loading

0 comments on commit c43ea2a

Please sign in to comment.