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 @@ +
    + + + + +
    + +
    + +
    +
    + + +
    +
    + + +
    + +
    + +
    +
    + + +
    +
    + + +
    + +
    +
    + +
    本地生活商家管理后台登录页表单的标题
    +
    +
    +
    + + +
    + +
    + +
    +
    + + +
    +
    + + +
    + +
    + +
    +
    + + +
    +
    + + +
    + +
    + +
    +
    + + +
    +
    + +
    +
    + +
    +
    +
    +