feat:设备使用记录

This commit is contained in:
houjunxiang
2026-03-05 16:54:47 +08:00
parent 749ac7f507
commit 9c88c45d66
357 changed files with 21486 additions and 5845 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +1,11 @@
/*
* @Author : LQ
* @Author : jry
* @Description :
* @version : 1.0
* @version : 3.0
* @Date : 2021-08-20 16:44:21
* @LastAuthor : LQ
* @lastTime : 2021-08-20 17:17:33
* @FilePath : /u-view2.0/uview-ui/libs/config/props/parse.js
* @LastAuthor : jry
* @lastTime : 2025-05-17 17:17:33
* @FilePath : /uview-plus/libs/config/props/parse.js
*/
export default {
// parse

File diff suppressed because it is too large Load Diff

View File

@@ -42,7 +42,13 @@ export const props = defineMixin({
type: Boolean,
default: () => defProps.parse.showImgMenu
},
tagStyle: Object,
useAnchor: null
}
}
tagStyle: {
type: Object,
default: () => {}
},
useAnchor: {
type: Boolean,
default: null
}
}
})

View File

@@ -12,7 +12,7 @@
<script>
/**
* mp-html v2.4.1
* mp-html v2.5.1
* @description 富文本组件
* @tutorial https://github.com/jin-yufeng/mp-html
* @property {String} container-style 容器的样式
@@ -32,8 +32,8 @@
* @property {Boolean | Number} use-anchor 是否使用锚点链接
* @event {Function} load dom 结构加载完毕时触发
* @event {Function} ready 所有图片加载完毕时触发
* @event {Function} imgTap 图片被点击时触发
* @event {Function} linkTap 链接被点击时触发
* @event {Function} imgtap 图片被点击时触发
* @event {Function} linktap 链接被点击时触发
* @event {Function} play 音视频播放时触发
* @event {Function} error 媒体加载出错时触发
*/
@@ -46,7 +46,7 @@ const plugins = []
const dom = weex.requireModule('dom')
// #endif
export default {
name: 'u-parse',
name: 'up-parse',
data() {
return {
nodes: [],
@@ -103,7 +103,7 @@ export default {
useAnchor: [Boolean, Number]
},
// #ifdef VUE3
emits: ['load', 'ready', 'imgTap', 'linkTap', 'play', 'error'],
emits: ['load', 'ready', 'imgtap', 'linktap', 'play', 'error'],
// #endif
// #ifndef APP-PLUS-NVUE
components: {
@@ -410,7 +410,7 @@ export default {
break
// 图片点击
case 'onImgTap':
this.$emit('imgTap', message.attrs)
this.$emit('imgtap', message.attrs)
if (this.previewImg) {
uni.previewImage({
current: parseInt(message.attrs.i),
@@ -421,7 +421,7 @@ export default {
// 链接点击
case 'onLinkTap': {
const href = message.attrs.href
this.$emit('linkTap', message.attrs)
this.$emit('linktap', message.attrs)
if (href) {
// 锚点跳转
if (href[0] === '#') {
@@ -433,7 +433,12 @@ export default {
} else if (href.includes('://')) {
// 打开外链
if (this.copyLink) {
plus.runtime.openWeb(href)
// #ifdef APP-PLUS
plus.runtime.openWeb(href)
// #endif
// #ifdef APP-HARMONY
plus.runtime.openURL(href)
// #endif
}
} else {
uni.navigateTo({