init
This commit is contained in:
99
xhs-mini-demos/api-case/storage/templates.xhsml
Normal file
99
xhs-mini-demos/api-case/storage/templates.xhsml
Normal file
@@ -0,0 +1,99 @@
|
||||
<!-- 以下内容为自动生成,请勿手动修改 -->
|
||||
|
||||
<view class="container">
|
||||
<showbox title="setStorageSync演示">
|
||||
<box>
|
||||
<api-status
|
||||
success="{{page_data_2}}"
|
||||
complete="{{page_data_4}}"
|
||||
fail="{{page_data_3}}"
|
||||
text="{{page_data_5}}"
|
||||
>
|
||||
</api-status>
|
||||
<view class="_ui-space _mt8">
|
||||
<view class="_ui-input">
|
||||
<input placeholder="key" type="text" bindinput="page_fun_1" />
|
||||
</view>
|
||||
|
||||
<view class="_ui-input">
|
||||
<input placeholder="data" type="text" bindinput="page_fun_2" />
|
||||
</view>
|
||||
|
||||
<button
|
||||
class="_ui-button"
|
||||
hover-class="_ui-button-hover"
|
||||
bindtap="page_fun_0"
|
||||
>
|
||||
触发
|
||||
</button>
|
||||
</view>
|
||||
</box>
|
||||
</showbox>
|
||||
|
||||
<showbox title="getStorageSync演示">
|
||||
<box>
|
||||
<api-status
|
||||
success="{{page_data_7}}"
|
||||
complete="{{page_data_9}}"
|
||||
fail="{{page_data_8}}"
|
||||
text="{{page_data_10}}"
|
||||
>
|
||||
</api-status>
|
||||
<view class="_ui-space _mt8">
|
||||
<view class="_ui-input">
|
||||
<input placeholder="key" type="text" bindinput="page_fun_4" />
|
||||
</view>
|
||||
|
||||
<button
|
||||
class="_ui-button"
|
||||
hover-class="_ui-button-hover"
|
||||
bindtap="page_fun_3"
|
||||
>
|
||||
触发
|
||||
</button>
|
||||
</view>
|
||||
</box>
|
||||
</showbox>
|
||||
|
||||
<showbox title="clearStorageSync演示">
|
||||
<box>
|
||||
<api-status
|
||||
success="{{page_data_11}}"
|
||||
complete="{{page_data_13}}"
|
||||
fail="{{page_data_12}}"
|
||||
text="{{page_data_14}}"
|
||||
>
|
||||
</api-status>
|
||||
<view class="_ui-space _mt8">
|
||||
<button
|
||||
class="_ui-button"
|
||||
hover-class="_ui-button-hover"
|
||||
bindtap="page_fun_5"
|
||||
>
|
||||
触发
|
||||
</button>
|
||||
</view>
|
||||
</box>
|
||||
</showbox>
|
||||
|
||||
<showbox title="getStorageInfoSync演示">
|
||||
<box>
|
||||
<api-status
|
||||
success="{{page_data_15}}"
|
||||
complete="{{page_data_17}}"
|
||||
fail="{{page_data_16}}"
|
||||
text="{{page_data_18}}"
|
||||
>
|
||||
</api-status>
|
||||
<view class="_ui-space _mt8">
|
||||
<button
|
||||
class="_ui-button"
|
||||
hover-class="_ui-button-hover"
|
||||
bindtap="page_fun_6"
|
||||
>
|
||||
触发
|
||||
</button>
|
||||
</view>
|
||||
</box>
|
||||
</showbox>
|
||||
</view>
|
||||
Reference in New Issue
Block a user