1
This commit is contained in:
584
uview-plus/components/u-parse/node/node.vue
Normal file
584
uview-plus/components/u-parse/node/node.vue
Normal file
File diff suppressed because it is too large
Load Diff
22
uview-plus/components/u-parse/parse.js
Normal file
22
uview-plus/components/u-parse/parse.js
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* @Author : LQ
|
||||
* @Description :
|
||||
* @version : 1.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
|
||||
*/
|
||||
export default {
|
||||
// parse
|
||||
parse: {
|
||||
copyLink: true,
|
||||
errorImg: '',
|
||||
lazyLoad: false,
|
||||
loadingImg: '',
|
||||
pauseVideo: true,
|
||||
previewImg: true,
|
||||
setTitle: true,
|
||||
showImgMenu: true
|
||||
}
|
||||
}
|
||||
1333
uview-plus/components/u-parse/parser.js
Normal file
1333
uview-plus/components/u-parse/parser.js
Normal file
File diff suppressed because it is too large
Load Diff
48
uview-plus/components/u-parse/props.js
Normal file
48
uview-plus/components/u-parse/props.js
Normal file
@@ -0,0 +1,48 @@
|
||||
import { defineMixin } from '../../libs/vue'
|
||||
import defProps from '../../libs/config/props.js'
|
||||
export const props = defineMixin({
|
||||
props: {
|
||||
containerStyle: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
content: String,
|
||||
copyLink: {
|
||||
type: Boolean,
|
||||
default: () => defProps.parse.copyLink
|
||||
},
|
||||
domain: String,
|
||||
errorImg: {
|
||||
type: String,
|
||||
default: () => defProps.parse.errorImg
|
||||
},
|
||||
lazyLoad: {
|
||||
type: Boolean,
|
||||
default: () => defProps.parse.lazyLoad
|
||||
},
|
||||
loadingImg: {
|
||||
type: String,
|
||||
default: () => defProps.parse.loadingImg
|
||||
},
|
||||
pauseVideo: {
|
||||
type: Boolean,
|
||||
default: () => defProps.parse.pauseVideo
|
||||
},
|
||||
previewImg: {
|
||||
type: Boolean,
|
||||
default: () => defProps.parse.previewImg
|
||||
},
|
||||
scrollTable: Boolean,
|
||||
selectable: Boolean,
|
||||
setTitle: {
|
||||
type: Boolean,
|
||||
default: () => defProps.parse.setTitle
|
||||
},
|
||||
showImgMenu: {
|
||||
type: Boolean,
|
||||
default: () => defProps.parse.showImgMenu
|
||||
},
|
||||
tagStyle: Object,
|
||||
useAnchor: null
|
||||
}
|
||||
}
|
||||
499
uview-plus/components/u-parse/u-parse.vue
Normal file
499
uview-plus/components/u-parse/u-parse.vue
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user