Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. {include file="header.htm" /}
  2. <script type="text/javascript" src="__WEAPP_TEMPLATE__/skin/js/jquery.bigcolorpicker.min.js?v={$weappInfo.version|default='v1.0.0'}"></script>
  3. <link type="text/css" href="__WEAPP_TEMPLATE__/skin/css/jquery.bigcolorpicker.css?v={$weappInfo.version|default='v1.0.0'}" rel="stylesheet" />
  4. <script type="text/javascript">
  5. $(function(){
  6. $("#bjs").bigColorpicker("bjs");
  7. $("#tbys").bigColorpicker("tbys");
  8. $("#ztys").bigColorpicker("ztys");
  9. $("#img").bigColorpicker(function(el,color){
  10. $(el).css("background-color",color);
  11. });
  12. $(".ku").bigColorpicker(function(el,color){
  13. $(el).css("background-color",color);
  14. });
  15. $("#c5").bigColorpicker("c5","L",6);
  16. });
  17. </script>
  18. <style>.explanation ul li span {width: 200px;display: inline-block;}.explanation ul li {border-bottom: 1px solid #ffffff;}</style>
  19. <body style="background-color: #FFF; overflow: auto;">
  20. <div id="toolTipLayer" style="position: absolute; z-index: 9999; display: none; visibility: visible; left: 95px; top: 573px;"></div>
  21. <div id="append_parent"></div>
  22. <div id="ajaxwaitid"></div>
  23. <div class="page">
  24. {include file="bar.htm" /}
  25. <!-- 操作说明 -->
  26. <div id="explanation" class="explanation" style="color: rgb(44, 188, 163); background-color: rgb(237, 251, 248); width: 99%; height: 100%;">
  27. <div id="checkZoom" class="title"><i class="fa fa-lightbulb-o"></i>
  28. <h4 title="提示相关设置操作时应注意的要点">操作提示</h4>
  29. <span title="收起提示" id="explanationZoom" style="display: block;"></span>
  30. </div>
  31. <ul>
  32. <li><span>栏目名称:电话</span><span>图标:fa-phone</span>地址:tel:15366******</li>
  33. <li><span>栏目名称:短信</span><span>图标:fa-comments</span>地址:sms:15366******</li>
  34. <li><span>栏目名称:会员中心或者我的</span><span>图标:fa-user</span>地址:{literal}{eyou:url link='user/Users/index' /}{/literal}</li>
  35. <li><span>栏目名称:QQ</span><span>图标:fa-qq</span>地址:http://wpa.qq.com/msgrd?v=3&uin=QQ号码&site=qq&menu=yes</li>
  36. <li><span>栏目名称:首页</span><span>图标:fa-home</span>地址:/</li>
  37. <li><span>栏目名称:微信</span><span>图标:fa-wechat</span>地址:javascript:;</li>
  38. <li>其他栏目以及地址根据实际信息来填写!图标查看字体大全!</li>
  39. <li style="color: #f00;">注意事项:样式一当中 栏目二和栏目四可以不填,样式二当中 至少填写2个栏目,不填则不显示,如果需要微信请在栏目五填写!请仔细阅读!!!</li>
  40. </ul>
  41. </div>
  42. <form class="form-horizontal" id="post_form" action="{:weapp_url('Footernav/Footernav/save')}" method="post">
  43. <div class="ncap-form-default">
  44. <div class="xgtu1 none" {if condition="!isset($info.data.yangshi) || $info.data.yangshi eq 1"}style="display: block;"{/if}>
  45. <dl class="row">
  46. <dt class="tit">
  47. <label>效果图</label>
  48. </dt>
  49. <dd class="opt">
  50. <div class="onoff" style="height: 90px;">
  51. <img class="onoff" src="__WEAPP_TEMPLATE__/skin/images/xgtu1.jpg" />
  52. </div>
  53. <p class=""></p>
  54. </dd>
  55. </dl>
  56. </div>
  57. <div class="xgtu2 none" {if condition="isset($info.data.yangshi) && $info.data.yangshi eq 2"}style="display: block;"{/if}>
  58. <dl class="row">
  59. <dt class="tit">
  60. <label>效果图</label>
  61. </dt>
  62. <dd class="opt">
  63. <div class="onoff" style="height: 90px;">
  64. <img class="onoff" src="__WEAPP_TEMPLATE__/skin/images/xgtu2.jpg" />
  65. </div>
  66. <p class=""></p>
  67. </dd>
  68. </dl>
  69. </div>
  70. <dl class="row">
  71. <dt class="tit">
  72. <label>调用方式</label>
  73. </dt>
  74. <dd class="opt">
  75. <div class="onoff">
  76. <label for="tag_weapp1" class="cb-enable {if condition='!isset($row.tag_weapp) || $row.tag_weapp eq 1'}selected{/if}">系统自动</label>
  77. <label for="tag_weapp0" class="cb-disable {if condition='isset($row.tag_weapp) && $row.tag_weapp eq 2'}selected{/if}">手工调用</label>
  78. <input id="tag_weapp1" name="tag_weapp" value="1" type="radio" {if condition="!isset($row.tag_weapp) || $row.tag_weapp eq 1"} checked="checked"{/if}>
  79. <input id="tag_weapp0" name="tag_weapp" value="2" type="radio" {if condition="isset($row.tag_weapp) && $row.tag_weapp eq 2"} checked="checked"{/if}>
  80. </div>
  81. <p class="notic">自动调用会默认绑定weapp模板标签,手工调用请参考使用指南的调用方法。</p>
  82. </dd>
  83. </dl>
  84. <dl class="row">
  85. <dt class="tit">
  86. <label>样式选择</label>
  87. </dt>
  88. <dd class="opt">
  89. <div class="onoff">
  90. <label for="yangshi1" class="cb-enable cb-enable1 {if condition='!isset($info.data.yangshi) || $info.data.yangshi eq 1'}selected{/if}">样式一</label>
  91. <label for="yangshi2" class="cb-disable cb-enable2 {if condition='isset($info.data.yangshi) && $info.data.yangshi eq 2'}selected{/if}">样式二</label>
  92. <input id="yangshi1" name="yangshi" value="1" type="radio" {if condition="!isset($info.data.yangshi) || $info.data.yangshi eq 1"} checked="checked"{/if}>
  93. <input id="yangshi2" name="yangshi" value="2" type="radio" {if condition="isset($info.data.yangshi) && $info.data.yangshi eq 2"} checked="checked"{/if}>
  94. </div>
  95. <p class=""></p>
  96. </dd>
  97. </dl>
  98. <dl class="row">
  99. <dt class="tit">
  100. <label>调用JQ</label>
  101. </dt>
  102. <dd class="opt">
  103. <div class="onoff">
  104. <label for="jq1" class="cb-enable {if condition='!isset($info.data.jq) || $info.data.jq eq 1'}selected{/if}">调用</label>
  105. <label for="jq0" class="cb-disable {if condition='isset($info.data.jq) && $info.data.jq eq 2'}selected{/if}">关闭</label>
  106. <input id="jq1" name="jq" value="1" type="radio" {if condition="!isset($info.data.jq) || $info.data.jq eq 1"} checked="checked"{/if}>
  107. <input id="jq0" name="jq" value="2" type="radio" {if condition="isset($info.data.jq) && $info.data.jq eq 2"} checked="checked"{/if}>
  108. </div>
  109. <p class="notic">自动调用会默认绑定weapp模板标签,手工调用请参考使用指南的调用方法。</p>
  110. </dd>
  111. </dl>
  112. <dl class="row">
  113. <dt class="tit">
  114. <label>背景色</label>
  115. </dt>
  116. <dd class="opt">
  117. <input type="text" name="bjs" value="{$info.data.bjs|default='#fff'}" id="bjs" class="input-txt" autocomplete="off">
  118. <span class="err"></span>
  119. <p class=""></p>
  120. </dd>
  121. </dl>
  122. <dl class="row">
  123. <dt class="tit">
  124. <label>图标颜色</label>
  125. </dt>
  126. <dd class="opt">
  127. <input type="text" name="tbys" value="{$info.data.tbys|default='#2b2b2b'}" id="tbys" class="input-txt" autocomplete="off">
  128. <span class="err"></span>
  129. <p class=""></p>
  130. </dd>
  131. </dl>
  132. <dl class="row">
  133. <dt class="tit">
  134. <label>字体颜色</label>
  135. </dt>
  136. <dd class="opt">
  137. <input type="text" name="ztys" value="{$info.data.ztys|default='#333333'}" id="ztys" class="input-txt" autocomplete="off">
  138. <span class="err"></span>
  139. <p class=""></p>
  140. </dd>
  141. </dl>
  142. <dl class="row bankcon none" {if condition="!isset($info.data.yangshi) || $info.data.yangshi eq 1"}style="display: block;"{/if}>
  143. <dt class="tit">
  144. <label>中间图标大小</label>
  145. </dt>
  146. <dd class="opt">
  147. <input type="text" name="zjtbdx" value="{$info.data.zjtbdx|default='40'}" id="zjtbdx" class="input-txt" autocomplete="off">px <em style="color: #f00;">*此选项为样式一设置,建议填写40或者60像素</em>
  148. <span class="err"></span>
  149. <p class=""></p>
  150. </dd>
  151. </dl>
  152. <dl class="row">
  153. <dt class="tit">
  154. <label>栏目一</label>
  155. </dt>
  156. <dd class="opt">
  157. <span>名称:</span><input type="text" name="mclmyi" value="{$info.data.mclmyi|default='电话'}" id="mclmyi" class="input-txt" autocomplete="off">
  158. <span>图标:</span><input type="text" name="tblmyi" value="{$info.data.tblmyi|default='fa-phone'}" id="tblmyi" class="input-txt" autocomplete="off">
  159. <span>地址:</span><input type="text" name="dzlmyi" value="{$info.data.dzlmyi|default='tel:15366******'}" id="dzlmyi" class="input-txt" autocomplete="off">
  160. <span class="err"></span>
  161. <p class=""></p>
  162. </dd>
  163. </dl>
  164. <dl class="row">
  165. <dt class="tit">
  166. <label>栏目二</label>
  167. </dt>
  168. <dd class="opt">
  169. <span>名称:</span><input type="text" name="mclmer" value="{$info.data.mclmer|default='短信'}" id="mclmer" class="input-txt" autocomplete="off">
  170. <span>图标:</span><input type="text" name="tblmer" value="{$info.data.tblmer|default='fa-comments'}" id="tblmer" class="input-txt" autocomplete="off">
  171. <span>地址:</span><input type="text" name="dzlmer" value="{$info.data.dzlmer|default='sms:15366******'}" id="dzlmer" class="input-txt" autocomplete="off">
  172. <span class="err"></span>
  173. <p class=""></p>
  174. </dd>
  175. </dl>
  176. <dl class="row">
  177. <dt class="tit">
  178. <label>栏目三</label>
  179. </dt>
  180. <dd class="opt">
  181. <span>名称:</span><input type="text" name="mclmsan" value="{$info.data.mclmsan|default='首页'}" id="mclmsan" class="input-txt" autocomplete="off">
  182. <span>图标:</span><input type="text" name="tblmsan" value="{$info.data.tblmsan|default='fa-home'}" id="tblmsan" class="input-txt" autocomplete="off">
  183. <span>地址:</span><input type="text" name="dzlmsan" value="{$info.data.dzlmsan|default='/'}" id="dzlmsan" class="input-txt" autocomplete="off">
  184. <span class="err"></span>
  185. <p class=""></p>
  186. </dd>
  187. </dl>
  188. <dl class="row">
  189. <dt class="tit">
  190. <label>栏目四</label>
  191. </dt>
  192. <dd class="opt">
  193. <span>名称:</span><input type="text" name="mclmsi" value="{$info.data.mclmsi|default='QQ'}" id="mclmsi" class="input-txt" autocomplete="off">
  194. <span>图标:</span><input type="text" name="tblmsi" value="{$info.data.tblmsi|default='fa-qq'}" id="tblmsi" class="input-txt" autocomplete="off">
  195. <span>地址:</span><input type="text" name="dzlmsi" value="{$info.data.dzlmsi|default=''}" id="dzlmsi" class="input-txt" autocomplete="off">
  196. <span class="err"></span>
  197. <p class=""></p>
  198. </dd>
  199. </dl>
  200. <dl class="row">
  201. <dt class="tit">
  202. <label>栏目五</label>
  203. </dt>
  204. <dd class="opt">
  205. <span>名称:</span><input type="text" name="mclmwu" value="{$info.data.mclmwu|default='微信'}" id="mclmwu" class="input-txt" autocomplete="off">
  206. <span>图标:</span><input type="text" name="tblmwu" value="{$info.data.tblmwu|default='fa-wechat'}" id="tblmwu" class="input-txt" autocomplete="off">
  207. <span>地址:</span><input type="text" name="dzlmwu" value="{$info.data.dzlmwu|default='javascript:;'}" id="dzlmwu" class="input-txt" autocomplete="off">
  208. <span class="err"></span>
  209. <p class=""></p>
  210. </dd>
  211. </dl>
  212. {eyou:switch name='$info.data.mclmwu'}
  213. {eyou:case value='微信'}
  214. <dl class="row">
  215. <dt class="tit">
  216. <label>微信号</label>
  217. </dt>
  218. <dd class="opt">
  219. <input type="text" name="wxhlmwu" value="{$info.data.wxhlmwu|default='408256272'}" id="wxhlmwu" class="input-txt" autocomplete="off">
  220. <span class="err"></span>
  221. <p class=""></p>
  222. </dd>
  223. </dl>
  224. {/eyou:case}
  225. {eyou:default /}
  226. {/eyou:switch}
  227. <div class="bot">
  228. <input type="hidden" name="code" value="{$row.code}" />
  229. <a href="JavaScript:void(0);" onclick="checkForm();" class="ncap-btn-big ncap-btn-green" id="submitBtn">确认提交</a>
  230. </div>
  231. </div>
  232. </form>
  233. </div>
  234. <script type="text/javascript">
  235. // 判断输入框是否为空
  236. function checkForm(){
  237. layer_loading('正在处理');
  238. $('#post_form').submit();
  239. }
  240. </script>
  241. {include file="footer.htm" /}