| | |
| | | <div id="editAdvertisementModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> |
| | | <div id="editAdvertisementModel" class="modal fade" 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="editAdvertisement"></vc:i18n></span> |
| | | <h3 class="m-t-none m-b"> |
| | | <span> |
| | | <vc:i18n name="修改广告" namespace="editAdvertisement"></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="editAdvertisement"></vc:i18n></span> |
| | | <span> |
| | | <vc:i18n name="广告名称" namespace="editAdvertisement"></vc:i18n> |
| | | </span> |
| | | </label> |
| | | <div class="col-sm-10"> |
| | | <input v-model="editAdvertisementInfo.name" type="text" |
| | | :placeholder="vc.i18n('必填,请填写广告名称','editAdvertisement')" class="form-control"> |
| | | <input v-model="editAdvertisementInfo.advertsName" type="text" |
| | | :placeholder="vc.i18n('必填,请填写广告名称','editAdvertisement')" class="form-control"> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row"> |
| | | <label class="col-sm-2 col-form-label"> |
| | | <span><vc:i18n name="广告位" namespace="editAdvertisement"></vc:i18n></span> |
| | | <span> |
| | | <vc:i18n name="广告位" namespace="editAdvertisement"></vc:i18n> |
| | | </span> |
| | | </label> |
| | | <div class="col-sm-10"> |
| | | <input v-model="editAdvertisementInfo.address" type="text" |
| | | :placeholder="vc.i18n('必填,请填写广告位','editAdvertisement')" class="form-control"> |
| | | <input v-model="editAdvertisementInfo.position" type="text" |
| | | :placeholder="vc.i18n('必填,请填写广告位','editAdvertisement')" class="form-control"> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row"> |
| | | <label class="col-sm-2 col-form-label"> |
| | | <span><vc:i18n name="广告url" namespace="editAdvertisement"></vc:i18n></span> |
| | | <span> |
| | | <vc:i18n name="广告URL" namespace="editAdvertisement"></vc:i18n> |
| | | </span> |
| | | </label> |
| | | <div class="col-sm-10"> |
| | | <input v-model="editAdvertisementInfo.nearbyLandmarks" type="text" |
| | | :placeholder="vc.i18n('可选,请填写广告url','editAdvertisement')" class="form-control"> |
| | | <input v-model="editAdvertisementInfo.url" type="text" |
| | | :placeholder="vc.i18n('可选,请填写广告URL','editAdvertisement')" class="form-control"> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row"> |
| | | <label class="col-sm-2 col-form-label"> |
| | | <span><vc:i18n name="图片(370*114)" namespace="editAdvertisement"></vc:i18n></span> |
| | | <span> |
| | | <vc:i18n name="图片(370*114)" namespace="editAdvertisement"></vc:i18n> |
| | | </span> |
| | | </label> |
| | | <div class="col-sm-10"> |
| | | <vc:create path="frame/uploadImageUrl" callBackListener="editAdvertisement" |
| | | callBackFunction="notifyUploadImage" imageCount="1" |
| | | namespace="editAdvertisement"> |
| | | callBackFunction="notifyUploadImage" imageCount="1" |
| | | namespace="editAdvertisement" :defaultImage="editAdvertisementInfo.picUrl" |
| | | :imageUrlPrefix="'/file/get/'"> <!-- 文件访问路径前缀 --> |
| | | </vc:create> |
| | | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="form-group row"> |
| | | <label class="col-sm-2 col-form-label"> |
| | | <span> |
| | | <vc:i18n name="排序" namespace="editAdvertisement"></vc:i18n> |
| | | </span> |
| | | </label> |
| | | <div class="col-sm-10"> |
| | | <input v-model="editAdvertisementInfo.sort" type="number" |
| | | :placeholder="vc.i18n('必填,请填写排序','editAdvertisement')" class="form-control"> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row"> |
| | | <label class="col-sm-2 col-form-label"> |
| | | <span><vc:i18n name="排序" namespace="editAdvertisement"></vc:i18n></span> |
| | | <span> |
| | | <vc:i18n name="供应商名称" namespace="editAdvertisement"></vc:i18n> |
| | | </span> |
| | | </label> |
| | | <div class="col-sm-10"> |
| | | <input v-model="editAdvertisementInfo.payFeeMonth" type="text" |
| | | :placeholder="vc.i18n('必填,请填写排序','editAdvertisement')" class="form-control"> |
| | | <input v-model="editAdvertisementInfo.supplierName" type="text" |
| | | :placeholder="vc.i18n('可选,请填写供应商名称','editAdvertisement')" class="form-control"> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row"> |
| | | <label class="col-sm-2 col-form-label"> |
| | | <span><vc:i18n name="供应商名称" namespace="editAdvertisement"></vc:i18n></span> |
| | | <span> |
| | | <vc:i18n name="说明" namespace="editAdvertisement"></vc:i18n> |
| | | </span> |
| | | </label> |
| | | <div class="col-sm-10"> |
| | | <input v-model="editAdvertisementInfo.feePrice" type="text" |
| | | :placeholder="vc.i18n('可选,请填写供应商名称','editAdvertisement')" class="form-control"> |
| | | </div> |
| | | </div> |
| | | <div class="form-group row"> |
| | | <label class="col-sm-2 col-form-label"> |
| | | <span><vc:i18n name="说明" namespace="editAdvertisement"></vc:i18n></span> |
| | | </label> |
| | | <div class="col-sm-10"> |
| | | <input v-model="editAdvertisementInfo.tel" type="text" |
| | | :placeholder="vc.i18n('可选,请填写说明','editAdvertisement')" class="form-control"> |
| | | <textarea v-model="editAdvertisementInfo.desc" |
| | | :placeholder="vc.i18n('可选,请填写说明','editAdvertisement')" class="form-control" |
| | | rows="3"></textarea> |
| | | </div> |
| | | </div> |
| | | <div class="ibox-content"> |
| | | <button class="btn btn-primary float-right" type="button" v-on:click="editAdvertisement()"> |
| | | <button class="btn btn-primary float-right" type="button" |
| | | @click="updateAdvertisement()"> |
| | | <i class="fa fa-check"></i> 保存 |
| | | </button> |
| | | <button type="button" class="btn btn-warning float-right" style="margin-right:20px;" |
| | | data-dismiss="modal"> |
| | | <span><vc:i18n name="取消" namespace="editAdvertisement"></vc:i18n></span> |
| | | data-dismiss="modal"> |
| | | <span> |
| | | <vc:i18n name="取消" namespace="editAdvertisement"></vc:i18n> |
| | | </span> |
| | | </button> |
| | | </div> |
| | | </div> |