98 lines
1.8 KiB
Plaintext
98 lines
1.8 KiB
Plaintext
<template>
|
|
<AdminLayout current-page='list'>
|
|
<view class="page">
|
|
<view class="topbar">
|
|
<view class="topbar-left">
|
|
<text class="title">客服列表</text>
|
|
<text class="subtitle">customer-service/list</text>
|
|
</view>
|
|
<view class="topbar-right">
|
|
<view class="btn" @click="onBack"><text class="btn-text">返回</text></view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="container">
|
|
<view class="card">
|
|
<text class="h1">客服列表</text>
|
|
<text class="p">这是页面骨架(可跑)。你可以在这里接入你们项目的 TopBar / Container 组件与业务逻辑。</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</AdminLayout>
|
|
</template>
|
|
|
|
<script setup lang="uts">
|
|
const onBack = () => {
|
|
// H5/小程序均可用
|
|
uni.navigateBack()
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.page {
|
|
min-height: 100vh;
|
|
background: #f6f7fb;
|
|
}
|
|
.topbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 14px 16px;
|
|
background: #ffffff;
|
|
border-bottom: 1px solid #eef0f6;
|
|
}
|
|
.title {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: #111827;
|
|
}
|
|
.subtitle {
|
|
margin-top: 2px;
|
|
font-size: 12px;
|
|
color: #6b7280;
|
|
}
|
|
.topbar-left {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.topbar-right {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.btn {
|
|
padding: 8px 10px;
|
|
border-radius: 10px;
|
|
background: #111827;
|
|
}
|
|
.btn-text {
|
|
font-size: 12px;
|
|
color: #ffffff;
|
|
}
|
|
.container {
|
|
padding: 16px;
|
|
}
|
|
.card {
|
|
padding: 16px;
|
|
border-radius: 14px;
|
|
background: #ffffff;
|
|
border: 1px solid #eef0f6;
|
|
}
|
|
.h1 {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: #111827;
|
|
margin-bottom: 8px;
|
|
}
|
|
.p {
|
|
font-size: 13px;
|
|
color: #374151;
|
|
line-height: 20px;
|
|
}
|
|
</style>
|