Browse Source

我的报名页面

master
Enzo 4 years ago
parent
commit
9e3b500d3c
  1. 6
      pages.json
  2. 139
      pages/user/my/myregister.vue

6
pages.json

@ -3,6 +3,12 @@
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{
"path": "pages/user/my/myregister",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/index/index/index",
"style": {

139
pages/user/my/myregister.vue

@ -0,0 +1,139 @@
<template>
<view class="head">
<lf-nav :spreadOut="false" :showIcon="true" bgColor="transparent" titleColor="white" title="我的报名"></lf-nav>
<view class="bg-left"></view>
<view class="bg-right"></view>
<view class="margin-auto">
<view class="register-card">
<view class="lf-flex lf-p-l-40 register-content">
<image class="register-head" src="https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png" mode="aspectFill"></image>
<view class="lf-color-black lf-m-l-21 lf-font-32">
LA MER海蓝之谜
</view>
</view>
<view class="lf-p-l-40" style="position: relative;top: 160rpx;">
<view class="lf-font-36 lf-color-black lf-font-bold ">海蓝之谜美颜会</view>
<view class="lf-m-t-30">
<view class="lf-m-t-20">
<text class="lf-color-777 lf-font-28">活动时间</text><text class="lf-font-28 lf-color-black lf-m-l-10">2021.09.01-2021.09.15</text>
</view>
<view class="lf-m-t-20">
<text class="lf-color-777 lf-font-28">活动地点</text><text class="lf-font-28 lf-color-black lf-m-l-10">海蓝之谜专卖店</text>
</view>
<view class="lf-m-t-20">
<text class="lf-color-777 lf-font-28">报名时间</text><text class="lf-font-28 lf-color-black lf-m-l-10">2021.09.02 18:37:57</text>
</view>
<view class="lf-m-t-20">
<text class="lf-color-777 lf-font-28">报名费用</text><text class="lf-font-28 lf-color-black lf-m-l-10">免费</text>
</view>
<view style="margin-top: 60rpx;display: flex;justify-content: center;">
<view class="lf-flex-column">
<lf-qrcode :options="config.qrc"></lf-qrcode>
<view class="lf-font-28 lf-row-center" style="color: #15716E;">待使用</view>
</view>
</view>
<view style="margin-top: 60rpx;">
<view class="lf-font-32 lf-color-black">
报名信息
</view>
<view class="lf-m-t-30">
<text class="lf-font-28 lf-color-777">报名人:</text><text class="lf-font-28 lf-color-777 lf-m-l-10">王晓人</text>
</view>
<view class="lf-m-t-30">
<text class="lf-font-28 lf-color-777">手机号码:</text><text class="lf-font-28 lf-color-777 lf-m-l-10">13200000000</text>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
import lfQrcode from '@/components/lf-code/lf-qrcode.vue';
export default {
data() {
return {
config: {
bar: {
code: 'E01181016286106',
color: '#000', //
bgColor: '#FFFFFF', //
width: 586, //
height: 210 //
},
qrc: {
code: "https://weixin.qq.com/g/AwYAAHO3aO4zlasEij6bLsk4hlZd5XNFkkBmqyS55mLPFxmn5c9PaI1omqLhd24fABCD23333",
size: 352, //
level: 4, // 04
bgColor: '#FFFFFF', //
// border: {
// color: ['#8A2387', '#F27121'], //
// lineWidth: 3, //
// },
// img: '/static/logo.png', //
// iconSize: 40, //
color: '#000000', //
}
},
}
},
components: {lfQrcode}
}
</script>
<style lang="scss" scoped>
.register-content {
position: absolute;
top: -30rpx;
}
.register-head {
width: 160rpx;
height: 160rpx;
box-shadow: 0px 2rpx 8rpx 1rpx rgba(21, 113, 110, 0.2);
border: 5rpx solid #FFFFFF;
border-radius: 50%;
}
.margin-auto {
margin: 0 auto;
position: relative;
top: 0;
}
.register-card {
width: 686rpx;
height: 1266rpx;
background: #FFFFFF;
border-radius: 20rpx;
}
.head {
width: 750rpx;
height: 1624rpx;
background: linear-gradient(270deg, #187B7A 0%, #2FAAA7 100%, #22A2A0 100%);
position: relative;
overflow: hidden;
display: flex;
align-items: flex-end;
box-sizing: border-box;
padding: 60rpx 32rpx 110rpx;
color: #FFFFFF;
}
.bg-left{
position: absolute;
width: 196rpx;
height: 196rpx;
border-radius: 50%;
background-color: rgba(255,255,255,0.04);
left: -92rpx;
bottom: 60rpx;
}
.bg-right{
position: absolute;
width: 520rpx;
height: 520rpx;
border-radius: 50%;
background-color: rgba(255,255,255,0.04);
right: -168rpx;
top: -142rpx;
}
</style>
Loading…
Cancel
Save