cloud-web-corejs 1.0.54-dev.26 → 1.0.54-dev.28

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.26",
4
+ "version": "1.0.54-dev.28",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -47,11 +47,14 @@
47
47
  :showProperties="false" :showSize="true" :createBy="false"></baseUpload>
48
48
  </template>
49
49
  <template v-else-if="item.contentType == 2">
50
- <ul>
50
+ <ul class="onlieTalk-search-list">
51
+ <div class="tit"><i class="el-icon-chat-round"></i><b>猜你想问</b></div>
52
+ <div class="o-cont">
51
53
  <li v-for="(answer,index) in item.answers" :key="index">
52
54
  <a href="javascript:void(0);" class="a-link"
53
- @click="answerCheckHandle(answer)">{{ answer.question }}</a>
55
+ @click="answerCheckHandle(answer)">{{index+1}}、{{ answer.question }}</a>
54
56
  </li>
57
+ </div>
55
58
  </ul>
56
59
  </template>
57
60
  </div>
@@ -68,16 +71,16 @@
68
71
  <i class="el-icon-folder-opened btn" @click="addFile" :disabled="!talkUserId"></i>
69
72
  </el-tooltip>
70
73
  </div> -->
71
- <!-- <div class="pop-inputTips" v-show="false">
72
- <p>该商品的<span>有效</span>日期?</p>
73
- <p><span>有效</span>使用时间是什么时候?</p>
74
- <p>该商品的<span>有效</span>日期?</p>
75
- <p><span>有效</span>使用时间是什么时候?</p>
76
- <p>该商品的<span>有效</span>日期?</p>
77
- <p><span>有效</span>使用时间是什么时候?</p>
78
- <p>该商品的<span>有效</span>日期?</p>
79
- <p><span>有效</span>使用时间是什么时候?</p>
80
- </div>-->
74
+ <!-- <div class="pop-inputTips" v-show="false">
75
+ <p>该商品的<span>有效</span>日期?</p>
76
+ <p><span>有效</span>使用时间是什么时候?</p>
77
+ <p>该商品的<span>有效</span>日期?</p>
78
+ <p><span>有效</span>使用时间是什么时候?</p>
79
+ <p>该商品的<span>有效</span>日期?</p>
80
+ <p><span>有效</span>使用时间是什么时候?</p>
81
+ <p>该商品的<span>有效</span>日期?</p>
82
+ <p><span>有效</span>使用时间是什么时候?</p>
83
+ </div>-->
81
84
  <el-input type="textarea" :rows="6" class="txt-textarea" v-model="talkUser.content" placeholder="请输入
82
85
  选择此处,可粘贴文件(Ctrl+V)"
83
86
  :disabled="!talkUserId" ref="contentRef" @paste.native="pasteMessage"
@@ -255,10 +258,13 @@
255
258
  :showProperties="false" :showSize="true" :createBy="false"></baseUpload>
256
259
  </template>
257
260
  <template v-else-if="item.contentType == 2">
258
- <ul>
261
+ <ul class="onlieTalk-search-list">
262
+ <div class="tit"><i class="el-icon-chat-round"></i><b>猜你想问</b></div>
263
+ <div class="o-cont">
259
264
  <li v-for="(answer,index) in item.answers" :key="index">
260
- <a href="javascript:void(0);" class="a-link">{{ answer.question }}</a>
265
+ <a href="javascript:void(0);" class="a-link">{{index+1}}、{{ answer.question }}</a>
261
266
  </li>
267
+ </div>
262
268
  </ul>
263
269
  </template>
264
270
  </div>
@@ -288,7 +294,20 @@ export default {
288
294
  </script>
289
295
  <style scoped lang="scss">
290
296
  @import '~@/styles/variables.scss';
291
-
297
+ .onlieTalk-search-list{
298
+ list-style: none;margin: -8px -4px 0;padding: 0;min-width: 360px;max-width: 90%;
299
+ .tit{color: #333;font-size: 14px;margin: 10px 0 3px;padding-left: 6px;
300
+ i{margin-right: 3px;}
301
+ }
302
+ .o-cont{background: #FFF;border-radius: 5px;margin-top: 7px;padding: 0 12px;}
303
+ li{
304
+ padding: 10px 2px;border-bottom: dashed 1px #dfdfdf;display: block;position: relative;font-size: 12px;cursor: pointer;
305
+ &:after{content:"\e6e0";font-family: element-icons!important;color:#747474;height:30px;border-radius: 50%;position: absolute;top:50%;margin-top:-15px;right:0;line-height:30px;}
306
+ &:last-child{
307
+ border-bottom: none;
308
+ }
309
+ }
310
+ }
292
311
  .history-box {
293
312
  .h-form {
294
313
  padding: 2px 16px 10px;
@@ -362,7 +381,10 @@ export default {
362
381
  padding: 12px 16px;
363
382
  color: #323232;
364
383
  font-size: 13px;
365
-
384
+ overflow: hidden;
385
+ .onlieTalk-search-list{
386
+ border: solid 1px #eee;padding:0 8px 6px;border-radius: 6px;margin: 10px 0 4px;background: #f7f7f7;overflow: hidden;
387
+ }
366
388
  .name {
367
389
  color: #999;
368
390
  margin-bottom: 5px;
@@ -376,10 +398,11 @@ export default {
376
398
  font-size: 12px;
377
399
  color: #999;
378
400
  }
379
-
401
+ ::v-deep .upload-box{margin:-10px 0 0 0 !important;border-top:none}
380
402
  &:hover {
381
403
  background: #f7f7f7;
382
404
  }
405
+
383
406
  }
384
407
  }
385
408