Task:礼品赠送/送礼、分享。收礼
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
<template>
|
||||
<view class="mask">
|
||||
<view class="gift-card-modal" :style="{backgroundColor: '#C52733'}">
|
||||
<!-- 弹窗内容 -->
|
||||
<view class="address-btn v12-white v12-primary-text">
|
||||
填写地址并收下
|
||||
</view>
|
||||
<view class="share-btn v12-white v12-primary-text">
|
||||
点击转增给好友
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'GiftCard',
|
||||
data() {
|
||||
return {
|
||||
// 组件数据
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.share-btn{
|
||||
width: fit-content;
|
||||
padding: 15rpx 30rpx;
|
||||
border-radius: 100rpx;
|
||||
font-size: 24rpx;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.address-btn{
|
||||
width: fit-content;
|
||||
padding: 20rpx 30rpx;
|
||||
border-radius: 100rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.gift-card-modal {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 586rpx;
|
||||
height: 704rpx;
|
||||
background-color: #C52733;
|
||||
justify-content: center;
|
||||
z-index: 999;
|
||||
margin: auto;
|
||||
border-radius: 16rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
.gift-card-content {
|
||||
background-color: #fff;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
width: 80%;
|
||||
max-width: 300px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user