Files
xhs-examples/xhs-mini-demos/api-case/modal/templates.xhsml
2025-09-14 00:21:54 +08:00

71 lines
1.9 KiB
Plaintext

<!-- 以下内容为自动生成,请勿手动修改 -->
<view class="container">
<showbox title="showModal演示">
<box>
<api-status
success="{{page_data_9}}"
complete="{{page_data_11}}"
fail="{{page_data_10}}"
text="{{page_data_12}}"
>
</api-status>
<view class="_ui-space _mt8">
<view class="_ui-input">
<input placeholder="title" type="text" bindinput="page_fun_1" />
</view>
<view class="_ui-input">
<input placeholder="content" type="text" bindinput="page_fun_2" />
</view>
<view class="_dflex _jc_space-between">
<text class="_dflex _ai_center _px8">是否开启showCancel</text>
<switch color="rgba(255, 36, 66, 1)" bindchange="page_fun_3" />
</view>
<view class="_ui-input">
<input placeholder="cancelText" type="text" bindinput="page_fun_4" />
</view>
<view class="_ui-input">
<input placeholder="cancelColor" type="text" bindinput="page_fun_5" />
</view>
<view class="_ui-input">
<input placeholder="confirmText" type="text" bindinput="page_fun_6" />
</view>
<view class="_ui-input">
<input
placeholder="confirmColor"
type="text"
bindinput="page_fun_7"
/>
</view>
<view class="_dflex _jc_space-between">
<text class="_dflex _ai_center _px8">是否开启editable</text>
<switch color="rgba(255, 36, 66, 1)" bindchange="page_fun_8" />
</view>
<view class="_ui-input">
<input
placeholder="placeholderText"
type="text"
bindinput="page_fun_9"
/>
</view>
<button
class="_ui-button"
hover-class="_ui-button-hover"
bindtap="page_fun_0"
>
触发
</button>
</view>
</box>
</showbox>
</view>