12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/3/24
- * Time: 上午10:01
- */
- use backend\assets\AppAsset;
- AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/other/syncOperate.js");
- ?>
- <style>
- .xm_qytc_box{width:920px;margin:auto;margin-top:20px;}
- .xm_xcxqTc_img{margin:0;}
- .xm_xcxqTc_button{position:absolute;bottom:0;left:0;}
- .xm_pr{position:relative;}
- .ml{margin-left:18px}
- /*.layui-form-pane .layui-form-checkbox{position:absolute;bottom:0;left:100px;}*/
- .layui-upload-img{display: inline-block;height:155px;width: 120px;border: 1px solid #dbdbdb;margin-right: 10px;position: absolute;position: relative;bottom:14px;margin-top:14px;overflow:hidden;}
- .layui-upload-img img{display: block;height:120px;width: 100%;}
- .close-icon{position: absolute;right:0px;top: 1px;cursor: pointer;font-weight:600;}
- .close-input{cursor: pointer;width:121px}
- .close-input input{height:35px;}
- .xm_tgqcTc_dztpsc{position:relative;}
- </style>
- <div class="xm_qytc_box">
- <?php foreach ($model as $key=>$v){?>
- <div>
- <p><span>所属栏目:<?= $key ?></span></p>
- <div class="layui-form-item xm_pr">
- <div class="layui-upload">
- <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
- 预览图:
- <div class="layui-upload-list xm_tgqcTc_dztpsc" id="demo2">
- <?php foreach($model[$key] as $val){?>
- <?php
- if(!empty($val['img'])){?>
- <div class="layui-upload-img layer-photos-demo" id="layer-photos-demo">
- <img src="<?php echo $url,$val['img'],'/',$style?>">
- <div class="close-input">
- <input type="text" name="title" value="<?php echo $val['title']?>" placeholder="请输入" autocomplete="off" class="layui-input">
- </div>
- </div>
- <?php }} ?>
- </div>
- </blockquote>
- </div>
- </div>
- </div>
- <?php } ?>
- <form class="layui-form" action="" id="album_forms" >
- <input type="hidden" name="hid" value="<?= $hid ?>">
- <div class="layui-form-item">
- <div class="layui-input-block xm_xcxqTc_tj" style="margin:20px 0 0 0;text-align:center;">
- <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="edit_Album">提交</button>
- </div>
- </div>
- </form>
- </div>
|