feat:设备使用记录
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
/*
|
||||
* @Author : LQ
|
||||
* @Description :
|
||||
* @version : 1.0
|
||||
* @version : 3.0
|
||||
* @Date : 2021-08-20 16:44:21
|
||||
* @LastAuthor : LQ
|
||||
* @lastTime : 2021-08-20 17:18:41
|
||||
* @FilePath : /u-view2.0/uview-ui/libs/config/props/readMore.js
|
||||
* @LastAuthor : jry
|
||||
* @lastTime : 2025-12-19 08:55:21
|
||||
* @FilePath : /uview-plus/libs/config/props/readMore.js
|
||||
*/
|
||||
import { t } from '../../libs/i18n'
|
||||
export default {
|
||||
// readMore
|
||||
readMore: {
|
||||
showHeight: 400,
|
||||
toggle: false,
|
||||
closeText: '展开阅读全文',
|
||||
openText: '收起',
|
||||
closeText: t("up.readMore.expand"),
|
||||
openText: t("up.readMore.fold"),
|
||||
color: '#2979ff',
|
||||
fontSize: 14,
|
||||
textIndent: '2em',
|
||||
|
||||
@@ -33,11 +33,11 @@
|
||||
margin="0 5px 0 0"
|
||||
></up-text>
|
||||
<view class="u-read-more__toggle__icon">
|
||||
<u-icon
|
||||
<up-icon
|
||||
:color="color"
|
||||
:size="fontSize + 2"
|
||||
:name="status === 'close' ? 'arrow-down' : 'arrow-up'"
|
||||
></u-icon>
|
||||
></up-icon>
|
||||
</view>
|
||||
</view>
|
||||
</slot>
|
||||
@@ -56,7 +56,7 @@
|
||||
/**
|
||||
* readMore 阅读更多
|
||||
* @description 该组件一般用于内容较长,预先收起一部分,点击展开全部内容的场景。
|
||||
* @tutorial https://ijry.github.io/uview-plus/components/readMore.html
|
||||
* @tutorial https://uview-plus.jiangruyi.com/components/readMore.html
|
||||
* @property {String | Number} showHeight 内容超出此高度才会显示展开全文按钮,单位px(默认 400 )
|
||||
* @property {Boolean} toggle 展开后是否显示收起按钮(默认 false )
|
||||
* @property {String} closeText 关闭时的提示文字(默认 '展开阅读全文' )
|
||||
@@ -140,8 +140,6 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "../../libs/css/components.scss";
|
||||
|
||||
.u-read-more {
|
||||
|
||||
&__content {
|
||||
|
||||
Reference in New Issue
Block a user