From bbb669a4b009b08ac709491d0e26772154a09756 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Mon, 16 Dec 2024 11:23:06 +0800 Subject: [PATCH] =?UTF-8?q?admin=E6=B7=BB=E5=8A=A0=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E7=94=9F=E6=B4=BB=E6=A8=A1=E5=9D=97=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/view/setting/basic/website.html | 46 ++++++ .../setting/basic/website_local_store.html | 139 ++++++++++++++++++ 2 files changed, 185 insertions(+) create mode 100755 app/admin/view/setting/basic/website_local_store.html diff --git a/app/admin/view/setting/basic/website.html b/app/admin/view/setting/basic/website.html index 8fc71ade..76cec6ce 100755 --- a/app/admin/view/setting/basic/website.html +++ b/app/admin/view/setting/basic/website.html @@ -23,6 +23,7 @@
  • 商城信息
  • 平台信息
  • 商家信息
  • +
  • 本地生活商家信息
  • @@ -37,6 +38,10 @@
    {include file="setting/basic/website_shop"/}
    + +
    + {include file="setting/basic/website_local_store"/} +
    @@ -145,6 +150,43 @@ }); }); + //本地生活商家 + $(document).on("click", ".local_store_login_logo", function () { + like.imageUpload({ + limit: 1, + field: "local_store_login_logo", + that: $(this) + }); + }); + $(document).on("click", ".local_store_login_image", function () { + like.imageUpload({ + limit: 1, + field: "local_store_login_image", + that: $(this) + }); + }); + $(document).on("click", ".local_store_admin_logo", function () { + like.imageUpload({ + limit: 1, + field: "local_store_admin_logo", + that: $(this) + }); + }); + $(document).on("click", ".local_store_default_logo", function () { + like.imageUpload({ + limit: 1, + field: "local_store_default_logo", + that: $(this) + }); + }); + $(document).on("click", ".local_store_default_bg", function () { + like.imageUpload({ + limit: 1, + field: "local_store_default_bg", + that: $(this) + }); + }); + form.on('submit(setWebsite)', function (data) { submit('{:url("setting.Basic/setWebsite")}',data.field); }); @@ -157,6 +199,10 @@ submit('{:url("setting.Basic/setWebsite")}',data.field); }); + form.on('submit(setLocalStore)', function (data) { + submit('{:url("setting.Basic/setWebsite")}',data.field); + }); + function submit(url, data) { like.ajax({ url: url diff --git a/app/admin/view/setting/basic/website_local_store.html b/app/admin/view/setting/basic/website_local_store.html new file mode 100755 index 00000000..585df29e --- /dev/null +++ b/app/admin/view/setting/basic/website_local_store.html @@ -0,0 +1,139 @@ +
    + + + + +
    + +
    + +
    +
    + + +
    +
    + + +
    + +
    + +
    +
    + + +
    +
    + + +
    + +
    +
    + +
    本地生活商家管理后台登录页表单的标题
    +
    +
    +
    + + +
    + +
    + +
    +
    + + +
    +
    + + +
    + +
    + +
    +
    + + +
    +
    + + +
    + +
    + +
    +
    + + +
    +
    + +
    +
    + +
    +
    +
    +