| | |
| | | <h3 class="m-t-none m-b ">添加{{addOwnerInfo.componentTitle}}</h3> |
| | | <div class="ibox-content"> |
| | | <div class="row"> |
| | | <div class="col-sm-5"> |
| | | <video id="ownerPhoto" style="width: 100%;height: 90%;"></video> |
| | | <div class="col-sm-6" style="text-align:center"> |
| | | <video id="ownerPhoto" style="width: 100%;height: 100%;"></video> |
| | | <canvas id="canvas" style="display:none;"></canvas> |
| | | <button class="btn btn-primary" type="button" v-on:click="_takePhoto()">拍照</button> |
| | | <div style="margin-top:20px"> |
| | | <button class="btn btn-primary" type="button" v-on:click="_takePhoto()"><span class="glyphicon glyphicon-camera"></span> 拍照</button> |
| | | </div> |
| | | </div> |
| | | <div class="col-sm-7"> |
| | | <div class="col-sm-6"> |
| | | <div class="form-group row"> |
| | | <label class="col-sm-2 col-form-label">名称</label> |
| | | <div class="col-sm-10"><input v-model="addOwnerInfo.name" type="text" |
| | |
| | | placeholder="可填,请填写备注" class="form-control"></div> |
| | | </div> |
| | | <div class="form-group row"> |
| | | <label class="col-sm-2 col-form-label">业主照片</label> |
| | | <div class="col-sm-10"><img v-bind:src="addOwnerInfo.ownerPhoto" alt="业主照片"></div> |
| | | </div> |
| | | <div class="ibox-content"> |
| | | <button class="btn btn-primary float-right" type="button" v-on:click="saveOwnerInfo()"> |
| | | <i class="fa fa-check"></i> 保存 |
| | | </button> |
| | | <button type="button" class="btn btn-warning float-right" style="margin-right:20px;" |
| | | data-dismiss="modal">取消 |
| | | </button> |
| | | <label class="col-sm-2 col-form-label">照片</label> |
| | | <div class="col-sm-10"><img width="100%" height="100%" |
| | | v-bind:src="addOwnerInfo.ownerPhoto" alt="业主照片"></div> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | <div class="ibox-content"> |
| | | <button class="btn btn-primary float-right" type="button" v-on:click="saveOwnerInfo()"> |
| | | <i class="fa fa-check"></i> 保存 |
| | | </button> |
| | | <button type="button" class="btn btn-warning float-right" style="margin-right:20px;" |
| | | data-dismiss="modal">取消 |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |