You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
266 lines
7.0 KiB
266 lines
7.0 KiB
<template>
|
|
<view>
|
|
<lf-nav :spreadOut="false" :showIcon="false" titleColor="white" bgColor="transparent!important" title="会员中心"></lf-nav>
|
|
<view class="center-top">
|
|
<view class="bg-left"></view>
|
|
<view class="bg-right"></view>
|
|
<view class="ocupy"></view>
|
|
<view class="lf-flex lf-p-32 lf-row-between">
|
|
<view class="lf-row-between" @click="$url('/pages/user/my/setting')">
|
|
<view>
|
|
<image src="https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png" mode="aspectFill" class="center-img"></image>
|
|
</view>
|
|
<view class="lf-row-center">
|
|
<view class="lf-color-white lf-font-36 lf-m-l-20">182****5380 </view>
|
|
<view class="lf-iconfont icon-xiangyou lf-font-24 lf-m-l-10 lf-color-white"></view>
|
|
</view>
|
|
</view>
|
|
<view class="lf-row-center lf-flex-column" @click="$url('/pages/user/member/code')">
|
|
<view class="lf-iconfont icon-shoucang lf-color-white"></view>
|
|
<view class="lf-font-24 lf-color-white">支付码</view>
|
|
</view>
|
|
</view>
|
|
<view class="lf-flex lf-row-between center-tag">
|
|
<view class="lf-row-center lf-flex-column" @click="$url('/pages/point/detail/detail')">
|
|
<view class="lf-font-36 lf-color-white">0</view>
|
|
<view class="lf-font-24 lf-color-white">积分</view>
|
|
</view>
|
|
<view class="lf-row-center lf-flex-column" @click="$url('/pages/recharge/balance/balance')">
|
|
<view class="lf-font-36 lf-color-white">0.00</view>
|
|
<view class="lf-font-24 lf-color-white">余额(元)</view>
|
|
</view>
|
|
<view class="lf-row-center lf-flex-column" @click="$url('/pages/coupon/index/index')">
|
|
<view class="lf-font-36 lf-color-white">0</view>
|
|
<view class="lf-font-24 lf-color-white">优惠券</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="center-card">
|
|
<view class="lf-p-30 lf-row-between lf-w-100" @click="$url('/pages/user/member/quanyi')">
|
|
<view class="lf-flex-column">
|
|
<view class="lf-font-bold" style="color: #15716E;">
|
|
<text class="lf-font-48">VIP</text>
|
|
<text class="lf-font-30 lf-m-l-10">预备会员</text>
|
|
</view>
|
|
<view class="lf-font-28" style="color: #15716E;">卡号: 638329</view>
|
|
</view>
|
|
<view class="card-tag">
|
|
会员权益
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lf-row-center">
|
|
<view class="order-card">
|
|
<view class="lf-row-between">
|
|
<view class="lf-color-black lf-font-32 lf-font-bold">
|
|
商城订单
|
|
</view>
|
|
<view class="lf-flex" @click="$url('/pages/order/index/onlineorder')">
|
|
<view class="lf-font-24 lf-color-777">全部订单</view><text class="lf-iconfont icon-xiangyou lf-font-24 lf-m-l-10 lf-color-777"></text>
|
|
</view>
|
|
</view>
|
|
<view class="order-tag lf-flex-wrap">
|
|
<view class="order-children" v-for="i of 4" @click="$url('/pages/order/index/onlineorder')">
|
|
<!-- <view class="function-tag"></view> -->
|
|
<view class="lf-iconfont icon-huiyuan"></view>
|
|
<view class="lf-color-black lf-font-28 lf-m-t-20">待付款</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="lf-row-center">
|
|
<view class="order-card1">
|
|
<view class="lf-row-between">
|
|
<view class="lf-color-black lf-font-32 lf-font-bold">
|
|
我的服务
|
|
</view>
|
|
<view></view>
|
|
</view>
|
|
<view class="order-tag lf-flex-wrap">
|
|
<view class="order-children my-service"
|
|
v-for="(item, index) in my_service_list" :key="index"
|
|
@click="$url(item.path)">
|
|
<!-- <view class="function-tag"></view> -->
|
|
<view class="lf-iconfont" :class="item.icon"></view>
|
|
<view class="lf-color-black lf-font-28 lf-m-t-20" style="white-space: nowrap">{{ item.name }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<lf-tabbar></lf-tabbar>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import lfTabbar from '@/components/lf-tabbar/lf-tabbar.vue'
|
|
export default {
|
|
components: {
|
|
lfTabbar
|
|
},
|
|
data(){
|
|
return {
|
|
my_service_list: [{
|
|
name: '会员服务',
|
|
icon: 'icon-huiyuan',
|
|
path: '/pages/user/member/service'
|
|
},{
|
|
name: '在线客服',
|
|
icon: 'icon-huiyuan',
|
|
path: '/pages/user/my/chatonline'
|
|
},{
|
|
name: '我的收藏',
|
|
icon: 'icon-huiyuan',
|
|
path: '/pages/user/my/collect'
|
|
},{
|
|
name: '地址管理',
|
|
icon: 'icon-huiyuan',
|
|
path: '/pages/address/list/list'
|
|
},{
|
|
name: '活动报名',
|
|
icon: 'icon-huiyuan',
|
|
path: '/pages/user/my/myEventRegistrationList'
|
|
},{
|
|
name: '积分商城订单',
|
|
icon: 'icon-huiyuan',
|
|
path: '/pages/point/exchangeRecord/exchangeRecord'
|
|
}]
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
page{
|
|
overflow-x: hidden;
|
|
}
|
|
</style>
|
|
<style lang="scss" scoped>
|
|
.order-children {
|
|
width: 134rpx;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-right: 27rpx;
|
|
&:nth-child(4n) {
|
|
margin-right: 0;
|
|
}
|
|
&:nth-child(n + 5) {
|
|
margin-top: 50rpx;
|
|
}
|
|
}
|
|
.my-service{
|
|
width: 190rpx;
|
|
&:nth-child(3n){
|
|
margin-right: 0;
|
|
}
|
|
&:nth-child(4n) {
|
|
margin-right: 27rpx;
|
|
}
|
|
&:nth-child(n+4){
|
|
margin-top: 50rpx;
|
|
}
|
|
}
|
|
.function-tag {
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
background: #D8D8D8;
|
|
border: 1rpx solid #979797;
|
|
border-radius: 50%;
|
|
}
|
|
.order-tag {
|
|
padding: 50rpx 0;
|
|
display: flex;
|
|
flex: wrap;
|
|
// justify-content: space-around;
|
|
align-items: center;
|
|
}
|
|
.order-card {
|
|
padding: 30rpx 30rpx 0 30rpx;
|
|
width: 686rpx;
|
|
height: 100%;
|
|
background: #FFFFFF;
|
|
box-shadow: 0rpx 2rpx 8rpx 1rpx rgba(0, 0, 0, 0.1);
|
|
border-radius: 20rpx;
|
|
// margin: 150rpx 0 30rpx 0;
|
|
margin: 30rpx 0 30rpx 0;
|
|
}
|
|
.order-card1 {
|
|
padding: 30rpx 30rpx 0 30rpx;
|
|
width: 686rpx;
|
|
height: 100%;
|
|
background: #FFFFFF;
|
|
box-shadow: 0rpx 2rpx 8rpx 1rpx rgba(0, 0, 0, 0.1);
|
|
border-radius: 20rpx;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
.card-tag {
|
|
width: 144rpx;
|
|
height: 53rpx;
|
|
background: linear-gradient(90deg, #22A2A0 0%, #187B7A 100%);
|
|
border-radius: 30rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
color: white;
|
|
justify-content: center;
|
|
font-size: 26rpx;
|
|
}
|
|
.center-card {
|
|
width: 686rpx;
|
|
height: 160rpx;
|
|
background: #FFFFFF;
|
|
display: flex;
|
|
align-items: center;
|
|
box-shadow: 0rpx 2rpx 8rpx 1rpx rgba(0, 0, 0, 0.1);
|
|
border-radius: 20rpx;
|
|
margin: -40rpx auto 0;
|
|
position: relative;
|
|
z-index: 9;
|
|
// position: absolute;
|
|
// bottom: -120rpx;
|
|
// left: 32rpx;
|
|
// z-index: 9999;
|
|
}
|
|
.center-tag {
|
|
padding: 0 80rpx 0 80rpx;
|
|
}
|
|
.ocupy {
|
|
height: 160rpx;
|
|
width: 100%;
|
|
}
|
|
.center-top {
|
|
position: relative;
|
|
width: 750rpx;
|
|
height: 512rpx;
|
|
background: linear-gradient(90deg, #22A2A0 0%, #187B7A 100%);
|
|
overflow: hidden;
|
|
.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: -122rpx;
|
|
}
|
|
}
|
|
.center-img {
|
|
width: 100rpx;
|
|
height: 100rpx;
|
|
border: 2rpx solid #FFFFFF;
|
|
border-radius: 100%;
|
|
}
|
|
</style>
|