|
|
@@ -1,38 +1,56 @@
|
|
|
<template>
|
|
|
<view class="container">
|
|
|
<view class="vheigh"></view>
|
|
|
- <scroll-view class="content-box" scroll-y="true">
|
|
|
- <view class="user-section">
|
|
|
- <view class="bg"></view>
|
|
|
- <view class="user-info-box ">
|
|
|
- <view class="detail flex" @click="navTo('/pages/set/userinfo')">
|
|
|
- <view class="portrait-box">
|
|
|
- <image class="portrait" :src="userInfo.avatar || '/static/error/missing-face.png'"></image>
|
|
|
+ <view class="user">
|
|
|
+ <!-- 背景图片 -->
|
|
|
+ <view class="top-bg"></view>
|
|
|
+ <!-- 用户头像和信息 -->
|
|
|
+ <view class="infor">
|
|
|
+ <!-- 用户信息 -->
|
|
|
+ <view class="infor-left" @click="navTo('/pages/set/userinfo')">
|
|
|
+ <image :src=" userInfo.avatar || '../../static/error/missing-face.png' "></image>
|
|
|
+ <view class="info-box">
|
|
|
+ <view class="username clamp2">{{ userInfo.nickname || '游客' }}</view>
|
|
|
+ <view class="phone" v-if="userInfo.phone">{{userInfo.phone | phone}}</view>
|
|
|
+ <view class="phone" v-if="userInfo.level >= 1">
|
|
|
+ <text v-if="userInfo.valid_time != 0">会员到期: {{userInfo.valid_time}}</text>
|
|
|
+ <text v-if="userInfo.valid_time == 0">会员已到期</text>
|
|
|
+ <text v-if="userInfo.commission_time != 0" style="display: inline-block;padding-left: 20rpx;">分红到期: {{userInfo.commission_time}}</text>
|
|
|
+ <text v-if="userInfo.commission_time == 0" style="display: inline-block;padding-left: 20rpx;">分红已到期</text>
|
|
|
+ <text class="show-btn" @click.stop="longTime" style="display: inline-block;padding-left: 20rpx;text-decoration:underline;font-weight: bold;">续期</text>
|
|
|
</view>
|
|
|
- <view class="info-box">
|
|
|
- <view class="username">{{ userInfo.nickname || '游客' }}</view>
|
|
|
- <view class="font-size-sm" v-if="userInfo.uid">邀请码:{{ userInfo.uid }}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="config iconfont">
|
|
|
- <text class="setting iconsetting" @click="navTo('/pages/set/set')"></text>
|
|
|
</view>
|
|
|
-
|
|
|
</view>
|
|
|
-
|
|
|
- <!-- 会员卡功能 -->
|
|
|
- <!-- <view class="vip-card-box">
|
|
|
- <image class="card-bg" src="/static/img/vip-card-bg.png" mode=""></image>
|
|
|
- <view class="b-btn">我要升级</view>
|
|
|
- <view class="tit">
|
|
|
- <text class="iconfont icon-iLinkapp-"></text>
|
|
|
- 升级专享优惠权益
|
|
|
+ </view>
|
|
|
+ <!-- 我的订单 -->
|
|
|
+ <view class="order-box">
|
|
|
+ <view class="my-order" @click="navTo('/pages/order/order')">
|
|
|
+ <view class="order">我的订单</view>
|
|
|
+ <image src="../../static/img/xiangxia.png" mode="scaleToFill"></image>
|
|
|
+ </view>
|
|
|
+ <!-- 订单栏 -->
|
|
|
+ <view class="order-section">
|
|
|
+ <view class="order-item" @click="navTo('/pages/order/order?state=0')">
|
|
|
+ <image src="../../static/img/img19.png" mode="scaleToFill"></image>
|
|
|
+ <view class="text">待付款</view>
|
|
|
</view>
|
|
|
- <text class="e-m">DCloud Union</text>
|
|
|
- <text class="e-b">开通会员开发无bug 一测就上线</text>
|
|
|
- </view> -->
|
|
|
+ <view class="order-item" @click="navTo('/pages/order/order?state=1')">
|
|
|
+ <image src="../../static/img/img20.png" mode="scaleToFill"></image>
|
|
|
+ <view class="text">待发货</view>
|
|
|
+ </view>
|
|
|
+ <view class="order-item" @click="navTo('/pages/order/order?state=2')">
|
|
|
+ <image src="../../static/img/img21.png" mode="scaleToFill"></image>
|
|
|
+ <view class="text">待收货</view>
|
|
|
+ </view>
|
|
|
+ <view class="order-item" @click="navTo('/pages/order/order?state=4')">
|
|
|
+ <image src="../../static/img/img22.png" mode="scaleToFill"></image>
|
|
|
+ <view class="text">已完成</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <template v-if="userInfo.level >= 1">
|
|
|
+ </view>
|
|
|
+ <!-- <scroll-view class="content-box" scroll-y="true"> -->
|
|
|
+ <!-- <template v-if="userInfo.level >= 1">
|
|
|
<view class="show-time" >
|
|
|
<view v-if="userInfo.valid_time != 0">会员到期: {{userInfo.valid_time}}</view>
|
|
|
<view v-if="userInfo.valid_time == 0">会员已到期</view>
|
|
|
@@ -42,143 +60,120 @@
|
|
|
<view v-if="userInfo.commission_time == 0">分红已到期</view>
|
|
|
<view class="show-btn" @click="longTime">续期</view>
|
|
|
</view>
|
|
|
- </template>
|
|
|
- <view class="cover-container">
|
|
|
- <!-- <image class="arc" src="/static/img/arc.png"></image> -->
|
|
|
-
|
|
|
- <view class="tj-sction">
|
|
|
- <view class="tj-item" @click="navTo('/pages/money/wallet')">
|
|
|
- <text class="num">{{ userInfo.now_money || '0.00' }}</text>
|
|
|
- <text>余额</text>
|
|
|
- </view>
|
|
|
- <view class="tj-item" @click="navTo('/pages/user/award')">
|
|
|
- <text class="num">{{ userInfo.brokerage_price || '0.00' }}</text>
|
|
|
- <text>佣金</text>
|
|
|
- </view>
|
|
|
- <view class="tj-item" @click="navTo('/pages/user/scoreAccumulate')">
|
|
|
- <text class="num">{{ userInfo.integral || '0.00' }}</text>
|
|
|
- <text>积分</text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <!-- 订单 -->
|
|
|
-
|
|
|
- <view class="item-box">
|
|
|
- <!-- <view class="box-title flex borde-b">
|
|
|
- <view class="title"><text>我的订单</text></view>
|
|
|
- <view class="link" @click="navTo('/pages/order/order?state=0')" hover-class="common-hover">
|
|
|
- <text>全部订单</text>
|
|
|
- <text class="iconfont iconenter"></text>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
- <view class="order-section">
|
|
|
- <view class="order-item" @click="navTo('/pages/order/order?state=0')" hover-class="common-hover"
|
|
|
- :hover-stay-time="50">
|
|
|
- <view class=" icon position-relative">
|
|
|
- <image class="icon-img" src="/static/icon/i1.png" mode="aspectFit"></image>
|
|
|
- <view class="corner" v-if="orderInfo.unpaid_count > 0">
|
|
|
- <text>{{ orderInfo.unpaid_count }}</text>
|
|
|
- </view>
|
|
|
+ </template> -->
|
|
|
+ <view class="cover-container">
|
|
|
+ <view class="item-box">
|
|
|
+ <!-- <view class="order-section">
|
|
|
+ <view class="order-item" @click="navTo('/pages/order/order?state=0')" hover-class="common-hover"
|
|
|
+ :hover-stay-time="50">
|
|
|
+ <view class=" icon position-relative">
|
|
|
+ <image class="icon-img" src="/static/icon/i1.png" mode="aspectFit"></image>
|
|
|
+ <view class="corner" v-if="orderInfo.unpaid_count > 0">
|
|
|
+ <text>{{ orderInfo.unpaid_count }}</text>
|
|
|
</view>
|
|
|
- <text>待付款</text>
|
|
|
</view>
|
|
|
- <view class="order-item" @click="navTo('/pages/order/order?state=1')" hover-class="common-hover"
|
|
|
- :hover-stay-time="50">
|
|
|
- <view class=" icon position-relative">
|
|
|
- <image class="icon-img" src="/static/icon/i2.png" mode="aspectFit"></image>
|
|
|
- <view class="corner" v-if="orderInfo.unshipped_count > 0">
|
|
|
- <text>{{ orderInfo.unshipped_count }}</text>
|
|
|
- </view>
|
|
|
+ <text>待付款</text>
|
|
|
+ </view>
|
|
|
+ <view class="order-item" @click="navTo('/pages/order/order?state=1')" hover-class="common-hover"
|
|
|
+ :hover-stay-time="50">
|
|
|
+ <view class=" icon position-relative">
|
|
|
+ <image class="icon-img" src="/static/icon/i2.png" mode="aspectFit"></image>
|
|
|
+ <view class="corner" v-if="orderInfo.unshipped_count > 0">
|
|
|
+ <text>{{ orderInfo.unshipped_count }}</text>
|
|
|
</view>
|
|
|
- <text>待发货</text>
|
|
|
</view>
|
|
|
- <view class="order-item" @click="navTo('/pages/order/order?state=2')" hover-class="common-hover"
|
|
|
- :hover-stay-time="50">
|
|
|
- <view class="icon position-relative">
|
|
|
- <image class="icon-img" src="/static/icon/i3.png" mode="aspectFit"></image>
|
|
|
- <view class="corner" v-if="orderInfo.received_count > 0">
|
|
|
- <text>{{ orderInfo.received_count }}</text>
|
|
|
- </view>
|
|
|
+ <text>待发货</text>
|
|
|
+ </view>
|
|
|
+ <view class="order-item" @click="navTo('/pages/order/order?state=2')" hover-class="common-hover"
|
|
|
+ :hover-stay-time="50">
|
|
|
+ <view class="icon position-relative">
|
|
|
+ <image class="icon-img" src="/static/icon/i3.png" mode="aspectFit"></image>
|
|
|
+ <view class="corner" v-if="orderInfo.received_count > 0">
|
|
|
+ <text>{{ orderInfo.received_count }}</text>
|
|
|
</view>
|
|
|
- <text>待收货</text>
|
|
|
</view>
|
|
|
- <view class="order-item" @click="navTo('/pages/order/order?state=3')" hover-class="common-hover"
|
|
|
- :hover-stay-time="50">
|
|
|
- <view class="icon position-relative">
|
|
|
- <image class="icon-img" src="/static/icon/i4.png" mode="aspectFit"></image>
|
|
|
- <!-- <view class="corner" v-if="orderInfo.complete_count > 0">
|
|
|
- <text>{{ orderInfo.complete_count }}</text>
|
|
|
- </view> -->
|
|
|
- </view>
|
|
|
- <text>已完成</text>
|
|
|
+ <text>待收货</text>
|
|
|
+ </view>
|
|
|
+ <view class="order-item" @click="navTo('/pages/order/order?state=3')" hover-class="common-hover"
|
|
|
+ :hover-stay-time="50">
|
|
|
+ <view class="icon position-relative">
|
|
|
+ <image class="icon-img" src="/static/icon/i4.png" mode="aspectFit"></image>
|
|
|
</view>
|
|
|
+ <text>已完成</text>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="item-box">
|
|
|
- <!-- <view class="box-title flex borde-b">
|
|
|
- <view class="title"><text>我的资产</text></view>
|
|
|
- </view> -->
|
|
|
- <view class="order-section">
|
|
|
- <view class="order-item" @click="navTo('/pages/money/wallet')" hover-class="common-hover"
|
|
|
- :hover-stay-time="50">
|
|
|
- <view class="icon">
|
|
|
- <image class="icon-img" src="/static/icon/u1.png" mode="aspectFit"></image>
|
|
|
- </view>
|
|
|
- <text>我的钱包</text>
|
|
|
+ </view> -->
|
|
|
+ </view>
|
|
|
+ <view class="item-box">
|
|
|
+ <view class="order-section">
|
|
|
+ <view class="order-item" @click="navTo('/pages/money/wallet')" hover-class="common-hover"
|
|
|
+ :hover-stay-time="50">
|
|
|
+ <view class="icon">
|
|
|
+ <image class="icon-img" src="/static/icon/u1.png" mode="aspectFit"></image>
|
|
|
</view>
|
|
|
- <view class="order-item" @click="navTo('/pages/user/award')" hover-class="common-hover"
|
|
|
- :hover-stay-time="50">
|
|
|
- <view class="icon">
|
|
|
- <image class="icon-img" src="/static/icon/u2.png" mode="aspectFit"></image>
|
|
|
- </view>
|
|
|
- <text>佣金</text>
|
|
|
+ <text>购物卡</text>
|
|
|
+ </view>
|
|
|
+ <view class="order-item" @click="navTo('/pages/user/award')" hover-class="common-hover"
|
|
|
+ :hover-stay-time="50">
|
|
|
+ <view class="icon">
|
|
|
+ <image class="icon-img" src="/static/icon/u2.png" mode="aspectFit"></image>
|
|
|
</view>
|
|
|
- <view class="order-item" @click="navTo('/pages/user/scoreAccumulate')"
|
|
|
- hover-class="common-hover" :hover-stay-time="50">
|
|
|
- <view class="icon">
|
|
|
- <image class="icon-img" src="/static/icon/u3.png" mode="aspectFit"></image>
|
|
|
- </view>
|
|
|
- <text>积分</text>
|
|
|
+ <text>我的收益</text>
|
|
|
+ </view>
|
|
|
+ <view class="order-item" @click="navTo('/pages/user/scoreAccumulate')" hover-class="common-hover"
|
|
|
+ :hover-stay-time="50">
|
|
|
+ <view class="icon">
|
|
|
+ <image class="icon-img" src="/static/icon/u3.png" mode="aspectFit"></image>
|
|
|
</view>
|
|
|
+ <text>我的积分</text>
|
|
|
+ </view>
|
|
|
+ <view class="order-item" @click="navTo('/pages/user/extension')" hover-class="common-hover"
|
|
|
+ :hover-stay-time="50">
|
|
|
+ <view class="icon">
|
|
|
+ <image class="icon-img" src="/static/icon/u4.png" mode="aspectFit"></image>
|
|
|
+ </view>
|
|
|
+ <text>我的团队</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
-
|
|
|
- <!-- 续期 -->
|
|
|
-
|
|
|
-
|
|
|
- <view class="history-section icon">
|
|
|
- <!-- <view class="sec-header">
|
|
|
- <text class="iconfont iconfavor"></text>
|
|
|
- <text>浏览历史</text>
|
|
|
+ </view>
|
|
|
+ <!-- 续期 -->
|
|
|
+ <view class="history-section icon">
|
|
|
+ <uni-list>
|
|
|
+
|
|
|
+ <uni-list-item title="推广海报" @click="navTo('/pages/user/shareQrCode')" thumb="/static/icon/tuiguang.png">
|
|
|
+ </uni-list-item>
|
|
|
+ <!-- <uni-list-item title="我的卡卷" @click="navTo('/pages/user/coupon')" thumb="/static/icon/img12.png"></uni-list-item> -->
|
|
|
+ <uni-list-item title="收货地址" @click="navTo('/pages/set/address')" thumb="/static/icon/dizhi.png">
|
|
|
+ </uni-list-item>
|
|
|
+ <!-- <uni-list-item title="商户入驻" @click="navTo('/pages/set/address')" thumb="/static/icon/img05.png"></uni-list-item> -->
|
|
|
+ <uni-list-item title="联系客服" @click="openPopup"
|
|
|
+ thumb="/static/icon/kefu.png">
|
|
|
+ </uni-list-item>
|
|
|
+ <!-- <uni-list-item title="关于我们" @click="navTo('/pages/shareQrCode/index')" thumb="/static/icon/img09.png"></uni-list-item> -->
|
|
|
+
|
|
|
+ </uni-list>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- </scroll-view> -->
|
|
|
+ <uni-popup ref="popup" type="center">
|
|
|
+ <view class="popup-box">
|
|
|
+ <view class="img"><image src="../../static/img/img009.png" mode=""></image></view>
|
|
|
+ <view class="mian">
|
|
|
+ <view class="delivery">
|
|
|
+ <view class="title">已经为您定制专属客服</view>
|
|
|
+ <image src="../../static/img/img010.png" mode=""></image>
|
|
|
+ </view>
|
|
|
+ <view class="nocancel">客服VX:{{ text }}</view>
|
|
|
+ <view class="comfirm-box">
|
|
|
+ <view class="cancel" @click="cancel">取消</view>
|
|
|
+ <view class="comfirm" @click="comfirm(text)">复制微信</view>
|
|
|
</view>
|
|
|
- <scroll-view scroll-x class="h-list">
|
|
|
- <image
|
|
|
- class="h-list-image"
|
|
|
- @click="navTo('/pages/product/product')"
|
|
|
- src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1553105186633&di=c121a29beece4e14269948d990f9e720&imgtype=0&src=http%3A%2F%2Fimg004.hc360.cn%2Fm8%2FM04%2FDE%2FDE%2FwKhQplZ-QteEBvsbAAAAADUkobU751.jpg"
|
|
|
- mode="aspectFill"
|
|
|
- ></image>
|
|
|
- </scroll-view> -->
|
|
|
-
|
|
|
- <uni-list>
|
|
|
-
|
|
|
- <uni-list-item title="我的钱包" @click="navTo('/pages/money/wallet')"
|
|
|
- thumb="/static/icon/img11.png"></uni-list-item>
|
|
|
- <!-- <uni-list-item title="我的卡卷" @click="navTo('/pages/user/coupon')" thumb="/static/icon/img12.png"></uni-list-item> -->
|
|
|
- <uni-list-item title="我的收藏" @click="navTo('/pages/user/favorites')"
|
|
|
- thumb="/static/icon/img02.png"></uni-list-item>
|
|
|
- <!-- <uni-list-item title="商户入驻" @click="navTo('/pages/set/address')" thumb="/static/icon/img05.png"></uni-list-item> -->
|
|
|
- <uni-list-item title="邀请好友" @click="navTo('/pages/user/shareQrCode')"
|
|
|
- thumb="/static/icon/img10.png"></uni-list-item>
|
|
|
- <!-- <uni-list-item title="关于我们" @click="navTo('/pages/shareQrCode/index')" thumb="/static/icon/img09.png"></uni-list-item> -->
|
|
|
-
|
|
|
- </uni-list>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </scroll-view>
|
|
|
+ </uni-popup>
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
|
+ import uniCopy from '@/utils/uni-copy.js';
|
|
|
import {
|
|
|
mapState,
|
|
|
mapMutations
|
|
|
@@ -202,13 +197,24 @@
|
|
|
uniList,
|
|
|
uniListItem
|
|
|
},
|
|
|
+ filters: {
|
|
|
+ phone(val) {
|
|
|
+ let str = ''
|
|
|
+ if(val) {
|
|
|
+ val = "" + val;
|
|
|
+ str = val.substr(0,3) + "****" + val.substr(7)
|
|
|
+ }
|
|
|
+ return str
|
|
|
+ }
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
coverTransform: 'translateY(0px)',
|
|
|
coverTransition: '0s',
|
|
|
moving: false,
|
|
|
userDowm: 0, //卡片升级专属高度
|
|
|
- userMaxDowm: 0 //卡片最高高度
|
|
|
+ userMaxDowm: 0 ,//卡片最高高度
|
|
|
+ text: '123456',
|
|
|
};
|
|
|
},
|
|
|
onShow() {
|
|
|
@@ -364,6 +370,32 @@
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
+ },
|
|
|
+ openPopup() {
|
|
|
+ this.$refs.popup.open()
|
|
|
+ },
|
|
|
+ // 客服弹窗 - 复制微信
|
|
|
+ comfirm(value) {
|
|
|
+
|
|
|
+ let content = value; //需要复制的内容
|
|
|
+ console.log('复制的内容:', content);
|
|
|
+ // content = typeof content === 'string' ? content : content.toString(); // 复制内容,必须字符串,数字需要转换为字符串
|
|
|
+ const result = uniCopy({content});
|
|
|
+ if (result === false) {
|
|
|
+ uni.showToast({
|
|
|
+ title: '不支持'
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: '复制成功',
|
|
|
+ icon: 'none'
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.$refs.popup.close();
|
|
|
+ },
|
|
|
+ // 客服弹窗 - 取消
|
|
|
+ cancel() {
|
|
|
+ this.$refs.popup.close();
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
@@ -417,49 +449,7 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .user-info-box {
|
|
|
- height: 180rpx;
|
|
|
- color: white;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- position: relative;
|
|
|
- z-index: 1;
|
|
|
-
|
|
|
- .detail {
|
|
|
- height: 130rpx;
|
|
|
-
|
|
|
- .portrait-box {
|
|
|
- height: 100%;
|
|
|
-
|
|
|
- .portrait {
|
|
|
- width: 130rpx;
|
|
|
- height: 100%;
|
|
|
- border: 5rpx solid #fff;
|
|
|
- border-radius: 50%;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .info-box {
|
|
|
- margin-left: 20rpx;
|
|
|
- line-height: 1.5;
|
|
|
-
|
|
|
- .username {
|
|
|
- font-size: $font-lg + 6rpx;
|
|
|
- height: 100%;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- .config {
|
|
|
- font-size: 48rpx;
|
|
|
- height: 130rpx;
|
|
|
|
|
|
- .setting {
|
|
|
- margin-right: 51rpx;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
|
|
|
.vip-card-box {
|
|
|
display: flex;
|
|
|
@@ -515,7 +505,7 @@
|
|
|
|
|
|
.cover-container {
|
|
|
background: $page-color-base;
|
|
|
- // margin-top: -150rpx;
|
|
|
+ margin-top: 165rpx;
|
|
|
padding: 0 30rpx;
|
|
|
position: relative;
|
|
|
background: #f5f5f5;
|
|
|
@@ -592,8 +582,8 @@
|
|
|
}
|
|
|
|
|
|
.icon {
|
|
|
- height: 50rpx;
|
|
|
- width: 48rpx;
|
|
|
+ height: 90rpx;
|
|
|
+ width: 88rpx;
|
|
|
margin-bottom: 18rpx;
|
|
|
background-size: 100%;
|
|
|
background-repeat: no-repeat;
|
|
|
@@ -663,4 +653,249 @@
|
|
|
background-color: $base-color;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .user {
|
|
|
+ position: relative;
|
|
|
+ .top-bg {
|
|
|
+ width: 750rpx;
|
|
|
+ height: 480rpx;
|
|
|
+ position: relative;
|
|
|
+ background: #ecd0a9;
|
|
|
+ border-radius: 0 0 25rpx 25rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .infor {
|
|
|
+ // height: 126.5rpx;
|
|
|
+ width: 100%;
|
|
|
+ // height: 100%;
|
|
|
+ // background-color: pink;
|
|
|
+ position: absolute;
|
|
|
+ top: 15%;
|
|
|
+
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-around; // 水平平均分布
|
|
|
+ align-items: center; // 垂直居中
|
|
|
+ // margin-top: 60rpx;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ .infor-left {
|
|
|
+ width: 100%;
|
|
|
+ height: 126rpx;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ // padding-left: 23rpx;
|
|
|
+ flex-direction: column;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 126rpx;
|
|
|
+ height: 126rpx;
|
|
|
+ border-radius: 50%;
|
|
|
+ flex-shrink: 0;
|
|
|
+ background-color: #fff;
|
|
|
+ }
|
|
|
+
|
|
|
+ .info-box {
|
|
|
+ // margin-left: 21rpx;
|
|
|
+ // width: 750rpx;
|
|
|
+ .username {
|
|
|
+ padding-top: 10rpx;
|
|
|
+ width: 300rpx;
|
|
|
+ margin: auto;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 34rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #54320B;
|
|
|
+ }
|
|
|
+
|
|
|
+ .phone {
|
|
|
+ padding-top: 10rpx;
|
|
|
+ font-size: 26rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #fff;
|
|
|
+ font-size: 20rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #54320B;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .infor-right {
|
|
|
+ width: 165rpx;
|
|
|
+ height: 64rpx;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-radius: 32px 0px 0px 32px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center; // 垂直居中
|
|
|
+ padding-left: 20rpx;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 32rpx;
|
|
|
+ height: 31rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .setting {
|
|
|
+ font-size: 28rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #3F7C1F;
|
|
|
+ padding-left: 10rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ // 我的订单
|
|
|
+ .order-box {
|
|
|
+ width: 710rpx;
|
|
|
+ height: 221rpx;
|
|
|
+ background: #FFFFFF;
|
|
|
+ box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(50, 50, 52, 0.06);
|
|
|
+ border-radius: 20rpx;
|
|
|
+ position: absolute;
|
|
|
+ top: 400rpx;
|
|
|
+ // display: flex;
|
|
|
+ // justify-content: center; // 水平居中
|
|
|
+ margin-left: 20rpx;
|
|
|
+ // margin: auto;
|
|
|
+
|
|
|
+ .my-order {
|
|
|
+ height: 73rpx;
|
|
|
+ width: 100%;
|
|
|
+ border-bottom: 2rpx solid #F5F5F5;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: flex-start;
|
|
|
+
|
|
|
+ .order {
|
|
|
+ font-size: 30rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+ margin-left: 36rpx;
|
|
|
+ margin-right: 520rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 12rpx;
|
|
|
+ height: 22rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .order-section {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+
|
|
|
+ .order-item {
|
|
|
+ flex: 1;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ margin-top: 30rpx;
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 42rpx;
|
|
|
+ height: 42rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .text {
|
|
|
+ margin-top: 20rpx;
|
|
|
+ font-size: 24rpx;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .popup-box {
|
|
|
+ width: 522rpx;
|
|
|
+ height: 605rpx;
|
|
|
+ background-color: #ffffff;
|
|
|
+ border-radius: 20rpx;
|
|
|
+ position: relative;
|
|
|
+ .img {
|
|
|
+ position: relative;
|
|
|
+ top: -56rpx;
|
|
|
+ left: 0;
|
|
|
+ width: 522rpx;
|
|
|
+ height: 132rpx;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ image {
|
|
|
+ border-radius: 20rpx 20rpx 0 0;
|
|
|
+ width: 450rpx;
|
|
|
+ height: 132rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .mian {
|
|
|
+ margin-top: -44rpx;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ // padding: 32rpx 32rpx;
|
|
|
+ background-color: #ffffff;
|
|
|
+ border-radius: 0 0 20rpx 20rpx;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ .delivery {
|
|
|
+ font-size: 40rpx;
|
|
|
+ color: #333333;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ flex-direction: column;
|
|
|
+ .title {
|
|
|
+ }
|
|
|
+ image {
|
|
|
+ margin-top: 48rpx;
|
|
|
+ width: 172rpx;
|
|
|
+ height: 160rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .nocancel {
|
|
|
+ font-size: 32rpx;
|
|
|
+ color: #333333;
|
|
|
+ margin-top: 14rpx;
|
|
|
+ }
|
|
|
+
|
|
|
+ .comfirm-box {
|
|
|
+ margin-top: 52rpx;
|
|
|
+ display: flex;
|
|
|
+ // margin-bottom: 32rpx;
|
|
|
+
|
|
|
+ // justify-content: space-around;
|
|
|
+ .cancel {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ width: 197rpx;
|
|
|
+ height: 74rpx;
|
|
|
+ border: 1px solid #dcc786;
|
|
|
+ border-radius: 38rpx;
|
|
|
+
|
|
|
+ font-size: 32rpx;
|
|
|
+ color: #605128;
|
|
|
+ }
|
|
|
+
|
|
|
+ .comfirm {
|
|
|
+ margin-left: 32rpx;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ width: 197rpx;
|
|
|
+ height: 74rpx;
|
|
|
+ background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
|
|
|
+ border-radius: 38px;
|
|
|
+ font-size: 32rpx;
|
|
|
+ color: #605128;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
</style>
|