懒羊羊
2023-08-30 1ac2bc1590406d9babec036e154d8d08f34a6aa1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
@layout("/common/_container.html",{plugins:["sweet-alert"],js:["/assets/modular/system/user/user_chpwd.js"]}){
<div class="row">
    <div class="col-lg-12">
        <div class="card card-outline-theme">
            <div class="card-header">
                <h4 class="m-b-0 text-white">修改密码</h4>
            </div>
            <div class="card-body" style="padding: 50px;">
                <div class="form-horizontal" id="passwordForm">
                    <div class="form-body">
                        <div class="row">
                            <div class="col-md-12">
                                <div class="form-group row m-b-15">
                                    <label class="control-label text-left col-md-2 col-sm-5">旧密码</label>
                                    <div class="col-md-10 col-sm-7">
                                        <input type="password" v-model="oldPassword" class="form-control" autocomplete="false">
                                    </div>
                                </div>
                                <div class="form-group row m-b-15">
                                    <label class="control-label text-left col-md-2 col-sm-5">新密码</label>
                                    <div class="col-md-10 col-sm-7">
                                        <input type="password" v-model="newPassword" class="form-control" autocomplete="false">
                                    </div>
                                </div>
                                <div class="form-group row m-b-5">
                                    <label class="control-label text-left col-md-2 col-sm-5">确认新密码</label>
                                    <div class="col-md-10 col-sm-7">
                                        <input type="password" v-model="repeatPassword" class="form-control" autocomplete="false">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <hr/>
                        <div class="row">
                            <div class="col-md-12">
                                <button class="btn btn-info waves-effect" type="button" id="saveButton" \@click="ensure">
                                    <i class="ace-icon fa fa-check"></i> 保存
                                </button>
                                <button class="btn btn-danger waves-effect m-l-10" type="button" id="closeButton" \@click="reset">
                                    <i class="ace-icon fa fa-close"></i> 重置
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@}