@jx3box/jx3box-common-ui 5.3.7 → 5.3.8
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 +1 -1
- package/src/Author.vue +6 -3
- package/src/single/Collection.vue +1 -1
package/package.json
CHANGED
package/src/Author.vue
CHANGED
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
</div>
|
|
79
79
|
<div class="u-medals" v-if="medals && medals.length">
|
|
80
80
|
<span class="u-medal" v-for="(item, i) in medals" :key="i">
|
|
81
|
-
<img :src="item.medal |
|
|
81
|
+
<img :src="item.medal | showMedalIcon" :title="item | showMedalDesc" />
|
|
82
82
|
</span>
|
|
83
83
|
</div>
|
|
84
84
|
</div>
|
|
@@ -179,8 +179,11 @@ export default {
|
|
|
179
179
|
},
|
|
180
180
|
},
|
|
181
181
|
filters: {
|
|
182
|
-
|
|
183
|
-
return __imgPath + "image/medals/
|
|
182
|
+
showMedalIcon: function (val) {
|
|
183
|
+
return __imgPath + "image/medals/user/" + val + ".gif";
|
|
184
|
+
},
|
|
185
|
+
showMedalDesc : function (item){
|
|
186
|
+
return item.medal_desc || medal_map[item.medal]
|
|
184
187
|
},
|
|
185
188
|
authorLink,
|
|
186
189
|
weiboLink: function (val) {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<span>
|
|
5
5
|
<i class="el-icon-notebook-1"></i> 该作品已被收录至作者的剑三小册
|
|
6
6
|
</span>
|
|
7
|
-
<a @click.stop :href="id | collectionLink">《{{ title }}》</a>
|
|
7
|
+
<a @click.stop :href="id | collectionLink" target="_blank">《{{ title }}》</a>
|
|
8
8
|
</div>
|
|
9
9
|
<transition name="fade">
|
|
10
10
|
<div class="w-collection-list" v-if="visible">
|