sone-ui-component-3.2.4 2.1.10 → 2.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/sone-ui.common.js +33 -25
- package/lib/sone-ui.common.js.map +1 -1
- package/lib/sone-ui.umd.js +33 -25
- package/lib/sone-ui.umd.js.map +1 -1
- package/lib/sone-ui.umd.min.js +2 -2
- package/lib/sone-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/packages/dialog/src/main.vue +12 -4
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @Description:
|
|
3
3
|
* @Author: xjl
|
|
4
4
|
* @Date: 2021-09-08
|
|
5
|
-
* @LastEditTime: 2024-07-
|
|
6
|
-
* @LastEditors:
|
|
5
|
+
* @LastEditTime: 2024-07-24 10:25:51
|
|
6
|
+
* @LastEditors: Please set LastEditors
|
|
7
7
|
-->
|
|
8
8
|
<template>
|
|
9
9
|
<div style="position: relative" class="sone-dialog">
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
<div v-if="showDialogFullScreen" class="dialog-full-screen-btn">
|
|
30
30
|
<template v-if="dialogFullScreenState">
|
|
31
31
|
<el-tooltip effect="light" content="退出全屏" placement="top">
|
|
32
|
-
<el-button type="text" icon="iconfont icon-fullscreen-exit" @click.stop="
|
|
32
|
+
<el-button type="text" icon="iconfont icon-fullscreen-exit" @click.stop="exitFullScreen"></el-button>
|
|
33
33
|
</el-tooltip>
|
|
34
34
|
</template>
|
|
35
35
|
<template v-else>
|
|
36
36
|
<el-tooltip effect="light" content="全屏" placement="top">
|
|
37
|
-
<el-button type="text" icon="iconfont icon-fullscreen" @click.stop="
|
|
37
|
+
<el-button type="text" icon="iconfont icon-fullscreen" @click.stop="fullScreen"></el-button>
|
|
38
38
|
</el-tooltip>
|
|
39
39
|
</template>
|
|
40
40
|
</div>
|
|
@@ -162,6 +162,14 @@ export default {
|
|
|
162
162
|
this.timer = null;
|
|
163
163
|
}, 800)
|
|
164
164
|
this.$emit("confirm");
|
|
165
|
+
},
|
|
166
|
+
fullScreen(){
|
|
167
|
+
this.dialogFullScreenState = true
|
|
168
|
+
this.$emit('fullScreen',this.dialogFullScreenState)
|
|
169
|
+
},
|
|
170
|
+
exitFullScreen(){
|
|
171
|
+
this.dialogFullScreenState = false
|
|
172
|
+
this.$emit('exitFullScreen',this.dialogFullScreenState)
|
|
165
173
|
}
|
|
166
174
|
}
|
|
167
175
|
};
|