diy.htm 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>橘力定制</title>
  6. <link rel="stylesheet" href="/www/css/diy.css">
  7. <link rel="stylesheet" href="/www/css/font.css">
  8. <link rel="stylesheet" href="/www/css/pcdiy.css">
  9. </head>
  10. <input value="${id!}" type="hidden" id="diyId"/>
  11. <input value="${type!}" type="hidden" id="diytype"/>
  12. <input value="${bottle.img_url!}" type="hidden" id="bottle_img_url"/>
  13. <input value="${bottle.id!}" type="hidden" id="bottle_id"/>
  14. <img src="/www/image/xz.png" id="djsy_rotate"/>
  15. <div class="diy_header pc_diy_header">
  16. <div class="diy_header_container cleader">
  17. <a href="/" class="left_nav pc_left_nav" >
  18. <img alt="logo" src="/www/image/logo2.png" />
  19. </a>
  20. <div class="diy_header_right ">
  21. <a href="javascript:void(0);" id="addCart" class="btn Btn--block Btn--border" style="background: none;color: #0babf9;border-color: #0babf9;">添加购物车</a>
  22. <a href="javascript:void(0);" class="btn Btn--block" id="diy_save_diy_btn">保存设计</a>
  23. </div>
  24. </div>
  25. </div>
  26. <div class="diy_main">
  27. <div class="diy_main_left_nav pc_main_left_nav">
  28. <h2 class="title">功能</h2>
  29. <div class="diy_admin_base">
  30. <div class="diy_admin_object_item" id="add_text_btn">
  31. <i class="iconfont">&#xe61b;</i>
  32. <span>添加文字</span>
  33. </div>
  34. <div class="diy_admin_object_item" id="file_input">
  35. <i class="iconfont">&#xe60f;</i>
  36. <span>上传图片</span>
  37. <form enctype="multipart/form-data" method="post" id="diy_bg_img_form">
  38. <input type="file" name="image" id="diy_bg_img_file" />
  39. </form>
  40. </div>
  41. </div>
  42. </div>
  43. <div class="diy_main_content">
  44. <div class="diy_canvas_wrap">
  45. <canvas id="diy"></canvas>
  46. </div>
  47. <!-- 顶部功能区 -->
  48. <div class="diy_top_gg" id="editor-panel">
  49. <div class="diy_top_gg_content editor-panel">
  50. <div class="left">
  51. <div class="color-span_wrap diy_top_nav_item">
  52. <div class="btn color-span">
  53. <i style="background: rgb(0, 0, 0);"></i>
  54. </div>
  55. <!-- 颜色面部 -->
  56. <div class="drop">
  57. <div class="scrollarea area do-nicescroll">
  58. <div class="content clearfix" id="djsy_text_color_panel_content"></div>
  59. </div>
  60. </div>
  61. <div class="drop-arrow"></div>
  62. </div>
  63. <div class='font-panel-new'>
  64. <div class="font-panel-line"></div>
  65. <div class="font-panel-object">
  66. <div class="select-drop clearfix font-name-list diy_top_nav_item">
  67. <div class="select-drop-default">
  68. <i class="pull-right icon-12" style="display: block;"></i>
  69. <span id="showFont">微软雅黑</span>
  70. </div>
  71. <div class="drop font-drop">
  72. <div class="scrollarea area do-nicescroll">
  73. <div class="scrollarea-content content">
  74. <ul class="ul-no-style" id="changeFont">
  75. <li data-val="微软雅黑">
  76. <div class="wrya">微软雅黑</div>
  77. </li>
  78. <li data-val="宋体">
  79. <div class="songti">宋体</div>
  80. </li>
  81. <li data-val="黑体 ">
  82. <div class="heiti">黑体</div>
  83. </li>
  84. <li data-val="方正黑体简体">
  85. <div class="fz-hj">方正黑体简体</div>
  86. </li>
  87. <li data-val="Aa夜茴体">
  88. <div class="yht">Aa夜茴体</div>
  89. </li>
  90. <li data-val="思源黑体 CN ExtraLight">
  91. <div class="sy-ht">思源黑体 CN ExtraLight</div>
  92. </li>
  93. <li data-val="思源黑体超粗" class="active">
  94. <div class="sy-ht-cu">思源黑体超粗</div>
  95. </li>
  96. </ul>
  97. </div>
  98. </div>
  99. </div>
  100. <div class="drop-arrow"></div>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. <div class="diy_canvas_gongnong">
  108. <div class="diy_canvas_gongnong_content">
  109. <a href="javascript:void(0);" id="diy_del_object">删除</a>
  110. <a href="javascript:void(0);" id="diy_clone_object">复制</a>
  111. <a href="javascript:void(0);">
  112. <span>层级</span>
  113. <div class="click_show" id="view_ward">
  114. <span class="click_show_item" data-key="0">上一层</span>
  115. <span class="click_show_item" data-key="1">下一层</span>
  116. <span class="click_show_item" data-key="2">置顶</span>
  117. <span class="click_show_item" data-key="3">置底</span>
  118. </div>
  119. </a>
  120. <a href="javascript:void(0);" id="diy_resize">自适应屏幕</a>
  121. <a href="javascript:void(0);" id="diy_preview">预览</a>
  122. </div>
  123. </div>
  124. </div>
  125. <div class="diy_main_right_nav">
  126. <div class="diy_choose_color_wrap">
  127. <div>
  128. <select class="FormControl" id="diy_color_select"></select>
  129. </div>
  130. <div class="diy_color_bottom_wrap diy_Material do-nicescroll">
  131. <div class="diy_color_bottom_content clearfix" id="diy_box_content"></div>
  132. </div>
  133. </div>
  134. </div>
  135. </div>
  136. <div class="GlobalModalsWrapper" style="display: none;" id="previewCanvas">
  137. <div class="tanchu_Modal_content">
  138. <div class="Modal_form Modal_form_preview">
  139. <div class="Modal_form_div">
  140. <div class="ModalHeader">
  141. <h2 class="ModalTitle">效果预览</h2>
  142. <div class="close_modal">
  143. <img src="/www/image/close_icon.png" />
  144. </div>
  145. </div>
  146. <div class="ModalBody">
  147. <div class="previewImgWrap" id="previewImgWrap"></div>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. <div class="tanchu_bg"></div>
  153. </div>
  154. <script type="text/javascript" src="/www/js/fabric/dist/fabric.js"></script>
  155. <script type="text/javascript" src="/www/js/jquery.min.js"></script>
  156. <script type="text/javascript" src="/www/js/jquery.nicescroll.min.js"></script>
  157. <script type="text/javascript" src="/www/js/build.js"></script>
  158. </body>
  159. </html>