askbot-dragon 1.7.28-beta → 1.7.31-beta

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.
@@ -0,0 +1,302 @@
1
+ <template>
2
+ <div class="qw-feedback">
3
+ <div class="qw-guide-text" v-if="msg.content.guideText">
4
+ <!-- 不要替换成图片地址或者字体 -->
5
+ <svg
6
+ t="1730450955692"
7
+ class="icon"
8
+ viewBox="0 0 1024 1024"
9
+ version="1.1"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ p-id="8682"
12
+ width="22"
13
+ height="22"
14
+ >
15
+ <path
16
+ d="M565.096296 289.185185s-0.948148 0 0 0c-110.933333-20.859259-208.592593 40.77037-237.985185 148.859259-14.222222 53.096296-24.651852 101.451852 44.562963 221.866667 14.222222 25.6 11.377778 70.162963 8.533333 95.762963-1.896296 14.222222 64.474074 36.02963 89.125926 42.666667l95.762963-509.155556z"
17
+ fill="#FDB813"
18
+ p-id="8683"
19
+ ></path>
20
+ <path
21
+ d="M732.918519 513.896296c11.377778-111.881481-56.888889-203.851852-166.874075-224.711111h-0.948148L469.333333 798.340741c25.6 2.844444 94.814815 6.637037 98.607408-7.585185 6.637037-25.6 20.859259-67.318519 42.666666-86.281482C719.644444 618.192593 727.22963 568.888889 732.918519 513.896296z"
22
+ fill="#FD9B13"
23
+ p-id="8684"
24
+ ></path>
25
+ <path
26
+ d="M467.437037 806.874074c-7.585185-0.948148-12.325926-7.585185-14.222222-14.222222l-38.874074-256c-0.948148-5.688889 0.948148-11.377778 4.74074-15.170371 3.792593-3.792593 9.481481-5.688889 15.170371-4.74074l167.822222 31.288889c5.688889 0.948148 10.42963 4.740741 12.325926 9.481481 1.896296 4.740741 1.896296 11.377778-0.948148 16.118519L486.4 798.340741c-3.792593 6.637037-11.377778 10.42963-18.962963 8.533333z m-14.222222-251.259259l27.496296 182.992592L572.681481 578.37037l-119.466666-22.755555z"
27
+ fill="#F12A3F"
28
+ p-id="8685"
29
+ ></path>
30
+ <path
31
+ d="M375.466667 709.214815l-25.6 137.481481c0 2.844444 1.896296 5.688889 7.585185 10.42963l65.422222 54.992593c5.688889 4.740741 15.17037 8.533333 23.703704 10.429629l36.029629-193.422222-107.14074-19.911111z"
32
+ fill="#2D4375"
33
+ p-id="8686"
34
+ ></path>
35
+ <path
36
+ d="M482.607407 729.125926l-36.029629 193.422222c9.481481 1.896296 18.014815 1.896296 25.6-0.948148l80.592592-27.496296c6.637037-1.896296 10.42963-4.740741 11.377778-6.637037L589.748148 749.037037l-107.140741-19.911111z"
37
+ fill="#1E2D4F"
38
+ p-id="8687"
39
+ ></path>
40
+ <path
41
+ d="M612.503704 217.125926c-3.792593 18.014815-20.859259 29.392593-38.874074 26.548148-18.014815-3.792593-30.340741-20.859259-26.548149-38.874074l18.962963-100.503704c3.792593-18.014815 20.859259-29.392593 38.874075-26.548148 18.014815 3.792593 30.340741 20.859259 26.548148 38.874074l-18.962963 100.503704z"
42
+ fill="#FDB813"
43
+ p-id="8688"
44
+ ></path>
45
+ <path
46
+ d="M382.103704 228.503704c10.42963 15.17037 6.637037 36.02963-8.533334 46.459259-15.17037 10.42963-36.02963 6.637037-46.459259-8.533333l-57.837037-84.385186c-10.42963-15.17037-6.637037-36.02963 8.533333-46.459259 15.17037-10.42963 36.02963-6.637037 46.45926 8.533334l57.837037 84.385185zM757.57037 298.666667c-15.17037 10.42963-18.962963 31.288889-8.533333 46.459259 10.42963 15.17037 31.288889 18.962963 46.459259 8.533333l84.385185-57.837037c15.17037-10.42963 18.962963-31.288889 8.533334-46.459259-10.42963-15.17037-31.288889-18.962963-46.459259-8.533333l-84.385186 57.837037z"
47
+ fill="#FDB813"
48
+ p-id="8689"
49
+ ></path>
50
+ <path
51
+ d="M252.207407 361.244444c18.014815 3.792593 30.340741 20.859259 26.548149 38.874075-3.792593 18.014815-20.859259 29.392593-38.874075 26.548148l-100.503703-18.962963c-18.014815-3.792593-30.340741-20.859259-26.548148-38.874074 3.792593-18.014815 20.859259-29.392593 38.874074-26.548149l100.503703 18.962963zM931.081481 488.296296c18.014815 3.792593 30.340741 20.859259 26.548149 38.874074-3.792593 18.014815-20.859259 29.392593-38.874074 26.548149l-100.503704-18.962963c-18.014815-3.792593-30.340741-20.859259-26.548148-38.874075 3.792593-18.014815 20.859259-29.392593 38.874074-26.548148l100.503703 18.962963z"
52
+ fill="#FDB813"
53
+ p-id="8690"
54
+ ></path>
55
+ <path
56
+ d="M593.540741 807.822222c1.896296-7.585185-3.792593-15.17037-11.377778-16.118518l-107.140741-19.911111-4.740741 27.496296 107.140741 19.911111c6.637037 0.948148 14.222222-3.792593 16.118519-11.377778z"
57
+ fill="#CEEFF6"
58
+ p-id="8691"
59
+ ></path>
60
+ <path
61
+ d="M366.933333 750.933333c-7.585185-1.896296-15.17037 3.792593-16.118518 11.377778-1.896296 7.585185 3.792593 15.17037 11.377778 16.118519l107.14074 19.911111 4.740741-27.496297-107.140741-19.911111zM356.503704 808.77037c-7.585185-1.896296-15.17037 3.792593-16.118519 11.377778-1.896296 7.585185 3.792593 15.17037 11.377778 16.118519l107.140741 19.911111 4.74074-27.496297-107.14074-19.911111z"
62
+ fill="#FFFFFF"
63
+ p-id="8692"
64
+ ></path>
65
+ <path
66
+ d="M570.785185 848.592593l-107.140741-19.911112-4.74074 27.496297 107.14074 19.911111c7.585185 1.896296 15.17037-3.792593 16.118519-11.377778 1.896296-7.585185-2.844444-15.17037-11.377778-16.118518z"
67
+ fill="#CEEFF6"
68
+ p-id="8693"
69
+ ></path>
70
+ </svg>
71
+ <!-- 不要替换成图片地址或者字体 -->
72
+ <p class="radio-description" v-html="msg.content.guideText"></p>
73
+ </div>
74
+
75
+ <div class="options-list">
76
+ <div
77
+ v-for="(option, index) in showOptions"
78
+ class="options-item"
79
+ :class="
80
+ index !== msg.content.questionList.length - 1
81
+ ? 'recommend-item'
82
+ : 'last-item'
83
+ "
84
+ :key="'qwfeedback_' + index"
85
+ @click="handleWelcome(option)"
86
+ >
87
+ <span> {{ getFilteredName(option) }}</span>
88
+ <i class="arsenal_icon arsenalangle-right-solid"></i>
89
+ </div>
90
+ </div>
91
+ <div v-if="showPage" class="switch-page">
92
+ <!-- <span @click="changeActivePage" class="switch-page-btn"
93
+ >换一批</span
94
+ > -->
95
+ <span @click="showMore" class="switch-page-btn">查看更多</span>
96
+ </div>
97
+ </div>
98
+ </template>
99
+
100
+ <script>
101
+ export default {
102
+ name: "answerRadio",
103
+ data() {
104
+ return {
105
+ isMobile: false,
106
+ formatOptions: [],
107
+ activeIndex: 0,
108
+ pageSize: 5,
109
+ showPage: false,
110
+ showOptions: [],
111
+ };
112
+ },
113
+ props: ["msg"],
114
+ mounted() {
115
+ console.log(this.msg, "msg");
116
+ // 关键词推荐 前端分页
117
+ this.msg.content.questionList = this.msg.content.questionList.slice(0, 20);
118
+ if (this.msg.content.questionList.length > this.pageSize) {
119
+ this.formatOptions = this.chunkArray(
120
+ this.msg.content.questionList,
121
+ this.pageSize
122
+ );
123
+ this.activeIndex = 0;
124
+ this.showPage = true;
125
+ } else {
126
+ this.formatOptions = [this.msg.content.questionList];
127
+ this.activeIndex = 0;
128
+ }
129
+ this.showOptions = this.formatOptions[0];
130
+ this.judgeIsMobile();
131
+ },
132
+ methods: {
133
+ getFilteredName(name) {
134
+ if (typeof name === "string") {
135
+ return name.replace(/<\/?p>/g, "");
136
+ } else {
137
+ return name;
138
+ }
139
+ },
140
+ showMore() {
141
+ if (this.activeIndex == this.formatOptions.length - 2) {
142
+ this.activeIndex++;
143
+ this.showPage = false;
144
+ } else {
145
+ this.activeIndex++;
146
+ }
147
+ this.showOptions = [
148
+ ...this.showOptions.concat(
149
+ this.formatOptions[this.activeIndex]
150
+ ),
151
+ ];
152
+ },
153
+ changeActivePage() {
154
+ if (this.activeIndex >= this.formatOptions.length - 1) {
155
+ this.activeIndex = 0;
156
+ } else {
157
+ this.activeIndex++;
158
+ }
159
+ this.showOptions = this.formatOptions[this.activeIndex];
160
+ },
161
+ chunkArray(array, size) {
162
+ let chunks = [];
163
+ for (let i = 0; i < array.length; i += size) {
164
+ let chunk = array.slice(i, i + size);
165
+ chunks.push(chunk);
166
+ }
167
+ return chunks;
168
+ },
169
+ judgeIsMobile() {
170
+ let flag = navigator.userAgent.match(
171
+ /(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i
172
+ );
173
+ if (flag) {
174
+ this.isMobile = true;
175
+ } else {
176
+ this.isMobile = false;
177
+ }
178
+ console.log(this.isMobile, "this.isMobile");
179
+ },
180
+ handleWelcome (item) {
181
+ console.log(item, 'item');
182
+
183
+ this.$emit('handleWelcome', item)
184
+ },
185
+ radioClick(msg, option, index) {
186
+ let value = option.answerId
187
+ ? msg.id +
188
+ "_" +
189
+ index +
190
+ "_" +
191
+ option.value +
192
+ "_" +
193
+ option.name +
194
+ "_" +
195
+ option.answerId
196
+ : msg.id + "_" + index + "_" + option.value + "_" + option.name;
197
+ this.$emit(
198
+ "onRadioClick",
199
+ value,
200
+ option.name,
201
+ msg.apiKey,
202
+ msg.actionCategory,
203
+ msg.msgId ? msg.msgId : "",
204
+ option.apiKey
205
+ );
206
+ },
207
+ },
208
+ };
209
+ </script>
210
+
211
+ <style scoped lang="less">
212
+ .qw-feedback {
213
+ background-color: white;
214
+ padding-bottom: 16px;
215
+ .qw-guide-text {
216
+ display: flex;
217
+ justify-content: flex-start;
218
+ align-items: center;
219
+ background-color: #d9e3fa;
220
+ padding: 16px;
221
+ .radio-description {
222
+ margin-left: 6px;
223
+ }
224
+ }
225
+ .switch-page {
226
+ margin-top: 10px;
227
+ display: flex;
228
+ flex-direction: column;
229
+ align-items: center;
230
+ .switch-page-btn {
231
+ width: 80px;
232
+ height: 24px;
233
+ border-radius: 15px;
234
+ border: solid 1px #366aff;
235
+ color: #366aff;
236
+ line-height: 24px;
237
+ text-align: center;
238
+ cursor: pointer;
239
+ font-size: 12px;
240
+ }
241
+ }
242
+ .radio-description {
243
+ word-wrap: break-word;
244
+ word-break: break-all;
245
+ overflow: hidden;
246
+ /*padding: 8px 10px 10px 0;*/
247
+ height: auto;
248
+ /* border-bottom: 1px solid #EEEEEE;*/
249
+ }
250
+
251
+ .bottom-link {
252
+ height: 1px;
253
+ background-color: #eeeeee;
254
+ }
255
+
256
+ .options-list {
257
+ padding-top: 4px;
258
+ /* padding-top: 10px;*/
259
+ padding-left: 16px;
260
+ padding-right: 16px;
261
+
262
+ .options-item {
263
+ // height: 25px;
264
+ line-height: 25px;
265
+ background-color: #ffffff;
266
+ color: #366aff;
267
+ cursor: pointer;
268
+ display: flex;
269
+ align-items: center;
270
+ justify-content: space-between;
271
+
272
+ i {
273
+ padding-left: 10px;
274
+ }
275
+
276
+ .options-item-text {
277
+ text-overflow: ellipsis;
278
+ display: -webkit-box; //使用了flex,需要加
279
+ overflow: hidden; //超出隐藏
280
+ word-break: break-all; //纯英文、数字、中文
281
+ text-overflow: ellipsis; //省略号
282
+ -webkit-box-orient: vertical; //垂直
283
+ -webkit-line-clamp: 1; //显示一行
284
+ white-space: pre-line; //
285
+ }
286
+ }
287
+
288
+ .recommend-item {
289
+ padding: 8px 0;
290
+ }
291
+
292
+ .last-item {
293
+ padding-top: 8px;
294
+ }
295
+
296
+ .end {
297
+ border-bottom-left-radius: 25px !important;
298
+ border-bottom-right-radius: 25px !important;
299
+ }
300
+ }
301
+ }
302
+ </style>
@@ -26,7 +26,7 @@
26
26
  </div>
27
27
  </template>
28
28
  <script>
29
- import {uploadImageByBase64} from "../assets/js/AliyunlssUtil";
29
+ import {ossConfig,uploadImageByBase64} from "../assets/js/AliyunlssUtil";
30
30
 
31
31
  export default {
32
32
  name: "ask_video",
@@ -86,7 +86,7 @@
86
86
  console.debug('img.src',output)
87
87
  let base64 = canvas.toDataURL("image/png")
88
88
  let blob = that.dataURLtoFile(base64,'name')
89
- let promise = uploadImageByBase64(blob);
89
+ let promise = uploadImageByBase64(ossConfig,blob);
90
90
  promise.then((res)=>{
91
91
  console.debug("upload base64 reslut",res);
92
92
  if (res&&res.url){
@@ -803,6 +803,14 @@ export default {
803
803
  videoUploadPercent: false,
804
804
  fileType: ['PICTURE', 'VIDEO', 'AUDIO'],
805
805
  loading: '',
806
+ ossConfig: {
807
+ region: "oss-cn-zhangjiakou",
808
+ //云账号AccessKey有所有API访问权限,建议遵循阿里云安全最佳实践,创建并使用STS方式来进行API访问
809
+ accessKeyId: "LTAI4G3QtdEdwkEbihBngAsK",
810
+ accessKeySecret: "OwgdVfc5PeCkIgqIdug660xmiSPchn",
811
+ // stsToken: '<Your securityToken(STS)>',
812
+ bucket: "guoranopen-zjk",
813
+ },
806
814
  hideUploadEdit: false,
807
815
  limitNum: 1,
808
816
  refShowPicker: false,
@@ -1497,6 +1505,7 @@ export default {
1497
1505
  url: ''
1498
1506
  }
1499
1507
  let res = multipartUpload(
1508
+ this.ossConfig,
1500
1509
  file,
1501
1510
  null,
1502
1511
  imageInfo
@@ -1506,10 +1515,10 @@ export default {
1506
1515
  // let filePath = res.name;
1507
1516
  imageData.urls.push({
1508
1517
  name: file.name,
1509
- url: ossFileUrl(res.name),
1518
+ url: ossFileUrl(this.ossConfig, res.name),
1510
1519
  status: 'success'
1511
1520
  })
1512
- imageInfo.url = ossFileUrl(res.name)
1521
+ imageInfo.url = ossFileUrl(this.ossConfig, res.name)
1513
1522
  imageInfo.status = 'success'
1514
1523
  imageInfo.name = file.name
1515
1524
  for (let j = 0; j < this.extInfoFieldValue[this.filedId].length; j++) {
@@ -2409,6 +2418,7 @@ export default {
2409
2418
  },
2410
2419
  };*/
2411
2420
  let res = multipartUpload(
2421
+ this.ossConfig,
2412
2422
  file,
2413
2423
  null,
2414
2424
  imgInfo
@@ -2421,7 +2431,7 @@ export default {
2421
2431
  ossFileUrl(this.ossConfig, res.name)
2422
2432
  );
2423
2433
  console.log('imageData',imageData)*/
2424
- imgInfo.url = ossFileUrl(res.name)
2434
+ imgInfo.url = ossFileUrl(this.ossConfig, res.name)
2425
2435
  imgInfo.status = 'success'
2426
2436
  if (data.file) {
2427
2437
  imgInfo.name = data.file.name
@@ -2481,7 +2491,7 @@ export default {
2481
2491
  console.debug("upload video progress", progress, point);
2482
2492
  if (progress === 1) {
2483
2493
  // this.loadingIns.close();
2484
- videoData.content.url = ossFileUrl(point.name);
2494
+ videoData.content.url = ossFileUrl(this.ossConfig, point.name);
2485
2495
  // this.chooseVideo({data:url},file);
2486
2496
 
2487
2497
  } else {
@@ -3,23 +3,21 @@
3
3
  <div class="summaryHeader">
4
4
  <div class="left">
5
5
  <i class="iconfont guoran-tongyichicun-write-29-jiqiren"></i>
6
- <span>{{ $t('dragonCommon.smartSummary') }}</span>
6
+ <span>智能摘要</span>
7
7
  </div>
8
8
  <div class="right">
9
9
  <div class="regenerationBtn" @click="regeneration">
10
- <template v-if="!isLoading">
11
- {{ $t('dragonCommon.regenerate') }}
12
- </template>
10
+ <template v-if="!isLoading">重新生成</template>
13
11
  <template v-else>
14
12
  <img
15
- height="20px"
16
- width="20px"
17
- src="../assets/image/loading.gif"
18
- alt
19
- srcset
20
- style="margin-right: 6px"
13
+ height="20px"
14
+ width="20px"
15
+ src="../assets/image/loading.gif"
16
+ alt
17
+ srcset
18
+ style="margin-right: 6px"
21
19
  />
22
- <span>{{ $t('dragonCommon.generating') }}</span>
20
+ <span>生成中</span>
23
21
  </template>
24
22
  </div>
25
23
  <i class="iconfont guoran-tongyichicun-shouqi" @click="closeSummary"></i>
@@ -30,9 +28,9 @@
30
28
  </div>
31
29
  <div class="intelligentBottom" v-if="recommendQuestions.length > 0">
32
30
  <div class="intelligentQues"
33
- v-for="(item, index) in recommendQuestions"
34
- :key="index"
35
- @click="recommendQues(item)"
31
+ v-for="(item,index) in recommendQuestions"
32
+ :key="index"
33
+ @click="recommendQues(item)"
36
34
  >
37
35
  {{ item }}
38
36
  </div>
@@ -1,36 +1,29 @@
1
1
  <template>
2
2
  <div class="pdf_view" id="pdf_view">
3
- <div class="change_scale" v-if="isPC">
4
- <section @click="changeScale('reduce')">
5
- <i class="el-icon-minus"></i>
6
- </section>
7
- <el-divider direction="vertical"></el-divider>
8
- <section @click="changeScale('zoom')">
9
- <i class="el-icon-plus"></i>
10
- </section>
11
- <el-select size="small" v-model="handScale" @change="changeScale" :placeholder="$t('dragonCommon.selectScale')">
12
- <el-option v-for="item in scaleList" :key="item.value" :label="item.label" :value="item.value">
13
- </el-option>
14
- </el-select>
15
- </div>
16
- <div class="pdf_container_view" id="pdf_container_view" @scroll="pdfScroll" ref="pdfView"></div>
17
- <div class="btn_footer" v-if="tagIds.length > 1 && !isPC">
18
- <div class="prev" @click="prev">{{ $t('dragonCommon.previous') }}</div>
19
- <div class="next" @click="next">{{ $t('dragonCommon.next') }}</div>
20
- </div>
21
- <div id="pagination" v-if="tagIds.length > 1 && isPC">
22
- <el-pagination
23
- :current-page="currentPage + 1"
24
- @current-change="currentChange"
25
- @prev-click="prev"
26
- @next-click="next"
27
- layout="slot, prev, pager, next"
28
- :page-size="1"
29
- :total="tagIds.length"
30
- >
31
- <span class="total-class">{{ $t('dragonCommon.answersGeneratedByPre') }}{{tagIds.length}}{{ $t('dragonCommon.answersGeneratedByAfter') }}</span>
32
- </el-pagination>
33
- </div>
3
+ <div class="change_scale" v-if="isPC">
4
+ <section @click="changeScale('reduce')">
5
+ <i class="el-icon-minus"></i>
6
+ </section>
7
+ <el-divider direction="vertical"></el-divider>
8
+ <section @click="changeScale('zoom')">
9
+ <i class="el-icon-plus"></i>
10
+ </section>
11
+ <el-select size="small" v-model="handScale" @change="changeScale" placeholder="请选择">
12
+ <el-option v-for="item in scaleList" :key="item.value" :label="item.label" :value="item.value">
13
+ </el-option>
14
+ </el-select>
15
+ </div>
16
+ <div class="pdf_container_view" id="pdf_container_view" @scroll="pdfScroll" ref="pdfView"></div>
17
+ <div class="btn_footer" v-if="tagIds.length > 1 && !isPC">
18
+ <div class="prev" @click="prev">上一段</div>
19
+ <div class="next" @click="next">下一段</div>
20
+ </div>
21
+ <div id="pagination" v-if="tagIds.length > 1 && isPC">
22
+ <el-pagination :current-page="currentPage + 1" @current-change="currentChange" @prev-click="prev"
23
+ @next-click="next" layout="slot, prev, pager, next" :page-size="1" :total="tagIds.length">
24
+ <span class="total-class">答案由{{ tagIds.length }}段内容生成</span>
25
+ </el-pagination>
26
+ </div>
34
27
  </div>
35
28
  </template>
36
29
  <script>
@@ -104,7 +97,37 @@ export default {
104
97
  transformSalce: null,
105
98
  isPC: false,
106
99
  handScale: 'auto',
107
- scaleList: [],
100
+ scaleList: [
101
+ {
102
+ label: '自动缩放',
103
+ value: 'auto'
104
+ },
105
+ {
106
+ label: '实际比例',
107
+ value: 'reality'
108
+ },
109
+ {
110
+ label: '100%',
111
+ value: 1
112
+ },
113
+ {
114
+ label: '120%',
115
+ value: 1.2
116
+ },
117
+ {
118
+ label: '150%',
119
+ value: 1.5
120
+ },
121
+ {
122
+ label: '170%',
123
+ value: 1.7
124
+ }
125
+ ,
126
+ {
127
+ label: '200%',
128
+ value: 2
129
+ }
130
+ ],
108
131
  scrollTop: 0,
109
132
  scrollLeft: 0
110
133
  }
@@ -529,7 +552,7 @@ export default {
529
552
  this.currentPage = 0
530
553
  if (!this.isPC) {
531
554
  this.$toast({
532
- message: this.$t('dragonCommon.firstParagraph'),
555
+ message: '当前已经是第一段了',
533
556
  duration: 2000,
534
557
  })
535
558
  return
@@ -548,7 +571,7 @@ export default {
548
571
  this.currentPage = this.tagIds.length - 1
549
572
  if (!this.isPC) {
550
573
  this.$toast({
551
- message: this.$t('dragonCommon.lastParagraph'),
574
+ message: '当前已经是最后一段了',
552
575
  duration: 2000,
553
576
  })
554
577
  return
@@ -1056,7 +1079,7 @@ export default {
1056
1079
  }
1057
1080
  } else {
1058
1081
  let div = document.createElement('div')
1059
- div.innerText = this.$t('dragonCommon.fileloadException')
1082
+ div.innerText = '文件加载异常'
1060
1083
  this.contentView.appendChild(div)
1061
1084
  this.$refs.pdfView.appendChild(this.contentView)
1062
1085
  }
@@ -1068,37 +1091,6 @@ export default {
1068
1091
  }
1069
1092
  },
1070
1093
  mounted () {
1071
- this.scaleList = [
1072
- {
1073
- label: this.$t('dragonCommon.scaleAuto'),
1074
- value: 'auto'
1075
- },
1076
- {
1077
- label: this.$t('dragonCommon.scaleReality'),
1078
- value: 'reality'
1079
- },
1080
- {
1081
- label: '100%',
1082
- value: 1
1083
- },
1084
- {
1085
- label: '120%',
1086
- value: 1.2
1087
- },
1088
- {
1089
- label: '150%',
1090
- value: 1.5
1091
- },
1092
- {
1093
- label: '170%',
1094
- value: 1.7
1095
- }
1096
- ,
1097
- {
1098
- label: '200%',
1099
- value: 2
1100
- }
1101
- ]
1102
1094
  if (/(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent)) {
1103
1095
  this.isPC = false
1104
1096
  } else {