upload project

This commit is contained in:
unknown 2025-12-27 17:16:03 +08:00
commit 06961cae04
422 changed files with 110626 additions and 0 deletions

View file

@ -0,0 +1,21 @@
Page({
data: {
// 系统信息
statusBarHeight: 0,
navBarHeight: 0
},
onLoad(options) {
// 获取系统信息
const systemInfo = wx.getSystemInfoSync();
this.setData({
statusBarHeight: systemInfo.statusBarHeight,
navBarHeight: systemInfo.statusBarHeight + 44
});
},
// 返回上一页
goBack() {
wx.navigateBack();
}
});

View file

@ -0,0 +1,6 @@
{
"usingComponents": {},
"navigationBarTitleText": "",
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#0C0C0C"
}

View file

@ -0,0 +1,28 @@
<view class="page-container">
<scroll-view class="content-scroll">
<view class="settings-list">
<!-- 默认背景 -->
<view class="setting-item">
<text class="setting-label">默认背景</text>
<image src="/images//emoji/r-Return.svg" class="setting-arrow"></image>
</view>
<!-- 从相册选择 -->
<view class="setting-item">
<text class="setting-label">从相册选择</text>
<image src="/images//emoji/r-Return.svg" class="setting-arrow"></image>
</view>
<!-- 拍照片 -->
<view class="setting-item">
<text class="setting-label">拍照片</text>
<image src="/images//emoji/r-Return.svg" class="setting-arrow"></image>
</view>
</view>
<!-- 应用于全部聊天 -->
<view class="setting-item apply-all">
<text class="all">应用于全部聊天</text>
</view>
</scroll-view>
</view>

View file

@ -0,0 +1,127 @@
/* 基础样式 */
page {
background-color: #000000;
color: #FFFFFF;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
padding: 0;
margin: 0;
}
.page-container {
min-height: 100vh;
background-color: #000000;
}
/* 顶部导航栏 */
.navbar {
background-color: #000000;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
height: 68rpx;
box-sizing: border-box;
}
/* 顶部导航栏内容 */
.navbar-content {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 24rpx;
width: 100%;
box-sizing: border-box;
height: 48rpx;
margin-top: 0;
}
.nav-back {
width: 48rpx;
height: 48rpx;
display: flex;
align-items: center;
justify-content: center;
}
.back-icon {
width: 32rpx;
height: 32rpx;
}
.nav-placeholder {
width: 48rpx;
}
.content-scroll {
box-sizing: border-box;
margin: 0;
}
/* 设置列表 */
.settings-list {
padding: 0;
margin-top: 0;
}
/* 设置项 */
.setting-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 30rpx 0;
border-bottom: 1rpx solid rgba(255, 255, 255, 0.1);
background-color: #1E1E1E;
}
.setting-item:first-child {
padding-top: 30rpx;
margin-top: 0;
margin-bottom: 20rpx;
}
.setting-item:last-child {
border-bottom: none;
}
.setting-label {
font-size: 28rpx;
color: #FFFFFF;
opacity: 0.9;
margin-left: 25rpx;
}
/* 设置箭头 */
.setting-arrow {
width: 24rpx;
height: 24rpx;
opacity: 0.5;
margin-right: 25rpx;
}
/* 应用于全部聊天 */
.setting-item.apply-all {
justify-content: center;
border-bottom: none;
background-color: #1E1E1E;
width: 100%;
padding: 30rpx 0;
margin-top: 20rpx;
transition: all 0.3s ease;
}
.all {
font-size: 28rpx;
color: #FFFFFF;
opacity: 0.9;
}
.setting-item.apply-all:active {
background-color: #121212;
transform: scale(0.98);
}
.setting-item.apply-all .setting-label {
color: #FFFFFF;
font-weight: 600;
}