Commit ad6a8dd8 by 徐忆琳

Merge branch 'dev_xuyl_v1.1.0' into 'dev_v1.0.0'

项目分类样式优化

See merge request !1
2 parents cfae2628 169c9191
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
<a-list-item slot="renderItem" slot-scope="item"> <a-list-item slot="renderItem" slot-scope="item">
<a rel="noopener noreferrer" @click="showClassify(item)"> <a rel="noopener noreferrer" @click="showClassify(item)">
<a-card :title="item.classify_title"> <a-card :title="item.classify_title">
<p>{{ item.classify_description }}</p> <a-tooltip>
<p :title="item.classify_description" class="white_space">{{ item.classify_description }}</p>
</a-tooltip>
<!-- <p v-for="(i, idx) in item.content" :key="i">{{idx + 1}}. {{i}}</p> --> <!-- <p v-for="(i, idx) in item.content" :key="i">{{idx + 1}}. {{i}}</p> -->
<template slot="actions" class="ant-card-actions"> <template slot="actions" class="ant-card-actions">
<a-icon key="edit" type="edit" @click.stop="editFn(item)" /> <a-icon key="edit" type="edit" @click.stop="editFn(item)" />
...@@ -116,4 +118,10 @@ export default { ...@@ -116,4 +118,10 @@ export default {
}, },
}; };
</script> </script>
<style></style> <style scoped>
.white_space {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!