askbot-dragon 1.2.0 → 1.2.2
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/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
:formList="formList2"
|
|
18
18
|
@submitClick="submitClick"
|
|
19
19
|
></form-template>
|
|
20
|
-
<answer-docknowledge :isAskLightning="
|
|
20
|
+
<answer-docknowledge :isAskLightning="1" :msg="answerDocknowledge"></answer-docknowledge>
|
|
21
21
|
<!-- <voice-component @closeVoice="closeVoice">
|
|
22
22
|
<div slot="voiceTip">
|
|
23
23
|
松开发送
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
<i class="iconfont guoran-shanchu"></i>
|
|
7
7
|
</section>
|
|
8
8
|
</div>
|
|
9
|
-
<div v-if="fileType == 'VIDEO'" style="width: 100%;height: calc(100% -
|
|
9
|
+
<div v-if="fileType == 'VIDEO'" style="width: 100%;height: calc(100% - 60px)">
|
|
10
10
|
<video :src="url" controls width="100%;" height="98%"></video>
|
|
11
11
|
</div>
|
|
12
|
-
<div v-else-if="fileType == 'HTML'" style="width: 100%;height: calc(100% -
|
|
12
|
+
<div v-else-if="fileType == 'HTML'" style="width: 100%;height: calc(100% - 60px)">
|
|
13
13
|
<div class="preview_iframe_html" style="text-algin:left" v-html="fileText"></div>
|
|
14
14
|
</div>
|
|
15
15
|
<template v-else-if="url.includes('https://www') || url.includes('http://www')">
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
:visible.sync="drawer"
|
|
31
31
|
v-else
|
|
32
32
|
:with-header="false"
|
|
33
|
-
size="
|
|
33
|
+
size="65%"
|
|
34
34
|
>
|
|
35
35
|
<div class="drawer-footer">
|
|
36
36
|
<span>查看详情</span>
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
<i class="iconfont guoran-shanchu"></i>
|
|
39
39
|
</section>
|
|
40
40
|
</div>
|
|
41
|
-
<div v-if="fileType == 'VIDEO'" style="width: 100%;height:
|
|
41
|
+
<div v-if="fileType == 'VIDEO'" style="width: 100%;height:calc(100% - 60px)">
|
|
42
42
|
<video :src="url" controls width="100%;" height="98%"></video>
|
|
43
43
|
</div>
|
|
44
|
-
<div v-else-if="fileType == 'HTML'" style="width: 100%;height:
|
|
44
|
+
<div v-else-if="fileType == 'HTML'" style="width: 100%;height:calc(100% - 60px)">
|
|
45
45
|
<div class="preview_iframe_html" style="text-algin:left" v-html="fileText"></div>
|
|
46
46
|
</div>
|
|
47
47
|
<template v-else-if="url.includes('https://www') || url.includes('http://www')">
|
|
@@ -92,9 +92,9 @@ export default {
|
|
|
92
92
|
// }
|
|
93
93
|
// }
|
|
94
94
|
url = url + this.url
|
|
95
|
-
if(this.officePreviewType !== '') {
|
|
96
|
-
|
|
97
|
-
}
|
|
95
|
+
// if(this.officePreviewType !== '') {
|
|
96
|
+
// url += '&officePreviewType=pdf'
|
|
97
|
+
// }
|
|
98
98
|
return url
|
|
99
99
|
},
|
|
100
100
|
// fileType() {
|
|
@@ -145,11 +145,12 @@ export default {
|
|
|
145
145
|
<style lang="less" scoped>
|
|
146
146
|
.preview_iframe {
|
|
147
147
|
width: 100%;
|
|
148
|
-
height:
|
|
148
|
+
height: 100%;
|
|
149
|
+
box-sizing: border-box;
|
|
149
150
|
}
|
|
150
151
|
.preview_iframe_html{
|
|
151
152
|
width: 100%;
|
|
152
|
-
height:
|
|
153
|
+
height: 100%;
|
|
153
154
|
overflow-y: scroll;
|
|
154
155
|
text-align: left;
|
|
155
156
|
box-sizing: border-box;
|
|
@@ -157,11 +158,20 @@ export default {
|
|
|
157
158
|
/deep/.lake-content{
|
|
158
159
|
margin-left: 10px;
|
|
159
160
|
}
|
|
160
|
-
/deep/a:
|
|
161
|
-
color: #
|
|
161
|
+
/deep/a:link {
|
|
162
|
+
color: #0000ee!important;
|
|
163
|
+
}
|
|
164
|
+
/deep/a:visited {
|
|
165
|
+
color: #0000ee!important;
|
|
166
|
+
}
|
|
167
|
+
/deep/a:hover {
|
|
168
|
+
color: #0000ee!important;
|
|
169
|
+
}
|
|
170
|
+
/deep/a:active {
|
|
171
|
+
color: #0000ee!important;
|
|
162
172
|
}
|
|
163
173
|
/deep/li:not(.rich-text-li), ol:not(.list-paddingleft-2), ul:not(.list-paddingleft-2){
|
|
164
|
-
list-style-type: auto;
|
|
174
|
+
list-style-type: auto!important;
|
|
165
175
|
}
|
|
166
176
|
/deep/img{
|
|
167
177
|
width: 100%;
|