Commit e4117161 by 怪兽?别跑

Merge branch 'v3-dev-jiangpengkai' into vue3-master

2 parents 3771d37c c2e6489d
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
<!-- <div class="title">{{ name }}</div> --> <!-- <div class="title">{{ name }}</div> -->
<div class="content"> <div class="content">
<div class="header_bg"> <div class="header_bg">
<img class="header" src="../assets/header_b.png" alt="" /> <img class="header" src="@/assets/image/header_b.png" alt="" />
</div> </div>
<div class="header_con"> <div class="header_con">
<div class="img"> <div class="img">
<div> <div>
<img width="32px" src="../assets/header_a.png" alt="" /> <img width="32px" src="@/assets/image/header_a.png" alt="" />
</div> </div>
<div class="name">运营部-小王</div> <div class="name">运营部-小王</div>
</div> </div>
...@@ -26,122 +26,122 @@ ...@@ -26,122 +26,122 @@
</div> </div>
</template> </template>
<script> <script>
export default { export default {
name: 'short-link-preview-type-3', name: 'short-link-preview-type-3',
components: {}, components: {},
props: { props: {
name: { name: {
type: String, type: String,
default: '短链推广', default: '短链推广'
}, },
value: { value: {
type: String, type: String,
default: '', default: ''
}, },
poster: { poster: {
type: String, type: String,
default: '', default: ''
}
}, },
}, watch: {
watch: { value(val) {
value(val) { // this.$forceUpdate()
// this.$forceUpdate() },
poster() {
// this.$forceUpdate()
}
}, },
poster() { data() {
// this.$forceUpdate() return {
list: []
}
}, },
}, created() {},
data() { mounted() {},
return { methods: {}
list: [], }
}
},
created() {},
mounted() {},
methods: {},
}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.preview { .preview {
margin: 0 auto; margin: 0 auto;
position: relative; position: relative;
width: 300px; width: 300px;
height: 640px; height: 640px;
background: url(../../../../assets/drainageCode/preview-bg.png); background: url(../../../../assets/drainageCode/preview-bg.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
.title { .title {
position: absolute; position: absolute;
top: 37px; top: 37px;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
} }
.content { .content {
// text-align: center; // text-align: center;
position: absolute; position: absolute;
height: 545px; height: 545px;
width: 280px; width: 280px;
overflow-y: auto; overflow-y: auto;
top: 70px; top: 70px;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
border-bottom-left-radius: 20px; border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px; border-bottom-right-radius: 20px;
.header_bg { .header_bg {
height: 200px; height: 200px;
background-color: #cdf3df; background-color: #cdf3df;
position: relative; position: relative;
.header { .header {
height: 48px; height: 48px;
width: 48px; width: 48px;
position: absolute; position: absolute;
bottom: -25px; bottom: -25px;
right: 16px; right: 16px;
}
}
.header_con {
padding: 0 20px;
margin-top: 60px;
.img {
display: flex;
align-items: center;
.name {
margin-left: 10px;
font-size: 14px;
font-weight: 600;
color: #596c94;
} }
} }
.circle_con { .header_con {
margin-left: 42px; padding: 0 20px;
// margin-top: 10px; margin-top: 60px;
.word { .img {
font-size: 14px; display: flex;
font-weight: 400; align-items: center;
color: #191919; .name {
margin-left: 10px;
font-size: 14px;
font-weight: 600;
color: #596c94;
}
} }
.code_img { .circle_con {
height: 140px; margin-left: 42px;
width: 140px; // margin-top: 10px;
margin: 5px auto; .word {
font-size: 14px;
font-weight: 400;
color: #191919;
}
.code_img {
height: 140px;
width: 140px;
margin: 5px auto;
}
} }
} }
} }
} }
} .sub-des {
.sub-des { text-align: center;
text-align: center; font-size: 12px;
font-size: 12px;
font-weight: 400; font-weight: 400;
color: #999999; color: #999999;
} }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!