2024-02-19 10:44:33 +08:00
|
|
|
|
<template>
|
|
|
|
|
<view :style="viewColor">
|
|
|
|
|
<skeleton :show="showSkeleton" :isNodes="isNodes" ref="skeleton" loading="chiaroscuro" selector="skeleton"
|
|
|
|
|
bgcolor="transparent"></skeleton>
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<!-- 自定义顶部背景颜色 -->
|
2024-02-19 10:44:33 +08:00
|
|
|
|
<view class="top">
|
|
|
|
|
<!-- #ifdef MP || APP-PLUS -->
|
|
|
|
|
<view class="sys-head">
|
|
|
|
|
<view class="sys-bar" :style="{height:sysHeight}"></view>
|
|
|
|
|
<!-- #ifdef MP -->
|
|
|
|
|
<view class="sys-title">个人中心</view>
|
|
|
|
|
<!-- #endif -->
|
|
|
|
|
<view class="bg"></view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- #endif -->
|
|
|
|
|
</view>
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<!-- 自定义顶部背景颜色 -->
|
2024-02-19 10:44:33 +08:00
|
|
|
|
<view class="new-users skeleton" :style="{visibility: showSkeleton ? 'hidden' : 'visible'}">
|
|
|
|
|
<view class="head">
|
|
|
|
|
<view class="user-card" :class="svip_switch_status == 1 ? 'svip-card' : ''">
|
|
|
|
|
<view class="bg"></view>
|
|
|
|
|
<view class="user-info">
|
|
|
|
|
<view class="avatar-box" :class="{on:userInfo.is_svip > 0 && svip_switch_status == 1}">
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<image class="avatar skeleton-radius"
|
|
|
|
|
:src="userInfo.avatar ? userInfo.avatar : '/static/images/f.png'" @click="goEdit">
|
|
|
|
|
</image>
|
2024-02-19 10:44:33 +08:00
|
|
|
|
<view class="headwear" v-if="userInfo.is_svip > 0 && svip_switch_status == 1">
|
|
|
|
|
<image :src="`${domain}/static/images/headwear.png`"></image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info">
|
|
|
|
|
<!--#ifdef MP-->
|
|
|
|
|
<view class="name" v-if="!userInfo.uid" @click="openAuto">
|
|
|
|
|
请点击授权
|
|
|
|
|
</view>
|
|
|
|
|
<!--#endif-->
|
|
|
|
|
<!--#ifdef APP-PLUS-->
|
|
|
|
|
<view class="name" v-if="!userInfo.uid" @click="openAuto">
|
|
|
|
|
请点击登录
|
|
|
|
|
</view>
|
|
|
|
|
<!--#endif-->
|
|
|
|
|
<!--#ifdef H5-->
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<view class="name" v-if="!userInfo.uid" @click="openAuto">
|
2024-02-19 10:44:33 +08:00
|
|
|
|
<text v-if="isWeixin">请点击授权</text>
|
|
|
|
|
<text v-else>请点击登录</text>
|
|
|
|
|
</view>
|
|
|
|
|
<!--#endif-->
|
|
|
|
|
<view class="name" v-if="userInfo.uid">
|
2024-02-24 16:08:09 +08:00
|
|
|
|
{{userInfo.nickname}}
|
|
|
|
|
<image v-if="member_status" class="level_icon" :src="userInfo.member_icon" alt="">
|
|
|
|
|
<view class="vip" v-if="userInfo.is_svip > 0 && svip_switch_status == 1">
|
|
|
|
|
<image :src="`${domain}/static/images/svip.png`"></image>
|
|
|
|
|
</view>
|
2024-02-19 10:44:33 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="num" v-if="userInfo.phone" @click="goEdit()">
|
|
|
|
|
<!-- <view class="num-txt">ID:{{userInfo.uid}}</view> -->
|
|
|
|
|
<view class="num-txt">{{userInfo.phone}}</view>
|
|
|
|
|
<view class="icon">
|
|
|
|
|
<image src="/static/images/edit.png" mode=""></image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="phone" v-if="!userInfo.phone && isLogin" @tap="bindPhone">绑定手机号</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<!-- <view class="num-wrapper skeleton-rect">
|
2024-02-19 10:44:33 +08:00
|
|
|
|
<view class="num-item" @click="goMenuPage('/pages/users/user_goods_collection/index')">
|
|
|
|
|
<text class="num">{{userInfo.total_collect_product || 0}}</text>
|
|
|
|
|
<view class="txt">我的收藏</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="hide_mer_status != 1" class="num-item" @click="goMenuPage('/pages/users/user_goods_collection/index?tab=2')">
|
|
|
|
|
<text class="num">{{userInfo.total_collect_store || 0}}</text>
|
|
|
|
|
<view class="txt">关注店铺</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="num-item" @click="goMenuPage('/pages/users/browsingHistory/index')">
|
|
|
|
|
<text class="num">{{userInfo.total_visit_product || 0}}</text>
|
|
|
|
|
<view class="txt">浏览记录</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="num-item" @click="goMenuPage('/pages/users/user_coupon/index')">
|
|
|
|
|
<text class="num">{{userInfo.total_coupon || 0}}</text>
|
|
|
|
|
<view class="txt">优惠券</view>
|
|
|
|
|
</view>
|
2024-02-24 16:08:09 +08:00
|
|
|
|
</view> -->
|
|
|
|
|
|
|
|
|
|
<view class="packet_card">
|
2024-03-20 15:17:04 +08:00
|
|
|
|
<!-- <view class="p_d_item" @click="authTo('/pages/users/user_money/index')">
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<view class="p_d_count">
|
|
|
|
|
<image
|
|
|
|
|
src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/e41f4202401201745498894.png">
|
|
|
|
|
</image>
|
|
|
|
|
<view>¥{{userInfo.now_money||"0.00"}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view>我的余额 (元)</view>
|
2024-03-20 15:17:04 +08:00
|
|
|
|
</view> -->
|
|
|
|
|
<!-- <view class="p_d_item" @click="authTo('/pages/redpacket/redpack_type')">
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<view class="p_d_count">
|
|
|
|
|
<image
|
|
|
|
|
src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/d2868202401201750014779.png">
|
|
|
|
|
</image>
|
|
|
|
|
<view>¥{{userInfo.red_pack_balance||"0.00"}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view>补贴余额 (元)</view>
|
2024-03-20 15:17:04 +08:00
|
|
|
|
</view> -->
|
|
|
|
|
<view class="p_d_item" @click="authTo('/pages/users/user_money/index')">
|
|
|
|
|
<view class="p_d_count">
|
|
|
|
|
<image
|
|
|
|
|
src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/e41f4202401201745498894.png">
|
|
|
|
|
</image>
|
|
|
|
|
<view style="font-size: 30rpx;">我的余额 (元)</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="p_d_item" @click="authTo('/pages/users/user_money/index')">
|
|
|
|
|
<view class="p_d_count">
|
|
|
|
|
<view>¥{{userInfo.now_money||"0.00"}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-02-19 10:44:33 +08:00
|
|
|
|
</view>
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
<view @click="goSvip" class="cardVipA acea-row row-between-wrapper" v-if="svip_switch_status == 1">
|
|
|
|
|
<image class="svip_user" :src="`${domain}/static/images/svip_user.png`"></image>
|
|
|
|
|
<view class="left-box">
|
|
|
|
|
<view v-if="userInfo.is_svip > 0" class="small">累计为您节省{{userInfo.svip_save_money}}元</view>
|
|
|
|
|
<view v-else-if="userInfo.is_svip <= 0" class="small">开通享六大特权,省钱又省心
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="acea-row row-middle">
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<view class="btn-open">
|
|
|
|
|
{{userInfo.is_svip > 0 && userInfo.is_svip != 3 ? '立即续费' : userInfo.is_svip == 3 ? '终身会员' : '立即开通'}}
|
|
|
|
|
</view>
|
2024-02-19 10:44:33 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="right-btn">
|
|
|
|
|
<view class="iconfont icon-shezhi" v-if="isLogin" @click="goSetting()"></view>
|
|
|
|
|
<view class="btn" @click="authTo('/pages/chat/customer_list/index?type=0')" hover-class="none">
|
|
|
|
|
<view class="iconfont icon-xiaoxi"></view>
|
|
|
|
|
<text class="iconnum" v-if="userInfo.total_unread">{{userInfo.total_unread}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="wrapper">
|
|
|
|
|
<view class="order-wrapper">
|
|
|
|
|
<view class="order-hd flex skeleton-rect">
|
|
|
|
|
<view class="left">我的订单</view>
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<view class="right flex" @click="authTo('/pages/users/order_list/index?status=-1')"
|
|
|
|
|
hover-class="none" open-type="navigate">
|
2024-02-19 10:44:33 +08:00
|
|
|
|
全部订单
|
|
|
|
|
<text class="iconfont icon-xiangyou"></text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="order-bd">
|
|
|
|
|
<block v-for="(item,index) in orderMenu" :key="index">
|
|
|
|
|
<view class="order-item" @click="authTo(item.url)" hover-class="none">
|
|
|
|
|
<view class="pic">
|
|
|
|
|
<text class="iconfont" :class="item.icon"></text>
|
|
|
|
|
<text class="order-status-num" v-if="item.num > 0">{{ item.num }}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="txt skeleton-rect">{{item.title}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
</block>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 轮播 -->
|
|
|
|
|
<view class="slider-wrapper skeleton-rect" v-if="imgUrls.length>0">
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<swiper indicator-dots="true" :autoplay="autoplay" :circular="circular" :interval="interval"
|
|
|
|
|
:duration="duration" indicator-color="rgba(255,255,255,0.6)" indicator-active-color="#fff">
|
2024-02-19 10:44:33 +08:00
|
|
|
|
<block v-for="(item,index) in imgUrls" :key="index">
|
|
|
|
|
<swiper-item>
|
|
|
|
|
<view @click="goUrl(item.url)" class='slide-navigator acea-row row-between-wrapper'>
|
|
|
|
|
<image :src="item.pic" class="slide-image"></image>
|
|
|
|
|
</view>
|
|
|
|
|
</swiper-item>
|
|
|
|
|
</block>
|
|
|
|
|
</swiper>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 会员菜单 -->
|
|
|
|
|
<view class="user-menus" style="margin-top: 20rpx;">
|
|
|
|
|
<view class="title skeleton-rect">我的服务</view>
|
|
|
|
|
<view class="menu-box">
|
|
|
|
|
<block v-for="(item,index) in personalMenu" :key="index">
|
|
|
|
|
<view v-if="item.isShow" class="item">
|
|
|
|
|
<view @click="authTo(item.url)" class="item-count">
|
|
|
|
|
<image v-if="showSkeleton" class="skeleton_image skeleton-radius"></image>
|
|
|
|
|
<image v-else :src="item.pic"></image>
|
|
|
|
|
<text>{{item.name}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</block>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-03-01 15:55:42 +08:00
|
|
|
|
<!-- <view class="menus-list-item" v-if="!userInfo.topService && userInfo.service" @click="toService(0)">
|
2024-02-19 10:44:33 +08:00
|
|
|
|
<view class="item-text">
|
|
|
|
|
<view class="title">
|
|
|
|
|
<text class="merchant">商家</text>管理
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info">进入商户中心管理店铺</view>
|
|
|
|
|
</view>
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<view class="image merchant-image"
|
|
|
|
|
:style="{'background-image':`url(${domain}/static/images/merchant-image.png)`}"></view>
|
2024-02-19 10:44:33 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="menus-list-item" v-if="!userInfo.service && userInfo.topService" @click="toService(1)">
|
|
|
|
|
<view class="item-text">
|
|
|
|
|
<view class="title">
|
|
|
|
|
<text class="plantform">平台</text>管理
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info">进入平台客服中心</view>
|
|
|
|
|
</view>
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<view class="image plantform-image"
|
|
|
|
|
:style="{'background-image':`url(${domain}/static/images/plantform-image.png)`}"></view>
|
2024-02-19 10:44:33 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="menu-list-count" v-if="userInfo.topService && userInfo.service">
|
|
|
|
|
<view class="menu-item" @click="toService(0)">
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<view class="image merchant-image"
|
|
|
|
|
:style="{'background-image':`url(${domain}/static/images/merchant-image.png)`}"></view>
|
2024-02-19 10:44:33 +08:00
|
|
|
|
<view class="menu-text">
|
|
|
|
|
<view class="title">
|
|
|
|
|
<text class="merchant">商家</text>管理
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info">进入商家管理中心</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="menu-item" @click="toService(1)">
|
|
|
|
|
<view class="menu-text">
|
|
|
|
|
<view class="title">
|
|
|
|
|
<text class="plantform">平台</text>管理
|
|
|
|
|
</view>
|
|
|
|
|
<view class="info">进入平台客服中心</view>
|
|
|
|
|
</view>
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<view class="image plantform-image"
|
|
|
|
|
:style="{'background-image':`url(${domain}/static/images/plantform-image.png)`}"></view>
|
2024-02-19 10:44:33 +08:00
|
|
|
|
</view>
|
2024-03-01 15:55:42 +08:00
|
|
|
|
</view> -->
|
2024-02-19 10:44:33 +08:00
|
|
|
|
</view>
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
<view v-if="copyright.status !== -1" class="copy-right">
|
|
|
|
|
<image class="img-copyright" :src="copyright.image" mode="widthFix"></image>
|
|
|
|
|
<view class="text">{{copyright.Copyright}}</view>
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<view class="">备案号:蜀ICP备2022030133号-2A</view>
|
|
|
|
|
<view class="">增值电信营业许可证号:川B2-20221250</view>
|
2024-03-29 15:17:12 +08:00
|
|
|
|
<view class="">联系我们:08302669767</view>
|
2024-03-19 13:45:56 +08:00
|
|
|
|
<view style="padding-top: 50rpx;">{{appVersion}}</view>
|
2024-02-19 10:44:33 +08:00
|
|
|
|
</view>
|
2024-03-01 15:55:42 +08:00
|
|
|
|
<!-- <view v-else class="copy-right">
|
2024-02-19 10:44:33 +08:00
|
|
|
|
<view class="iconfont icon-crmeb"></view>
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<view class="text">众邦科技提供技术支持</view>
|
2024-03-01 15:55:42 +08:00
|
|
|
|
</view> -->
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
<!-- <view v-if="copyright.status !== -1" class="copy-right">
|
|
|
|
|
<image class="img-copyright" :src="copyright.image" mode="widthFix"></image>
|
|
|
|
|
<view class="text">{{copyright.Copyright}}</view>
|
2024-02-19 10:44:33 +08:00
|
|
|
|
</view>
|
2024-02-24 16:08:09 +08:00
|
|
|
|
<view v-else class="copy-right">
|
|
|
|
|
<view class="iconfont icon-crmeb"></view>
|
|
|
|
|
<view class="text">©️众邦科技版权所有</view>
|
|
|
|
|
</view> -->
|
2024-02-19 10:44:33 +08:00
|
|
|
|
<view style="height: 50rpx;"></view>
|
|
|
|
|
<!-- #ifndef H5 -->
|
|
|
|
|
<passwordPopup></passwordPopup>
|
|
|
|
|
<!-- #endif -->
|
|
|
|
|
</view>
|
|
|
|
|
<!--自定义底部tab栏-->
|
|
|
|
|
<customTab :newData="newData" :activeRouter="activeRouter"></customTab>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
// | Author: CRMEB Team <admin@crmeb.com>
|
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
let sysHeight = uni.getSystemInfoSync().statusBarHeight + 'px';
|
2024-02-24 16:08:09 +08:00
|
|
|
|
import {
|
|
|
|
|
getMenuList,
|
|
|
|
|
getUserInfo,
|
|
|
|
|
setVisit
|
|
|
|
|
} from '@/api/user.js';
|
|
|
|
|
import {
|
|
|
|
|
getVersion,
|
|
|
|
|
getNavigation
|
|
|
|
|
} from "@/api/public";
|
|
|
|
|
import {
|
|
|
|
|
orderData
|
|
|
|
|
} from '@/api/order.js'
|
|
|
|
|
import {
|
|
|
|
|
mapGetters
|
|
|
|
|
} from "vuex";
|
2024-02-19 10:44:33 +08:00
|
|
|
|
import dayjs from '@/plugin/dayjs/dayjs.min.js';
|
|
|
|
|
import Cache from '@/utils/cache';
|
|
|
|
|
// #ifndef H5
|
|
|
|
|
import passwordPopup from '@/components/passwordPopup';
|
|
|
|
|
// #endif
|
|
|
|
|
import customTab from '@/components/customTab';
|
2024-02-24 16:08:09 +08:00
|
|
|
|
import {
|
|
|
|
|
configMap
|
|
|
|
|
} from '@/utils';
|
2024-02-19 10:44:33 +08:00
|
|
|
|
import Auth from '../../libs/wechat';
|
2024-02-24 16:08:09 +08:00
|
|
|
|
import {
|
2024-03-19 13:45:56 +08:00
|
|
|
|
HTTP_REQUEST_URL,
|
|
|
|
|
ENV
|
2024-02-24 16:08:09 +08:00
|
|
|
|
} from '@/config/app';
|
|
|
|
|
import {
|
|
|
|
|
toLogin
|
|
|
|
|
} from '@/libs/login.js';
|
2024-03-20 15:17:04 +08:00
|
|
|
|
import {showTab} from "@/utils/showTab.js";
|
2024-02-19 10:44:33 +08:00
|
|
|
|
const app = getApp();
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
|
|
|
|
// #ifndef H5
|
|
|
|
|
passwordPopup,
|
|
|
|
|
// #endif
|
|
|
|
|
customTab
|
|
|
|
|
},
|
|
|
|
|
computed: configMap({
|
|
|
|
|
mer_intention_open: 0,
|
|
|
|
|
hide_mer_status: 0,
|
|
|
|
|
recharge_switch: 0,
|
|
|
|
|
integral_status: 0,
|
|
|
|
|
member_status: 0,
|
|
|
|
|
balance_func_status: 0,
|
|
|
|
|
svip_switch_status: 0,
|
|
|
|
|
navigation: {}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
}, mapGetters(['isLogin', 'viewColor', 'keyColor'])),
|
2024-02-19 10:44:33 +08:00
|
|
|
|
filters: {
|
|
|
|
|
dateFormat: function(value) {
|
|
|
|
|
return dayjs(value * 1000).format('YYYY-MM-DD');
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
//#ifdef H5
|
|
|
|
|
isWeixin: this.$wechat.isWeixin(),
|
|
|
|
|
//#endif
|
|
|
|
|
domain: HTTP_REQUEST_URL,
|
|
|
|
|
showSkeleton: true, //骨架屏显示隐藏
|
|
|
|
|
isNodes: 0, //控制什么时候开始抓取元素节点,只要数值改变就重新抓取
|
|
|
|
|
orderMenu: [{
|
2024-02-24 16:08:09 +08:00
|
|
|
|
icon: 'icon-daifukuan1',
|
|
|
|
|
title: '待付款',
|
|
|
|
|
url: '/pages/users/order_list/index?status=0',
|
|
|
|
|
num: 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: 'icon-daifahuo1',
|
|
|
|
|
title: '待发货',
|
|
|
|
|
url: '/pages/users/order_list/index?status=1',
|
|
|
|
|
num: 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: 'icon-daishouhuo1',
|
|
|
|
|
title: '待收货',
|
|
|
|
|
url: '/pages/users/order_list/index?status=2',
|
|
|
|
|
num: 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: 'icon-daipingjia1',
|
|
|
|
|
title: '待评价',
|
|
|
|
|
url: '/pages/users/order_list/index?status=3',
|
|
|
|
|
num: 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
icon: 'icon-a-shouhoutuikuan1',
|
|
|
|
|
title: '售后/退款',
|
|
|
|
|
url: '/pages/users/refund/list',
|
|
|
|
|
num: 0
|
|
|
|
|
},
|
2024-02-19 10:44:33 +08:00
|
|
|
|
],
|
2024-02-24 16:08:09 +08:00
|
|
|
|
imgUrls: [{
|
|
|
|
|
url: '',
|
|
|
|
|
pic: ''
|
|
|
|
|
}],
|
2024-02-19 10:44:33 +08:00
|
|
|
|
userMenu: [],
|
|
|
|
|
skeletonMenu: [],
|
2024-02-24 16:08:09 +08:00
|
|
|
|
personalMenu: [{
|
|
|
|
|
pic: '',
|
|
|
|
|
name: '',
|
|
|
|
|
isShow: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
pic: '',
|
|
|
|
|
name: '',
|
|
|
|
|
isShow: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
pic: '',
|
|
|
|
|
name: '',
|
|
|
|
|
isShow: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
pic: '',
|
|
|
|
|
name: '',
|
|
|
|
|
isShow: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
pic: '',
|
|
|
|
|
name: '',
|
|
|
|
|
isShow: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
pic: '',
|
|
|
|
|
name: '',
|
|
|
|
|
isShow: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
pic: '',
|
|
|
|
|
name: '',
|
|
|
|
|
isShow: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
pic: '',
|
|
|
|
|
name: '',
|
|
|
|
|
isShow: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
pic: '',
|
|
|
|
|
name: '',
|
|
|
|
|
isShow: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
pic: '',
|
|
|
|
|
name: '',
|
|
|
|
|
isShow: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
pic: '',
|
|
|
|
|
name: '',
|
|
|
|
|
isShow: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
pic: '',
|
|
|
|
|
name: '',
|
|
|
|
|
isShow: true
|
|
|
|
|
}
|
2024-02-19 10:44:33 +08:00
|
|
|
|
],
|
|
|
|
|
autoplay: true,
|
|
|
|
|
circular: true,
|
|
|
|
|
interval: 3000,
|
|
|
|
|
duration: 500,
|
|
|
|
|
orderStatusNum: {},
|
2024-02-24 16:08:09 +08:00
|
|
|
|
userInfo: {
|
|
|
|
|
aratar: '/static/f.png',
|
|
|
|
|
is_svip: 0
|
|
|
|
|
},
|
2024-02-19 10:44:33 +08:00
|
|
|
|
MyMenus: [],
|
|
|
|
|
is_promoter: 0, //推广人开关 1开
|
|
|
|
|
extension_status: 0,
|
|
|
|
|
copyright: {
|
|
|
|
|
copyright_status: 1
|
|
|
|
|
},
|
|
|
|
|
newData: {},
|
|
|
|
|
activeRouter: '',
|
|
|
|
|
sysHeight: sysHeight,
|
2024-03-19 13:45:56 +08:00
|
|
|
|
appVersion: ''
|
2024-02-19 10:44:33 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onLoad() {
|
2024-03-19 13:45:56 +08:00
|
|
|
|
// #ifdef APP-PLUS
|
|
|
|
|
this.appVersion = 'V ' + uni.getSystemInfoSync().appWgtVersion;
|
|
|
|
|
// #endif
|
|
|
|
|
// #ifdef H5
|
|
|
|
|
this.appVersion = 'V ' + uni.getSystemInfoSync().appVersion;
|
|
|
|
|
// #endif
|
|
|
|
|
if (ENV != 'prod') this.appVersion += " Beta"
|
2024-02-19 10:44:33 +08:00
|
|
|
|
},
|
|
|
|
|
onReady() {
|
|
|
|
|
this.isNodes++;
|
|
|
|
|
},
|
|
|
|
|
mounted: function() {
|
|
|
|
|
this.getVersion()
|
|
|
|
|
},
|
|
|
|
|
onShow: function() {
|
|
|
|
|
let that = this;
|
|
|
|
|
let routes = getCurrentPages();
|
|
|
|
|
let curRoute = routes[routes.length - 1].route
|
|
|
|
|
this.activeRouter = '/' + curRoute
|
|
|
|
|
this.getNav();
|
|
|
|
|
if (that.isLogin) {
|
|
|
|
|
this.getUserInfo();
|
|
|
|
|
this.orderNum();
|
|
|
|
|
} else {
|
|
|
|
|
// this.userInfo = {
|
|
|
|
|
// is_svip: 0
|
|
|
|
|
// }
|
2024-02-24 16:08:09 +08:00
|
|
|
|
this.orderMenu.forEach(v => {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
v.num = 0
|
|
|
|
|
})
|
|
|
|
|
this.getMyMenus();
|
|
|
|
|
}
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.showSkeleton = false
|
|
|
|
|
}, 500)
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
2024-02-24 16:08:09 +08:00
|
|
|
|
authTo(url) {
|
|
|
|
|
if (this.isLogin) {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: url
|
|
|
|
|
})
|
2024-02-24 16:08:09 +08:00
|
|
|
|
} else {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
this.openAuto()
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
tempClick() {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: "/pages/helpPeople/helpPeople"
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
goSvip() {
|
|
|
|
|
if (this.isLogin) {
|
|
|
|
|
if (this.userInfo.is_svip > 0) {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/annex/vip_center/index'
|
|
|
|
|
})
|
2024-02-24 16:08:09 +08:00
|
|
|
|
} else {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/annex/vip_paid/index'
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
} else {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
this.openAuto()
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
},
|
|
|
|
|
goRouter(item) {
|
|
|
|
|
var pages = getCurrentPages();
|
|
|
|
|
var page = (pages[pages.length - 1]).$page.fullPath;
|
|
|
|
|
if (item.link == page) return
|
|
|
|
|
uni.switchTab({
|
|
|
|
|
url: item.link,
|
|
|
|
|
fail(err) {
|
|
|
|
|
uni.redirectTo({
|
|
|
|
|
url: item.link
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
getNav() {
|
|
|
|
|
getNavigation().then(res => {
|
|
|
|
|
this.newData = res.data
|
|
|
|
|
if (this.newData.status && this.newData.status.status) {
|
|
|
|
|
uni.hideTabBar()
|
|
|
|
|
} else {
|
|
|
|
|
uni.showTabBar()
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
2024-02-24 16:08:09 +08:00
|
|
|
|
toService(is_sys) {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/admin/business/index?is_sys=' + is_sys
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
getVersion() {
|
|
|
|
|
getVersion().then(data => {
|
|
|
|
|
this.copyright = data.data;
|
|
|
|
|
});
|
2024-02-24 16:08:09 +08:00
|
|
|
|
},
|
2024-02-19 10:44:33 +08:00
|
|
|
|
// 菜单显示
|
2024-02-24 16:08:09 +08:00
|
|
|
|
filterMenus: function(item) {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
let that = this;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
if (item.url == '/pages/users/user_money/index') item.isShow = that.balance_func_status == 1
|
|
|
|
|
else if (item.url == '/pages/users/user_spread_user/index') {
|
|
|
|
|
if (that.extension_status == 0) {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
item.isShow = false
|
2024-02-24 16:08:09 +08:00
|
|
|
|
} else if (that.extension_status == 1) {
|
|
|
|
|
if (that.is_promoter == 1) {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
item.isShow = that.is_promoter == 1 && that.extension_status == 1
|
2024-02-24 16:08:09 +08:00
|
|
|
|
} else if (that.is_promoter == 0) {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
item.isShow = that.is_promoter == 0 && that.extension_status == 1
|
2024-02-24 16:08:09 +08:00
|
|
|
|
item.url = "/pages/users/distributor/index"
|
2024-02-19 10:44:33 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
} else if (item.url == '/pages/store/settled/index') item.isShow = that.mer_intention_open == 1
|
|
|
|
|
else if (item.url == '/pages/users/user_grade/index') item.isShow = that.member_status == 1
|
|
|
|
|
else if (item.url == '/pages/users/user_integral/index') item.isShow = that.integral_status == 1
|
2024-02-19 10:44:33 +08:00
|
|
|
|
else item.isShow = true
|
|
|
|
|
},
|
2024-02-24 16:08:09 +08:00
|
|
|
|
showMenu(menu) {
|
|
|
|
|
return !menu || ['integral', 'service', 'admin_order', 'verify_order', 'intention', 'promoter', 'balance']
|
|
|
|
|
.indexOf(menu) === -1;
|
2024-02-19 10:44:33 +08:00
|
|
|
|
},
|
2024-02-24 16:08:09 +08:00
|
|
|
|
goUrl(url) {
|
|
|
|
|
if (url.indexOf("http") != -1) {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
// #ifdef H5
|
|
|
|
|
location.href = url
|
|
|
|
|
// #endif
|
2024-02-24 16:08:09 +08:00
|
|
|
|
} else {
|
|
|
|
|
if (['/pages/goods_cate/goods_cate', '/pages/order_addcart/order_addcart', '/pages/user/index',
|
|
|
|
|
'/pages/plant_grass/index'
|
|
|
|
|
].indexOf(url) == -1) {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
uni.navigateTo({
|
2024-02-24 16:08:09 +08:00
|
|
|
|
url: url
|
2024-02-19 10:44:33 +08:00
|
|
|
|
})
|
2024-02-24 16:08:09 +08:00
|
|
|
|
} else {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
uni.switchTab({
|
2024-02-24 16:08:09 +08:00
|
|
|
|
url: url
|
2024-02-19 10:44:33 +08:00
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 去聊天列表
|
|
|
|
|
goChat() {
|
|
|
|
|
let type = this.userInfo.service ? 1 : 0
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: `/pages/chat/customer_list/index?type=${type}`
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 记录会员访问
|
|
|
|
|
setVisit() {
|
|
|
|
|
setVisit({
|
|
|
|
|
url: '/pages/user/index'
|
|
|
|
|
}).then(res => {})
|
|
|
|
|
},
|
|
|
|
|
// 打开授权
|
|
|
|
|
openAuto() {
|
|
|
|
|
toLogin()
|
|
|
|
|
},
|
|
|
|
|
Setting: function() {
|
|
|
|
|
uni.openSetting({
|
|
|
|
|
success: function(res) {}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 绑定手机
|
|
|
|
|
bindPhone() {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/users/user_phone/index'
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
* 获取个人用户信息
|
|
|
|
|
*/
|
|
|
|
|
getUserInfo: function() {
|
|
|
|
|
let that = this;
|
|
|
|
|
getUserInfo().then(res => {
|
2024-03-20 15:17:04 +08:00
|
|
|
|
showTab(res.data);
|
2024-02-19 10:44:33 +08:00
|
|
|
|
that.userInfo = res.data;
|
|
|
|
|
that.is_promoter = res.data.is_promoter;
|
|
|
|
|
that.extension_status = res.data.extension_status;
|
|
|
|
|
that.getMyMenus();
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 订单数字
|
|
|
|
|
orderNum() {
|
|
|
|
|
orderData().then(({
|
|
|
|
|
data
|
|
|
|
|
}) => {
|
|
|
|
|
this.orderMenu.forEach((item, index) => {
|
|
|
|
|
switch (item.title) {
|
|
|
|
|
case '待付款':
|
|
|
|
|
item.num = data.noPay
|
|
|
|
|
break
|
|
|
|
|
case '待发货':
|
|
|
|
|
item.num = data.noPostage
|
|
|
|
|
break
|
|
|
|
|
case '待收货':
|
|
|
|
|
item.num = data.noDeliver
|
|
|
|
|
break
|
|
|
|
|
case '待评价':
|
|
|
|
|
item.num = data.noComment
|
|
|
|
|
break
|
|
|
|
|
case '售后/退款':
|
|
|
|
|
item.num = data.refund
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* 获取个人中心图标
|
|
|
|
|
*/
|
|
|
|
|
getMyMenus: function() {
|
|
|
|
|
let that = this;
|
|
|
|
|
if (this.MyMenus.length) return;
|
|
|
|
|
getMenuList().then(res => {
|
|
|
|
|
that.personalMenu = []
|
2024-02-24 16:08:09 +08:00
|
|
|
|
res.data.menu.forEach((item, index) => {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
that.filterMenus(item)
|
|
|
|
|
that.personalMenu.push(item)
|
|
|
|
|
})
|
|
|
|
|
that.imgUrls = res.data.banner
|
|
|
|
|
uni.stopPullDownRefresh(); //结束下拉刷新
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 编辑页面
|
|
|
|
|
goEdit() {
|
2024-02-24 16:08:09 +08:00
|
|
|
|
if (this.isLogin) {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/users/user_info/index'
|
|
|
|
|
})
|
2024-02-24 16:08:09 +08:00
|
|
|
|
} else {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
this.openAuto()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
goSetting() {
|
2024-02-24 16:08:09 +08:00
|
|
|
|
if (this.isLogin) {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/users/user_setting/index'
|
|
|
|
|
})
|
2024-02-24 16:08:09 +08:00
|
|
|
|
} else {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
this.openAuto()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// 签到
|
|
|
|
|
goSignIn() {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/users/user_sgin/index'
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
goMenuPage(url) {
|
|
|
|
|
if (this.isLogin) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
this.openAuto()
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-02-24 16:08:09 +08:00
|
|
|
|
onPullDownRefresh: function() {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
this.getNav();
|
|
|
|
|
if (this.isLogin) {
|
|
|
|
|
this.getUserInfo();
|
|
|
|
|
this.orderNum();
|
|
|
|
|
} else {
|
|
|
|
|
this.userInfo = {}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
this.orderMenu.forEach(v => {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
v.num = 0
|
|
|
|
|
})
|
|
|
|
|
this.getMyMenus();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.cardVipA {
|
|
|
|
|
position: absolute;
|
|
|
|
|
background: linear-gradient(145deg, #F8E3A8 0%, #E8C077 100%);
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
width: 710rpx;
|
|
|
|
|
height: 84rpx;
|
|
|
|
|
bottom: -2rpx;
|
|
|
|
|
left: 20rpx;
|
|
|
|
|
padding: 0 30rpx 0 105rpx;
|
|
|
|
|
border-radius: 16rpx 16rpx 0 0;
|
|
|
|
|
box-sizing: border-box;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.svip_user {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
width: 52rpx;
|
|
|
|
|
height: 52rpx;
|
|
|
|
|
border-radius: 100%;
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 30rpx;
|
|
|
|
|
top: 17rpx;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.left-box {
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #905100;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.btn {
|
|
|
|
|
color: #905100;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.btn-open {
|
|
|
|
|
background: #282828;
|
|
|
|
|
border-radius: 40rpx;
|
|
|
|
|
color: #F7E1A6;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
width: 140rpx;
|
|
|
|
|
height: 50rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.new-users {
|
|
|
|
|
.head {
|
|
|
|
|
background: #fff;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.user-card {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
padding: 35rpx 0 0rpx;
|
2024-03-11 18:01:38 +08:00
|
|
|
|
background-image: linear-gradient(to left, #72BE53 0%, #46B03A 100%);
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
&.svip-card {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
padding: 35rpx 0 120rpx;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.bg {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.user-info {
|
|
|
|
|
z-index: 20;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
padding: 0 28rpx;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.level_icon {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
width: 34rpx;
|
|
|
|
|
height: 32rpx;
|
|
|
|
|
margin: 4rpx 0 0 6rpx;
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.avatar-box {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
width: 120rpx;
|
|
|
|
|
height: 120rpx;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
position: relative;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.avatar,
|
|
|
|
|
image {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
width: 120rpx;
|
|
|
|
|
height: 120rpx;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
&.on {
|
|
|
|
|
.avatar {
|
|
|
|
|
border: 2px solid #FFAC65;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.headwear {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: -4rpx;
|
|
|
|
|
top: -14rpx;
|
|
|
|
|
width: 44rpx;
|
|
|
|
|
height: 44rpx;
|
|
|
|
|
z-index: -1;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.info {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin-left: 20rpx;
|
|
|
|
|
padding: 15rpx 0;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.name {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: 31rpx;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.vip {
|
|
|
|
|
width: 82rpx;
|
|
|
|
|
height: 36rpx;
|
|
|
|
|
margin-left: 12rpx;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
image {
|
|
|
|
|
width: 82rpx;
|
|
|
|
|
height: 36rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.num {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: rgba(255, 255, 255, 0.6);
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
image {
|
|
|
|
|
width: 22rpx;
|
|
|
|
|
height: 23rpx;
|
|
|
|
|
margin-left: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.num-wrapper {
|
|
|
|
|
z-index: 30;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin: 30rpx 20rpx 0;
|
|
|
|
|
color: #fff;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.num-item {
|
|
|
|
|
width: 25%;
|
|
|
|
|
text-align: center;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.num {
|
|
|
|
|
font-size: 42rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.txt {
|
|
|
|
|
margin-top: 8rpx;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
color: rgba(255, 255, 255, 0.6);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.sign {
|
|
|
|
|
z-index: 200;
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: -12rpx;
|
|
|
|
|
top: 80rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 120rpx;
|
|
|
|
|
height: 60rpx;
|
|
|
|
|
background: linear-gradient(90deg, rgba(255, 225, 87, 1) 0%, rgba(238, 193, 15, 1) 100%);
|
|
|
|
|
border-radius: 29rpx 4rpx 4rpx 29rpx;
|
|
|
|
|
color: #282828;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.packet_card {
|
|
|
|
|
height: 140rpx;
|
|
|
|
|
width: 710rpx;
|
|
|
|
|
background-color: rgba(#fff, 0.3);
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
border-radius: 20rpx 20rpx 0 0;
|
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
position: relative;
|
|
|
|
|
color: #fff;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
|
|
.p_d_item {
|
|
|
|
|
position: absolute;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
width: 300rpx;
|
|
|
|
|
height: 100rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
|
|
top: 20rpx;
|
|
|
|
|
left: 30rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:nth-child(2) {
|
|
|
|
|
top: 20rpx;
|
|
|
|
|
right: 30rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.p_d_count {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-size: 38rpx;
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
width: 53rpx;
|
|
|
|
|
height: 53rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-19 10:44:33 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.wrapper {
|
|
|
|
|
position: relative;
|
|
|
|
|
padding: 0 20rpx;
|
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.order-wrapper {
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
border-radius: 16rpx;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.order-hd {
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
border-bottom: 1px dashed #DDDDDD;
|
|
|
|
|
padding: 0 30rpx;
|
|
|
|
|
color: #282828;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.left {
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.right {
|
|
|
|
|
align-items: center;
|
|
|
|
|
color: #666666;
|
|
|
|
|
font-size: 26rpx;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.icon-xiangyou {
|
|
|
|
|
margin-left: 5rpx;
|
|
|
|
|
margin-top: 6rpx;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.order-bd {
|
|
|
|
|
display: flex;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.order-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
width: 20%;
|
|
|
|
|
height: 160rpx;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.pic {
|
|
|
|
|
position: relative;
|
|
|
|
|
text-align: center;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.iconfont {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
font-size: 62rpx;
|
2024-03-11 18:01:38 +08:00
|
|
|
|
color: #40AE36;
|
2024-02-19 10:44:33 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.txt {
|
|
|
|
|
margin-top: 8rpx;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #454545;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.slider-wrapper {
|
|
|
|
|
margin: 20rpx 0;
|
|
|
|
|
height: 130rpx;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
swiper,
|
|
|
|
|
swiper-item {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
image {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 130rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.user-menus {
|
|
|
|
|
padding-bottom: 30rpx;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
border-radius: 16rpx;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.title {
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
line-height: 80rpx;
|
|
|
|
|
padding: 0 30rpx;
|
|
|
|
|
border-bottom: 1px dashed #DDDDDD;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.item {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
width: 25%;
|
|
|
|
|
line-height: 28rpx;
|
|
|
|
|
height: 90rpx;
|
|
|
|
|
margin-top: 40rpx;
|
|
|
|
|
text-align: center;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.item-count {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
image {
|
|
|
|
|
width: 52rpx;
|
|
|
|
|
height: 52rpx;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.skeleton_image {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
width: 80rpx;
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
text {
|
|
|
|
|
margin-top: 10rpx;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #282828;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
width: 78%;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
&:last-child::before {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
button {
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.phone {
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.order-status-num {
|
|
|
|
|
background-color: #fff;
|
2024-03-11 18:01:38 +08:00
|
|
|
|
color: #40AE36;
|
2024-02-19 10:44:33 +08:00
|
|
|
|
border-radius: 200rpx;
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: -12rpx;
|
|
|
|
|
top: -12rpx;
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
min-width: 30rpx;
|
|
|
|
|
height: 30rpx;
|
|
|
|
|
padding: 0 8rpx;
|
|
|
|
|
box-sizing: border-box;
|
2024-03-11 18:01:38 +08:00
|
|
|
|
border: 1px solid #40AE36;
|
2024-02-19 10:44:33 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.sys-head {
|
2024-02-24 16:08:09 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
|
|
.bg {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2024-03-11 18:01:38 +08:00
|
|
|
|
background-image: linear-gradient(to left, #72BE53 0%, #46B03A 100%);
|
2024-02-24 16:08:09 +08:00
|
|
|
|
background-size: 100% auto;
|
|
|
|
|
background-position: left bottom;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sys-title {
|
|
|
|
|
z-index: 10;
|
|
|
|
|
position: relative;
|
|
|
|
|
height: 43px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
line-height: 43px;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
}
|
2024-02-19 10:44:33 +08:00
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.menus-list-item {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
background: #fff;
|
|
|
|
|
border-radius: 12rpx;
|
|
|
|
|
padding: 30rpx 50rpx 30rpx 40rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin-top: 20rpx;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.title {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
font-size: 34rpx;
|
|
|
|
|
color: #282828;
|
|
|
|
|
font-weight: bold;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.merchant {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
color: #E93323;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.plantform {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
color: #FFC552;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.info {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
margin-top: 15rpx;
|
|
|
|
|
color: #666666;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.image {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
width: 180rpx;
|
|
|
|
|
height: 108rpx;
|
|
|
|
|
background-size: 100%;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.copy-right {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
color: #CCCCCC;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
margin-top: 40rpx;
|
|
|
|
|
margin-bottom: 98rpx;
|
|
|
|
|
margin-bottom: calc(98rpx+ constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
|
|
|
|
|
margin-bottom: calc(98rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.iconfont {
|
|
|
|
|
font-size: 60rpx;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.img-copyright {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
width: 120rpx;
|
|
|
|
|
height: 60rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.menu-box {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.right-btn {
|
|
|
|
|
z-index: 99;
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 30rpx;
|
|
|
|
|
top: 40rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
color: #fff;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.iconfont {
|
|
|
|
|
font-size: 40rpx;
|
|
|
|
|
margin-left: 33rpx;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.btn {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.iconnum {
|
|
|
|
|
min-width: 6px;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
color: var(--view-theme);
|
|
|
|
|
border-radius: 15rpx;
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: -10rpx;
|
|
|
|
|
top: -10rpx;
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
padding: 0 4px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.menu-list-count {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
background-color: #fff;
|
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
border-radius: 12rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.menu-item {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
width: 50%;
|
|
|
|
|
padding: 25rpx 15rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
position: relative;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
|
&::after {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
content: "";
|
|
|
|
|
display: block;
|
|
|
|
|
border-right: 1rpx solid #E2E2E2;
|
|
|
|
|
height: 56%;
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.image {
|
|
|
|
|
width: 106rpx;
|
|
|
|
|
height: 64rpx;
|
|
|
|
|
background-size: 100%;
|
|
|
|
|
background-repeat: no-repeat;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
&.merchant-image {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
margin-right: 15rpx;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
&.plantform-image {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
margin-left: 15rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.menu-text {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
margin-left: 10rpx;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.title {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
color: #333333;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: 26rpx;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.merchant {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
color: #E93323;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.plantform {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
color: #FFC552;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
.info {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
color: #999999;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
margin-top: 5rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.page-footer {
|
|
|
|
|
position: fixed;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
z-index: 30;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: calc(98rpx+ constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
|
|
|
|
|
height: calc(98rpx + env(safe-area-inset-bottom)); ///兼容 IOS>11.2/
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
border-top: solid 1rpx #F3F3F3;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
box-shadow: 0px 0px 17rpx 1rpx rgba(206, 206, 206, 0.32);
|
|
|
|
|
padding-bottom: constant(safe-area-inset-bottom); ///兼容 IOS<11.2/
|
|
|
|
|
padding-bottom: env(safe-area-inset-bottom); ///兼容 IOS>11.2/
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
|
|
|
|
&.filter {
|
2024-02-19 10:44:33 +08:00
|
|
|
|
filter: blur(2rpx);
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.foot-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
width: max-content;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
position: relative;
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.count-num {
|
|
|
|
|
position: absolute;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
width: 40rpx;
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
top: 0rpx;
|
|
|
|
|
right: -15rpx;
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
background-color: #FD502F;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
padding: 4rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.foot-item image {
|
|
|
|
|
height: 50rpx;
|
|
|
|
|
width: 50rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
|
2024-02-19 10:44:33 +08:00
|
|
|
|
.foot-item .txt {
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-02-24 16:08:09 +08:00
|
|
|
|
</style>
|