mirror of
https://gitee.com/qingqing-coconut-tea/RcKtFezyRAZX
synced 2026-07-21 10:32:32 +08:00
76 lines
2.6 KiB
Plaintext
76 lines
2.6 KiB
Plaintext
<!-- pages/settings/settings.wxml -->
|
||
<!-- 系统设置视图 -->
|
||
|
||
<view class="settings-container">
|
||
<!-- 消息通知 -->
|
||
<view class="section">
|
||
<view class="section-title">消息通知</view>
|
||
<view class="setting-item">
|
||
<text class="setting-label">接收通知</text>
|
||
<switch checked="{{notificationEnabled}}" bindchange="onNotificationChange" color="#667eea" />
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 通用设置 -->
|
||
<view class="section">
|
||
<view class="section-title">通用设置</view>
|
||
<view class="setting-item">
|
||
<text class="setting-label">自动播放视频</text>
|
||
<switch checked="{{autoPlayVideo}}" bindchange="onAutoPlayVideoChange" color="#667eea" />
|
||
</view>
|
||
<view class="setting-item">
|
||
<text class="setting-label">清除缓存</text>
|
||
<view class="setting-value" bindtap="onClearCache">
|
||
<text>{{cacheSize}}</text>
|
||
<text class="iconfont icon-arrow-right"></text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 隐私设置 -->
|
||
<view class="section">
|
||
<view class="section-title">隐私设置</view>
|
||
<view class="setting-item">
|
||
<text class="setting-label">位置信息</text>
|
||
<switch checked="{{locationEnabled}}" bindchange="onLocationChange" color="#667eea" />
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 法律声明 -->
|
||
<view class="section">
|
||
<view class="section-title">法律声明</view>
|
||
<view class="setting-item" bindtap="onUserAgreement">
|
||
<text class="setting-label">用户协议</text>
|
||
<text class="iconfont icon-arrow-right"></text>
|
||
</view>
|
||
<view class="setting-item" bindtap="onPrivacyPolicy">
|
||
<text class="setting-label">隐私政策</text>
|
||
<text class="iconfont icon-arrow-right"></text>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 关于我们 -->
|
||
<view class="section">
|
||
<view class="section-title">关于</view>
|
||
<view class="setting-item" bindtap="onAboutUs">
|
||
<text class="setting-label">关于我们</text>
|
||
<text class="iconfont icon-arrow-right"></text>
|
||
</view>
|
||
<view class="setting-item">
|
||
<text class="setting-label">版本号</text>
|
||
<view class="setting-value">
|
||
<text>V{{version}}</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 退出登录 -->
|
||
<button class="logout-btn" wx:if="{{hasLogin}}" bindtap="onLogout">退出登录</button>
|
||
</view>
|
||
|
||
/**
|
||
* @联系作者:16768118056
|
||
* @描述:(此项目非免费分享)源码百分百可用,搞定毕设不发愁,支持远程调试安装、二次开发、定制、讲解、文档类。
|
||
* @访问:https://www.notmaker.com/detail/8326a897119d4542896c863a69d7bbe7/gtt20260415,查看完整运行演示。
|
||
*/
|