From 88960612b07fa414c6d019c1d6a2bc54a2708725 Mon Sep 17 00:00:00 2001 From: Lee <342694918@qq.com> Date: Wed, 23 Nov 2022 17:30:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=8D=E9=A6=88=E4=BF=AE=E6=94=B9-1123?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/home/view/default/base/mall_footer.html | 36 ++++++++++++++++--- app/home/view/default/mall/contact/index.html | 2 +- app/home/view/default/mall/goods/goods.html | 20 ++++++----- public/nginx.htaccess | 6 ---- 4 files changed, 44 insertions(+), 20 deletions(-) diff --git a/app/home/view/default/base/mall_footer.html b/app/home/view/default/base/mall_footer.html index 2e199bcc..61ea2661 100644 --- a/app/home/view/default/base/mall_footer.html +++ b/app/home/view/default/base/mall_footer.html @@ -86,12 +86,12 @@
-

LightCourse Student Services

- studentservice@lightglobal.org +

LightCourse Student Services

+ studentservice@lightglobal.org
-

Partner With Us

- partnerships@lightglobal.org +

Partner With Us

+ partnerships@lightglobal.org
@@ -245,7 +245,33 @@ setTimeout(function() { $(".form-wrap9").removeClass('show'); }, 100); - }) + }) + $(".copy-btn-01").click(function () { + var copy_text = $(".copy-txt-01").text(); //需要复制的内容 + var y = $(this).offset().top - 32, + x = $(this).offset().left + 45; + copyText(copy_text); + //复制成功后提示文字 + layer.msg("Copy Succeeded"); + }); + $(".copy-btn-02").click(function () { + var copy_text = $(".copy-txt-02").text(); //需要复制的内容 + var y = $(this).offset().top - 32, + x = $(this).offset().left + 45; + copyText(copy_text); + //复制成功后提示文字 + layer.msg("Copy Succeeded"); + }); + + function copyText(text) { + var oInput = document.createElement('input'); + oInput.value = text; + document.body.appendChild(oInput); + oInput.select(); + document.execCommand("Copy"); + oInput.className = 'oInput'; + oInput.style.display = 'none'; + }