From 1565e85444814c6e27d17e28b72526244dfdb9e9 Mon Sep 17 00:00:00 2001 From: tianya Date: Mon, 26 Oct 2020 17:17:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/include/taglib/qrcode.lib.php | 5 +- src/plus/qrcode.php | 39 +++--- src/static/img/qrcode.js | 2 +- src/templets/default/article_article.htm | 2 + src/templets/default/article_default.htm | 2 + src/templets/default/article_default_sg.htm | 2 + src/templets/default/article_image.htm | 2 + src/templets/default/article_infos.htm | 2 + src/templets/default/article_shop.htm | 2 + src/templets/default/article_soft.htm | 2 + src/templets/default/article_spec.htm | 2 + src/templets/default/index.htm | 2 + src/templets/default/index_article.htm | 4 +- src/templets/default/index_default.htm | 4 +- src/templets/default/index_default_sg.htm | 4 +- src/templets/default/index_image.htm | 134 ++++++++++---------- src/templets/default/index_infos.htm | 2 + src/templets/default/index_shop.htm | 123 +++++++++--------- src/templets/default/index_soft.htm | 123 +++++++++--------- src/templets/default/list_article.htm | 2 + src/templets/default/list_default.htm | 2 + src/templets/default/list_default_sg.htm | 2 + src/templets/default/list_free.htm | 2 + src/templets/default/list_image.htm | 2 + src/templets/default/list_infos.htm | 2 + src/templets/default/list_shop.htm | 2 + src/templets/default/list_soft.htm | 2 + src/templets/default/list_spec.htm | 2 + src/templets/default/widget_qrcode.htm | 11 ++ src/templets/plus/qrcode.htm | 99 ++++++++------- 30 files changed, 323 insertions(+), 263 deletions(-) create mode 100644 src/templets/default/widget_qrcode.htm diff --git a/src/include/taglib/qrcode.lib.php b/src/include/taglib/qrcode.lib.php index 03509320..aff9e741 100755 --- a/src/include/taglib/qrcode.lib.php +++ b/src/include/taglib/qrcode.lib.php @@ -1,6 +1,6 @@ CAttribute->Items,$attlist); @@ -43,7 +42,7 @@ function lib_qrcode(&$ctag,&$refObj) } $reval=<<织梦二维码生成器 + 二维码、二维码生成 - {dede:global.cfg_webname/} - - + + + + + + + + + {dede:global.cfg_webname/} + + - {dede:include filename="top.htm"/} - - {dede:include filename="header.htm"/} + {dede:include filename="top.htm"/} - {dede:include filename="navbar.htm"/} - -
-
- -
- -
+ {dede:include filename="header.htm"/} -
+ {dede:include filename="navbar.htm"/} + +
+
+ +
+ +
+ +
+
+
-
-
- {dede:channelartlist} -
-
-
- + {dede:channelartlist} +
+
+ +
+ {dede:arclist row=4} + - {/dede:channelartlist} + {/dede:arclist}
+
+
+ {/dede:channelartlist} +
-
-
+ -
-
- + {dede:include comment='热点内容' filename="widget_hot.htm"/} - {dede:include filename="footer.htm"/} - + {dede:include comment='QR二维码' filename="widget_qrcode.htm"/} + + +
+ - + {dede:include filename="footer.htm"/} + + \ No newline at end of file diff --git a/src/templets/default/index_infos.htm b/src/templets/default/index_infos.htm index 1915a867..435c7a5a 100755 --- a/src/templets/default/index_infos.htm +++ b/src/templets/default/index_infos.htm @@ -68,6 +68,8 @@ {dede:include comment='推荐内容' filename="widget_recommend_sg.htm"/} {dede:include comment='热点内容' filename="widget_hot_sg.htm"/} + + {dede:include comment='QR二维码' filename="widget_qrcode.htm"/} diff --git a/src/templets/default/index_shop.htm b/src/templets/default/index_shop.htm index e87fe1f3..081234f4 100755 --- a/src/templets/default/index_shop.htm +++ b/src/templets/default/index_shop.htm @@ -2,79 +2,80 @@ - - - - - - - - - {dede:global.cfg_webname/} - - + + + + + + + + + {dede:global.cfg_webname/} + + - {dede:include filename="top.htm"/} - - {dede:include filename="header.htm"/} + {dede:include filename="top.htm"/} - {dede:include filename="navbar.htm"/} - -
-
- -
- -
+ {dede:include filename="header.htm"/} -
+ {dede:include filename="navbar.htm"/} + +
+
+ +
+ +
+ +
+
+
-
-
- {dede:channelartlist} -
-
- -
    - {dede:arclist titlelen='60' row='8'} -
  • [field:title/] -
  • - {/dede:arclist} -
