6.8
This commit is contained in:
59
pageE/mine/MedalIntroduction.vue
Normal file
59
pageE/mine/MedalIntroduction.vue
Normal file
@@ -0,0 +1,59 @@
|
||||
<template>
|
||||
<view class="medal">
|
||||
<scroll-view scroll-y class="medal-article">
|
||||
<view class="medal-title">
|
||||
<image src="../static/mine/29.png"></image>
|
||||
<view>了解勋章</view>
|
||||
<image src="../static/mine/30.png"></image>
|
||||
</view>
|
||||
<view class="medal-content">
|
||||
<rich-text :nodes="nodes"></rich-text>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
nodes: '<h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1><h1>2</h1>'
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.medal {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background: linear-gradient(0deg,rgba(246,211,119,1) 1%,rgba(240,154,105,1) 100%);
|
||||
.medal-article {
|
||||
box-sizing: border-box;
|
||||
width: 690rpx;
|
||||
height: 885rpx;
|
||||
background: rgba(255,255,255,1);
|
||||
border-radius: 20rpx;
|
||||
padding: 40rpx 30rpx;
|
||||
margin: calc(56rpx + var(--window-top)) auto 0;
|
||||
.medal-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 52rpx;
|
||||
> image {
|
||||
width: 22rpx;
|
||||
height: 22rpx;
|
||||
}
|
||||
> view {
|
||||
font-size: 32rpx;
|
||||
color: rgba(51,51,51,1);
|
||||
margin: 0 30rpx;
|
||||
}
|
||||
}
|
||||
.medal-content {
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user