提交 feb182d8 编写于 作者: H hdx

long-list: rename getStarUnicode to convertToStarUnicode

上级 2c9ba045
......@@ -11,7 +11,7 @@
<view class="description">
<text class="description-text">{{item.plugin_intro}}</text>
</view>
<text class="icon-star star">{{getStarUnicode(item.score)}}</text>
<text class="icon-star star">{{convertToStarUnicode(item.score)}}</text>
<view class="tag-list">
<text class="tag-item" v-for="(item2, index2) in item.tags" :key="index2">{{item2}}</text>
</view>
......@@ -109,7 +109,7 @@
})
},
// score 0 ~ 50
getStarUnicode(score : Number) : string {
convertToStarUnicode(score : Number) : string {
const fill_code = '\ue879'
const half_code = '\ue87a'
const null_code = '\ue87b'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册