浏览代码

[更新]修改微信模板

Anyon 7 年之前
父节点
当前提交
ecab1bf34b
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      application/wechat/view/menu.index.html
  2. 1 1
      application/wechat/view/news.select.html

+ 1 - 1
application/wechat/view/menu.index.html

@@ -250,7 +250,7 @@
                                     _url = content.split(',')[1] || '';
                                     _pagepath = content.split(',')[2] || '';
                                 }
-								$span.data('appid',_appid),$span.data('url',_url),$span.data('pagepath',_pagepath);
+                                $span.data('appid', _appid), $span.data('url', _url), $span.data('pagepath', _pagepath);
                                 return tpl.replace('{appid}', _appid).replace('{url}', _url).replace('{pagepath}', _pagepath);
                             case 'customservice':
                             case 'text':

+ 1 - 1
application/wechat/view/news.select.html

@@ -24,7 +24,7 @@
 <style>
     body { min-width: 500px }
     .news-container { margin: 20px 0; width: 100%; position: relative;padding:0 20px}
-    .news-container .news-box { border: 1px solid #eee; padding: 8px; width: 300px; border-radius: 5px; position: absolute; margin-bottom: 20px; cursor: pointer }
+    .news-container .news-box { border: 1px solid #eee; padding: 8px; width: 250px; border-radius: 5px; position: absolute; margin-bottom: 20px; cursor: pointer }
     .news-container .news-box:hover, .news-container .news-box.active { box-shadow: 1px 0px 10px #0099CC; border-color: #0099CC }
     .news-container .news-box hr { margin: 4px }
     .news-container .news-box .table-hover { margin-bottom: 0; margin-top: 10px; border-top: none }