feat: establish teaching feedback mini program
Connect student profiles, defaults, and feedback records to the Rust API. Configure the WeChat AppID, custom tab bar, and local development workflow for version 0.1.0.
This commit is contained in:
25
pages/profile/index.wxml
Normal file
25
pages/profile/index.wxml
Normal file
@@ -0,0 +1,25 @@
|
||||
<view class="page-shell profile-page">
|
||||
<text class="eyebrow">个人中心</text>
|
||||
<view class="page-heading">
|
||||
<text class="heading-icon">◉</text>
|
||||
<text class="page-title">我的</text>
|
||||
</view>
|
||||
<text class="page-subtitle">管理小程序连接的教学反馈服务。</text>
|
||||
|
||||
<view class="server-card surface">
|
||||
<text class="section-title">Rust API 服务</text>
|
||||
<text class="form-label url-label">服务地址</text>
|
||||
<input class="url-input" value="{{apiBaseUrl}}" placeholder="https://api.example.com" bindinput="onUrlInput" />
|
||||
<view class="connection-row">
|
||||
<text class="connection-dot connection-{{connectionTone}}"></text>
|
||||
<text class="connection-text">{{connectionText}}</text>
|
||||
</view>
|
||||
<button class="primary-button check-button" loading="{{testing}}" disabled="{{testing}}" bindtap="saveAndCheck">保存并检测</button>
|
||||
</view>
|
||||
|
||||
<view class="identity-card surface">
|
||||
<text class="section-title">开发身份</text>
|
||||
<text class="identity-value">{{developmentUserId}}</text>
|
||||
<text class="identity-note">微信登录接入前,业务数据按此开发用户隔离。</text>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user