feat: 提交模板代码

This commit is contained in:
熊熊熊子路
2026-01-09 09:35:44 +08:00
parent 1ba1c0de42
commit fbab15dd2c
47 changed files with 66336 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
<!--pages/login/login.wxml-->
<view class="login-container">
<!-- 标题区域 -->
<view class="header">
<text class="title">Request.ts 使用示例</text>
<text class="subtitle">演示网络请求封装的各种用法</text>
</view>
<!-- 登录表单区域 -->
<view class="form-section">
<view class="section-title">1. POST 请求示例 - 登录</view>
<t-input
placeholder="请输入用户名"
value="{{username}}"
bind:change="onUsernameChange"
class="input-item"
clearable
/>
<t-input
placeholder="请输入密码"
value="{{password}}"
type="password"
bind:change="onPasswordChange"
class="input-item"
clearable
/>
<view class="button-group">
<t-button theme="primary" size="large" bind:tap="handleLogin" block>
登录
</t-button>
</view>
</view>
</view>