MicroCommunityWeb/public/components/property/editWechatMenu/editWechatMenu.html
2022-05-06 14:35:01 +08:00

60 lines
4.5 KiB
HTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div id="editWechatMenuModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-body">
<h3 class="m-t-none m-b "><span><vc:i18n name="修改菜单" namespace="editWechatMenu"></vc:i18n></span></h3>
<div class="ibox-content">
<div>
<div>
<div class="form-group row">
<label class="col-sm-2 col-form-label"><span><vc:i18n name="菜单名称" namespace="editWechatMenu"></vc:i18n></span></label>
<div class="col-sm-10">
<input v-model="editWechatMenuInfo.menuName" type="text" :placeholder="vc.i18n('必填,请填写菜单名称','editWechatMenu')" class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label"><span><vc:i18n name="菜单类型" namespace="editWechatMenu"></vc:i18n></span></label>
<div class="col-sm-10">
<select class="custom-select" v-model="editWechatMenuInfo.menuType">
<option value="top" v-if="editWechatMenuInfo.menuLevel == '101'">{{vc.i18n('顶级菜单','editWechatMenu')}}</option>
<option value="view">{{vc.i18n('链接','editWechatMenu')}}</option>
<option value="miniprogram">{{vc.i18n('小程序','editWechatMenu')}}</option>
</select> </div>
</div>
<div class="form-group row" v-if="editWechatMenuInfo.menuType != 'top'">
<label class="col-sm-2 col-form-label"><span><vc:i18n name="值" namespace="editWechatMenu"></vc:i18n></span></label>
<div class="col-sm-10">
<input v-model="editWechatMenuInfo.menuValue" type="text" :placeholder="vc.i18n('必填,请填写值','editWechatMenu')" class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label"><span><vc:i18n name="顺序" namespace="editWechatMenu"></vc:i18n></span></label>
<div class="col-sm-10">
<input v-model="editWechatMenuInfo.seq" type="text" :placeholder="vc.i18n('必填,请填写有效数字','editWechatMenu')" class="form-control">
</div>
</div>
<div class="form-group row" v-if="editWechatMenuInfo.menuType == 'miniprogram'">
<label class="col-sm-2 col-form-label">AppId</label>
<div class="col-sm-10">
<input v-model="editWechatMenuInfo.appId" type="text" :placeholder="vc.i18n('选填请填写AppId','editWechatMenu')" class="form-control">
</div>
</div>
<div class="form-group row" v-if="editWechatMenuInfo.menuType == 'miniprogram'">
<label class="col-sm-2 col-form-label"><span><vc:i18n name="小程序地址" namespace="editWechatMenu"></vc:i18n></span></label>
<div class="col-sm-10">
<input v-model="editWechatMenuInfo.pagepath" type="text" :placeholder="vc.i18n('选填,请填写小程序地址','editWechatMenu')" class="form-control">
</div>
</div>
<div class="ibox-content">
<button class="btn btn-primary float-right" type="button" v-on:click="editWechatMenu()"><i
class="fa fa-check"></i>&nbsp;保存</button>
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;" data-dismiss="modal"><span><vc:i18n name="取消" namespace="editWechatMenu"></vc:i18n></span></button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>