|
@@ -1,14 +1,5 @@
|
|
|
<template>
|
|
<template>
|
|
|
<view class="user-container">
|
|
<view class="user-container">
|
|
|
- <!-- 顶部导航栏 -->
|
|
|
|
|
- <view class="header-nav">
|
|
|
|
|
- <view class="nav-left" @click="goBack">
|
|
|
|
|
- <AppIcon name="chevron-left" size="20" color="#FFFFFF" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <text class="nav-title">用户列表</text>
|
|
|
|
|
- <view class="nav-right"></view>
|
|
|
|
|
- </view>
|
|
|
|
|
-
|
|
|
|
|
<!-- 搜索栏 -->
|
|
<!-- 搜索栏 -->
|
|
|
<view class="search-bar">
|
|
<view class="search-bar">
|
|
|
<view class="search-input-wrapper">
|
|
<view class="search-input-wrapper">
|
|
@@ -146,10 +137,6 @@ const showRefundModal = ref(false)
|
|
|
const refundUser = ref(null)
|
|
const refundUser = ref(null)
|
|
|
const refundReason = ref('')
|
|
const refundReason = ref('')
|
|
|
|
|
|
|
|
-const goBack = () => {
|
|
|
|
|
- uni.navigateBack()
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
const getStatusStyle = (status) => {
|
|
const getStatusStyle = (status) => {
|
|
|
const color = getDictColor('User.status', status)
|
|
const color = getDictColor('User.status', status)
|
|
|
if (color) return { color, backgroundColor: `${color}1A` }
|
|
if (color) return { color, backgroundColor: `${color}1A` }
|
|
@@ -257,20 +244,6 @@ onMounted(async () => {
|
|
|
padding-bottom: 100rpx;
|
|
padding-bottom: 100rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.header-nav {
|
|
|
|
|
- display: flex;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
- justify-content: space-between;
|
|
|
|
|
- padding-top: calc(24rpx + var(--status-bar-height));
|
|
|
|
|
- padding-right: 30rpx;
|
|
|
|
|
- padding-bottom: 24rpx;
|
|
|
|
|
- padding-left: 30rpx;
|
|
|
|
|
- background: #C6171E;
|
|
|
|
|
-}
|
|
|
|
|
-.nav-left, .nav-right { width: 120rpx; }
|
|
|
|
|
-.back-btn { font-size: 36rpx; color: #FFFFFF; }
|
|
|
|
|
-.nav-title { font-size: 34rpx; color: #FFFFFF; font-weight: 600; }
|
|
|
|
|
-
|
|
|
|
|
.search-bar {
|
|
.search-bar {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|