+ {dede:channelartlist} +
+
+
+ - {/dede:channelartlist}
+
    + {dede:arclist titlelen='60' row='8'} +
  • [field:title/] +
  • + {/dede:arclist} +
+
+
+ {/dede:channelartlist} +
-
-
+ -
-
- + {dede:include comment='热点内容' filename="widget_hot.htm"/} - {dede:include filename="footer.htm"/} - + {dede:include comment='QR二维码' filename="widget_qrcode.htm"/} + + +
+ - + {dede:include filename="footer.htm"/} + + \ No newline at end of file diff --git a/src/templets/default/index_soft.htm b/src/templets/default/index_soft.htm index e87fe1f3..081234f4 100755 --- a/src/templets/default/index_soft.htm +++ b/src/templets/default/index_soft.htm @@ -2,79 +2,80 @@ - - - - - - - - - {dede:global.cfg_webname/} - - + + + + + + + + + {dede:global.cfg_webname/} + + - {dede:include filename="top.htm"/} - - {dede:include filename="header.htm"/} + {dede:include filename="top.htm"/} - {dede:include filename="navbar.htm"/} - -
-
- -
- -
+ {dede:include filename="header.htm"/} -
+ {dede:include filename="navbar.htm"/} + +
+
+ +
+ +
+ +
+
+
-
-
- {dede:channelartlist} -
-
- -
    - {dede:arclist titlelen='60' row='8'} -
  • [field:title/] -
  • - {/dede:arclist} -
+ {dede:channelartlist} +
+
+
+ - {/dede:channelartlist}
+
    + {dede:arclist titlelen='60' row='8'} +
  • [field:title/] +
  • + {/dede:arclist} +
