res.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/6/17
  6. * Time: 下午5:46
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/cache/res.js");
  10. ?>
  11. <style>
  12. body {padding:20px;}
  13. .wpa {padding:20px;}
  14. .wpa div + div {margin-left:15px;}
  15. </style>
  16. <!--<form class="layui-form" >-->
  17. <!-- <blockquote class="layui-elem-quote quoteBox demoTable">-->
  18. <!-- <div class="layui-inline">-->
  19. <!-- <a class="layui-btn layui-btn-normal " data-type="mobile">移动端</a>-->
  20. <!-- </div>-->
  21. <!---->
  22. <!-- <div class="layui-inline">-->
  23. <!-- <a class="layui-btn layui-btn-normal " data-type="pc">PC端</a>-->
  24. <!-- </div>-->
  25. <!---->
  26. <!---->
  27. <!-- <div class="layui-inline">-->
  28. <!-- <a class="layui-btn layui-btn-normal " data-type="backend">后台</a>-->
  29. <!-- </div>-->
  30. <!-- </blockquote>-->
  31. <!---->
  32. <!--</form>-->
  33. <form class="layui-form" >
  34. <fieldset class="layui-elem-field site-demo-button">
  35. <legend>清除各端缓存</legend>
  36. <div class="wpa demoTable">
  37. <div class="layui-inline"><a class="layui-btn layui-btn-radius" data-type="mobile">移动端缓存</a></div>
  38. <div class="layui-inline"><a class="layui-btn layui-btn-normal layui-btn-radius" data-type="pc">PC端缓存</a></div>
  39. <div class="layui-inline"><a class="layui-btn layui-btn-warm layui-btn-radius" data-type="backend">后台缓存</a></div>
  40. </div>
  41. </fieldset>
  42. </form>