askbot-dragon 1.0.27 → 1.0.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,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -1,13 +1,12 @@
1
1
  <template>
2
2
  <div class="answer-docknowledge">
3
- <div class="ad-text">{{ msg.content.text }}</div>
3
+ <div class="ad-text">{{ msg.content.text }}<span @click="lookAttach(item.url)" class="aci-view">查看原文 ></span></div>
4
4
  <div class="ad-list">
5
5
  <div v-for="(item, itemIndex) in msg.content.list" :key="itemIndex" class="ad-list-cell">
6
6
  <div class="alc-title">
7
7
  <div class="alc-box">
8
8
  <img class="alc-title-icon" height="24px" width="24px" :src="item.src" alt="" srcset="">
9
- <span class="alc-title-from">出自《{{ item.from }}》<span @click="lookAttach(item.url)"
10
- class="aci-view">查看原文 ></span></span>
9
+ <span class="alc-title-from">出自《{{ item.from }}》</span>
11
10
  </div>
12
11
 
13
12
  </div>
@@ -74,12 +73,20 @@ export default {
74
73
  .ad-text {
75
74
  line-height: 18px;
76
75
  padding: 0px 0px 12px 0px;
76
+
77
+ .aci-view {
78
+ font-size: 13px;
79
+ display: inline-block;
80
+ margin-left: 10px;
81
+ color: #366aff;
82
+ cursor: pointer;
83
+ }
77
84
  }
78
85
 
79
86
  .ad-list {
80
87
  .ad-list-cell {
81
88
  border-top: solid 1px #E0E6F7;
82
- padding: 10px 0;
89
+ padding: 10px 0 6px;
83
90
 
84
91
  .alc-title {
85
92
  display: flex;
@@ -99,19 +106,11 @@ export default {
99
106
  flex: auto;
100
107
  display: flex;
101
108
  justify-content: flex-start;
102
-
103
- .aci-view {
104
- font-size: 13px;
105
- display: inline-block;
106
- margin-left: 10px;
107
- color: #366aff;
108
- cursor: pointer;
109
- }
110
109
  }
111
110
  }
112
111
 
113
112
  .alc-title-icon {
114
- margin-right: 12px;
113
+ margin-right: 6px;
115
114
  }
116
115
 
117
116
  .alc-title-updateTime {
@@ -123,7 +122,7 @@ export default {
123
122
 
124
123
  .alc-content {
125
124
  .alc-title-updateTime {
126
- margin-top: 12px;
125
+ margin-top: 6px;
127
126
  display: block;
128
127
  text-align: right;
129
128
  color: #999999;