|
|
@@ -3,40 +3,43 @@
|
|
|
<view class="top-cont">
|
|
|
<view class="top-inner">
|
|
|
<!-- 这里是状态栏 -->
|
|
|
- <view class="status_bar" :style="{height: statusBarHeight}"></view>
|
|
|
+ <view class="status_bar" :style="{ height: statusBarHeight }"></view>
|
|
|
<view class="top-block">
|
|
|
<view class="qscode-block">
|
|
|
<view class="qscode">
|
|
|
- <image class="w40 h40" src="https://cdn.his.cdwjyyh.com/images/qscode_icon.png"></image>
|
|
|
+ <!-- <image class="w40 h40" src="https://cdn.his.cdwjyyh.com/images/qscode_icon.png"></image> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="user-info">
|
|
|
|
|
|
<view class="left" @click="openPersonInfo()">
|
|
|
<view class="head-img">
|
|
|
- <image :src="user.avatar==null?'https://cdn.his.cdwjyyh.com/images/detault_head.jpg':user.avatar"
|
|
|
+ <image
|
|
|
+ :src="user.avatar == null ? 'https://cdn.his.cdwjyyh.com/images/detault_head.jpg' : user.avatar"
|
|
|
mode="aspectFill"></image>
|
|
|
</view>
|
|
|
<view class="name-phone">
|
|
|
<view class="name">
|
|
|
- <text>{{user.nickname}}</text>
|
|
|
+ <text>{{ user.nickname }}</text>
|
|
|
<image class="w48 h48" src="https://cdn.his.cdwjyyh.com/images/right1.png"></image>
|
|
|
</view>
|
|
|
- <view class="user-page">
|
|
|
+ <view class="user-page" @click.stop="toMyexpert">
|
|
|
<text>个人主页</text>
|
|
|
<image class="w32 h32" src="https://cdn.his.cdwjyyh.com/images/right1.png"></image>
|
|
|
</view>
|
|
|
|
|
|
- <view class="lable">
|
|
|
+ <!-- <view class="lable">
|
|
|
<view class="lable-item">
|
|
|
- <image class="w32 h32 mr8" src="https://cdn.his.cdwjyyh.com/images/lv_icon.png"></image>
|
|
|
+ <image class="w32 h32 mr8" src="https://cdn.his.cdwjyyh.com/images/lv_icon.png">
|
|
|
+ </image>
|
|
|
<text>会员</text>
|
|
|
</view>
|
|
|
<view class="lable-item yellow">
|
|
|
- <image class="w32 h32 mr8" src="https://cdn.his.cdwjyyh.com/images/intelligent_icon.png"></image>
|
|
|
+ <image class="w32 h32 mr8"
|
|
|
+ src="https://cdn.his.cdwjyyh.com/images/intelligent_icon.png"></image>
|
|
|
<text>LV.2</text>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="right">
|
|
|
@@ -45,7 +48,7 @@
|
|
|
<image src="https://cdn.his.cdwjyyh.com/images/icon-set.png" mode=""></image>
|
|
|
</view>
|
|
|
</uni-badge> -->
|
|
|
- <uni-badge size="small" :text="msgNum" absolute="rightTop" type="error">
|
|
|
+ <uni-badge size="small" :text="noticeNum" absolute="rightTop" type="error">
|
|
|
<view class="msg-box" @click="navgetTo('/pages_user/user/message')">
|
|
|
<image src="https://cdn.his.cdwjyyh.com/images/icon-msg.png" mode=""></image>
|
|
|
</view>
|
|
|
@@ -54,9 +57,21 @@
|
|
|
</view>
|
|
|
<!-- 芳华币数量及券 -->
|
|
|
<view class="data">
|
|
|
- <view class="data-item" v-for="(item,index) in dataList" :key="index">
|
|
|
- <view class="number">{{item.num}}</view>
|
|
|
- <view class="txt">{{item.title}}</view>
|
|
|
+ <view class="data-item">
|
|
|
+ <view class="number">{{ countList.fhCredit || 0 }}</view>
|
|
|
+ <view class="txt">芳华币</view>
|
|
|
+ </view>
|
|
|
+ <view class="data-item" @click="navgetTo('/pages_shopping/shopping/myCoupon?status=0')">
|
|
|
+ <view class="number">{{ countList.couponPending || 0 }}</view>
|
|
|
+ <view class="txt">待用券</view>
|
|
|
+ </view>
|
|
|
+ <view class="data-item" @click="navgetTo('/pages_shopping/shopping/myCoupon?status=1')">
|
|
|
+ <view class="number">{{ countList.couponUsed || 0 }}</view>
|
|
|
+ <view class="txt">已用券</view>
|
|
|
+ </view>
|
|
|
+ <view class="data-item" @click="navgetTo('/pages_shopping/shopping/myCoupon?status=2')">
|
|
|
+ <view class="number">{{ countList.couponExpired || 0 }}</view>
|
|
|
+ <view class="txt">过期券</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -121,7 +136,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 芳华币签到 -->
|
|
|
- <view class="coin-card">
|
|
|
+ <!-- <view class="coin-card">
|
|
|
<image class="bg" src="https://cdn.his.cdwjyyh.com/images/sign_in_bg.png"></image>
|
|
|
<view class="container">
|
|
|
<view class="coin-txt">
|
|
|
@@ -129,106 +144,119 @@
|
|
|
<view class="right">我的芳华币:{{userIntegral}}</view>
|
|
|
</view>
|
|
|
<view class="item">
|
|
|
- <!-- <view class="progress"></view> -->
|
|
|
-
|
|
|
<view class="progress">
|
|
|
<view class="line"></view>
|
|
|
<view v-for="(item,index) in sign" :key="index"
|
|
|
:class="signNum >= item.sort?'img-item active':'img-item'">
|
|
|
<view class="top">
|
|
|
-
|
|
|
<image v-if="signNum >= item.sort" src="https://cdn.his.cdwjyyh.com/images/right_org.png" mode="">
|
|
|
</image>
|
|
|
- <!-- 未签到图标 -->
|
|
|
<image v-else src="https://cdn.his.cdwjyyh.com/images/right_org_ling.png" mode=""></image>
|
|
|
</view>
|
|
|
-
|
|
|
-
|
|
|
<text class="text">{{ item.day }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<image class="button" mode="widthFix" src="https://cdn.his.cdwjyyh.com/images/check_in.png" @click="doSign"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view class="content">
|
|
|
- <!-- 常用工具 -->
|
|
|
- <view class="used-tools">
|
|
|
- <view class="title">我的应用</view>
|
|
|
- <view class="tools-list">
|
|
|
- <view class="item" @click="navgetTo('/pages_shopping/shopping/myCoupon')">
|
|
|
- <image src="https://cdn.his.cdwjyyh.com/images/my_coupon.png" mode=""></image>
|
|
|
- <text class="text">领券中心</text>
|
|
|
- </view>
|
|
|
- <view class="item" @click="navgetTo('/pages_user/user/address')">
|
|
|
- <image src="https://cdn.his.cdwjyyh.com/images/my_location.png" mode=""></image>
|
|
|
- <text class="text">地址管理</text>
|
|
|
- </view>
|
|
|
- <view class="item" @click="navgetTo('/pages_user/user/storeProductRelation')">
|
|
|
- <image src="https://cdn.his.cdwjyyh.com/images/my_coin.png" mode=""></image>
|
|
|
- <text class="text">芳华币商城</text>
|
|
|
- </view>
|
|
|
- <view class="item" @click="navgetTo('/pages_user/user/message')">
|
|
|
- <image src="https://cdn.his.cdwjyyh.com/images/my_service.png" mode=""></image>
|
|
|
- <text class="text">客服中心</text>
|
|
|
- </view>
|
|
|
- <view class="item no-marin-bottom" @click="navgetTo('/pages_user/user/personInfo')">
|
|
|
- <image src="https://cdn.his.cdwjyyh.com/images/member_center.png" mode=""></image>
|
|
|
- <text class="text">会员中心</text>
|
|
|
- </view>
|
|
|
- <view class="item no-marin-bottom" @click="openH5(2)">
|
|
|
- <image src="https://cdn.his.cdwjyyh.com/images/my_advice.png" mode=""></image>
|
|
|
- <text class="text">投诉建议</text>
|
|
|
- </view>
|
|
|
- <view class="item no-marin-bottom" @click="navgetTo('/pages_user/user/storeProductRelation')">
|
|
|
- <image src="https://cdn.his.cdwjyyh.com/images/my_invoice.png" mode=""></image>
|
|
|
- <text class="text">开票历史</text>
|
|
|
+ <!-- 常用工具 -->
|
|
|
+ <view class="used-tools">
|
|
|
+ <view class="title">我的应用</view>
|
|
|
+ <view class="tools-list">
|
|
|
+ <view class="item" @click="navgetTo('/pages_shopping/shopping/myCoupon')">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/my_coupon.png" mode=""></image>
|
|
|
+ <text class="text">领券中心</text>
|
|
|
+ </view>
|
|
|
+ <view class="item" @click="navgetTo('/pages_user/user/address')">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/my_location.png" mode=""></image>
|
|
|
+ <text class="text">地址管理</text>
|
|
|
+ </view>
|
|
|
+ <!-- <view class="item" @click="navgetTo('/pages_user/user/storeProductRelation')">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/my_coin.png" mode=""></image>
|
|
|
+ <text class="text">芳华币商城</text>
|
|
|
+ </view> -->
|
|
|
+ <view class="item">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/my_service.png" mode=""></image>
|
|
|
+ <text class="text">客服中心</text>
|
|
|
+ <button class="contact-btn" open-type="contact"></button>
|
|
|
+ </view>
|
|
|
+ <!-- <view class="item no-marin-bottom" @click="navgetTo('/pages_user/user/personInfo')">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/member_center.png" mode=""></image>
|
|
|
+ <text class="text">会员中心</text>
|
|
|
+ </view> -->
|
|
|
+ <view class="item no-marin-bottom" @click="navgetTo('/pages_shopping/live/complaintList')">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/my_advice.png" mode=""></image>
|
|
|
+ <text class="text">投诉建议</text>
|
|
|
+ </view>
|
|
|
+ <!-- <view class="item no-marin-bottom"
|
|
|
+ @click="navgetTo('/pages_user/user/storeProductRelation')">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/my_invoice.png" mode=""></image>
|
|
|
+ <text class="text">开票历史</text>
|
|
|
+ </view> -->
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
|
|
|
- <view class="used-tools">
|
|
|
- <view class="title">我的视频</view>
|
|
|
- <view class="tools-list">
|
|
|
- <view class="item" @click="navgetTo('/pages_user/user/storeProductRelation')">
|
|
|
- <image src="https://cdn.his.cdwjyyh.com/images/my_star.png" mode=""></image>
|
|
|
- <text class="text">我的收藏</text>
|
|
|
- </view>
|
|
|
- <view class="item" @click="navgetTo('/pages_user/user/message')">
|
|
|
- <image src="https://cdn.his.cdwjyyh.com/images/my_comment.png" mode=""></image>
|
|
|
- <text class="text">我的评论</text>
|
|
|
- </view>
|
|
|
- <view class="item no-marin-bottom" @click="navgetTo('/pages_shopping/live/order')">
|
|
|
+ <view class="used-tools">
|
|
|
+ <view class="title">我的视频</view>
|
|
|
+ <view class="tools-list">
|
|
|
+ <view class="item" @click="navgetTo('/pages_user/user/saveComment?tabIndex=1')">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/my_star.png" mode=""></image>
|
|
|
+ <text class="text">我的收藏</text>
|
|
|
+ </view>
|
|
|
+ <view class="item" @click="navgetTo('/pages_user/user/saveComment?tabIndex=0')">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/my_comment.png" mode=""></image>
|
|
|
+ <text class="text">我的评论</text>
|
|
|
+ </view>
|
|
|
+ <!-- <view class="item no-marin-bottom" @click="navgetTo('/pages_shopping/live/order')">
|
|
|
<image src="https://cdn.his.cdwjyyh.com/images/my_live.png" mode=""></image>
|
|
|
<text class="text">预约的直播</text>
|
|
|
+ </view> -->
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-
|
|
|
- <view class="used-tools">
|
|
|
- <view class="title">管理应用</view>
|
|
|
- <view class="tools-list">
|
|
|
- <view class="item" @click="navgetTo('/pages_user/user/userTuiAdd')">
|
|
|
- <image src="https://cdn.his.cdwjyyh.com/images/my_store.png" mode=""></image>
|
|
|
- <text class="text">申请入驻</text>
|
|
|
- </view>
|
|
|
- <view class="item" @click="navgetTo('/pages_shopping/live/applyExpert')">
|
|
|
- <image src="/static/images/intelligent.png" mode=""></image>
|
|
|
- <text class="text">申请达人</text>
|
|
|
- </view>
|
|
|
- <view class="item" @click="openH5(1)">
|
|
|
- <image src="https://cdn.his.cdwjyyh.com/images/my_about.png" mode=""></image>
|
|
|
- <text class="text">关于我们</text>
|
|
|
+ <view class="used-tools">
|
|
|
+ <view class="title">常用工具</view>
|
|
|
+ <view class="tools-list">
|
|
|
+ <view class="item" @click="openH5(2)">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/book1.png" mode=""></image>
|
|
|
+ <text class="text">隐私保护</text>
|
|
|
+ </view>
|
|
|
+ <view class="item" @click="openH5(1)">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/book2.png" mode=""></image>
|
|
|
+ <text class="text">用户协议</text>
|
|
|
+ </view>
|
|
|
+ <view class="item" @click="navgetTo('/pages/home/cert')">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/book3.png" mode=""></image>
|
|
|
+ <text class="text">资质证书</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="item no-marin-bottom" @click="toManager()">
|
|
|
- <image src="https://cdn.his.cdwjyyh.com/images/my_login.png" mode=""></image>
|
|
|
- <text class="text">客服登录</text>
|
|
|
+
|
|
|
+ <view class="used-tools">
|
|
|
+ <view class="title">管理应用</view>
|
|
|
+ <view class="tools-list">
|
|
|
+ <!-- <view class="item" @click="navgetTo('/pages_user/user/userTuiAdd')">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/my_store.png" mode=""></image>
|
|
|
+ <text class="text">申请入驻</text>
|
|
|
+ </view> -->
|
|
|
+ <view class="item" @click="toApplyExpert">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/intelligent.png" mode=""></image>
|
|
|
+ <text class="text">申请达人</text>
|
|
|
+ </view>
|
|
|
+ <view class="item" @click="openH5(1)">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/my_about.png" mode=""></image>
|
|
|
+ <text class="text">关于我们</text>
|
|
|
+ </view>
|
|
|
+ <view class="item no-marin-bottom" @click="toManager()">
|
|
|
+ <image src="https://cdn.his.cdwjyyh.com/images/my_login.png" mode=""></image>
|
|
|
+ <text class="text">客服登录</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
<!-- 退出登录按钮 -->
|
|
|
</view>
|
|
|
- <view style="padding-bottom: 20rpx;" v-if="user.phone!=''">
|
|
|
+ <view style="padding-bottom: 20rpx;" v-if="user.phone != ''">
|
|
|
<view @tap="loginOUt" class="log-out x-c">退出登录</view>
|
|
|
</view>
|
|
|
<!-- <view class="banner">
|
|
|
@@ -241,895 +269,1002 @@
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
+ <!-- <SuspensionTask /> -->
|
|
|
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import{getMyEnableCouponList} from '@/api/user'
|
|
|
- import {
|
|
|
- getOrderCount
|
|
|
- } from '@/api/storeOrder'
|
|
|
- import {
|
|
|
- getUserInfo,
|
|
|
- sign,
|
|
|
- getUserSign,
|
|
|
- getIntegral
|
|
|
- } from '@/api/user'
|
|
|
- import likeProduct from '@/components/likeProduct.vue'
|
|
|
- export default {
|
|
|
- components: {
|
|
|
- likeProduct
|
|
|
- },
|
|
|
- data() {
|
|
|
- return {
|
|
|
- signNum: 0,
|
|
|
- sign: [{
|
|
|
- day: 1
|
|
|
- }, {
|
|
|
- day: 2
|
|
|
- }, {
|
|
|
- day: 3
|
|
|
- }, {
|
|
|
- day: 4
|
|
|
- }],
|
|
|
- signStatus: false, // 今日是否已签到
|
|
|
- continuousDays: 0, // 连续签到天数
|
|
|
- userIntegral: 0, // 用户积分
|
|
|
-
|
|
|
- dataList: [{
|
|
|
- num: '55',
|
|
|
- title: '芳华币'
|
|
|
- }, {
|
|
|
- num: '55',
|
|
|
- title: '待用券'
|
|
|
- }, {
|
|
|
- num: '55',
|
|
|
- title: '已用券'
|
|
|
- }, {
|
|
|
- num: '55',
|
|
|
- title: '过期券'
|
|
|
- }],
|
|
|
- count0: 0,
|
|
|
- count1: 0,
|
|
|
- count2: 0,
|
|
|
- afterSalesCount: 0,
|
|
|
- user: {
|
|
|
- isPromoter: 0,
|
|
|
- isWeixinAuth: 0,
|
|
|
- phone: "",
|
|
|
- nickname: "请登录",
|
|
|
- avatarUrl: "https://cdn.his.cdwjyyh.com/images/detault_head.png"
|
|
|
- },
|
|
|
- // 状态栏的高度
|
|
|
- statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
|
|
|
- // 消息数量
|
|
|
- msgNum: 0,
|
|
|
-
|
|
|
-
|
|
|
- };
|
|
|
- },
|
|
|
- onLoad() {
|
|
|
- this.getMyEnableCouponList();//获取用户优惠券列表
|
|
|
- console.log("onload")
|
|
|
- },
|
|
|
- onShow() {
|
|
|
- console.log("onshow")
|
|
|
- var that = this;
|
|
|
- if (uni.getStorageSync('AppToken')) {
|
|
|
- that.getUserInfo();
|
|
|
- that.getOrderCount();
|
|
|
- that.getUserSignRecord();
|
|
|
- that.getIntegralInfo();
|
|
|
- }
|
|
|
- // this.utils.isLogin().then(res => {
|
|
|
- // that.getUserInfo();
|
|
|
- // that.getOrderCount();
|
|
|
- // })
|
|
|
-
|
|
|
- },
|
|
|
- onReachBottom() {
|
|
|
- console.log("onReachBottom")
|
|
|
- this.$refs.product.getGoodsProducts();
|
|
|
- },
|
|
|
- methods: {
|
|
|
- getMyEnableCouponList(){
|
|
|
-let data={
|
|
|
- couponType:1,
|
|
|
- packageCateId:0,
|
|
|
- useMinPrice:0,
|
|
|
- userId:uni.getStorageSync('userData').userId
|
|
|
-}
|
|
|
+import { applyExpertStatus } from '@/api/life.js';
|
|
|
+import { getMyCouponCount } from '@/api/user'
|
|
|
+import { getMyEnableCouponList } from '@/api/user'
|
|
|
+import { getNoticeList } from '@/api/user'
|
|
|
+import {
|
|
|
+ getOrderCount
|
|
|
+} from '@/api/storeOrder'
|
|
|
+import {
|
|
|
+ getUserInfo,
|
|
|
+ sign,
|
|
|
+ getUserSign,
|
|
|
+ getIntegral
|
|
|
+} from '@/api/user'
|
|
|
+import likeProduct from '@/components/likeProduct.vue'
|
|
|
+export default {
|
|
|
+ components: {
|
|
|
+ likeProduct
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ countList: [],//用户芳华币优惠券数量
|
|
|
+ signNum: 0,
|
|
|
+ sign: [{
|
|
|
+ day: 1
|
|
|
+ }, {
|
|
|
+ day: 2
|
|
|
+ }, {
|
|
|
+ day: 3
|
|
|
+ }, {
|
|
|
+ day: 4
|
|
|
+ }],
|
|
|
+ signStatus: false, // 今日是否已签到
|
|
|
+ continuousDays: 0, // 连续签到天数
|
|
|
+ userIntegral: 0, // 用户积分
|
|
|
+
|
|
|
+ count0: 0,
|
|
|
+ count1: 0,
|
|
|
+ count2: 0,
|
|
|
+ afterSalesCount: 0,
|
|
|
+ user: {
|
|
|
+ isPromoter: 0,
|
|
|
+ isWeixinAuth: 0,
|
|
|
+ phone: "",
|
|
|
+ nickname: "请登录",
|
|
|
+ avatarUrl: "https://cdn.his.cdwjyyh.com/images/detault_head.png"
|
|
|
},
|
|
|
- toManagerCourse() {
|
|
|
- if (uni.getStorageSync('ManageToken')) {
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages_manage/index'
|
|
|
- })
|
|
|
- } else {
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages_manage/login'
|
|
|
+ // 状态栏的高度
|
|
|
+ statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
|
|
|
+ // 消息数量
|
|
|
+ msgNum: 0,
|
|
|
+ reviewStatus: 0, // 审核状态 0未申请 1待审核 2审核通过 3审核未成功
|
|
|
+ noticeNum: 0,
|
|
|
+ };
|
|
|
+ },
|
|
|
+ onLoad() {
|
|
|
+ this.getMyEnableCouponList();//获取用户优惠券列表
|
|
|
+ console.log("onload")
|
|
|
+ if (uni.getStorageSync('AppToken')) {
|
|
|
+ this.getMyCouponCount();//获取用户芳华币优惠券数量
|
|
|
+ }
|
|
|
+ },
|
|
|
+ onShow() {
|
|
|
+ console.log("onshow")
|
|
|
+ var that = this;
|
|
|
+ if (uni.getStorageSync('AppToken')) {
|
|
|
+ that.getUserInfo();
|
|
|
+ that.getOrderCount();
|
|
|
+ that.getUserSignRecord();
|
|
|
+ that.getIntegralInfo();
|
|
|
+ }
|
|
|
+ // this.utils.isLogin().then(res => {
|
|
|
+ // that.getUserInfo();
|
|
|
+ // that.getOrderCount();
|
|
|
+ // })
|
|
|
+ this.getNoticeList();//获取用户消息列表
|
|
|
+ },
|
|
|
+ onReachBottom() {
|
|
|
+ console.log("onReachBottom")
|
|
|
+ this.$refs.product.getGoodsProducts();
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ getNoticeList(){
|
|
|
+ getNoticeList().then(res => {
|
|
|
+ if(res.code == 200){
|
|
|
+ this.noticeNum = res.rows.length;
|
|
|
+ }
|
|
|
+ else{
|
|
|
+ uni.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: 'none'
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
+ })
|
|
|
},
|
|
|
- // loginOUt(){
|
|
|
- // this.utils.loginOut();
|
|
|
- // this.getUserInfo();
|
|
|
- // // uni.switchTab({
|
|
|
- // // url:'/pages/home/index'
|
|
|
- // // })
|
|
|
- // },
|
|
|
- loginOUt() {
|
|
|
- const that = this;
|
|
|
- uni.showModal({
|
|
|
- title: '提示',
|
|
|
- content: '确定要退出登录吗?',
|
|
|
- success: function(res) {
|
|
|
- if (res.confirm) {
|
|
|
- // 先重置用户数据为默认值
|
|
|
- that.user = {
|
|
|
- isPromoter: 0,
|
|
|
- isWeixinAuth: 0,
|
|
|
- phone: "",
|
|
|
- nickname: "请登录",
|
|
|
- avatarUrl: "https://cdn.his.cdwjyyh.com/images/detault_head.png",
|
|
|
- avatar: null // 确保头像也被重置
|
|
|
- };
|
|
|
-
|
|
|
- // 清空本地存储的用户数据
|
|
|
- uni.removeStorageSync('userData');
|
|
|
-
|
|
|
- // 执行退出登录逻辑
|
|
|
- that.utils.loginOut();
|
|
|
-
|
|
|
- // 重置订单数量
|
|
|
- that.count0 = 0;
|
|
|
- that.count1 = 0;
|
|
|
- that.count2 = 0;
|
|
|
- that.afterSalesCount = 0;
|
|
|
- that.msgNum = 0;
|
|
|
-
|
|
|
- // 可选:提示退出成功
|
|
|
- uni.showToast({
|
|
|
- title: '已退出登录',
|
|
|
- icon: 'success'
|
|
|
+ toMyexpert(){
|
|
|
+ applyExpertStatus().then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ uni.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: 'success'
|
|
|
+ })
|
|
|
+ this.reviewStatus = res.data.reviewStatus;
|
|
|
+ if (this.reviewStatus == 0) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages_life/applyExpert'
|
|
|
+ })
|
|
|
+ } else if (this.reviewStatus == 1 || this.reviewStatus == 3) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages_life/reviewDetails?reviewStatus=' + this.reviewStatus
|
|
|
+ })
|
|
|
+ } else if (this.reviewStatus == 2) {
|
|
|
+ this.getUserInfo();
|
|
|
+ if (this.user.expertId) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages_life/myExpert?expertId=' + this.user.expertId
|
|
|
});
|
|
|
+ } else {
|
|
|
|
|
|
- // 可选:如果需要刷新页面数据,可以重新调用 onShow 中的方法
|
|
|
- // 但由于我们已经手动重置了数据,这一步不是必需的
|
|
|
}
|
|
|
}
|
|
|
- });
|
|
|
- },
|
|
|
- openPersonInfo() {
|
|
|
- this.utils.isLogin().then(res => {
|
|
|
- uni.navigateTo({
|
|
|
- url: "/pages_user/user/personInfo"
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: 'none'
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+ },
|
|
|
+ // 获取用户芳华币优惠券数量
|
|
|
+ getMyCouponCount() {
|
|
|
+ getMyCouponCount().then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.countList = res.data;
|
|
|
+ console.log("用户芳华币优惠券数量:", res.data)
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: 'none'
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ applyExpertStatus() {
|
|
|
+ applyExpertStatus().then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ uni.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: 'success'
|
|
|
+ })
|
|
|
+ this.reviewStatus = res.data.reviewStatus;
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: 'none'
|
|
|
})
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ toApplyExpert() {
|
|
|
+ this.applyExpertStatus();
|
|
|
+ if(this.user.expertId&&this.reviewStatus==2){
|
|
|
+ uni.showToast({
|
|
|
+ title: '您已是达人,无需申请',
|
|
|
+ icon: 'none'
|
|
|
+ })
|
|
|
+ }else if (this.reviewStatus == 0) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages_life/applyExpert'
|
|
|
})
|
|
|
+ } else {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages_life/reviewDetails?reviewStatus=' + this.reviewStatus
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
+ getMyEnableCouponList() {
|
|
|
+ let data = {
|
|
|
+ couponType: 1,
|
|
|
+ packageCateId: 0,
|
|
|
+ useMinPrice: 0,
|
|
|
+ userId: uni.getStorageSync('userData').userId
|
|
|
+ }
|
|
|
+ },
|
|
|
+ toManagerCourse() {
|
|
|
+ if (uni.getStorageSync('ManageToken')) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages_manage/index'
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages_manage/login'
|
|
|
+ })
|
|
|
+ }
|
|
|
|
|
|
- },
|
|
|
- callService() {
|
|
|
- uni.makePhoneCall({
|
|
|
- phoneNumber: "4000717770",
|
|
|
- success: function() {
|
|
|
- console.log('拨打电话成功');
|
|
|
- },
|
|
|
- fail() {
|
|
|
- console.log('打电话失败了');
|
|
|
+ },
|
|
|
+ // loginOUt(){
|
|
|
+ // this.utils.loginOut();
|
|
|
+ // this.getUserInfo();
|
|
|
+ // // uni.switchTab({
|
|
|
+ // // url:'/pages/home/index'
|
|
|
+ // // })
|
|
|
+ // },
|
|
|
+ loginOUt() {
|
|
|
+ const that = this;
|
|
|
+ uni.showModal({
|
|
|
+ title: '提示',
|
|
|
+ content: '确定要退出登录吗?',
|
|
|
+ success: function (res) {
|
|
|
+ if (res.confirm) {
|
|
|
+ // 先重置用户数据为默认值
|
|
|
+ that.user = {
|
|
|
+ isPromoter: 0,
|
|
|
+ isWeixinAuth: 0,
|
|
|
+ phone: "",
|
|
|
+ nickname: "请登录",
|
|
|
+ avatarUrl: "https://cdn.his.cdwjyyh.com/images/detault_head.png",
|
|
|
+ avatar: null // 确保头像也被重置
|
|
|
+ };
|
|
|
+
|
|
|
+ // 清空本地存储的用户数据
|
|
|
+ uni.removeStorageSync('userData');
|
|
|
+
|
|
|
+ // 执行退出登录逻辑
|
|
|
+ that.utils.loginOut();
|
|
|
+
|
|
|
+ // 重置订单数量
|
|
|
+ that.count0 = 0;
|
|
|
+ that.count1 = 0;
|
|
|
+ that.count2 = 0;
|
|
|
+ that.afterSalesCount = 0;
|
|
|
+ that.msgNum = 0;
|
|
|
+
|
|
|
+ // 可选:提示退出成功
|
|
|
+ uni.showToast({
|
|
|
+ title: '已退出登录',
|
|
|
+ icon: 'success'
|
|
|
+ });
|
|
|
+
|
|
|
+ // 可选:如果需要刷新页面数据,可以重新调用 onShow 中的方法
|
|
|
+ // 但由于我们已经手动重置了数据,这一步不是必需的
|
|
|
}
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ openPersonInfo() {
|
|
|
+ this.utils.isLogin().then(res => {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages_user/user/personInfo"
|
|
|
})
|
|
|
- },
|
|
|
+ })
|
|
|
|
|
|
- getOrderCount() {
|
|
|
- getOrderCount().then(
|
|
|
- res => {
|
|
|
- if (res.code == 200) {
|
|
|
- this.count0 = res.count0;
|
|
|
- this.count1 = res.count1;
|
|
|
- this.count2 = res.count2;
|
|
|
- this.afterSalesCount = res.afterSalesCount;
|
|
|
- }
|
|
|
- },
|
|
|
- rej => {}
|
|
|
- );
|
|
|
- },
|
|
|
- toManager() {
|
|
|
- if (this.utils.checkCompanyUserLoginState()) {
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages_company/index'
|
|
|
- })
|
|
|
- } else {
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages_company/auth/login'
|
|
|
- })
|
|
|
+ },
|
|
|
+ callService() {
|
|
|
+ uni.makePhoneCall({
|
|
|
+ phoneNumber: "4000717770",
|
|
|
+ success: function () {
|
|
|
+ console.log('拨打电话成功');
|
|
|
+ },
|
|
|
+ fail() {
|
|
|
+ console.log('打电话失败了');
|
|
|
}
|
|
|
+ })
|
|
|
+ },
|
|
|
|
|
|
- },
|
|
|
- openH5(type) {
|
|
|
- var requestPath = uni.getStorageSync('requestPath');
|
|
|
- // uni.setStorageSync('url',requestPath+url);
|
|
|
+ getOrderCount() {
|
|
|
+ getOrderCount().then(
|
|
|
+ res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.count0 = res.count0;
|
|
|
+ this.count1 = res.count1;
|
|
|
+ this.count2 = res.count2;
|
|
|
+ this.afterSalesCount = res.afterSalesCount;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ rej => { }
|
|
|
+ );
|
|
|
+ },
|
|
|
+ toManager() {
|
|
|
+ if (this.utils.checkCompanyUserLoginState()) {
|
|
|
uni.navigateTo({
|
|
|
- url: '../home/h5?type=' + type
|
|
|
+ url: '/pages_company/index'
|
|
|
})
|
|
|
- },
|
|
|
- getUserInfo() {
|
|
|
- getUserInfo().then(
|
|
|
- res => {
|
|
|
- if (res.code == 200) {
|
|
|
- if (res.user != null) {
|
|
|
- this.user = res.user;
|
|
|
- uni.setStorageSync('userData', res.user)
|
|
|
- } else {
|
|
|
- this.utils.loginOut();
|
|
|
- }
|
|
|
+ } else {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages_company/auth/login'
|
|
|
+ })
|
|
|
+ }
|
|
|
|
|
|
+ },
|
|
|
+ openH5(type) {
|
|
|
+ var requestPath = uni.getStorageSync('requestPath');
|
|
|
+ // uni.setStorageSync('url',requestPath+url);
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '../home/h5?type=' + type
|
|
|
+ })
|
|
|
+ },
|
|
|
+ getUserInfo() {
|
|
|
+ getUserInfo().then(
|
|
|
+ res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ if (res.user != null) {
|
|
|
+ this.user = res.user;
|
|
|
+ uni.setStorageSync('userData', res.user)
|
|
|
} else {
|
|
|
- uni.showToast({
|
|
|
- icon: 'none',
|
|
|
- title: "请求失败",
|
|
|
- });
|
|
|
- }
|
|
|
- },
|
|
|
- rej => {}
|
|
|
- );
|
|
|
- },
|
|
|
- // 签到
|
|
|
- doSign() {
|
|
|
- if (this.signStatus) {
|
|
|
- uni.showToast({
|
|
|
- title: '今日已签到',
|
|
|
- icon: 'none'
|
|
|
- });
|
|
|
- return;
|
|
|
- }
|
|
|
- sign().then(
|
|
|
- res => {
|
|
|
- if (res.code == 200) {
|
|
|
- uni.showToast({
|
|
|
- title: '签到成功',
|
|
|
- icon: 'success'
|
|
|
- });
|
|
|
- // 更新签到状态
|
|
|
- this.signStatus = true;
|
|
|
- this.continuousDays += 1;
|
|
|
- this.signNum = this.continuousDays;
|
|
|
- // 重新获取积分
|
|
|
- this.getIntegralInfo();
|
|
|
- } else {
|
|
|
- uni.showToast({
|
|
|
- title: res.msg,
|
|
|
- icon: 'none'
|
|
|
- });
|
|
|
+ this.utils.loginOut();
|
|
|
}
|
|
|
- },
|
|
|
- rej => {}
|
|
|
- );
|
|
|
- },
|
|
|
- // 获取用户签到记录
|
|
|
- getUserSignRecord() {
|
|
|
- getUserSign().then(
|
|
|
- res => {
|
|
|
- if (res.code == 200) {
|
|
|
- // 处理签到记录数据
|
|
|
- this.signStatus = res.isDaySign || false;
|
|
|
- this.continuousDays = res.signNum || 0;
|
|
|
- this.signNum = this.continuousDays;
|
|
|
- // 处理签到规则
|
|
|
- if (res.sign) {
|
|
|
- try {
|
|
|
- const signRules = JSON.parse(res.sign);
|
|
|
- if (Array.isArray(signRules)) {
|
|
|
- this.sign = signRules;
|
|
|
- }
|
|
|
- } catch (e) {
|
|
|
- console.error('解析签到规则失败', e);
|
|
|
+
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ icon: 'none',
|
|
|
+ title: "请求失败",
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ rej => { }
|
|
|
+ );
|
|
|
+ },
|
|
|
+ // 签到
|
|
|
+ doSign() {
|
|
|
+ if (this.signStatus) {
|
|
|
+ uni.showToast({
|
|
|
+ title: '今日已签到',
|
|
|
+ icon: 'none'
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ sign().then(
|
|
|
+ res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ uni.showToast({
|
|
|
+ title: '签到成功',
|
|
|
+ icon: 'success'
|
|
|
+ });
|
|
|
+ // 更新签到状态
|
|
|
+ this.signStatus = true;
|
|
|
+ this.continuousDays += 1;
|
|
|
+ this.signNum = this.continuousDays;
|
|
|
+ // 重新获取积分
|
|
|
+ this.getIntegralInfo();
|
|
|
+ } else {
|
|
|
+ uni.showToast({
|
|
|
+ title: res.msg,
|
|
|
+ icon: 'none'
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ rej => { }
|
|
|
+ );
|
|
|
+ },
|
|
|
+ // 获取用户签到记录
|
|
|
+ getUserSignRecord() {
|
|
|
+ getUserSign().then(
|
|
|
+ res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ // 处理签到记录数据
|
|
|
+ this.signStatus = res.isDaySign || false;
|
|
|
+ this.continuousDays = res.signNum || 0;
|
|
|
+ this.signNum = this.continuousDays;
|
|
|
+ // 处理签到规则
|
|
|
+ if (res.sign) {
|
|
|
+ try {
|
|
|
+ const signRules = JSON.parse(res.sign);
|
|
|
+ if (Array.isArray(signRules)) {
|
|
|
+ this.sign = signRules;
|
|
|
}
|
|
|
+ } catch (e) {
|
|
|
+ console.error('解析签到规则失败', e);
|
|
|
}
|
|
|
}
|
|
|
- },
|
|
|
- rej => {}
|
|
|
- );
|
|
|
- },
|
|
|
- // 获取用户积分
|
|
|
- getIntegralInfo() {
|
|
|
- getIntegral().then(
|
|
|
- res => {
|
|
|
- if (res.code == 200 && res.data) {
|
|
|
- this.userIntegral = res.data.total || 0;
|
|
|
- // 更新芳华币显示
|
|
|
- this.dataList[0].num = this.userIntegral;
|
|
|
- }
|
|
|
- },
|
|
|
- rej => {}
|
|
|
- );
|
|
|
- },
|
|
|
- // 跳转页面
|
|
|
- navgetTo(url) {
|
|
|
- this.utils.isLogin().then(res => {
|
|
|
- if (res) {
|
|
|
- uni.navigateTo({
|
|
|
- url: url
|
|
|
- })
|
|
|
}
|
|
|
- })
|
|
|
- },
|
|
|
- // 查看订单
|
|
|
- showOrder(status) {
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages_user/user/storeOrder?status=' + status
|
|
|
- })
|
|
|
- }
|
|
|
+ },
|
|
|
+ rej => { }
|
|
|
+ );
|
|
|
+ },
|
|
|
+ // 获取用户积分
|
|
|
+ getIntegralInfo() {
|
|
|
+ getIntegral().then(
|
|
|
+ res => {
|
|
|
+ if (res.code == 200 && res.data) {
|
|
|
+ this.userIntegral = res.data.total || 0;
|
|
|
+ // 更新芳华币显示
|
|
|
+ // this.dataList[0].num = res.data.total || 0;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ rej => { }
|
|
|
+ );
|
|
|
+ },
|
|
|
+ // 跳转页面
|
|
|
+ navgetTo(url) {
|
|
|
+ this.utils.isLogin().then(res => {
|
|
|
+ if (res) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: url
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 查看订单
|
|
|
+ showOrder(status) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages_user/user/storeOrder?status=' + status
|
|
|
+ })
|
|
|
}
|
|
|
+ },
|
|
|
+ onUnload() {
|
|
|
+ // 清理页面状态
|
|
|
+ this.reviewStatus = null;
|
|
|
}
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
|
- .top-cont {
|
|
|
+.top-cont {
|
|
|
+ width: 100%;
|
|
|
+ height: 532rpx;
|
|
|
+ position: relative;
|
|
|
+ background: radial-gradient(60% 60% at 70% 11%, #C5EFEA 0%, rgba(245, 246, 246, 0) 100%);
|
|
|
+
|
|
|
+ .top-inner {
|
|
|
width: 100%;
|
|
|
- height: 532rpx;
|
|
|
- position: relative;
|
|
|
- background: radial-gradient(60% 60% at 70% 11%, #C5EFEA 0%, rgba(245, 246, 246, 0) 100%);
|
|
|
+ height: 100%;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ z-index: 2;
|
|
|
|
|
|
- .top-inner {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- z-index: 2;
|
|
|
+ .top-block {
|
|
|
+ padding: 0 30rpx 0 30rpx;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+
|
|
|
+ .qscode-block {
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-end;
|
|
|
+
|
|
|
+ // .qscode {
|
|
|
+ // width: 64rpx;
|
|
|
+ // height: 64rpx;
|
|
|
+ // padding: 12rpx;
|
|
|
+ // margin-right: 220rpx;
|
|
|
+ // border-radius: 32rpx 32rpx 32rpx 32rpx;
|
|
|
+ // border: 1rpx solid #E9E9E9;
|
|
|
+ // box-sizing: border-box;
|
|
|
+ // background: #FFFFFF;
|
|
|
+
|
|
|
+ // }
|
|
|
+ .qscode {
|
|
|
+ width: 64rpx;
|
|
|
+ height: 64rpx;
|
|
|
+ padding: 12rpx;
|
|
|
+ // margin-right: 220rpx;
|
|
|
+ // border-radius: 32rpx 32rpx 32rpx 32rpx;
|
|
|
+ // border: 1rpx solid #E9E9E9;
|
|
|
+ // box-sizing: border-box;
|
|
|
+ // background: #FFFFFF;
|
|
|
|
|
|
- .top-block {
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .shop-title {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ margin: 20rpx 0;
|
|
|
+
|
|
|
+ .title-text {
|
|
|
+ font-size: 40rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .user-info {
|
|
|
+ // padding: 88rpx 30rpx 0 30rpx;
|
|
|
padding: 0 30rpx 0 30rpx;
|
|
|
display: flex;
|
|
|
- flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
|
|
|
- .qscode-block {
|
|
|
- display: flex;
|
|
|
- justify-content: flex-end;
|
|
|
-
|
|
|
- .qscode {
|
|
|
- width: 64rpx;
|
|
|
- height: 64rpx;
|
|
|
- padding: 12rpx;
|
|
|
- margin-right: 220rpx;
|
|
|
- border-radius: 32rpx 32rpx 32rpx 32rpx;
|
|
|
- border: 1rpx solid #E9E9E9;
|
|
|
- box-sizing: border-box;
|
|
|
- background: #FFFFFF;
|
|
|
+ .left {
|
|
|
+ position: relative;
|
|
|
+ display: flex;
|
|
|
|
|
|
+ .head-img {
|
|
|
+ width: 128rpx;
|
|
|
+ height: 128rpx;
|
|
|
+ border-radius: 50%;
|
|
|
+ overflow: hidden;
|
|
|
+ margin-right: 30rpx;
|
|
|
+ border: 4rpx solid #FFFFFF;
|
|
|
+ box-shadow: 0px 5px 15px 2px rgba(0, 0, 0, 0.1);
|
|
|
+
|
|
|
+ image {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .shop-title {
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- margin: 20rpx 0;
|
|
|
+ .name-phone {
|
|
|
+ padding-top: 15rpx;
|
|
|
|
|
|
- .title-text {
|
|
|
- font-size: 36rpx;
|
|
|
+ .name {
|
|
|
+ font-size: 44rpx;
|
|
|
font-family: PingFang SC;
|
|
|
- font-weight: bold;
|
|
|
+ font-weight: 600;
|
|
|
color: #333333;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
}
|
|
|
- }
|
|
|
-
|
|
|
- .user-info {
|
|
|
- // padding: 88rpx 30rpx 0 30rpx;
|
|
|
- padding: 0 30rpx 0 30rpx;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
|
|
|
- .left {
|
|
|
- position: relative;
|
|
|
- display: flex;
|
|
|
-
|
|
|
- .head-img {
|
|
|
- width: 128rpx;
|
|
|
- height: 128rpx;
|
|
|
- border-radius: 50%;
|
|
|
- overflow: hidden;
|
|
|
- margin-right: 30rpx;
|
|
|
- border: 4rpx solid #FFFFFF;
|
|
|
- box-shadow: 0px 5px 15px 2px rgba(0, 0, 0, 0.1);
|
|
|
-
|
|
|
- image {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- }
|
|
|
+ .user-page {
|
|
|
+ width: 160rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-radius: 22rpx 22rpx 22rpx 22rpx;
|
|
|
+ text-align: center;
|
|
|
+ padding: 6rpx 16rpx 4rpx;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ margin-top: 12rpx;
|
|
|
+ font-size: 24rpx;
|
|
|
+ color: #626469;
|
|
|
}
|
|
|
|
|
|
- .name-phone {
|
|
|
- padding-top: 15rpx;
|
|
|
-
|
|
|
- .name {
|
|
|
- font-size: 40rpx;
|
|
|
- font-family: PingFang SC;
|
|
|
- font-weight: 600;
|
|
|
- color: #333333;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
+ .lable {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ margin-top: 16rpx;
|
|
|
|
|
|
- .user-page {
|
|
|
- width: 160rpx;
|
|
|
- box-sizing: border-box;
|
|
|
- background: #FFFFFF;
|
|
|
- border-radius: 22rpx 22rpx 22rpx 22rpx;
|
|
|
- text-align: center;
|
|
|
- padding: 6rpx 16rpx 4rpx;
|
|
|
+ .lable-item {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
- align-items: center;
|
|
|
- margin-top: 12rpx;
|
|
|
- font-size: 24rpx;
|
|
|
- color: #626469;
|
|
|
+ box-sizing: border-box;
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 26rpx;
|
|
|
+ color: #FEF5EA;
|
|
|
+ background: linear-gradient(90deg, #F26F00 0%, #FF9D1F 100%);
|
|
|
+ border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
+ border: 1rpx solid #FEDDB9;
|
|
|
+ width: 118rpx;
|
|
|
+ height: 40rpx;
|
|
|
}
|
|
|
|
|
|
- .lable {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- margin-top: 16rpx;
|
|
|
-
|
|
|
- .lable-item {
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- box-sizing: border-box;
|
|
|
- font-weight: 500;
|
|
|
- font-size: 22rpx;
|
|
|
- color: #FEF5EA;
|
|
|
- background: linear-gradient(90deg, #F26F00 0%, #FF9D1F 100%);
|
|
|
- border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
- border: 1rpx solid #FEDDB9;
|
|
|
- width: 118rpx;
|
|
|
- height: 40rpx;
|
|
|
- }
|
|
|
-
|
|
|
- .yellow {
|
|
|
- background: linear-gradient(90deg, #F5CE3C 0%, #E39414 100%);
|
|
|
- }
|
|
|
+ .yellow {
|
|
|
+ background: linear-gradient(90deg, #F5CE3C 0%, #E39414 100%);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- .right {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
+ .right {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
|
|
|
- .msg-box {
|
|
|
- margin-left: 10rpx;
|
|
|
- width: 44rpx;
|
|
|
- height: 44rpx;
|
|
|
+ .msg-box {
|
|
|
+ margin-left: 10rpx;
|
|
|
+ width: 44rpx;
|
|
|
+ height: 44rpx;
|
|
|
|
|
|
- image {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- }
|
|
|
+ image {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- .set {
|
|
|
+ .set {
|
|
|
|
|
|
- width: 44rpx;
|
|
|
- height: 44rpx;
|
|
|
+ width: 44rpx;
|
|
|
+ height: 44rpx;
|
|
|
|
|
|
- image {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- }
|
|
|
+ image {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
|
|
|
- .data {
|
|
|
- margin: 40rpx 8rpx 30rpx;
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
+ }
|
|
|
|
|
|
- .data-item {
|
|
|
- text-align: center;
|
|
|
+ .data {
|
|
|
+ margin: 40rpx 8rpx 30rpx;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
|
|
|
- .number {
|
|
|
- font-weight: 500;
|
|
|
- font-size: 40rpx;
|
|
|
- color: #333333;
|
|
|
- }
|
|
|
+ .data-item {
|
|
|
+ text-align: center;
|
|
|
|
|
|
- .txt {
|
|
|
- margin-top: 12rpx;
|
|
|
- font-size: 24rpx;
|
|
|
- color: #666666;
|
|
|
- }
|
|
|
+ .number {
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 44rpx;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+
|
|
|
+ .txt {
|
|
|
+ margin-top: 12rpx;
|
|
|
+ color: #666666;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- .member {
|
|
|
+ .member {
|
|
|
+ width: 702rpx;
|
|
|
+ height: 172rpx;
|
|
|
+ background: linear-gradient(90deg, #FFF3DF 0%, #FADBA9 100%);
|
|
|
+ border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
|
+ margin: 0 auto;
|
|
|
+ position: relative;
|
|
|
+ z-index: -2;
|
|
|
+
|
|
|
+ .bg {
|
|
|
width: 702rpx;
|
|
|
height: 172rpx;
|
|
|
- background: linear-gradient(90deg, #FFF3DF 0%, #FADBA9 100%);
|
|
|
- border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
|
- margin: 0 auto;
|
|
|
- position: relative;
|
|
|
- z-index: -2;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ z-index: -1;
|
|
|
+ }
|
|
|
|
|
|
- .bg {
|
|
|
- width: 702rpx;
|
|
|
- height: 172rpx;
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- z-index: -1;
|
|
|
- }
|
|
|
+ .member-block {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ padding: 36rpx 32rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
|
- .member-block {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
+ .left {
|
|
|
display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
- padding: 36rpx 32rpx;
|
|
|
- box-sizing: border-box;
|
|
|
+ flex-direction: column;
|
|
|
|
|
|
- .left {
|
|
|
+ .vip {
|
|
|
display: flex;
|
|
|
- flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 28rpx;
|
|
|
+ color: #834F00;
|
|
|
+ }
|
|
|
|
|
|
- .vip {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- font-size: 24rpx;
|
|
|
- color: #834F00;
|
|
|
- }
|
|
|
+ .count {
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 36rpx;
|
|
|
+ color: #885201;
|
|
|
|
|
|
- .count {
|
|
|
- font-weight: 500;
|
|
|
- font-size: 32rpx;
|
|
|
- color: #885201;
|
|
|
-
|
|
|
- .bold {
|
|
|
- font-family: Roboto, Roboto;
|
|
|
- font-weight: bold;
|
|
|
- font-size: 40rpx;
|
|
|
- color: #EA8F07;
|
|
|
- }
|
|
|
+ .bold {
|
|
|
+ font-family: Roboto, Roboto;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 44rpx;
|
|
|
+ color: #EA8F07;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- .right {
|
|
|
- width: 176rpx;
|
|
|
- height: 72rpx;
|
|
|
- background: #885201;
|
|
|
- border-radius: 36rpx 36rpx 36rpx 36rpx;
|
|
|
- text-align: center;
|
|
|
- line-height: 72rpx;
|
|
|
- font-weight: 600;
|
|
|
- font-size: 28rpx;
|
|
|
- color: #FFF6E7;
|
|
|
- }
|
|
|
+ .right {
|
|
|
+ width: 176rpx;
|
|
|
+ height: 72rpx;
|
|
|
+ background: #885201;
|
|
|
+ border-radius: 36rpx 36rpx 36rpx 36rpx;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 72rpx;
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 32rpx;
|
|
|
+ color: #FFF6E7;
|
|
|
}
|
|
|
+ }
|
|
|
+
|
|
|
+ .my-order {
|
|
|
+ padding: 50rpx 20rpx 0;
|
|
|
|
|
|
- .my-order {
|
|
|
- padding: 50rpx 20rpx 0;
|
|
|
+ .inner {
|
|
|
+ font-size: 30rpx;
|
|
|
|
|
|
- .inner {
|
|
|
- box-sizing: border-box;
|
|
|
- height: 245rpx;
|
|
|
- background: #FFFFFF;
|
|
|
- border-radius: 16rpx;
|
|
|
- padding: 40rpx 30rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
+ height: 245rpx;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-radius: 16rpx;
|
|
|
+ padding: 40rpx 30rpx;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-between;
|
|
|
+
|
|
|
+ .title-box {
|
|
|
display: flex;
|
|
|
- flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
justify-content: space-between;
|
|
|
|
|
|
- .title-box {
|
|
|
+ .title {
|
|
|
+ font-size: 38rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #222222;
|
|
|
+ line-height: 1;
|
|
|
+ }
|
|
|
+
|
|
|
+ .all-order {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
|
|
|
- .title {
|
|
|
- font-size: 34rpx;
|
|
|
+ .text {
|
|
|
+ font-size: 30rpx;
|
|
|
font-family: PingFang SC;
|
|
|
- font-weight: bold;
|
|
|
- color: #222222;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #999999;
|
|
|
line-height: 1;
|
|
|
+ margin-right: 8rpx;
|
|
|
}
|
|
|
|
|
|
- .all-order {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
-
|
|
|
- .text {
|
|
|
- font-size: 26rpx;
|
|
|
- font-family: PingFang SC;
|
|
|
- font-weight: 500;
|
|
|
- color: #999999;
|
|
|
- line-height: 1;
|
|
|
- margin-right: 8rpx;
|
|
|
- }
|
|
|
-
|
|
|
- image {
|
|
|
- width: 24rpx;
|
|
|
- height: 24rpx;
|
|
|
- }
|
|
|
+ image {
|
|
|
+ width: 24rpx;
|
|
|
+ height: 24rpx;
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
+
|
|
|
+ .status-box {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding: 0 10rpx;
|
|
|
|
|
|
- .status-box {
|
|
|
+ .item {
|
|
|
display: flex;
|
|
|
+ flex-direction: column;
|
|
|
align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- padding: 0 10rpx;
|
|
|
-
|
|
|
- .item {
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
+ justify-content: center;
|
|
|
|
|
|
- image {
|
|
|
- width: 40rpx;
|
|
|
- height: 40rpx;
|
|
|
- margin-bottom: 18rpx;
|
|
|
- }
|
|
|
+ image {
|
|
|
+ width: 40rpx;
|
|
|
+ height: 40rpx;
|
|
|
+ margin-bottom: 18rpx;
|
|
|
+ }
|
|
|
|
|
|
- .text {
|
|
|
- font-size: 26rpx;
|
|
|
- font-family: PingFang SC;
|
|
|
- font-weight: 500;
|
|
|
- color: #111111;
|
|
|
- line-height: 1;
|
|
|
- }
|
|
|
+ .text {
|
|
|
+ font-size: 30rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #111111;
|
|
|
+ line-height: 1;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
+}
|
|
|
+
|
|
|
+.coin-card {
|
|
|
+ width: 702rpx;
|
|
|
+ height: 380rpx;
|
|
|
+ background: linear-gradient(180deg, #FF5600 0%, #FFB501 100%);
|
|
|
+ border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
|
+ position: relative;
|
|
|
+ z-index: -2;
|
|
|
+ margin: 20rpx auto;
|
|
|
|
|
|
- .coin-card {
|
|
|
+ .bg {
|
|
|
width: 702rpx;
|
|
|
height: 380rpx;
|
|
|
- background: linear-gradient(180deg, #FF5600 0%, #FFB501 100%);
|
|
|
- border-radius: 16rpx 16rpx 16rpx 16rpx;
|
|
|
- position: relative;
|
|
|
- z-index: -2;
|
|
|
- margin: 20rpx auto;
|
|
|
-
|
|
|
- .bg {
|
|
|
- width: 702rpx;
|
|
|
- height: 380rpx;
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- z-index: -1;
|
|
|
- }
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ z-index: -1;
|
|
|
+ }
|
|
|
|
|
|
- .container {
|
|
|
- padding: 20rpx;
|
|
|
+ .container {
|
|
|
+ padding: 20rpx;
|
|
|
|
|
|
- .coin-txt {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
+ .coin-txt {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
|
|
|
- .left {
|
|
|
- font-weight: 600;
|
|
|
- font-size: 32rpx;
|
|
|
- color: #FFFFFF;
|
|
|
+ .left {
|
|
|
+ font-weight: 600;
|
|
|
+ font-size: 36rpx;
|
|
|
+ color: #FFFFFF;
|
|
|
|
|
|
- .bold {
|
|
|
- font-family: Roboto, Roboto;
|
|
|
- font-weight: bold;
|
|
|
- font-size: 56rpx;
|
|
|
- color: #FEEBC9;
|
|
|
- }
|
|
|
+ .bold {
|
|
|
+ font-family: Roboto, Roboto;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 60rpx;
|
|
|
+ color: #FEEBC9;
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- .right {
|
|
|
- padding: 4rpx 16rpx;
|
|
|
- background: #FFF3D7;
|
|
|
- font-size: 24rpx;
|
|
|
- color: #FF5C03;
|
|
|
- border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
- border: 2rpx solid rgba(255, 255, 255, 0.3);
|
|
|
- }
|
|
|
+ .right {
|
|
|
+ padding: 4rpx 16rpx;
|
|
|
+ background: #FFF3D7;
|
|
|
+ font-size: 28rpx;
|
|
|
+ color: #FF5C03;
|
|
|
+ border-radius: 20rpx 20rpx 20rpx 20rpx;
|
|
|
+ border: 2rpx solid rgba(255, 255, 255, 0.3);
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- .item {
|
|
|
- background: #FEFAF7;
|
|
|
- border-radius: 12rpx 12rpx 12rpx 12rpx;
|
|
|
+ .item {
|
|
|
+ background: #FEFAF7;
|
|
|
+ border-radius: 12rpx 12rpx 12rpx 12rpx;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ flex-direction: column;
|
|
|
+ padding: 34rpx 0 32rpx;
|
|
|
+
|
|
|
+ .progress {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- flex-direction: column;
|
|
|
- padding: 34rpx 0 32rpx;
|
|
|
+ justify-content: space-between;
|
|
|
+ position: relative;
|
|
|
+ z-index: 1;
|
|
|
+
|
|
|
+ .line {
|
|
|
+ position: absolute;
|
|
|
+ top: 20rpx;
|
|
|
+ width: 100%;
|
|
|
+ width: calc(100% - 30rpx);
|
|
|
+ left: 10rpx;
|
|
|
+ height: 4upx;
|
|
|
+ background: #F6CDA7;
|
|
|
+ border-radius: 2upx;
|
|
|
+ z-index: 1;
|
|
|
+ }
|
|
|
|
|
|
- .progress {
|
|
|
+ .img-item {
|
|
|
display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: center;
|
|
|
+ margin-right: 34rpx;
|
|
|
align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- position: relative;
|
|
|
- z-index: 1;
|
|
|
|
|
|
- .line {
|
|
|
- position: absolute;
|
|
|
- top: 20rpx;
|
|
|
- width: 100%;
|
|
|
- width: calc(100% - 30rpx);
|
|
|
- left: 10rpx;
|
|
|
- height: 4upx;
|
|
|
- background: #F6CDA7;
|
|
|
- border-radius: 2upx;
|
|
|
- z-index: 1;
|
|
|
+ &:last-child {
|
|
|
+ margin-right: 0;
|
|
|
}
|
|
|
|
|
|
- .img-item {
|
|
|
+ .top {
|
|
|
display: flex;
|
|
|
- flex-direction: column;
|
|
|
- justify-content: center;
|
|
|
- margin-right: 34rpx;
|
|
|
align-items: center;
|
|
|
|
|
|
- &:last-child {
|
|
|
- margin-right: 0;
|
|
|
+ image {
|
|
|
+ width: 44upx;
|
|
|
+ height: 44upx;
|
|
|
+ background-color: #ffffff;
|
|
|
+ position: relative;
|
|
|
+ z-index: 3;
|
|
|
}
|
|
|
|
|
|
- .top {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
-
|
|
|
- image {
|
|
|
- width: 44upx;
|
|
|
- height: 44upx;
|
|
|
- background-color: #ffffff;
|
|
|
- position: relative;
|
|
|
- z-index: 3;
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- .text {
|
|
|
- font-size: 24upx;
|
|
|
- font-family: PingFang SC;
|
|
|
- font-weight: 500;
|
|
|
- color: #FF7511;
|
|
|
- line-height: 1;
|
|
|
- white-space: nowrap;
|
|
|
- margin-top: 16rpx;
|
|
|
- }
|
|
|
+ }
|
|
|
|
|
|
+ .text {
|
|
|
+ font-size: 24upx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #FF7511;
|
|
|
+ line-height: 1;
|
|
|
+ white-space: nowrap;
|
|
|
+ margin-top: 16rpx;
|
|
|
+ }
|
|
|
|
|
|
|
|
|
- }
|
|
|
- }
|
|
|
|
|
|
- .button {
|
|
|
- margin-top: 40rpx;
|
|
|
- width: 598rpx;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ .button {
|
|
|
+ margin-top: 40rpx;
|
|
|
+ width: 598rpx;
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
+}
|
|
|
|
|
|
- .content {
|
|
|
+.content {
|
|
|
+ font-size: 30rpx;
|
|
|
+
|
|
|
+ margin-top: 20rpx;
|
|
|
+ padding: 0 20rpx;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ flex-direction: column;
|
|
|
+
|
|
|
+ .used-tools {
|
|
|
margin-top: 20rpx;
|
|
|
- padding: 0 20rpx;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- flex-direction: column;
|
|
|
-
|
|
|
- .used-tools {
|
|
|
- margin-top: 20rpx;
|
|
|
- box-sizing: border-box;
|
|
|
- background: #FFFFFF;
|
|
|
- border-radius: 16rpx;
|
|
|
- padding: 40rpx 30rpx;
|
|
|
- width: 100%;
|
|
|
+ box-sizing: border-box;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-radius: 16rpx;
|
|
|
+ padding: 40rpx 30rpx;
|
|
|
+ width: 100%;
|
|
|
|
|
|
- .title {
|
|
|
- font-size: 34rpx;
|
|
|
- font-family: PingFang SC;
|
|
|
- font-weight: bold;
|
|
|
- color: #222222;
|
|
|
- line-height: 1;
|
|
|
- }
|
|
|
+ .title {
|
|
|
+ font-size: 38rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #222222;
|
|
|
+ line-height: 1;
|
|
|
+ }
|
|
|
|
|
|
- .tools-list {
|
|
|
- margin-top: 50rpx;
|
|
|
- display: flex;
|
|
|
- flex-wrap: wrap;
|
|
|
- width: 100%;
|
|
|
+ .tools-list {
|
|
|
+ margin-top: 50rpx;
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ width: 100%;
|
|
|
|
|
|
- .item {
|
|
|
- box-sizing: border-box;
|
|
|
- width: 25%;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- margin-bottom: 50rpx;
|
|
|
- position: relative;
|
|
|
+ .item {
|
|
|
+ box-sizing: border-box;
|
|
|
+ width: 25%;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ margin-bottom: 50rpx;
|
|
|
+ position: relative;
|
|
|
|
|
|
- image {
|
|
|
- width: 44rpx;
|
|
|
- height: 44rpx;
|
|
|
- }
|
|
|
+ image {
|
|
|
+ width: 44rpx;
|
|
|
+ height: 44rpx;
|
|
|
+ }
|
|
|
|
|
|
- .text {
|
|
|
- font-size: 24rpx;
|
|
|
- font-family: PingFang SC;
|
|
|
- font-weight: 500;
|
|
|
- color: #111111;
|
|
|
- line-height: 1;
|
|
|
- margin-top: 20rpx;
|
|
|
- }
|
|
|
+ .text {
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #111111;
|
|
|
+ line-height: 1;
|
|
|
+ margin-top: 20rpx;
|
|
|
+ }
|
|
|
|
|
|
- .contact-btn {
|
|
|
- display: inline-block;
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- opacity: 0;
|
|
|
- }
|
|
|
+ .contact-btn {
|
|
|
+ display: inline-block;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ opacity: 0;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
|
|
|
- .sub-btn {
|
|
|
- position: absolute;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- opacity: 0;
|
|
|
- }
|
|
|
+}
|
|
|
|
|
|
- .like-product {
|
|
|
- padding: 0 20rpx;
|
|
|
+.sub-btn {
|
|
|
+ position: absolute;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ opacity: 0;
|
|
|
+}
|
|
|
|
|
|
- }
|
|
|
+.like-product {
|
|
|
+ padding: 0 20rpx;
|
|
|
|
|
|
- .banner {
|
|
|
- padding: 20rpx 20rpx 0rpx 20rpx;
|
|
|
- height: 200rpx;
|
|
|
- position: relative;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
+}
|
|
|
|
|
|
- image {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- }
|
|
|
+.banner {
|
|
|
+ padding: 20rpx 20rpx 0rpx 20rpx;
|
|
|
+ height: 200rpx;
|
|
|
+ position: relative;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
|
|
|
- .tel_btn {
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- top: 0rpx;
|
|
|
- position: absolute;
|
|
|
- opacity: 0.0;
|
|
|
- }
|
|
|
+ image {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
}
|
|
|
|
|
|
- .log-out {
|
|
|
- height: 80rpx;
|
|
|
- margin: 20rpx;
|
|
|
- line-height: 80rpx;
|
|
|
- text-align: center;
|
|
|
- font-size: 26rpx;
|
|
|
- font-family: PingFang SC;
|
|
|
- font-weight: 500;
|
|
|
- color: #666666;
|
|
|
- background: #FFFFFF;
|
|
|
- border-radius: 16rpx;
|
|
|
- margin-top: 20rpx;
|
|
|
+ .tel_btn {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ top: 0rpx;
|
|
|
+ position: absolute;
|
|
|
+ opacity: 0.0;
|
|
|
}
|
|
|
-</style>
|
|
|
+}
|
|
|
+
|
|
|
+.log-out {
|
|
|
+ height: 80rpx;
|
|
|
+ margin: 20rpx;
|
|
|
+ line-height: 80rpx;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 30rpx;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 500;
|
|
|
+ color: #666666;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-radius: 16rpx;
|
|
|
+ margin-top: 20rpx;
|
|
|
+}
|
|
|
+</style>
|