dd/pages/index/index.axml
2025-04-15 01:51:54 +08:00

54 lines
1.7 KiB
XML

<view class="page">
<form onSubmit="onSubmit" onReset="onReset">
<view class="page-section">
<view class="form-line" />
<view class="form-row">
<!-- -->
<view class="form-row-label">地址</view>
<view class="form-row-content">
<input name="apiurl" class="input" placeholder="https://" onBlur="postdb" />
</view>
</view>
<!-- -->
<!-- -->
<view class="page-section">
<picker onChange="bindPickerChange" value="{{index}}" range="{{databaseList}}" >
<view class="form-row">
<view class="form-row-label">账套</view>
<input name="databaseName" class="form-row-content" value="{{databaseList[index]}}" placeholder="****"/>
</view>
</picker>
</view>
<!-- -->
<!-- -->
<view class="form-row">
<view class="form-row-label">用户</view>
<view class="form-row-content">
<input name="username" class="input" placeholder="***@**.com" />
</view>
</view>
<!-- -->
<!-- -->
<view class="form-row">
<view class="form-row-label">密码</view>
<view class="form-row-content">
<input name="password" class="input" placeholder="*****" password />
</view>
</view>
<!-- -->
<!-- -->
<view class="page-section-btns">
<view>
<button type="ghost" size="mini" formType="reset">重置</button></view>
<view>
<button type="primary" size="mini" formType="submit">提交</button></view>
</view>
</view>
<!-- -->
</form>
<view class="page-section">
<view class="page-section-demo">
<text> v1.0.9 </text>
</view>
</view>
</view>