diff --git a/xiaomayi-modules/xiaomayi-web/src/main/resources/static/assets/js/common.js b/xiaomayi-modules/xiaomayi-web/src/main/resources/static/assets/js/common.js index 559132c..fb2b333 100644 --- a/xiaomayi-modules/xiaomayi-web/src/main/resources/static/assets/js/common.js +++ b/xiaomayi-modules/xiaomayi-web/src/main/resources/static/assets/js/common.js @@ -54,16 +54,80 @@ layui.config({ }); } - // 返回顶部 + // 咨询弹窗样式(仅注入一次) + if (!$('#xmContactStyle').length) { + $('head').append( + '' + ); + } + + // 右侧浮层工具栏(保持原 fixbar 样式) util.fixbar({ bgcolor: '#165DFF', - bar1: '', + bar1: '', + bar2: '', + bar3: '', click: function (type) { - if (type == 'bar1') { - window.open('tencent://message/?Menu=yes&uin=575073565'); + if (type === 'bar1') { + openContactLayer('wechat'); + } else if (type === 'bar2') { + openContactLayer('qq'); + } else if (type === 'bar3') { + $('html,body').animate({scrollTop: 0}, 300); } } }); + + // 咨询弹窗公共方法 + window.openContactLayer = function(type) { + var isWx = type === 'wechat'; + var heroTitle = isWx ? '微信客服' : 'QQ客服'; + var heroDesc = isWx ? '长按或扫描二维码,添加微信好友
技术顾问一对一为您解答疑问' : '长按或扫描二维码,添加QQ好友
技术顾问一对一为您解答疑问'; + var qrImg = isWx ? '/static/assets/images/img_wx.png' : '/static/assets/images/img_qq.png'; + var qrAlt = isWx ? '微信二维码' : 'QQ二维码'; + var qrLabel = isWx + ? ' 微信扫码' + : ' QQ扫码'; + + var html = '
' + + '
' + + '' + + '

' + heroTitle + '

' + + '

' + heroDesc + '

' + + '
' + + '
' + + '
' + qrAlt + '
' + + '
' + qrLabel + '
' + + '
长按识别或截图扫码
' + + '
' + + '
'; + + layer.open({ + type: 1, + title: false, + closeBtn: 0, + shade: 0.35, + area: ['380px'], + content: html, + success: function (layero) { + layero.css('border-radius', '10px'); + } + }); + }; } // 同步当前滚动位置 diff --git a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/buy_notice.html b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/buy_notice.html index c2576c4..e20445c 100644 --- a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/buy_notice.html +++ b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/buy_notice.html @@ -78,7 +78,7 @@
扫码咨询,更好的为您服务
- Copyright © 2020~2026 www.djangoadmin.cn. All rights reserved. + Copyright © 2021~2026 www.djangoadmin.cn. All rights reserved.

diff --git a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/down_notice.html b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/down_notice.html index a56a6d8..2bcff9e 100644 --- a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/down_notice.html +++ b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/down_notice.html @@ -78,7 +78,7 @@
扫码咨询,更好的为您服务
- Copyright © 2020~2026 www.djangoadmin.cn. All rights reserved. + Copyright © 2021~2026 www.djangoadmin.cn. All rights reserved.

diff --git a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/download.html b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/download.html index fe0c998..b3a090e 100644 --- a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/download.html +++ b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/download.html @@ -82,7 +82,7 @@
扫码咨询,更好的为您服务
- Copyright © 2020~2026 www.djangoadmin.cn. All rights reserved. + Copyright © 2021~2026 www.djangoadmin.cn. All rights reserved.

diff --git a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/message.html b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/message.html index 5e6ab25..60db251 100644 --- a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/message.html +++ b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/message.html @@ -78,7 +78,7 @@
扫码咨询,更好的为您服务
- Copyright © 2020~2026 www.djangoadmin.cn. All rights reserved. + Copyright © 2021~2026 www.djangoadmin.cn. All rights reserved.

diff --git a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/register.html b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/register.html index 56f19f5..758ac9f 100644 --- a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/register.html +++ b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/register.html @@ -84,7 +84,7 @@
扫码咨询,更好的为您服务
- Copyright © 2020~2026 www.djangoadmin.cn. All rights reserved. + Copyright © 2021~2026 www.djangoadmin.cn. All rights reserved.

diff --git a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/register_notice.html b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/register_notice.html index ed499a7..3e73b7b 100644 --- a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/register_notice.html +++ b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/email/register_notice.html @@ -78,7 +78,7 @@
扫码咨询,更好的为您服务
- Copyright © 2020~2026 www.djangoadmin.cn. All rights reserved. + Copyright © 2021~2026 www.djangoadmin.cn. All rights reserved.

diff --git a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/index2.html b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/index2.html index d051989..205121c 100644 --- a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/index2.html +++ b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/index2.html @@ -214,7 +214,7 @@
diff --git a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/index3.html b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/index3.html index 90649e1..60f9532 100644 --- a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/index3.html +++ b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/index3.html @@ -437,7 +437,7 @@
选择此版本 - 立即咨询 + 立即咨询
@@ -588,6 +588,8 @@ + +
+ + + + + \ No newline at end of file diff --git a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/public/footer.html b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/public/footer.html index bbcb0a0..6016ca0 100644 --- a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/public/footer.html +++ b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/public/footer.html @@ -43,7 +43,7 @@ diff --git a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/user/order.html b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/user/order.html index 8759464..c0a94e5 100644 --- a/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/user/order.html +++ b/xiaomayi-modules/xiaomayi-web/src/main/resources/templates/user/order.html @@ -10,6 +10,12 @@ .layui-btn-danger { background-color: #FF5722 !important; } + .layui-table-cell { + height: auto !important; + white-space: normal !important; + word-break: break-all; + line-height: 22px; + } .layer-get-code > .lay-code-group > button { position: absolute; right: 0; @@ -40,13 +46,13 @@
-

尊敬的用户,欢迎您成为《小蚂蚁云》官方平台注册会员。如遇订单支付异常或紧急情况,请通过以下方式联系我们,客服看到消息后会及时回复处理。

+

如遇订单支付异常、授权问题或紧急情况,请通过以下方式联系客服,我们将第一时间为您处理。

- - QQ扫码咨询 + + 微信扫码咨询 - - 微信扫码咨询 + + QQ扫码咨询
@@ -75,11 +81,6 @@ 重新购买 {{# } }} -