read.php 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/4/19
  6. * Time: 上午11:01
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/routine/morecomment.js");
  10. ?>
  11. <style>
  12. .layui-upload-img img{display: block;height: 100%;width: 100%;}
  13. .layui-upload-img{display: inline-block;height:120px;width: 120px;border: 1px solid #999;margin-right: 10px;position: absolute;position: relative;
  14. overflow: hidden;}
  15. .xm_qytc_box {width:80%;margin:20px auto 0;}
  16. /*2018-11-1楼盘点评*/
  17. .wh_remark {}
  18. .wh_remark .wh_remark_cont {margin:15px 10px 0;}
  19. .wh_remark .wh_remark_cont ul li {background:#fff;padding:15px 10px 20px;overflow:hidden;position:relative;border-radius:5px;}
  20. .wh_remark .wh_remark_cont ul li + li {margin-top:10px;}
  21. .wh_remark .wh_remark_cont ul li > a {display:inline-block;width:60px;height:21px;line-height:17px;border-radius:10px;border:1px solid #424E5F;text-align:center;position:absolute;right:15px;bottom:15px;}
  22. .wh_remark .wh_remark_cont ul li > a img {display:inline-block;width:13px;height:13px;vertical-align:middle;margin-right:5px;margin-top:-2px;}
  23. .wh_remark .wh_remark_cont ul li > a i {font-size:0.8125rem;}
  24. .wh_remark .wh_remark_cont ul li .wh_photo {display:inline-block;vertical-align:top;width:29px;height:29px;}
  25. .wh_remark .wh_remark_cont ul li .wh_photo img {display:inline-block;width:100%;height:100%;}
  26. .wh_remark .wh_remark_cont ul li .wh_cont {display:inline-block;vertical-align:top;width:86%;float:right;}
  27. .wh_remark .wh_remark_cont ul li .wh_cont .wh_cont_top > p span {font-size:0.875rem;color:#A58064;}
  28. .wh_remark .wh_remark_cont ul li .wh_cont .wh_cont_top > p em {display:inline-block;font-size:0.625rem;color:#8F6401;padding:2px 7px;margin-left:5px;
  29. background:#DFBD6C;
  30. background: -webkit-linear-gradient(right, #DFBD6C , #FFE4A7); /* Safari 5.1 - 6.0 */
  31. background: -o-linear-gradient(right, #DFBD6C, #FFE4A7); /* Opera 11.1 - 12.0 */
  32. background: -moz-linear-gradient(right, #DFBD6C , #FFE4A7); /* Firefox 3.6 - 15 */
  33. background: linear-gradient(to right, #DFBD6C ,#FFE4A7); /* 标准的语法 */
  34. }
  35. .wh_remark .wh_remark_cont ul li .wh_cont .wh_cont_top > p i {display:inline-block;margin-left:11px;color:#999;font-size:0.6875rem;}
  36. .wh_remark .wh_remark_cont ul li .wh_cont .wh_cont_top .wh_cont_star dl {display:inline-block;vertical-align:top;}
  37. .wh_remark .wh_remark_cont ul li .wh_cont .wh_cont_top .wh_cont_star dl dd {display:inline-block;width:12px;height:12px;background:url(./star.png) no-repeat center/12px 12px;}
  38. .wh_remark .wh_remark_cont ul li .wh_cont .wh_cont_top .wh_cont_star dl dd + dd {margin-left:-3px;}
  39. .wh_remark .wh_remark_cont ul li .wh_cont .wh_cont_top .wh_cont_star p {display:inline-block;vertical-align:top;margin-left:6px;}
  40. .wh_remark .wh_remark_cont ul li .wh_cont .wh_cont_top .wh_cont_star p span {font-size:0.6875rem;color:#A58064;}
  41. .wh_remark .wh_remark_cont ul li .wh_cont .wh_cont_top .wh_cont_star p span +span {margin-left:-2px;}
  42. .wh_remark .wh_remark_cont ul li .wh_cont .wh_cont_top .wh_cont_star p span i {font-size:0.6875rem;color:#848484;}
  43. .wh_remark .wh_remark_cont ul li .wh_cont .wh_info {font-size:0.8125rem;color:#424E5F;margin:12px 0;line-height:22px;}
  44. .wh_remark .wh_remark_cont ul li .wh_cont .wh_time {font-size:0.625rem;color:#999;margin-top:20px;}
  45. .wh_remark .wh_remark_cont ul li .wh_cont .wh_time em {margin-left:15px;}
  46. .wh_remark .wh_remark_more {background:#fff;margin:15px 10px 0;}
  47. .wh_remark .wh_remark_more a {display:block;font-size:0.9375rem;text-align:center;color:#666;padding:8px 0;}
  48. .wh_remark .wh_remark_fill {margin:20px 10px 0;}
  49. .wh_remark .wh_remark_fill a {display:block;padding:12px 0;border-radius:30px;color:#fff;text-align:center;
  50. background:#FE5904;
  51. background: -webkit-linear-gradient(right, #FF8D22 , #FE5603); /* Safari 5.1 - 6.0 */
  52. background: -o-linear-gradient(right, #FF8D22, #FE5603); /* Opera 11.1 - 12.0 */
  53. background: -moz-linear-gradient(right, #FF8D22 , #FE5603); /* Firefox 3.6 - 15 */
  54. background: linear-gradient(to right, #FF8D22 ,#FE5603); /* 标准的语法 */
  55. }
  56. .wh_remark .wh_remark_fill a img {display:inline-block;width:17px;height:18px;margin-right:8px;}
  57. </style>
  58. <div class="xm_qytc_box">
  59. <!-- 楼盘点评 -->
  60. <div class="wh_remark">
  61. <!-- <div class="lphomeV2type_h"><span>楼盘<em style="color:#FF5A5A; font-weight:600;">点评</em></span></div>-->
  62. <div class="wh_remark_cont">
  63. <ul>
  64. <li>
  65. <div class="wh_photo"><img src="./wh_photo.png" alt=""></div>
  66. <div class="wh_cont">
  67. <div class="wh_cont_top">
  68. <p><span><?= $model['mobile'] ?></span><em><?= $model['demand'] ?></em>
  69. <!-- <i>东方</i>-->
  70. </p>
  71. <div class="wh_cont_star">
  72. <dl>
  73. <dd></dd>
  74. <dd></dd>
  75. <dd></dd>
  76. <dd></dd>
  77. <dd></dd>
  78. </dl>
  79. <p>
  80. <span>地段 :<i><?= $model['diduan'] ?></i></span>
  81. <span>交通 :<i><?= $model['jiaotong'] ?></i></span>
  82. <span>配套 :<i><?= $model['peitao'] ?></i></span>
  83. <span>环境 :<i><?= $model['huanjing'] ?></i></span>
  84. <span>性价比 :<i><?= $model['xingjiabi'] ?></i></span>
  85. </p>
  86. </div>
  87. </div>
  88. <div class="wh_info"><?= $model['content'] ?></div>
  89. <div class="wh_time"><?= date('Y-m-d H:i',$model['create_at']) ?> </div>
  90. </div>
  91. <!-- <a href="javascript:void(0)"><img src="./praise_1.png" alt=""><i>68</i></a>-->
  92. </li>
  93. </ul>
  94. </div>
  95. </div>
  96. <form class="layui-form layui-form-pane" id="citysignupForm">
  97. <div class="layui-form-item" style="margin-bottom:-5px">
  98. <div class="layui-inline">
  99. <label class="layui-form-label">标签:</label>
  100. <div class="layui-input-block layui_w_acti" style="padding-bottom:8px;">
  101. <input type="radio" name="label" <?php if(!empty($reply['label']) && $reply['label'] == 1) echo 'checked'; ?> value="1" lay-skin="primary" title="精华">
  102. <input type="radio" name="label" <?php if(!empty($reply['label']) && $reply['label'] == 0) echo 'checked'; ?> value="0" lay-skin="primary" title="其他">
  103. </div>
  104. </div>
  105. </div>
  106. <label class="layui-form-label">回复内容:</label>
  107. <div class="layui-input-inline" >
  108. <textarea name="reply_content" style="width: 400px;height:200px;" placeholder="请输入点评回复内容" class="layui-textarea"><?php if(!empty($reply['reply_content'])){echo $reply['reply_content'];} ?></textarea>
  109. </div>
  110. <div class="layui-form-item">
  111. <div class="layui-input-block xm_xcxqTc_tj" style="margin:20px 0 0 0;text-align:center;">
  112. <input type="hidden" name="reply_id" value="<?php if(!empty($reply['id'])){echo $reply['id'];} ?>">
  113. <input type="hidden" name="cid" value="<?= $model['id'] ?>">
  114. <button class="layui-btn" lay-submit="" lay-filter="tijiao">提交</button>
  115. </div>
  116. </div>
  117. </form>
  118. </div>