style.php 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!--<script type="text/javascript" src="/static/plug/basket.js"></script>-->
  2. <script type="text/javascript" src="{__ADMIN_PATH}/plug/requirejs/require.js"></script>
  3. <?php /* <script type="text/javascript" src="/static/plug/requirejs/require-basket-load.js"></script> */ ?>
  4. <script>
  5. requirejs.config({
  6. map: {
  7. '*': {
  8. 'css': '{__PUBLIC_PATH}static/plug/requirejs/require-css.js'
  9. }
  10. },
  11. shim:{
  12. 'iview':{
  13. deps:['css!iviewcss']
  14. },
  15. 'layer':{
  16. deps:['css!layercss']
  17. }
  18. },
  19. baseUrl:'//'+location.hostname+'{__PUBLIC_PATH}',
  20. paths: {
  21. 'static':'static',
  22. 'system':'system',
  23. 'vue':'static/plug/vue/dist/vue.min',
  24. 'axios':'static/plug/axios.min',
  25. 'helper':'static/plug/helper',
  26. 'store':'wap/first/crmeb/module/store',
  27. 'reg-verify':"static/plug/reg-verify",
  28. 'iview':'static/plug/iview/dist/iview.min',
  29. 'iviewcss':'static/plug/iview/dist/styles/iview',
  30. 'lodash':'static/plug/lodash',
  31. 'layer':'static/plug/layer/layer',
  32. 'layercss':'static/plug/layer/theme/default/layer',
  33. 'jquery':'static/plug/jquery-1.10.2.min',
  34. 'moment':'static/plug/moment',
  35. // 'mpBuilder':'system/util/mpBuilder',
  36. 'sweetalert':'static/plug/sweetalert2/sweetalert2.all.min',
  37. 'ZeroClipboard':'{__ADMIN_PATH}plug/ueditor/third-party/zeroclipboard/ZeroClipboard',
  38. 'ueditor-config':'{__ADMIN_PATH}plug/ueditor/ueditor.config',
  39. 'ueditor-all':'{__ADMIN_PATH}plug/ueditor/ueditor.all.min',
  40. 'zh-cn':'{__ADMIN_PATH}plug/ueditor/lang/zh-cn/zh-cn',
  41. 'aliyun-oss':'{__ADMIN_PATH}js/aliyun-oss-sdk-4.4.4.min',
  42. 'request':'{__ADMIN_PATH}js/request',
  43. 'plupload':'{__MODULE_PATH}widget/lib/plupload-2.1.2/js/plupload.full.min',
  44. 'OssUpload':'{__MODULE_PATH}widget/OssUpload',
  45. 'aliyun-upload-sdk':'{__ADMIN_PATH}plug/aliyun-upload-sdk/aliyun-upload-sdk-1.5.0.min.js',
  46. 'es6-promise':'{__ADMIN_PATH}plug/aliyun-upload-sdk/lib/es6-promise.min.js',
  47. 'aliyun-oss-sdk':'{__ADMIN_PATH}plug/aliyun-upload-sdk/lib/aliyun-oss-sdk-5.3.1.min.js'
  48. },
  49. basket: {
  50. excludes:['system/js/index','system/util/mpVueComponent','system/util/mpVuePackage']
  51. // excludes:['system/util/mpFormBuilder','system/js/index','system/util/mpVueComponent','system/util/mpVuePackage']
  52. }
  53. });
  54. $(window).ready(function () {
  55. $('.upload-image-box').on({
  56. mouseover:function () {
  57. $(this).find('.mask').show();
  58. },
  59. mouseout:function () {
  60. $(this).find('.mask').hide();
  61. }
  62. })
  63. $('.open_image').on('click',function () {
  64. $eb.openImage($(this).data('url'));
  65. });
  66. })
  67. </script>
  68. <script type="text/javascript" src="{__ADMIN_PATH}util/mpFrame.js"></script>