init
This commit is contained in:
commit
2b8870a40e
51 changed files with 5845 additions and 0 deletions
33
pages/edit/edit.wxml
Normal file
33
pages/edit/edit.wxml
Normal file
|
@ -0,0 +1,33 @@
|
|||
<!--pages/edit/edit.wxml-->
|
||||
<form bindsubmit="keySubmit">
|
||||
<view class="section">
|
||||
<view class="section-title">基本信息</view>
|
||||
<view class="input-box">
|
||||
<text>Service</text>
|
||||
<input name="issuer" placeholder="服务名称" placeholder-style="color: #666; font-size: 1rem;" value="{{issuer}}"/>
|
||||
</view>
|
||||
<view class="input-box">
|
||||
<text>Account</text>
|
||||
<input name="remark" placeholder="帐号备注" placeholder-style="color: #666; font-size: 1rem;" value="{{remark}}"/>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<block wx:if="{{isHotp}}">
|
||||
<view class="section">
|
||||
<view class="section-title">HOTP设置</view>
|
||||
<view class="input-box">
|
||||
<text>当前计数器值</text>
|
||||
<input type="number" name="counter" value="{{counter}}" placeholder-style="color: #666; font-size: 1rem;" />
|
||||
<view class="tip-text">修改计数器值会影响验证码生成,请谨慎操作</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
|
||||
<view class="button-group">
|
||||
<view class="add-btn">
|
||||
<button form-type="submit" disabled="{{isSubmitting}}">
|
||||
{{isSubmitting ? '保存中...' : '保存修改'}}
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue