page.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. <div class="alert alert-info-light" style="margin-bottom:10px;">
  2. <b>提示:</b>修改页面风格后请刷新或重新进入小程序查看效果。
  3. </div>
  4. <form class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  5. <!--<div class="form-group">
  6. <label class="control-label col-xs-12 col-sm-2">首页风格:</label>
  7. <div class="col-xs-12 col-sm-8">
  8. <div class="radio">
  9. <label for="row[page_index_style]-color">
  10. <input id="row[page_index_style]-color" name="row[page_index_style]" type="radio" value="color" {notempty name="$row.page_index_style" }{eq name="$row.page_index_style" value="color" }checked{/eq}{else/}checked{/notempty}/>
  11. 多彩列表风格
  12. </label>
  13. <label for="row[page_index_style]-simple">
  14. <input id="row[page_index_style]-simple" name="row[page_index_style]" type="radio" value="simple" {notempty name="$row.page_index_style" }{eq name="$row.page_index_style" value="simple" }checked{/eq}{else/}checked{/notempty}/>
  15. 简约功能风格
  16. </label>
  17. </div>
  18. </div>
  19. </div>-->
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">用户中心风格:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <div class="radio">
  24. <label for="row[page_my_style]-color">
  25. <input id="row[page_my_style]-color" name="row[page_my_style]" type="radio" value="color" {notempty name="$row.page_my_style" }{eq name="$row.page_my_style" value="color" }checked{/eq}{else/}checked{/notempty}/>
  26. 多彩列表风格
  27. </label>
  28. <label for="row[page_my_style]-simple">
  29. <input id="row[page_my_style]-simple" name="row[page_my_style]" type="radio" value="simple" {notempty name="$row.page_my_style" }{eq name="$row.page_my_style" value="simple" }checked{/eq}{else/}checked{/notempty}/>
  30. 简约功能风格
  31. </label>
  32. </div>
  33. <!--<p style="color: orange; font-size: small;">* 修改页面风格后请刷新或重新进入小程序查看效果</p>-->
  34. </div>
  35. </div>
  36. <div class="form-group">
  37. <label class="control-label col-xs-12 col-sm-2">底部栏风格:</label>
  38. <div class="col-xs-12 col-sm-8">
  39. <div class="radio">
  40. <label for="row[page_tabbar_style]-glass">
  41. <input id="row[page_tabbar_style]-glass" name="row[page_tabbar_style]" type="radio" value="glass" {notempty name="$row.page_tabbar_style" }{eq name="$row.page_tabbar_style" value="glass" }checked{/eq}{else/}checked{/notempty}/>
  42. 毛玻璃风格
  43. </label>
  44. <label for="row[page_tabbar_style]-simple">
  45. <input id="row[page_tabbar_style]-simple" name="row[page_tabbar_style]" type="radio" value="simple" {notempty name="$row.page_tabbar_style" }{eq name="$row.page_tabbar_style" value="simple" }checked{/eq}{else/}checked{/notempty}/>
  46. 简约风格
  47. </label>
  48. </div>
  49. </div>
  50. </div>
  51. <hr>
  52. <div class="row">
  53. <div class="col-sm-1"></div>
  54. <div class="col-xs-12 col-sm-10">
  55. <div class="panel panel-default">
  56. <div class="panel-heading">首页悬浮按钮</div>
  57. <div class="panel-body">
  58. <div class="form-group">
  59. <label class="control-label col-xs-12 col-sm-2">广告按钮:</label>
  60. <div class="col-xs-12 col-sm-8">
  61. <div class="radio">
  62. <label for="row[page_index_ad_btn]-1">
  63. <input id="row[page_index_ad_btn]-1" name="row[page_index_ad_btn]" type="radio" value="1" {notempty name="$row.page_index_ad_btn" }{eq name="$row.page_index_ad_btn" value="1" }checked{/eq}{else/}checked{/notempty}/>
  64. 显示
  65. </label>
  66. <label for="row[page_index_ad_btn]-0">
  67. <input id="row[page_index_ad_btn]-0" name="row[page_index_ad_btn]" type="radio" value="0" {notempty name="$row.page_index_ad_btn" }{eq name="$row.page_index_ad_btn" value="0" }checked{/eq}{else/}checked{/notempty}/>
  68. 隐藏
  69. </label>
  70. </div>
  71. </div>
  72. </div>
  73. <div class="form-group">
  74. <label class="control-label col-xs-12 col-sm-2">分享按钮:</label>
  75. <div class="col-xs-12 col-sm-8">
  76. <div class="radio">
  77. <label for="row[page_index_share_btn]-1">
  78. <input id="row[page_index_share_btn]-1" name="row[page_index_share_btn]" type="radio" value="1" {notempty name="$row.page_index_share_btn" }{eq name="$row.page_index_share_btn" value="1" }checked{/eq}{else/}checked{/notempty}/>
  79. 显示
  80. </label>
  81. <label for="row[page_index_share_btn]-0">
  82. <input id="row[page_index_share_btn]-0" name="row[page_index_share_btn]" type="radio" value="0" {notempty name="$row.page_index_share_btn" }{eq name="$row.page_index_share_btn" value="0" }checked{/eq}{else/}checked{/notempty}/>
  83. 隐藏
  84. </label>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. <div class="row">
  93. <div class="col-sm-1"></div>
  94. <div class="col-xs-12 col-sm-10">
  95. <div class="panel panel-default">
  96. <div class="panel-heading">用户中心大嘴鸟按钮</div>
  97. <div class="panel-body">
  98. <div class="form-group">
  99. <label class="control-label col-xs-12 col-sm-2">是否显示:</label>
  100. <div class="col-xs-12 col-sm-8">
  101. <div class="radio">
  102. <label for="row[page_my_monster_btn]-1">
  103. <input id="row[page_my_monster_btn]-1" name="row[page_my_monster_btn]" type="radio" value="1" {notempty name="$row.page_my_monster_btn" }{eq name="$row.page_my_monster_btn" value="1" }checked{/eq}{else/}checked{/notempty}/>
  104. 显示
  105. </label>
  106. <label for="row[page_my_monster_btn]-0">
  107. <input id="row[page_my_monster_btn]-0" name="row[page_my_monster_btn]" type="radio" value="0" {notempty name="$row.page_my_monster_btn" }{eq name="$row.page_my_monster_btn" value="0" }checked{/eq}{else/}checked{/notempty}/>
  108. 隐藏
  109. </label>
  110. </div>
  111. </div>
  112. </div>
  113. </div>
  114. </div>
  115. </div>
  116. </div>
  117. <div class="row">
  118. <div class="col-sm-1"></div>
  119. <div class="col-xs-12 col-sm-10">
  120. <div class="panel panel-default">
  121. <div class="panel-heading">用户中心关注公众号按钮</div>
  122. <div class="panel-body">
  123. <div class="form-group">
  124. <label class="control-label col-xs-12 col-sm-2">是否显示:</label>
  125. <div class="col-xs-12 col-sm-8">
  126. <div class="radio">
  127. <label for="row[page_my_follow_mp_btn]-1">
  128. <input id="row[page_my_follow_mp_btn]-1" name="row[page_my_follow_mp_btn]" type="radio" value="1" data-config='exam_visible' {notempty name="$row.page_my_follow_mp_btn" }{eq name="$row.page_my_follow_mp_btn" value="1" }checked{/eq}{else/}checked{/notempty}/>
  129. 显示
  130. </label>
  131. <label for="row[page_my_follow_mp_btn]-0">
  132. <input id="row[page_my_follow_mp_btn]-0" name="row[page_my_follow_mp_btn]" type="radio" value="0" data-config='exam_visible' {notempty name="$row.page_my_follow_mp_btn" }{eq name="$row.page_my_follow_mp_btn" value="0" }checked{/eq}{else/}checked{/notempty}/>
  133. 隐藏
  134. </label>
  135. </div>
  136. </div>
  137. </div>
  138. <div id="page_my_follow_mp_btn-1">
  139. <div class="form-group">
  140. <label class="control-label col-xs-12 col-sm-2">点击事件:</label>
  141. <div class="col-xs-12 col-sm-8">
  142. <div class="radio">
  143. <label for="row[page_my_follow_mp_click]-article">
  144. <input id="row[page_my_follow_mp_click]-article" name="row[page_my_follow_mp_click]" type="radio" value="article" {notempty name="$row.page_my_follow_mp_click" }{eq name="$row.page_my_follow_mp_click" value="article" }checked{/eq}{else/}checked{/notempty}/>
  145. 跳转公众号文章
  146. </label>
  147. <label for="row[page_my_follow_mp_click]-image">
  148. <input id="row[page_my_follow_mp_click]-image" name="row[page_my_follow_mp_click]" type="radio" value="image" {notempty name="$row.page_my_follow_mp_click" }{eq name="$row.page_my_follow_mp_click" value="image" }checked{/eq}{else/}checked{/notempty}/>
  149. 弹窗显示二维码
  150. </label>
  151. </div>
  152. </div>
  153. </div>
  154. <div class="form-group" id="page_my_follow_mp_click-article">
  155. <label class="control-label col-xs-12 col-sm-2">文章链接:</label>
  156. <div class="col-xs-12 col-sm-8">
  157. <input id="c-follow_mp_article_url" class="form-control" name="row[follow_mp_article_url]" type="text" value="{$row['follow_mp_article_url']|default=''}">
  158. </div>
  159. </div>
  160. <div class="form-group" id="page_my_follow_mp_click-image">
  161. <label class="control-label col-xs-12 col-sm-2">二维码图片:</label>
  162. <div class="col-xs-12 col-sm-8">
  163. <div class="input-group">
  164. <input id="c-follow_mp_image" class="form-control" size="50" name="row[follow_mp_image]" value="{$row['follow_mp_image']|default=''}" type="text">
  165. <div class="input-group-addon no-border no-padding">
  166. <span>
  167. <button type="button" id="plupload-follow_mp_image" class="btn btn-danger plupload"
  168. data-input-id="c-follow_mp_image"
  169. data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false"
  170. data-preview-id="p-follow_mp_image">
  171. <i class="fa fa-upload"></i> {:__('Upload')}
  172. </button>
  173. </span>
  174. <span>
  175. <button type="button" id="fachoose-follow_mp_image" class="btn btn-primary fachoose"
  176. data-input-id="c-follow_mp_image" data-mimetype="image/*" data-multiple="false">
  177. <i class="fa fa-list"></i> {:__('Choose')}
  178. </button>
  179. </span>
  180. </div>
  181. <span class="msg-box n-right" for="c-follow_mp_image"></span>
  182. </div>
  183. <ul class="row list-inline plupload-preview" id="p-follow_mp_image"></ul>
  184. </div>
  185. </div>
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. <input type="hidden" name="type" value="page">
  191. <div class="form-group layer-footer">
  192. <label class="control-label col-xs-12 col-sm-2"></label>
  193. <div class="col-xs-12 col-sm-8">
  194. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  195. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  196. </div>
  197. </div>
  198. </div>
  199. </form>