askbot-dragon 1.6.38-beta → 1.6.39-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.6.38-beta",
3
+ "version": "1.6.39-beta",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="intelligentSummary" id="intelligentSummary">
3
- <div class="header">
3
+ <div class="summaryHeader">
4
4
  <div class="left">
5
5
  <i class="iconfont guoran-tongyichicun-write-29-jiqiren"></i>
6
6
  <span>智能摘要</span>
@@ -49,6 +49,9 @@ export default {
49
49
  if (res.data.data){
50
50
  this.summary = res.data.data.summary;
51
51
  this.recommendQuestions = res.data.data.recommendQuestions ? res.data.data.recommendQuestions : [];
52
+ if (!this.summary){
53
+ this.regeneration();
54
+ }
52
55
  }
53
56
  })
54
57
  },
@@ -88,7 +91,7 @@ export default {
88
91
  border-radius: 20px;
89
92
  border: 1px solid #366AFF;
90
93
  margin-bottom: 20px;
91
- .header{
94
+ .summaryHeader{
92
95
  display: flex;
93
96
  align-items: center;
94
97
  justify-content: space-between;
@@ -381,15 +381,16 @@ export default {
381
381
  align-items: center;
382
382
  .summaryBtn{
383
383
  flex: none;
384
- width: 95px;
384
+ //width: 95px;
385
385
  height: 26px;
386
+ padding: 0 10px;
386
387
  background: #ffffff;
387
388
  display: flex;
388
389
  align-items: center;
389
390
  justify-content: center;
390
391
  box-sizing: border-box;
391
392
  border: 1px solid #a1b9ff;
392
- border-radius: 15px 0px 15px 15px;
393
+ border-radius: 15px;
393
394
  cursor: pointer;
394
395
  color: #366aff;
395
396
  margin-right: 10px;