+
+
+ {/dede:channelartlist} +
-
-
+ -
-
- + {dede:include comment='热点内容' filename="widget_hot.htm"/} - {dede:include filename="footer.htm"/} - + {dede:include comment='QR二维码' filename="widget_qrcode.htm"/} + + +
+ - + {dede:include filename="footer.htm"/} + + \ No newline at end of file diff --git a/src/templets/default/list_article.htm b/src/templets/default/list_article.htm index 41a539c1..ca4d4cf0 100755 --- a/src/templets/default/list_article.htm +++ b/src/templets/default/list_article.htm @@ -74,6 +74,8 @@ {dede:include comment='热点内容' filename="widget_hot.htm"/} + {dede:include comment='QR二维码' filename="widget_qrcode.htm"/} + diff --git a/src/templets/default/list_default.htm b/src/templets/default/list_default.htm index c13250e4..8f5b22d3 100755 --- a/src/templets/default/list_default.htm +++ b/src/templets/default/list_default.htm @@ -74,6 +74,8 @@ {dede:include comment='热点内容' filename="widget_hot.htm"/} + {dede:include comment='QR二维码' filename="widget_qrcode.htm"/} + diff --git a/src/templets/default/list_default_sg.htm b/src/templets/default/list_default_sg.htm index 7662b8a2..55fc9aa3 100755 --- a/src/templets/default/list_default_sg.htm +++ b/src/templets/default/list_default_sg.htm @@ -74,6 +74,8 @@ {dede:include comment='热点内容' filename="widget_hot_sg.htm"/} + {dede:include comment='QR二维码' filename="widget_qrcode.htm"/} + diff --git a/src/templets/default/list_free.htm b/src/templets/default/list_free.htm index 8d64d84c..78a07fd9 100755 --- a/src/templets/default/list_free.htm +++ b/src/templets/default/list_free.htm @@ -55,6 +55,8 @@ {dede:include comment='热点内容' filename="widget_hot.htm"/} + {dede:include comment='QR二维码' filename="widget_qrcode.htm"/} + diff --git a/src/templets/default/list_image.htm b/src/templets/default/list_image.htm index c8158aa9..977c1fd2 100755 --- a/src/templets/default/list_image.htm +++ b/src/templets/default/list_image.htm @@ -68,6 +68,8 @@ {dede:include comment='热点内容' filename="widget_hot.htm"/} + {dede:include comment='QR二维码' filename="widget_qrcode.htm"/} + diff --git a/src/templets/default/list_infos.htm b/src/templets/default/list_infos.htm index d7599242..bfd0a8a6 100755 --- a/src/templets/default/list_infos.htm +++ b/src/templets/default/list_infos.htm @@ -134,6 +134,8 @@ {dede:include comment='热点内容' filename="widget_hot_sg.htm"/} + {dede:include comment='QR二维码' filename="widget_qrcode.htm"/} + diff --git a/src/templets/default/list_shop.htm b/src/templets/default/list_shop.htm index f526b6f8..59bb25d2 100755 --- a/src/templets/default/list_shop.htm +++ b/src/templets/default/list_shop.htm @@ -76,6 +76,8 @@ {dede:include comment='热点内容' filename="widget_hot.htm"/} + {dede:include comment='QR二维码' filename="widget_qrcode.htm"/} + diff --git a/src/templets/default/list_soft.htm b/src/templets/default/list_soft.htm index 76e152aa..c8716aa5 100755 --- a/src/templets/default/list_soft.htm +++ b/src/templets/default/list_soft.htm @@ -76,6 +76,8 @@ {dede:include comment='热点内容' filename="widget_hot.htm"/} + {dede:include comment='QR二维码' filename="widget_qrcode.htm"/} + diff --git a/src/templets/default/list_spec.htm b/src/templets/default/list_spec.htm index f9a02ccc..2f735fd5 100755 --- a/src/templets/default/list_spec.htm +++ b/src/templets/default/list_spec.htm @@ -77,6 +77,8 @@ {dede:include comment='热点内容' filename="widget_hot.htm"/} + {dede:include comment='QR二维码' filename="widget_qrcode.htm"/} + diff --git a/src/templets/default/widget_qrcode.htm b/src/templets/default/widget_qrcode.htm new file mode 100644 index 00000000..cfe7845b --- /dev/null +++ b/src/templets/default/widget_qrcode.htm @@ -0,0 +1,11 @@ +
+
+
+
二维码
+
+
+
+ {dede:qrcode/} +
+
+ \ No newline at end of file diff --git a/src/templets/plus/qrcode.htm b/src/templets/plus/qrcode.htm index f42fb4e5..9eef7e02 100755 --- a/src/templets/plus/qrcode.htm +++ b/src/templets/plus/qrcode.htm @@ -1,50 +1,57 @@ - + - - 扫描二维码 - - - - - - -
-
分享到微信朋友圈 -
-
-
- - - -
-
-
打开微信,点击底部的“发现”, -
使用“扫一扫”即可将网页分享至朋友圈。
+ + 扫描二维码 + + + + +
+
分享到微信朋友圈 +
+
+
+ + + +
- +
打开微信或扫码工具,使用“扫一扫” +
访问后即可将网页分享至朋友圈。
+
+ \ No newline at end of file