Commit 74cc932b by xuebiao

newsCard

parent 79993a53
...@@ -88,3 +88,6 @@ sw.* ...@@ -88,3 +88,6 @@ sw.*
# Vim swap files # Vim swap files
*.swp *.swp
#test
/pages/test.vue
<template>
<yun-slider>
<yun-div
:width-v="704"
:height-v="80"
:padding-v="[34,0,40]"
:margin-v="[0,23,0,23]"
:border-v="[1,'solid','#EFEFEF','bottom']"
:flex-v="['row','justify-content','flex-start']"
slot="card"
>
<yun-img
:width-v="80"
:height-v="80"
:ske-h="80"
:ske-w="80"
src=""
:border-r="[50,50,50,50]"
></yun-img>
<yun-div
:margin-v="[0,25]"
:flex-v="['column','justify-content','space-between']"
>
<yun-div :font-style="[24]">系统<span style="color: #999999;margin-left: 10px">2020-2-19 11:11:21</span></yun-div>
<yun-div :font-style="[30]">用户关注了你!</yun-div>
</yun-div>
<yun-icon
style="position: absolute;right:15px;"
:size="12"
color="#999999"
name="down_arrow"
></yun-icon></yun-div>
</yun-slider>
</template>
<script>
import commonMixin from "./commonMixin";
export default {
mixins:[commonMixin],
name: "newsCard",
}
</script>
<style scoped>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment