123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <template>
- <view class="invite">
- <view class="header-bg"></view>
- <view class="header">
- <view class="title">
- 邀请
- </view>
- </view>
- <view class="content">
- <view class="tips">分享专属海报邀请5位好友注册升级为代理会员,关系自动绑定</view>
- <view class="poster-wrap">
- <image class="poster" src="" mode=""></image>
- </view>
- <view class="button">
- <button class="share-btn" type="default">分享专属海报</button>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- }
- },
- methods: {
- }
- }
- </script>
- <style lang="scss" scoped>
- .invite {
- position: relative;
- overflow: hidden;
- }
- .header-bg {
- background: $primary-color;
- height: 100upx;
- position: absolute;
- top: 0;
- width: 100%;
- z-index: 1;
- }
- .header {
- margin: 20upx;
- background: white;
- text-align: center;
- border-radius: 20upx;
- position: relative;
- z-index: 2;
- .title {
- height: 100upx;
- font-size: 32upx;
- line-height: 100upx;
- // font-weight: bold;
- }
- }
- .content {
- background: white;
- margin: 20upx;
- border-radius: 10upx;
- overflow: hidden;
- .tips {
- margin: 20upx;
- font-size: 24upx;
- color: #999999;
- text-align: center;
- }
-
- .poster-wrap{
- text-align: center;
- }
- .poster{
- background: #EEEEEE;
- width: 450upx;
- height: 700upx;
- }
-
- .button{
- text-align: center;
- margin: 40upx 0;
- }
-
- .share-btn {
- background-color: $primary-color;
- color: white;
- font-size: 32upx;
- padding: 10upx 20upx;
- border-radius: 10upx;
- line-height: normal;
- display: inline-block;
- margin-top: 20upx;
- }
- }
- </style>
|