From 8f29421b61988e76a33fdf853c4f1add645964e4 Mon Sep 17 00:00:00 2001 From: weiqingting <qingting.wei@yoho.cn> Date: Tue, 28 Jun 2016 18:07:44 +0800 Subject: [PATCH] delete --- server/controllers/SNS.shareOrderAudit.js | 20 -------------------- server/controllers/activity.activity.js | 63 --------------------------------------------------------------- server/controllers/baserule.brandmodel.js | 19 ------------------- server/controllers/baserule.catesize.js | 36 ------------------------------------ server/controllers/baserule.color.js | 34 ---------------------------------- server/controllers/baserule.porattr.js | 20 -------------------- server/controllers/baserule.sizeattribute.js | 15 --------------- server/controllers/baserule.sizelibrary.js | 17 ----------------- server/controllers/brand.brand.js | 31 ------------------------------- server/controllers/category.category.js | 35 ----------------------------------- server/controllers/common.index.js | 24 ------------------------ server/controllers/common.select.js | 54 ------------------------------------------------------ server/controllers/common.upload.js | 10 ---------- server/controllers/common.yohosearch.js | 10 ---------- server/controllers/goods.audit.js | 19 ------------------- server/controllers/goods.basegoods.js | 99 --------------------------------------------------------------------------------------------------- server/controllers/goods.cod.js | 61 ------------------------------------------------------------- server/controllers/goods.limitcategory.js | 19 ------------------- server/controllers/goods.netsale.js | 111 --------------------------------------------------------------------------------------------------------------- server/controllers/goods.price.js | 40 ---------------------------------------- server/controllers/goods.specialgoods.js | 16 ---------------- server/controllers/goods.yohoCoin.js | 44 -------------------------------------------- server/controllers/guang.articleCategory.js | 26 -------------------------- server/controllers/guang.author.js | 27 --------------------------- server/controllers/guang.brandConcern.js | 27 --------------------------- server/controllers/guang.comment.js | 24 ------------------------ server/controllers/guang.info.js | 75 --------------------------------------------------------------------------- server/controllers/guang.plusStar.js | 30 ------------------------------ server/controllers/guang.plusStarCategory.js | 24 ------------------------ server/controllers/guang.tag.js | 26 -------------------------- server/controllers/guang.tagCategory.js | 26 -------------------------- server/controllers/help.helpCategory.js | 24 ------------------------ server/controllers/help.helpContent.js | 32 -------------------------------- server/controllers/marketing.BrandCoupon.js | 29 ----------------------------- server/controllers/marketing.CouponList.js | 58 ---------------------------------------------------------- server/controllers/marketing.CouponSend.js | 71 ----------------------------------------------------------------------- server/controllers/marketing.LimitCode.js | 73 ------------------------------------------------------------------------- server/controllers/marketing.ProductPool.js | 37 ------------------------------------- server/controllers/marketing.PromotionCode.js | 67 ------------------------------------------------------------------- server/controllers/marketing.QueryCoupon.js | 24 ------------------------ server/controllers/marketing.Vip.js | 34 ---------------------------------- server/controllers/operations.category.js | 56 -------------------------------------------------------- server/controllers/operations.couponActivity.js | 43 ------------------------------------------- server/controllers/operations.couponSend.js | 21 --------------------- server/controllers/operations.entrance.js | 27 --------------------------- server/controllers/operations.generateLinks.js | 36 ------------------------------------ server/controllers/operations.hotRankTag.js | 30 ------------------------------ server/controllers/operations.hotsuggest.js | 36 ------------------------------------ server/controllers/operations.limit.js | 75 --------------------------------------------------------------------------- server/controllers/operations.notice.js | 30 ------------------------------ server/controllers/operations.salecategory.js | 49 ------------------------------------------------- server/controllers/operations.shopsVersionUpdate.js | 27 --------------------------- server/controllers/operations.staticFile.js | 28 ---------------------------- server/controllers/operations.subject.js | 30 ------------------------------ server/controllers/operations.suggest.js | 33 --------------------------------- server/controllers/operations.version.js | 27 --------------------------- server/controllers/resource.platform.js | 27 --------------------------- server/controllers/resource.resource.js | 60 ------------------------------------------------------------ server/controllers/resource.resourceSort.js | 27 --------------------------- server/controllers/searchWords.index.js | 50 -------------------------------------------------- server/controllers/shootMeter.index.js | 137 ----------------------------------------------------------------------------------------------------------------------------------------- server/controllers/shop.shopAdd.js | 42 ------------------------------------------ server/controllers/shop.shopAdministrator.js | 27 --------------------------- server/controllers/shop.shopAudit.js | 32 -------------------------------- server/controllers/shop.shopDecoration.js | 34 ---------------------------------- server/controllers/shop.shopInfo.js | 24 ------------------------ server/controllers/supplier.supplierAdd.js | 44 -------------------------------------------- server/controllers/supplier.supplierAudit.js | 26 -------------------------- server/controllers/supplier.supplierList.js | 42 ------------------------------------------ server/filters.js | 9 --------- server/index.js | 110 -------------------------------------------------------------------------------------------------------------- server/interfaces/SNS.shareOrderAudit.js | 52 ---------------------------------------------------- server/interfaces/activity.activity.js | 95 ----------------------------------------------------------------------------------------------- server/interfaces/baserule.brandmodel.js | 60 ------------------------------------------------------------ server/interfaces/baserule.catesize.js | 74 -------------------------------------------------------------------------- server/interfaces/baserule.color.js | 36 ------------------------------------ server/interfaces/baserule.proattr.js | 69 --------------------------------------------------------------------- server/interfaces/baserule.sizeattribute.js | 28 ---------------------------- server/interfaces/baserule.sizelibrary.js | 35 ----------------------------------- server/interfaces/brand.brand.js | 74 -------------------------------------------------------------------------- server/interfaces/category.category.js | 57 --------------------------------------------------------- server/interfaces/common.login.js | 140 -------------------------------------------------------------------------------------------------------------------------------------------- server/interfaces/common.select.js | 193 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/interfaces/common.upload.js | 218 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/interfaces/common.yohosearch.js | 55 ------------------------------------------------------- server/interfaces/goods.audio.js | 58 ---------------------------------------------------------- server/interfaces/goods.basegoods.js | 192 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ server/interfaces/goods.cod.js | 121 ------------------------------------------------------------------------------------------------------------------------- server/interfaces/goods.limitcategory.js | 28 ---------------------------- server/interfaces/goods.netsale.js | 349 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/interfaces/goods.price.js | 79 ------------------------------------------------------------------------------- server/interfaces/goods.specialgoods.js | 24 ------------------------ server/interfaces/goods.yohoCoin.js | 97 ------------------------------------------------------------------------------------------------- server/interfaces/guang.articleCategory.js | 48 ------------------------------------------------ server/interfaces/guang.author.js | 44 -------------------------------------------- server/interfaces/guang.brandConcern.js | 52 ---------------------------------------------------- server/interfaces/guang.comment.js | 33 --------------------------------- server/interfaces/guang.info.js | 155 ----------------------------------------------------------------------------------------------------------------------------------------------------------- server/interfaces/guang.plusStar.js | 73 ------------------------------------------------------------------------- server/interfaces/guang.plusStarCategory.js | 40 ---------------------------------------- server/interfaces/guang.tag.js | 54 ------------------------------------------------------ server/interfaces/guang.tagCategory.js | 44 -------------------------------------------- server/interfaces/help.helpCategory.js | 48 ------------------------------------------------ server/interfaces/help.helpContent.js | 70 ---------------------------------------------------------------------- server/interfaces/marketing.CouponList.js | 74 -------------------------------------------------------------------------- server/interfaces/marketing.CouponSend.js | 94 ---------------------------------------------------------------------------------------------- server/interfaces/marketing.LimitCode.js | 105 --------------------------------------------------------------------------------------------------------- server/interfaces/marketing.ProductPool.js | 82 ---------------------------------------------------------------------------------- server/interfaces/marketing.PromotionCode.js | 103 ------------------------------------------------------------------------------------------------------- server/interfaces/marketing.QueryCoupon.js | 38 -------------------------------------- server/interfaces/marketing.Vip.js | 38 -------------------------------------- server/interfaces/marketing.brandCoupon.js | 57 --------------------------------------------------------- server/interfaces/operations.category.js | 82 ---------------------------------------------------------------------------------- server/interfaces/operations.couponActivity.js | 67 ------------------------------------------------------------------- server/interfaces/operations.couponSend.js | 30 ------------------------------ server/interfaces/operations.entrance.js | 61 ------------------------------------------------------------- server/interfaces/operations.generateLinks.js | 28 ---------------------------- server/interfaces/operations.hotRankTag.js | 59 ----------------------------------------------------------- server/interfaces/operations.hotsuggest.js | 78 ------------------------------------------------------------------------------ server/interfaces/operations.limit.js | 133 ------------------------------------------------------------------------------------------------------------------------------------- server/interfaces/operations.notice.js | 63 --------------------------------------------------------------- server/interfaces/operations.salecategory.js | 90 ------------------------------------------------------------------------------------------ server/interfaces/operations.shopsVersionUpdate.js | 46 ---------------------------------------------- server/interfaces/operations.staticFile.js | 51 --------------------------------------------------- server/interfaces/operations.subject.js | 78 ------------------------------------------------------------------------------ server/interfaces/operations.suggest.js | 63 --------------------------------------------------------------- server/interfaces/operations.version.js | 46 ---------------------------------------------- server/interfaces/resource.platform.js | 40 ---------------------------------------- server/interfaces/resource.resource.js | 110 -------------------------------------------------------------------------------------------------------------- server/interfaces/resource.resourceSort.js | 40 ---------------------------------------- server/interfaces/searchWords.index.js | 107 ----------------------------------------------------------------------------------------------------------- server/interfaces/shootMeter.index.js | 184 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/interfaces/shop.shopAdd.js | 32 -------------------------------- server/interfaces/shop.shopAdministrator.js | 52 ---------------------------------------------------- server/interfaces/shop.shopAudit.js | 52 ---------------------------------------------------- server/interfaces/shop.shopDecoration.js | 71 ----------------------------------------------------------------------- server/interfaces/shop.shopInfo.js | 39 --------------------------------------- server/interfaces/supplier.supplierAdd.js | 50 -------------------------------------------------- server/interfaces/supplier.supplierAudit.js | 33 --------------------------------- server/interfaces/supplier.supplierList.js | 59 ----------------------------------------------------------- server/libs/App.js | 133 ------------------------------------------------------------------------------------------------------------------------------------- server/libs/Console.js | 72 ------------------------------------------------------------------------ server/libs/Controller.js | 157 ------------------------------------------------------------------------------------------------------------------------------------------------------------- server/libs/Filter.js | 68 -------------------------------------------------------------------- server/libs/Interfacer.js | 393 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/libs/Logger.js | 97 ------------------------------------------------------------------------------------------------- server/libs/Match.js | 87 --------------------------------------------------------------------------------------- server/libs/Mock.js | 1 - server/libs/Utils.js | 24 ------------------------ server/libs/Validate.js | 3 --- server/libs/Viewer.js | 115 ------------------------------------------------------------------------------------------------------------------- server/mid/grayrouter.js | 67 ------------------------------------------------------------------- server/package.json | 1 - server/views/SNS/shareOrderAudit.html | 75 --------------------------------------------------------------------------- server/views/activity/data.html | 58 ---------------------------------------------------------- server/views/activity/edit.html | 146 -------------------------------------------------------------------------------------------------------------------------------------------------- server/views/activity/index.html | 44 -------------------------------------------- server/views/baserule/Brandmodel.html | 135 --------------------------------------------------------------------------------------------------------------------------------------- server/views/baserule/CateSize.html | 103 ------------------------------------------------------------------------------------------------------- server/views/baserule/CateSizeAttr.html | 103 ------------------------------------------------------------------------------------------------------- server/views/baserule/Porattr.html | 205 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/baserule/SizeAttribute.html | 26 -------------------------- server/views/baserule/Sizelibrary.html | 25 ------------------------- server/views/baserule/color/Edit.html | 34 ---------------------------------- server/views/baserule/color/Index.html | 16 ---------------- server/views/brand/edit.html | 250 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/brand/index.html | 56 -------------------------------------------------------- server/views/category/Edit.html | 81 --------------------------------------------------------------------------------- server/views/category/Index.html | 57 --------------------------------------------------------- server/views/common/Error.html | 1 - server/views/common/Login.html | 38 -------------------------------------- server/views/common/__partail/ListHeader.html | 17 ----------------- server/views/common/__ui/footer.html | 5 ----- server/views/common/__ui/header.html | 20 -------------------- server/views/common/__ui/sidebar.html | 42 ------------------------------------------ server/views/common/__ui/topbar.html | 57 --------------------------------------------------------- server/views/common/index.html | 2 -- server/views/goods/audit/Index.html | 99 --------------------------------------------------------------------------------------------------- server/views/goods/basegoods/Batch.html | 103 ------------------------------------------------------------------------------------------------------- server/views/goods/basegoods/Edit.html | 345 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/goods/basegoods/Index.html | 136 ---------------------------------------------------------------------------------------------------------------------------------------- server/views/goods/basegoods/Info.html | 148 ---------------------------------------------------------------------------------------------------------------------------------------------------- server/views/goods/cod/Brand.html | 49 ------------------------------------------------- server/views/goods/cod/Goods.html | 69 --------------------------------------------------------------------- server/views/goods/cod/Upload.html | 59 ----------------------------------------------------------- server/views/goods/limitcategory/Index.html | 72 ------------------------------------------------------------------------ server/views/goods/netsale/Batch.html | 41 ----------------------------------------- server/views/goods/netsale/Edit.html | 152 -------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/goods/netsale/Index.html | 201 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/goods/netsale/__partail/add_info.html | 80 -------------------------------------------------------------------------------- server/views/goods/netsale/__partail/basic_info.html | 149 ----------------------------------------------------------------------------------------------------------------------------------------------------- server/views/goods/netsale/__partail/close_match.html | 69 --------------------------------------------------------------------- server/views/goods/netsale/__partail/editor_recommend.html | 36 ------------------------------------ server/views/goods/netsale/__partail/fenmian.html | 81 --------------------------------------------------------------------------------- server/views/goods/netsale/__partail/goods_description.html | 18 ------------------ server/views/goods/netsale/__partail/goods_params.html | 104 -------------------------------------------------------------------------------------------------------- server/views/goods/netsale/__partail/goods_sort.html | 30 ------------------------------ server/views/goods/netsale/__partail/model.html | 18 ------------------ server/views/goods/netsale/__partail/size_info.html | 16 ---------------- server/views/goods/price/BrandCooperation.html | 71 ----------------------------------------------------------------------- server/views/goods/price/PriceChange.html | 250 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/goods/specialgoods/Index.html | 46 ---------------------------------------------- server/views/goods/yohoCoin/Audit.html | 74 -------------------------------------------------------------------------- server/views/goods/yohoCoin/Index.html | 284 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/guang/articleCategory/Index.html | 55 ------------------------------------------------------- server/views/guang/author/Index.html | 39 --------------------------------------- server/views/guang/brandConcern/Index.html | 129 --------------------------------------------------------------------------------------------------------------------------------- server/views/guang/comment/Index.html | 46 ---------------------------------------------- server/views/guang/info/Edit.html | 634 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/guang/info/Index.html | 98 -------------------------------------------------------------------------------------------------- server/views/guang/plusStar/Index.html | 157 ------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/guang/plusStarCategory/Index.html | 67 ------------------------------------------------------------------- server/views/guang/tag/Index.html | 105 --------------------------------------------------------------------------------------------------------- server/views/guang/tagCategory/Index.html | 39 --------------------------------------- server/views/help/Category.html | 49 ------------------------------------------------- server/views/help/Content.html | 87 --------------------------------------------------------------------------------------- server/views/marketing/BrandCoupon/Index.html | 77 ----------------------------------------------------------------------------- server/views/marketing/CouponList/AddOrUpdate.html | 367 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/marketing/CouponList/Index.html | 266 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/marketing/CouponSend/Index.html | 126 ------------------------------------------------------------------------------------------------------------------------------ server/views/marketing/CouponSend/PublicCoupon.html | 32 -------------------------------- server/views/marketing/CouponSend/Send.html | 59 ----------------------------------------------------------- server/views/marketing/CouponSend/SendHistory.html | 27 --------------------------- server/views/marketing/CouponSend/UseHistory.html | 42 ------------------------------------------ server/views/marketing/LimitCode/Edit.html | 128 -------------------------------------------------------------------------------------------------------------------------------- server/views/marketing/LimitCode/Index.html | 57 --------------------------------------------------------- server/views/marketing/LimitCode/Info.html | 55 ------------------------------------------------------- server/views/marketing/ProductPool/Index.html | 84 ------------------------------------------------------------------------------------ server/views/marketing/PromotionCode/Edit.html | 225 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/marketing/PromotionCode/Index.html | 47 ----------------------------------------------- server/views/marketing/QueryCoupon/Index.html | 52 ---------------------------------------------------- server/views/marketing/Vip/Add.html | 66 ------------------------------------------------------------------ server/views/marketing/Vip/Index.html | 20 -------------------- server/views/operations/category/Edit.html | 199 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/operations/category/Index.html | 151 ------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/operations/couponActivity/Add.html | 156 ------------------------------------------------------------------------------------------------------------------------------------------------------------ server/views/operations/couponActivity/Edit.html | 155 ----------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/operations/couponActivity/Index.html | 13 ------------- server/views/operations/couponSend/Index.html | 56 -------------------------------------------------------- server/views/operations/entrance/Index.html | 111 --------------------------------------------------------------------------------------------------------------- server/views/operations/generateLinks/Index.html | 85 ------------------------------------------------------------------------------------- server/views/operations/hotRankTag/Index.html | 106 ---------------------------------------------------------------------------------------------------------- server/views/operations/hotsuggest/Index.html | 112 ---------------------------------------------------------------------------------------------------------------- server/views/operations/limit/Edit.html | 174 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ server/views/operations/limit/index.html | 51 --------------------------------------------------- server/views/operations/notice/Index.html | 110 -------------------------------------------------------------------------------------------------------------- server/views/operations/salecategory/TagMgmt.html | 30 ------------------------------ server/views/operations/salecategory/edit.html | 80 -------------------------------------------------------------------------------- server/views/operations/salecategory/index.html | 216 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ server/views/operations/shopsVersionUpdate/Index.html | 72 ------------------------------------------------------------------------ server/views/operations/staticFile/Index.html | 94 ---------------------------------------------------------------------------------------------- server/views/operations/subject/Index.html | 192 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ server/views/operations/suggest/Index.html | 120 ------------------------------------------------------------------------------------------------------------------------ server/views/operations/version/Index.html | 44 -------------------------------------------- server/views/resource/__partail/actions.html | 7 ------- server/views/resource/__partail/jiangming.html | 394 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/resource/__partail/taoyu.html | 1590 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ server/views/resource/__partail/taoyu2.html | 434 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/resource/__partail/weiqingting.html | 295 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/resource/platformManage/Index.html | 48 ------------------------------------------------ server/views/resource/resourceManage/ContentManage.html | 67 ------------------------------------------------------------------- server/views/resource/resourceManage/Index.html | 100 ---------------------------------------------------------------------------------------------------- server/views/resource/resourceSortManage/Index.html | 53 ----------------------------------------------------- server/views/searchWords/HotBrand/Index.html | 111 --------------------------------------------------------------------------------------------------------------- server/views/searchWords/SearchWords/Index.html | 214 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/shootMeter/MeterSize/Add.html | 42 ------------------------------------------ server/views/shootMeter/MeterSize/Index.html | 91 ------------------------------------------------------------------------------------------- server/views/shootMeter/Model/Index.html | 152 -------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/shootMeter/ProPhoto/Index.html | 81 --------------------------------------------------------------------------------- server/views/shootMeter/ShootRequire/Index.html | 58 ---------------------------------------------------------- server/views/shootMeter/TryInfo/Batch.html | 39 --------------------------------------- server/views/shootMeter/TryInfo/Index.html | 82 ---------------------------------------------------------------------------------- server/views/shootMeter/TryModel/Index.html | 91 ------------------------------------------------------------------------------------------- server/views/shop/Administrator.html | 48 ------------------------------------------------ server/views/shop/Decoration.html | 361 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/shop/DecorationList.html | 51 --------------------------------------------------- server/views/shop/Edit.html | 153 --------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/shop/Index.html | 71 ----------------------------------------------------------------------- server/views/shop/Info.html | 77 ----------------------------------------------------------------------------- server/views/supplier/edit.html | 247 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- server/views/supplier/index.html | 67 ------------------------------------------------------------------- server/views/supplier/info.html | 167 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- 282 files changed, 0 insertions(+), 24367 deletions(-) delete mode 100644 server/controllers/SNS.shareOrderAudit.js delete mode 100644 server/controllers/activity.activity.js delete mode 100644 server/controllers/baserule.brandmodel.js delete mode 100644 server/controllers/baserule.catesize.js delete mode 100644 server/controllers/baserule.color.js delete mode 100644 server/controllers/baserule.porattr.js delete mode 100644 server/controllers/baserule.sizeattribute.js delete mode 100644 server/controllers/baserule.sizelibrary.js delete mode 100644 server/controllers/brand.brand.js delete mode 100644 server/controllers/category.category.js delete mode 100644 server/controllers/common.index.js delete mode 100644 server/controllers/common.select.js delete mode 100644 server/controllers/common.upload.js delete mode 100644 server/controllers/common.yohosearch.js delete mode 100644 server/controllers/goods.audit.js delete mode 100644 server/controllers/goods.basegoods.js delete mode 100644 server/controllers/goods.cod.js delete mode 100644 server/controllers/goods.limitcategory.js delete mode 100644 server/controllers/goods.netsale.js delete mode 100644 server/controllers/goods.price.js delete mode 100644 server/controllers/goods.specialgoods.js delete mode 100644 server/controllers/goods.yohoCoin.js delete mode 100644 server/controllers/guang.articleCategory.js delete mode 100644 server/controllers/guang.author.js delete mode 100644 server/controllers/guang.brandConcern.js delete mode 100644 server/controllers/guang.comment.js delete mode 100644 server/controllers/guang.info.js delete mode 100644 server/controllers/guang.plusStar.js delete mode 100644 server/controllers/guang.plusStarCategory.js delete mode 100644 server/controllers/guang.tag.js delete mode 100644 server/controllers/guang.tagCategory.js delete mode 100644 server/controllers/help.helpCategory.js delete mode 100644 server/controllers/help.helpContent.js delete mode 100644 server/controllers/marketing.BrandCoupon.js delete mode 100644 server/controllers/marketing.CouponList.js delete mode 100644 server/controllers/marketing.CouponSend.js delete mode 100644 server/controllers/marketing.LimitCode.js delete mode 100644 server/controllers/marketing.ProductPool.js delete mode 100644 server/controllers/marketing.PromotionCode.js delete mode 100644 server/controllers/marketing.QueryCoupon.js delete mode 100644 server/controllers/marketing.Vip.js delete mode 100644 server/controllers/operations.category.js delete mode 100644 server/controllers/operations.couponActivity.js delete mode 100644 server/controllers/operations.couponSend.js delete mode 100644 server/controllers/operations.entrance.js delete mode 100644 server/controllers/operations.generateLinks.js delete mode 100644 server/controllers/operations.hotRankTag.js delete mode 100644 server/controllers/operations.hotsuggest.js delete mode 100644 server/controllers/operations.limit.js delete mode 100644 server/controllers/operations.notice.js delete mode 100644 server/controllers/operations.salecategory.js delete mode 100644 server/controllers/operations.shopsVersionUpdate.js delete mode 100644 server/controllers/operations.staticFile.js delete mode 100644 server/controllers/operations.subject.js delete mode 100644 server/controllers/operations.suggest.js delete mode 100644 server/controllers/operations.version.js delete mode 100644 server/controllers/resource.platform.js delete mode 100644 server/controllers/resource.resource.js delete mode 100644 server/controllers/resource.resourceSort.js delete mode 100644 server/controllers/searchWords.index.js delete mode 100644 server/controllers/shootMeter.index.js delete mode 100644 server/controllers/shop.shopAdd.js delete mode 100644 server/controllers/shop.shopAdministrator.js delete mode 100644 server/controllers/shop.shopAudit.js delete mode 100644 server/controllers/shop.shopDecoration.js delete mode 100644 server/controllers/shop.shopInfo.js delete mode 100644 server/controllers/supplier.supplierAdd.js delete mode 100644 server/controllers/supplier.supplierAudit.js delete mode 100644 server/controllers/supplier.supplierList.js delete mode 100644 server/filters.js delete mode 100644 server/index.js delete mode 100644 server/interfaces/SNS.shareOrderAudit.js delete mode 100644 server/interfaces/activity.activity.js delete mode 100644 server/interfaces/baserule.brandmodel.js delete mode 100644 server/interfaces/baserule.catesize.js delete mode 100644 server/interfaces/baserule.color.js delete mode 100644 server/interfaces/baserule.proattr.js delete mode 100644 server/interfaces/baserule.sizeattribute.js delete mode 100644 server/interfaces/baserule.sizelibrary.js delete mode 100644 server/interfaces/brand.brand.js delete mode 100644 server/interfaces/category.category.js delete mode 100644 server/interfaces/common.login.js delete mode 100644 server/interfaces/common.select.js delete mode 100644 server/interfaces/common.upload.js delete mode 100644 server/interfaces/common.yohosearch.js delete mode 100644 server/interfaces/goods.audio.js delete mode 100644 server/interfaces/goods.basegoods.js delete mode 100644 server/interfaces/goods.cod.js delete mode 100644 server/interfaces/goods.limitcategory.js delete mode 100644 server/interfaces/goods.netsale.js delete mode 100644 server/interfaces/goods.price.js delete mode 100644 server/interfaces/goods.specialgoods.js delete mode 100644 server/interfaces/goods.yohoCoin.js delete mode 100644 server/interfaces/guang.articleCategory.js delete mode 100644 server/interfaces/guang.author.js delete mode 100644 server/interfaces/guang.brandConcern.js delete mode 100644 server/interfaces/guang.comment.js delete mode 100644 server/interfaces/guang.info.js delete mode 100644 server/interfaces/guang.plusStar.js delete mode 100644 server/interfaces/guang.plusStarCategory.js delete mode 100644 server/interfaces/guang.tag.js delete mode 100644 server/interfaces/guang.tagCategory.js delete mode 100644 server/interfaces/help.helpCategory.js delete mode 100644 server/interfaces/help.helpContent.js delete mode 100644 server/interfaces/marketing.CouponList.js delete mode 100644 server/interfaces/marketing.CouponSend.js delete mode 100644 server/interfaces/marketing.LimitCode.js delete mode 100644 server/interfaces/marketing.ProductPool.js delete mode 100644 server/interfaces/marketing.PromotionCode.js delete mode 100644 server/interfaces/marketing.QueryCoupon.js delete mode 100644 server/interfaces/marketing.Vip.js delete mode 100644 server/interfaces/marketing.brandCoupon.js delete mode 100644 server/interfaces/operations.category.js delete mode 100644 server/interfaces/operations.couponActivity.js delete mode 100644 server/interfaces/operations.couponSend.js delete mode 100644 server/interfaces/operations.entrance.js delete mode 100644 server/interfaces/operations.generateLinks.js delete mode 100644 server/interfaces/operations.hotRankTag.js delete mode 100644 server/interfaces/operations.hotsuggest.js delete mode 100644 server/interfaces/operations.limit.js delete mode 100644 server/interfaces/operations.notice.js delete mode 100644 server/interfaces/operations.salecategory.js delete mode 100644 server/interfaces/operations.shopsVersionUpdate.js delete mode 100644 server/interfaces/operations.staticFile.js delete mode 100644 server/interfaces/operations.subject.js delete mode 100644 server/interfaces/operations.suggest.js delete mode 100644 server/interfaces/operations.version.js delete mode 100644 server/interfaces/resource.platform.js delete mode 100644 server/interfaces/resource.resource.js delete mode 100644 server/interfaces/resource.resourceSort.js delete mode 100644 server/interfaces/searchWords.index.js delete mode 100644 server/interfaces/shootMeter.index.js delete mode 100644 server/interfaces/shop.shopAdd.js delete mode 100644 server/interfaces/shop.shopAdministrator.js delete mode 100644 server/interfaces/shop.shopAudit.js delete mode 100644 server/interfaces/shop.shopDecoration.js delete mode 100644 server/interfaces/shop.shopInfo.js delete mode 100644 server/interfaces/supplier.supplierAdd.js delete mode 100644 server/interfaces/supplier.supplierAudit.js delete mode 100644 server/interfaces/supplier.supplierList.js delete mode 100644 server/libs/App.js delete mode 100644 server/libs/Console.js delete mode 100644 server/libs/Controller.js delete mode 100644 server/libs/Filter.js delete mode 100644 server/libs/Interfacer.js delete mode 100644 server/libs/Logger.js delete mode 100644 server/libs/Match.js delete mode 100644 server/libs/Mock.js delete mode 100644 server/libs/Utils.js delete mode 100644 server/libs/Validate.js delete mode 100644 server/libs/Viewer.js delete mode 100644 server/mid/grayrouter.js delete mode 100644 server/package.json delete mode 100644 server/views/SNS/shareOrderAudit.html delete mode 100644 server/views/activity/data.html delete mode 100644 server/views/activity/edit.html delete mode 100644 server/views/activity/index.html delete mode 100644 server/views/baserule/Brandmodel.html delete mode 100644 server/views/baserule/CateSize.html delete mode 100644 server/views/baserule/CateSizeAttr.html delete mode 100644 server/views/baserule/Porattr.html delete mode 100644 server/views/baserule/SizeAttribute.html delete mode 100644 server/views/baserule/Sizelibrary.html delete mode 100644 server/views/baserule/color/Edit.html delete mode 100644 server/views/baserule/color/Index.html delete mode 100644 server/views/brand/edit.html delete mode 100644 server/views/brand/index.html delete mode 100644 server/views/category/Edit.html delete mode 100644 server/views/category/Index.html delete mode 100644 server/views/common/Error.html delete mode 100644 server/views/common/Login.html delete mode 100644 server/views/common/__partail/ListHeader.html delete mode 100644 server/views/common/__ui/footer.html delete mode 100644 server/views/common/__ui/header.html delete mode 100644 server/views/common/__ui/sidebar.html delete mode 100644 server/views/common/__ui/topbar.html delete mode 100644 server/views/common/index.html delete mode 100644 server/views/goods/audit/Index.html delete mode 100644 server/views/goods/basegoods/Batch.html delete mode 100644 server/views/goods/basegoods/Edit.html delete mode 100644 server/views/goods/basegoods/Index.html delete mode 100644 server/views/goods/basegoods/Info.html delete mode 100644 server/views/goods/cod/Brand.html delete mode 100644 server/views/goods/cod/Goods.html delete mode 100644 server/views/goods/cod/Upload.html delete mode 100644 server/views/goods/limitcategory/Index.html delete mode 100644 server/views/goods/netsale/Batch.html delete mode 100644 server/views/goods/netsale/Edit.html delete mode 100644 server/views/goods/netsale/Index.html delete mode 100644 server/views/goods/netsale/__partail/add_info.html delete mode 100644 server/views/goods/netsale/__partail/basic_info.html delete mode 100644 server/views/goods/netsale/__partail/close_match.html delete mode 100644 server/views/goods/netsale/__partail/editor_recommend.html delete mode 100644 server/views/goods/netsale/__partail/fenmian.html delete mode 100644 server/views/goods/netsale/__partail/goods_description.html delete mode 100644 server/views/goods/netsale/__partail/goods_params.html delete mode 100644 server/views/goods/netsale/__partail/goods_sort.html delete mode 100644 server/views/goods/netsale/__partail/model.html delete mode 100644 server/views/goods/netsale/__partail/size_info.html delete mode 100644 server/views/goods/price/BrandCooperation.html delete mode 100644 server/views/goods/price/PriceChange.html delete mode 100644 server/views/goods/specialgoods/Index.html delete mode 100644 server/views/goods/yohoCoin/Audit.html delete mode 100644 server/views/goods/yohoCoin/Index.html delete mode 100644 server/views/guang/articleCategory/Index.html delete mode 100644 server/views/guang/author/Index.html delete mode 100644 server/views/guang/brandConcern/Index.html delete mode 100644 server/views/guang/comment/Index.html delete mode 100644 server/views/guang/info/Edit.html delete mode 100644 server/views/guang/info/Index.html delete mode 100644 server/views/guang/plusStar/Index.html delete mode 100644 server/views/guang/plusStarCategory/Index.html delete mode 100644 server/views/guang/tag/Index.html delete mode 100644 server/views/guang/tagCategory/Index.html delete mode 100644 server/views/help/Category.html delete mode 100644 server/views/help/Content.html delete mode 100644 server/views/marketing/BrandCoupon/Index.html delete mode 100644 server/views/marketing/CouponList/AddOrUpdate.html delete mode 100644 server/views/marketing/CouponList/Index.html delete mode 100644 server/views/marketing/CouponSend/Index.html delete mode 100644 server/views/marketing/CouponSend/PublicCoupon.html delete mode 100644 server/views/marketing/CouponSend/Send.html delete mode 100644 server/views/marketing/CouponSend/SendHistory.html delete mode 100644 server/views/marketing/CouponSend/UseHistory.html delete mode 100644 server/views/marketing/LimitCode/Edit.html delete mode 100644 server/views/marketing/LimitCode/Index.html delete mode 100644 server/views/marketing/LimitCode/Info.html delete mode 100644 server/views/marketing/ProductPool/Index.html delete mode 100644 server/views/marketing/PromotionCode/Edit.html delete mode 100644 server/views/marketing/PromotionCode/Index.html delete mode 100644 server/views/marketing/QueryCoupon/Index.html delete mode 100644 server/views/marketing/Vip/Add.html delete mode 100644 server/views/marketing/Vip/Index.html delete mode 100644 server/views/operations/category/Edit.html delete mode 100644 server/views/operations/category/Index.html delete mode 100644 server/views/operations/couponActivity/Add.html delete mode 100644 server/views/operations/couponActivity/Edit.html delete mode 100644 server/views/operations/couponActivity/Index.html delete mode 100644 server/views/operations/couponSend/Index.html delete mode 100644 server/views/operations/entrance/Index.html delete mode 100644 server/views/operations/generateLinks/Index.html delete mode 100644 server/views/operations/hotRankTag/Index.html delete mode 100644 server/views/operations/hotsuggest/Index.html delete mode 100644 server/views/operations/limit/Edit.html delete mode 100644 server/views/operations/limit/index.html delete mode 100644 server/views/operations/notice/Index.html delete mode 100644 server/views/operations/salecategory/TagMgmt.html delete mode 100644 server/views/operations/salecategory/edit.html delete mode 100644 server/views/operations/salecategory/index.html delete mode 100644 server/views/operations/shopsVersionUpdate/Index.html delete mode 100644 server/views/operations/staticFile/Index.html delete mode 100644 server/views/operations/subject/Index.html delete mode 100644 server/views/operations/suggest/Index.html delete mode 100644 server/views/operations/version/Index.html delete mode 100644 server/views/resource/__partail/actions.html delete mode 100644 server/views/resource/__partail/jiangming.html delete mode 100644 server/views/resource/__partail/taoyu.html delete mode 100644 server/views/resource/__partail/taoyu2.html delete mode 100644 server/views/resource/__partail/weiqingting.html delete mode 100644 server/views/resource/platformManage/Index.html delete mode 100644 server/views/resource/resourceManage/ContentManage.html delete mode 100644 server/views/resource/resourceManage/Index.html delete mode 100644 server/views/resource/resourceSortManage/Index.html delete mode 100644 server/views/searchWords/HotBrand/Index.html delete mode 100644 server/views/searchWords/SearchWords/Index.html delete mode 100644 server/views/shootMeter/MeterSize/Add.html delete mode 100644 server/views/shootMeter/MeterSize/Index.html delete mode 100644 server/views/shootMeter/Model/Index.html delete mode 100644 server/views/shootMeter/ProPhoto/Index.html delete mode 100644 server/views/shootMeter/ShootRequire/Index.html delete mode 100644 server/views/shootMeter/TryInfo/Batch.html delete mode 100644 server/views/shootMeter/TryInfo/Index.html delete mode 100644 server/views/shootMeter/TryModel/Index.html delete mode 100644 server/views/shop/Administrator.html delete mode 100644 server/views/shop/Decoration.html delete mode 100644 server/views/shop/DecorationList.html delete mode 100644 server/views/shop/Edit.html delete mode 100644 server/views/shop/Index.html delete mode 100644 server/views/shop/Info.html delete mode 100644 server/views/supplier/edit.html delete mode 100644 server/views/supplier/index.html delete mode 100644 server/views/supplier/info.html diff --git a/server/controllers/SNS.shareOrderAudit.js b/server/controllers/SNS.shareOrderAudit.js deleted file mode 100644 index 80f2ced..0000000 --- a/server/controllers/SNS.shareOrderAudit.js +++ /dev/null @@ -1,20 +0,0 @@ -module.exports = function (app){ - app.get("/goods/auditing/index", "SNS.ShareOrderAudit", function (req,res){ - this.$extend={ - moduleName:"晒单评价管理", - pageName:"晒单评价审核" - } - }); - - //晒单列表 - app.post("/shareOrder/shareOrderList","shareOrderAudit_shareOrderList"); - - //查询晒单号 - app.post("/shareOrder/queryShareOrderNum","shareOrderAudit_queryShareOrderNum"); - - //审核通过、驳回 - app.post("/shareOrder/aud","shareOrderAudit_aud"); - - //推荐 - app.post("/shareOrder/recommend","shareOrderAudit_recommend"); -} \ No newline at end of file diff --git a/server/controllers/activity.activity.js b/server/controllers/activity.activity.js deleted file mode 100644 index a127447..0000000 --- a/server/controllers/activity.activity.js +++ /dev/null @@ -1,63 +0,0 @@ -module.exports = function (app) { - app.get("/activity/drawline/index", "activity.Index", function (req, res) { - this.$extend = { - moduleName:"活动管理", - pageName:"抽奖活动管理", - gridurl:'/supplier/store/indexPage' - } - }); - - app.get("/activity/drawline/add", "activity.Edit", function (req, res) { - this.$extend = { - moduleName:"活动管理", - pageName:"新增抽奖活动", - action:'/DrawlineActivityRest/addDrawlineActivity', - data:{ - activityId:0, - backgroundStyle:"", - prizeList: "" - } - } - }); - - app.get("/activity/drawline/update/:activityId", "activity.Edit", "activity_getDrawlineActivityDetail", function (rs,req,res) { - this.$extend = { - moduleName:"活动管理", - pageName:"编辑抽奖活动", - action : '/DrawlineActivityRest/updateDrawlineActivity', - data:rs.data - } - }); - - app.get("/activity/drawline/data/:activityId", "activity.Data", "activity_getPrizeDetailInfo", function (rs,req,res) { - this.$extend = { - moduleName:"活动管理", - pageName:"抽奖活动中奖情况", - data:rs.data - } - }); - - //抽奖活动列表 - app.post("/DrawlineActivityRest/getDrawlineActivityList","activity_getDrawlineActivityList"); - - //关闭活动 - app.post("/DrawlineActivityRest/closeActivity","activity_closeActivity"); - - //开启活动 - app.post("/DrawlineActivityRest/openActivity","activity_openActivity"); - - //新增抽签活动 - app.post("/DrawlineActivityRest/addDrawlineActivity","activity_addDrawlineActivity"); - - //保存编辑抽签活动 - app.post("/DrawlineActivityRest/updateDrawlineActivity","activity_updateDrawlineActivity"); - - //获取抽奖活动详情 - app.post("/DrawlineActivityRest/getDrawlineActivityDetail","activity_getDrawlineActivityDetail"); - - //手动开奖 - app.post("/DrawlineActivityRest/luckyUserDraw","activity_luckyUserDraw"); - - //删除抽奖活动 - app.post("/DrawlineActivityRest/deleteDrawlineActivity","activity_deleteDrawlineActivity"); -} diff --git a/server/controllers/baserule.brandmodel.js b/server/controllers/baserule.brandmodel.js deleted file mode 100644 index 8e42a6c..0000000 --- a/server/controllers/baserule.brandmodel.js +++ /dev/null @@ -1,19 +0,0 @@ -module.exports=function(app) { - /*品牌款型系列*/ - app.get("/erpproduct/brandfolder/index","baserule.Brandmodel",function(){ - this.$extend={ - moduleName:'商品基础规则', - pageName:'品牌款型系列' - } - }); - /*初始化列表*/ - app.post("/erpproduct/brandfolder/list","brandmodel_queryAll"); - /*添加*/ - app.post("/erpproduct/brandfolder/add","brandmodel_add"); - /*修改*/ - app.post("/erpproduct/brandfolder/update","brandmodel_update"); - /*关闭*/ - app.post("/erpproduct/brandfolder/close","brandmodel_close"); - /*开启*/ - app.post("/erpproduct/brandfolder/open","brandmodel_open"); -} \ No newline at end of file diff --git a/server/controllers/baserule.catesize.js b/server/controllers/baserule.catesize.js deleted file mode 100644 index 8d11a47..0000000 --- a/server/controllers/baserule.catesize.js +++ /dev/null @@ -1,36 +0,0 @@ -module.exports=function(app) { - /**/ - app.get("/erpproduct/sortsize/index","baserule.CateSize","porattr_queryProductSortListByConf",function(pros){ - this.$extend={ - moduleName:'商品基础规则', - pageName:'品类关联尺码列表', - data:pros.data - } - }) - - app.post("/erpproduct/sortsize/ajax/index","catesize_querySizeListBySortId"); - /*添加尺码接口【验证通过】*/ - app.post("/erpproduct/sortsize/ajax/add","catesize_addSortSize"); - /*删除单个品类尺码接口【待验证】*/ - app.post("/erpproduct/sortsize/ajax/delete","catesize_deleteSortSize"); - /*修改品类尺码排序接口*/ - app.post("/product/updateSortSize","catesize_updateSortSize"); - - //************************品类尺码属性管理***************************** - - app.get("/erpproduct/sortattribute/index","baserule.CateSizeAttr","porattr_queryProductSortListByConf",function(pros){ - this.$extend={ - moduleName:'商品基础规则', - pageName:'品类尺码属性', - data:pros.data - } - }); - /*获取品类关联尺码属性列表【验证通过】*/ - app.post("/erpproduct/sortattribute/ajax/index","catesize_queryList"); - /*添加品类关联尺码属性接口【待验证】*/ - app.post("/erpproduct/sortattribute/ajax/add","catesize_add"); - /*删除品类关联尺码属性接口【待验证】*/ - app.post("/erpproduct/sortattribute/ajax/delete","catesize_delete"); - /*修改品类关联尺码属性接口【待验证】*/ - app.post("/sortAttribute/updateOrderBy","catesize_updateOrderBy"); -} \ No newline at end of file diff --git a/server/controllers/baserule.color.js b/server/controllers/baserule.color.js deleted file mode 100644 index 5f3ff33..0000000 --- a/server/controllers/baserule.color.js +++ /dev/null @@ -1,34 +0,0 @@ -module.exports=function(app) { - app.get("/erpproduct/color/index","baserule.color.Index",function(pros){ - this.$extend={ - moduleName:'商品基础规则', - pageName:'颜色管理列表' - } - }); - /*获取颜色列表*/ - app.post("/erpproduct/product/colorList","color_queryProductColors"); - /*获取单个颜色*/ - // app.post("/erpproduct/product/getColor","color_queryProductColor"); - /*新增颜色页面渲染*/ - app.get("/erpproduct/product/addColor","baserule.color.Edit",function(){ - this.$extend={ - moduleName:'商品基础规则', - pageName:'添加颜色', - url:'/erpproduct/product/saveColor', - data:{} - } - }); - /*新增颜色*/ - app.post("/erpproduct/product/saveColor","color_addProductColor"); - - app.get("/erpproduct/product/addColor/:param","baserule.color.Edit","color_queryProductColor",function(color,req,res){ - this.$extend={ - moduleName:'商品基础规则', - pageName:'修改颜色', - url:'/erpproduct/product/updatColor', - data:color.data - } - }); - /*修改颜色*/ - app.post("/erpproduct/product/updatColor","color_updateProductColor"); -} \ No newline at end of file diff --git a/server/controllers/baserule.porattr.js b/server/controllers/baserule.porattr.js deleted file mode 100644 index 94b9577..0000000 --- a/server/controllers/baserule.porattr.js +++ /dev/null @@ -1,20 +0,0 @@ -module.exports=function(app) { - /*商品管理>【产品属性】页面渲染*/ - app.get("/erpproduct/attribute/index","baserule.Porattr","porattr_queryProductSortListByConf",function(pros){ - this.$extend={ - moduleName:'商品基础规则', - pageName:'产品属性列表', - data:pros.data - } - }); - /*商品管理>【产品属性ajax获取】*/ - app.post("/product/attr/get","porattr_getAttr"); - /*商品管理>【添加产品属性ajax】*/ - app.post("/product/attr/add","porattr_addProductAttribute"); - /*商品管理>【更新产品属性ajax】*/ - app.post("/product/attr/update","porattr_updateProductAttribute"); - /*商品管理【根据类目ID ajax查询属性列表】*/ - app.post("/product/attr/queryProductAttributeList","porattr_queryProductAttributeList"); - /*商品管理【根据类目ID ajax查询属性的详细信息】*/ - app.post("/product/attr/getProductAttribute","porattr_getProductAttribute"); -} \ No newline at end of file diff --git a/server/controllers/baserule.sizeattribute.js b/server/controllers/baserule.sizeattribute.js deleted file mode 100644 index 917a10d..0000000 --- a/server/controllers/baserule.sizeattribute.js +++ /dev/null @@ -1,15 +0,0 @@ -module.exports=function(app) { - /*产品管理【品类列表】页面渲染*/ - app.get("/erpproduct/sizeattribute/index","baserule.SizeAttribute",function(){ - this.$extend={ - moduleName:'商品基础规则', - pageName:'品类关联实物测量属性列表' - } - }); - /*列表数据*/ - app.post("/erpproduct/sizeattribute/propertyList","sizeattribute_querySizeAttributeList"); - /*添加尺码属性*/ - app.post("/erpproduct/sizeattribute/propertyAdd","sizeattribute_addSizeAttribute"); - /*修改尺码属性*/ - app.post("/erpproduct/sizeattribute/propertyModify","sizeattribute_updateSizeAttribute"); -} \ No newline at end of file diff --git a/server/controllers/baserule.sizelibrary.js b/server/controllers/baserule.sizelibrary.js deleted file mode 100644 index 718e29c..0000000 --- a/server/controllers/baserule.sizelibrary.js +++ /dev/null @@ -1,17 +0,0 @@ -module.exports=function(app) { - /*尺码库列表*/ - app.get("/erpproduct/size/index","baserule.Sizelibrary",function(){ - this.$extend={ - moduleName:'商品基础规则', - pageName:'尺码库列表' - } - }); - /*列表数据*/ - app.post("/erpproduct/sizeattribute/sizeList","sizelibrary_querySizeList"); - /*获取单个尺码*/ - app.post("/erpproduct/size/getSize","sizelibrary_getSize"); - /*新增尺码*/ - app.post("/erpproduct/size/addSize","sizelibrary_addSize"); - /*修改尺码*/ - app.post("/erpproduct/size/updateSize","sizelibrary_updateSize"); -} \ No newline at end of file diff --git a/server/controllers/brand.brand.js b/server/controllers/brand.brand.js deleted file mode 100644 index f2e1b6b..0000000 --- a/server/controllers/brand.brand.js +++ /dev/null @@ -1,31 +0,0 @@ -module.exports = function (app){ - app.get("/erpproduct/brands/index", "brand.Index", function (req,res){ - this.$extend={ - moduleName:"品牌管理", - pageName:"品牌管理" - } - }); - - app.get("/erpproduct/brands/edit/:brandId", "brand.Edit", "brand_getBrandDetail", function (rs,req,res){ - this.$extend={ - action: '/brand/edit', - data:rs.data - } - }); - - app.get("/erpproduct/brands/add", "brand.Edit", function (req,res){ - this.$extend={ - action:'/erpproduct/ajax/brands/add', - data:{} - } - }); - - //品牌管理列表 - app.post("/brand/getBrandList","brand_index"); - - //保存修改品牌 - app.post("/brand/edit","brand_editBrand"); - - //添加品牌 - app.post("/erpproduct/ajax/brands/add","brand_addBrand"); -} diff --git a/server/controllers/category.category.js b/server/controllers/category.category.js deleted file mode 100644 index a368e38..0000000 --- a/server/controllers/category.category.js +++ /dev/null @@ -1,35 +0,0 @@ -module.exports=function(app) { - /*物理类目管理*/ - app.get("/erpproduct/sort/index","category.Index","category_queryAllProductSortList",function(plist,req,res){ - this.$extend={ - moduleName:'物理类目管理', - pageName:'物理类目管理列表', - data:plist.data - } - }); - /*添加物理类目管理*/ - app.get("/product/class/new","category.Edit",function(){ - this.$extend={ - moduleName:'物理类目管理', - pageName:'添加物理类目', - action:'/product/sort/addProductSort' - } - }); - /*修改物理类目管理*/ - app.get("/product/class/edit/:param","category.Edit","category_getProductSort",function(sort){ - this.$extend={ - moduleName:'物理类目管理', - pageName:'修改物理类目', - action:'/product/sort/update' - } - return sort; - }); - /*【添加品类】ajax请求接口*/ - app.post("/product/sort/addProductSort","category_addProductSort"); - /*【修改品类】ajax请求接口*/ - app.post("/product/sort/update","category_updateProductSort"); - /*打开*/ - app.post("/erpproduct/sorter/open","category_publishProductSort"); - /*关闭*/ - app.post("/erpproduct/sorter/close","category_closeProductSort"); -} \ No newline at end of file diff --git a/server/controllers/common.index.js b/server/controllers/common.index.js deleted file mode 100644 index 7216175..0000000 --- a/server/controllers/common.index.js +++ /dev/null @@ -1,24 +0,0 @@ - -module.exports=function(app) { - - app.get("/login","common.Login"); - - app.get("/logout","common.Login",function (req) { - delete req.session.user; - }); - - app.post("/login", "common_login", function (login, req, res){ - if (login.code == 200) { - res.myRedirect('/'); - } else { - res.myRedirect('/login'); - } - }); - - app.get("/","common.index"); - - app.get("/error", "common.Error"); - -} - - diff --git a/server/controllers/common.select.js b/server/controllers/common.select.js deleted file mode 100644 index 0c34125..0000000 --- a/server/controllers/common.select.js +++ /dev/null @@ -1,54 +0,0 @@ -module.exports=function(app) { - /**/ - app.post("/supplier/supplier/getSupplierListByIdName","select_getSupplierListByIdName"); - /**/ - app.post("/erpproduct/brands/getBrandNames","select_getBrandNames"); - - app.post("/supplier/storeadmin/managerName","select_getUsersByIdentity"); - /**/ - // app.post("/ShopsAdminRest/getUsersByIdentity","select_getUsersByIdentity"); - /**/ - app.post("/product/querySizeAttributesByName","select_querySizeAttributesByName"); - - app.post("/product/querySizeListBySortId4Html","select_querySizeListBySortId4Html"); - /*尺码模糊查询【验证通过】*/ - app.post("/product/querySizeByNameForSelect","select_querySizeByNameForSelect"); - /*查询品牌列表接口*/ - app.post("/erpproduct/brands/queryAllBrands", "select_queryAllBrands"); - /*查询供应商列表接口*/ - app.post("/supplier/supplier/queryAllSupplier","select_queryAllSupplier"); - /*查询一级类目列表接口*/ - app.post("/product/queryMaxSortByName","select_queryMaxSortByName"); - /*查询店铺列表接口*/ - app.post("/ShopsRest/queryAllShops","select_queryAllShops"); - /*查询通过审核店铺列表接口*/ - app.post("/ShopsRest/selectCheckPassShopsByName","select_selectCheckPassShopsByName"); - /*根据品牌查询店铺*/ - app.post("/ShopsRest/queryShopsByBrandId","select_queryShopsByBrandId"); - /*模糊查询*/ - app.post("/DrawlineActivityRest/selectActivityListForSelect","select_selectActivityListForSelect"); - /*获取JIT店铺*/ - app.post("/AgreementRest/getJitSupplierByBrandId","select_getJitSupplierByBrandId"); - /**/ - app.post("/guang/article/getSortList","select_getSortList"); - /*发券搜索*/ - app.post("/coupon/queryList","select_queryList"); - /*获取所有APP版本号列表*/ - app.post("/suggest/suggest/getAllAppVersions","select_getAllAppVersions"); - /*获取所有回复人*/ - app.post("/suggest/suggest/findAllReplyInfo","select_findAllReplyInfo"); - - /*类目*/ - - app.post("/goods/query/querySortBySmallSort","select_querySortBySmallSort"); - - app.post("/product/class/queryAllProductSortList","select_queryAllMaxSortList"); - app.post("/product/class/queryProductSortList","select_queryProductSortList"); - - - app.post("/sale/product/queryPSNotTreeWhenLevelAndStatus","select_queryPSNotTreeWhenLevelAndStatus"); - app.post("/sale/product/queryPSListByParentIdWhenStatus","select_queryPSListByParentIdWhenStatus"); - app.post("/refundExchangeAttribute/queryRefundExchangeProductSkn","select_queryRefundExchangeProductSkn"); - app.post("/product/fuzzySearchProductSortIds","select_fuzzySearchProductSortIds"); - app.post("/product/searchAllSortLevel","select_searchAllSortLevel"); -} \ No newline at end of file diff --git a/server/controllers/common.upload.js b/server/controllers/common.upload.js deleted file mode 100644 index 28a254b..0000000 --- a/server/controllers/common.upload.js +++ /dev/null @@ -1,10 +0,0 @@ -module.exports = function (app) { - app.get("/ajax/link/:name", "common_downExcel"); - app.get("/ajax/down", "common_exportExcel"); - - app.post("/ajax/upload", "common_multipart"); - app.post("/ajax/ueditor", "common_baiduUeditor"); - app.post("/ajax/proxy", "common_proxy"); - - app.get("/ajax/download", "common_download") -}; diff --git a/server/controllers/common.yohosearch.js b/server/controllers/common.yohosearch.js deleted file mode 100644 index 58d3247..0000000 --- a/server/controllers/common.yohosearch.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * 搜索接口 - * @param app - */ -module.exports=function(app) { - //品牌列表 - app.get("/ajax/yohosearch","common_brandlist"); - //商品列表 - app.post("/yohosearch/search","common_search") -}; diff --git a/server/controllers/goods.audit.js b/server/controllers/goods.audit.js deleted file mode 100644 index fc8f1de..0000000 --- a/server/controllers/goods.audit.js +++ /dev/null @@ -1,19 +0,0 @@ -module.exports=function(app) { - - /*基础商品列表*/ - app.get("/supplier/baseproduct/audit","goods.audit.Index",function(){ - this.$extend={ - moduleName:'商品管理', - pageName:'上架审核' - } - }); - - /*列表头部各个审核状态的数量*/ - app.post("/product/queryTabCheck","audit_queryTabCheck"); - - /*ajax列表数据*/ - app.post("/product/queryNetSaleInforList","audit_queryNetSaleInforList"); - - /*驳回操作*/ - app.post("/product/updateProductSknStatus","audit_updateProductSknStatus"); -} \ No newline at end of file diff --git a/server/controllers/goods.basegoods.js b/server/controllers/goods.basegoods.js deleted file mode 100644 index a6d3858..0000000 --- a/server/controllers/goods.basegoods.js +++ /dev/null @@ -1,99 +0,0 @@ - -module.exports=function(app) { - /*基础商品列表*/ - app.get("/supplier/baseproduct/index","goods.basegoods.Index",function(){ - this.$extend={ - moduleName:"基础商品", - pageName:"商品列表" - } - }); - - /*列表头部各个审核状态的数量*/ - app.post("/base/goods/ajax/auditCount","basegoods_getbaseProductCountByStatus"); - - /*ajax列表数据*/ - app.post("/product/getBaseProductList","basegoods_getBaseProductList"); - - /*通过*/ - app.post("/base/goods/pass","basegoods_batchAuditPassBaseProduct"); - - /*驳回*/ - app.post("/base/goods/reject","basegoods_batchAuditRejectBaseProduct"); - - /*添加页面*/ - app.get("/base/goods/add","goods.basegoods.Edit","basegoods_queryProductColors",function(colos,req,res){ - this.$extend={ - moduleName:"基础商品", - pageName:"添加商品", - - action: "/base/goods/ajax/add", - btnText:"提交审核", - list:colos.data.list - } - }); - - /*添加数据接口*/ - app.post("/base/goods/ajax/add","basegoods_addBaseProduct"); - - /*修改页面*/ - app.get("/base/goods/update/:productSkn/:isAuditing","goods.basegoods.Edit",["basegoods_queryProductColors","basegoods_getBaseProduct"],function(colos,info){ - this.$extend={ - moduleName:"基础商品", - pageName:"修改商品", - - action: "/base/goods/ajax/update", - btnText:"保存", - list:colos.data.list - } - return info; - }); - - /*删除[废弃]*/ - // app.post("/base/goods/ajax/delete","basegoods_deleteBaseProduct"); - - /*修改接口*/ - app.post("/base/goods/ajax/update","basegoods_updateBaseProduct"); - - /*基础商品详情空页面*/ - app.get("/base/goods/info/:productSkn/:isAuditing","goods.basegoods.Info","basegoods_getBaseProduct",function(info){ - this.$extend={ - moduleName:"基础商品", - pageName:"商品详情" - } - return info; - }); - - /*检查SKU*/ - app.post("/goods/base/checkSkuBarCodeExist","basegoods_checkSkuBarCodeExist"); - - /*商品属性【网销那边,可以迁移过去】*/ - app.post("/base/goods/queryAllProductAttr","basegoods_queryAllBySortId4Html"); - - /*尺码列表【网销那边,可以迁移过去】*/ - app.post("/base/goods/queryMaterialList","basegoods_queryMaterialList"); - - - - /*批量*/ - app.get("/goods/piliang/batch","goods.basegoods.Batch",function(){ - this.$extend={ - moduleName:"基础商品", - pageName:"批量功能", - isPL:true - } - }); - - /*基础商品录入*/ - app.get("/goods/base/batch","goods.basegoods.Batch",function(){ - this.$extend={ - moduleName:"基础商品", - pageName:"基础商品导入", - isPL:false - } - }); - - - - /*通过任务ID查看任务是否被执行完*/ - app.post("/product/queryBatchImportResult","basegoods_queryBatchImportResult"); -} \ No newline at end of file diff --git a/server/controllers/goods.cod.js b/server/controllers/goods.cod.js deleted file mode 100644 index a38176a..0000000 --- a/server/controllers/goods.cod.js +++ /dev/null @@ -1,61 +0,0 @@ -module.exports=function(app) { - /*品牌货到付款限制页面路由*/ - app.get("/goods/cod/brand/index","goods.cod.Brand",function(){ - this.$extend={ - moduleName:"货到付款限制", - pageName:"品牌设置" - } - }); - - /*分页*/ - app.post("/payDelivery/queryTotalBrandPayDelivery","cod_queryTotalBrandPayDelivery"); - - /*开启 & 关闭 货到付款*/ - app.post("/payDelivery/addPayDeliveryCheck","cod_addPayDeliveryCheck"); - - /*通过 & 驳回申请*/ - app.post("/payDelivery/reviewPayDeliveryCheck","cod_reviewPayDeliveryCheck"); - - /*获取tab上的数量*/ - app.post("/payDelivery/queryCountBrandPayDelivery","cod_queryCountBrandPayDelivery"); - - /*单品货到付款限制页面路由*/ - app.get("/goods/cod/goods/index","goods.cod.Goods",function(){ - this.$extend={ - moduleName:"货到付款限制", - pageName:"单品设置" - } - }); - - /*列表*/ - app.post("/payDelivery/queryPayDeliveryList","cod_queryPayDeliveryList"); - - /*开启货到付款*/ - app.post("/payDelivery/openPayDelivery","cod_openPayDelivery"); - - /*关闭货到付款*/ - app.post("/payDelivery/closePayDelivery","cod_closePayDelivery"); - - /*通过申请*/ - app.post("/payDelivery/passPayDelivery","cod_passPayDelivery"); - - /*驳回申请*/ - app.post("/payDelivery/rejectPayDelivery","cod_rejectPayDelivery"); - - /*获取skn列表*/ - app.post("/payDelivery/queryPayDeliveryProductSkn","cod_queryPayDeliveryProductSkn"); - - /*获取tab上的数量*/ - app.post("/payDelivery/queryCountProductPayDelivery","cod_queryCountProductPayDelivery"); - - /*获取品牌列表*/ - app.post("/payDelivery/queryPayDeliveryBrandName","cod_queryPayDeliveryBrandName"); - - /*批量导入*/ - app.get("/goods/cod/upload","goods.cod.Upload",function(){ - this.$extend={ - moduleName:"货到付款限制", - pageName:"批量导入" - } - }); -} \ No newline at end of file diff --git a/server/controllers/goods.limitcategory.js b/server/controllers/goods.limitcategory.js deleted file mode 100644 index 8458fa6..0000000 --- a/server/controllers/goods.limitcategory.js +++ /dev/null @@ -1,19 +0,0 @@ -module.exports=function(app) { - /*品牌货到付款限制页面路由*/ - app.get("/goods/limitcategory/index","goods.limitcategory.Index",function(){ - this.$extend={ - moduleName:"商品管理", - pageName:"品类限制" - } - }); - - /*列表数据*/ - app.post("/product/queryProductSortRefundAllReferdSortInfo","limitcategory_queryProductSortRefundAllReferdSortInfo"); - - /*开启*/ - app.post("/product/openProductSortRefundExchange","limitcategory_openProductSortRefundExchange"); - - /*关闭*/ - app.post("/product/closeProductSortRefundExchange","limitcategory_closeProductSortRefundExchange"); - -}; \ No newline at end of file diff --git a/server/controllers/goods.netsale.js b/server/controllers/goods.netsale.js deleted file mode 100644 index 8b150f2..0000000 --- a/server/controllers/goods.netsale.js +++ /dev/null @@ -1,111 +0,0 @@ -module.exports=function(app) { - /*网销信息页面渲染*/ - app.get("/goods/netsale/index","goods.netsale.Index",function(){ - this.$extend={ - moduleName:'商品管理', - pageName:'网销信息' - } - }); - /*列表数据*/ - app.post("/goods/netsale/getList","netsale_queryNetSaleInforList"); - /*tab*/ - app.post("/goods/product/queryTabProductNum","netsale_queryTabProductNum"); - /*批量skn处理*/ - app.post("/goods/product/updateProductSknTimingInfo","netsale_updateProductSknTimingInfo"); - /*skc上下架*/ - app.post("/goods/product/updateGoodsStatus","netsale_updateGoodsStatus"); - /*skc上下架*/ - app.post("/goods/product/updateProductSkuStatus","netsale_updateProductSkuStatus"); - /*批量页面渲染*/ - app.get("/goods/netsale/batch","goods.netsale.Batch",function(){ - this.$extend={ - moduleName:'商品管理', - pageName:'批量设置' - } - }); - /*查看页面渲染*/ - app.get("/goods/netsale/info/:param","goods.netsale.Edit",function(){ - this.$extend={ - moduleName:'商品管理', - pageName:'查看网销信息', - type: 'info' - } - }); - /*编辑页面渲染*/ - app.get("/goods/netsale/edit/:param","goods.netsale.Edit",function(){ - this.$extend={ - moduleName:'商品管理', - pageName:'编辑网销信息', - type: 'edit' - } - }); - /*编辑页面渲染*/ - app.get("/goods/audit/info/:param","goods.netsale.Edit",function(){ - this.$extend={ - moduleName:'商品管理', - pageName:'查看网销信息', - type: 'info', - action:'audit' - } - }); - /*查询网销详情*/ - app.post("/goods/netsale/getdata","netsale_getNetSaleInfo"); - /*保存完整网销信息*/ - app.post("/goods/product/saveNetSaleAllInfo","netsale_saveNetSaleAllInfo"); - /*保存基本信息接口*/ - app.post("/goods/product/saveNetSaleBaseInfo","netsale_saveNetSaleBaseInfo"); - /*保存上架后补全信息*/ - app.post("/goods/product/saveAfterSaleInfo","netsale_saveAfterSaleInfo"); - /*查询补全信息*/ - app.post("/goods/product/queryAttributesByConf","netsale_queryAttributesByConf"); - /*通过品牌获取店铺*/ - app.post("/goods/ShopsRest/queryShopsByBrandId","netsale_queryShopsByBrandId"); - /*查询制作工艺列表*/ - app.post("/goods/product/queryMakingProcess","netsale_queryMakingProcess"); - /*查询品牌款型系列列表*/ - app.post("/goods/brandSeries/queryAll4Select","netsale_queryAll4Select"); - /*品牌关联*/ - app.post("/goods/product/saveBrandRelation","netsale_saveBrandRelation"); - /*保存视频接口*/ - app.post("/goods/product/saveNetSaleVideo","netsale_saveNetSaleVideo"); - /*关联逛*/ - // app.post("/goods/article/queryArticlesBySKN","netsale_queryArticlesBySKN"); - /*品牌关联列表*/ - app.post("/goods/brands/queryBrandsByStatus","netsale_queryBrandsByStatus"); - /*网销信息 -> 商品参数*/ - app.post("/goods/product/queryAttributesByConfEx","netsale_queryAttributesByConfEx"); - /*调用图片*/ - app.post("/productPhoto/queryProductPhotoList","netsale_queryProductPhotoList"); - /*保存搜索顺序*/ - app.post("/netSale/saveSearchSort","netsale_saveSearchSort"); - /*查找热搜词*/ - app.post("/netSale/queryHotSearchTerms","netsale_queryHotSearchTerms"); - /*查找洗涤提示*/ - app.post("/netSale/getAll4Select","netsale_getAll4Select"); - /*查找材质参数*/ - app.post("/netSale/queryAllBySortId4Select","netsale_queryAllBySortId4Select"); - /*查找所有商品参数信息 //暂时没用*/ - app.post("/netSale/queryAllGoodsParams",["netsale_getAll4Select","netsale_queryAllBySortId4Select"]); - /*保存搜索关键词*/ - app.post("/netSale/saveNetSaleSearchKeys","netsale_saveNetSaleSearchKeys"); - /*保存商品参数*/ - app.post("/netSale/saveProductParam","netsale_saveProductParam"); - /*商品描述*/ - app.post("/product/saveProductDesc","netsale_saveProductDesc"); - /*小编推荐*/ - app.post("/product/saveNetSaleRecommend","netsale_saveNetSaleRecommend"); - /*查询搭配列表*/ - app.post("/collocation/selectCollocationListBySkn","netsale_selectCollocationListBySkn"); - /*获取单个商品搭配信息*/ - app.post("/collocation/selectCollocationById","netsale_selectCollocationById"); - /*添加单个搭配*/ - app.post("/collocation/insertCollocation","netsale_insertCollocation"); - /*更新单个搭配*/ - app.post("/collocation/updateCollocation","netsale_updateCollocation"); - /*删除单个搭配*/ - app.post("/collocation/delCollocationById","netsale_delCollocationById"); - /*单独维护封面信息*/ - app.post("/product/manageProductImg","netsale_manageProductImg"); - /*小编推荐*/ - app.post("/guang/article/queryArticlesBySKN","netsale_queryArticlesBySKN"); -} \ No newline at end of file diff --git a/server/controllers/goods.price.js b/server/controllers/goods.price.js deleted file mode 100644 index 7a65c79..0000000 --- a/server/controllers/goods.price.js +++ /dev/null @@ -1,40 +0,0 @@ -module.exports=function(app) { - /*代销变价页面渲染*/ - app.get("/goods/pricechange/index","goods.price.PriceChange",function () { - this.$extend={ - moduleName:'商品管理', - pageName:'代销变价' - } - }); - - /*列表数据*/ - app.post("/goods/price/list","price_queryProductPriceList"); - - /*获得单个变价详情*/ - app.post("/goods/getPrice","price_getProductPrice"); - - /*单个变价接口*/ - app.post("/goods/updatePrice","price_updateProductPrice"); - - /*变价记录*/ - app.post("/goods/queryProductPriceListBySkn","price_queryProductPriceListBySkn"); - - /*批量变价接口*/ - app.post("/goods/batchUpdatePrice","price_batchUpdateProductPrice"); - - - - /**************************品牌合作模式页面渲染*******************************/ - app.get("/goods/brandCooperation/index","goods.price.BrandCooperation",function(){ - this.$extend={ - moduleName:'商品管理', - pageName:'品牌合作模式设置' - } - }); - - /*列表数据*/ - app.post("/brandCooperation/queryBrandCooperationList","price_queryBrandCooperationList"); - - /*修改合作模式*/ - app.post("/brandCooperation/saveBrandCooperation","price_saveBrandCooperation"); -} \ No newline at end of file diff --git a/server/controllers/goods.specialgoods.js b/server/controllers/goods.specialgoods.js deleted file mode 100644 index a3f9b02..0000000 --- a/server/controllers/goods.specialgoods.js +++ /dev/null @@ -1,16 +0,0 @@ -module.exports=function(app) { - /*品牌货到付款限制页面路由*/ - app.get("/goods/special/index","goods.specialgoods.Index",function(){ - this.$extend={ - moduleName:"商品管理", - pageName:"特殊商品" - } - }); - - /*列表数据*/ - app.post("/refundExchangeAttribute/queryRefundExchangeList","specialgoods_queryRefundExchangeList"); - - /*编辑*/ - app.post("/refundExchangeAttribute/modifyRefundExchangeStatus","specialgoods_modifyRefundExchangeStatus"); - -}; \ No newline at end of file diff --git a/server/controllers/goods.yohoCoin.js b/server/controllers/goods.yohoCoin.js deleted file mode 100644 index 117c54f..0000000 --- a/server/controllers/goods.yohoCoin.js +++ /dev/null @@ -1,44 +0,0 @@ -module.exports=function(app) { - /*yoho币管理页面渲染*/ - app.get("/goods/yohoCoin/index","goods.yohoCoin.Index",function(){ - this.$extend={ - moduleName:"商品管理", - pageName:"YOHO币管理" - } - }); - - /*yoho币管理列表查询*/ - app.post("/good/yohoCoin/queryPageList","yohoCoin_queryPageList"); - - /*编辑保存yoho币*/ - app.post("/good/yohoCoin/set","yohoCoin_set"); - - /*批量上传TaskId查询*/ - app.post("/yohoCoin/importResult/queryBatchImportResult","yohoCoin_queryBatchImportResult"); - - /*批量确认提交*/ - app.post("/good/yohoCoin/insertBatch","yohoCoin_insertBatch"); - - /*yoho币审核页面渲染*/ - app.get("/goods/yohoCoin/Audit","goods.yohoCoin.Audit",function(){ - this.$extend={ - moduleName:"商品管理", - pageName:"YOHO币审核" - } - }); - - /*yoho币审核列表查询*/ - app.post("/good/yohoCoin/queryPageList4Audit","yohoCoin_queryPageList4Audit"); - - /*审核通过*/ - app.post("/good/yohoCoin/pass","yohoCoin_pass"); - - /*批量审核通过*/ - app.post("/good/yohoCoin/passBatch","yohoCoin_passBatch"); - - /*驳回*/ - app.post("/good/yohoCoin/reject","yohoCoin_reject"); - - /*批量驳回*/ - app.post("/good/yohoCoin/rejectBatch","yohoCoin_rejectBatch"); -} \ No newline at end of file diff --git a/server/controllers/guang.articleCategory.js b/server/controllers/guang.articleCategory.js deleted file mode 100644 index 1c4c480..0000000 --- a/server/controllers/guang.articleCategory.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 文章分类管理 - */ - -module.exports=function(app) { - - app.get("/guang/article/sortindex","guang.articleCategory.Index", function () { - this.$extend = { - iscreate: true, - moduleName: "文章分类管理", - pageName: "文章分类管理" - }; - }); - /*文章分类管理列表数据*/ - app.post("/guang/article/categoryist","articleCategoryManager_getList"); - - /*文章分类管理-编辑*/ - app.post("/guang/article/sort/update","articleCategoryManager_updateSort"); - - /*文章分类管理-添加*/ - app.post("/guang/article/sort/add","articleCategoryManager_addSort"); - - /*文章分类管理-删除*/ - app.post("/guang/article/sort/del","articleCategoryManager_delSort"); -} diff --git a/server/controllers/guang.author.js b/server/controllers/guang.author.js deleted file mode 100644 index 58c80f0..0000000 --- a/server/controllers/guang.author.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 作者管理 - */ - -module.exports=function(app) { - - app.get("/guang/author/index","guang.author.Index", function () { - this.$extend = { - iscreate: true, - moduleName: "作者管理", - pageName: "作者列表" - }; - }); - /*作者管理列表数据*/ - app.post("/guang/author/getList","authorManager_getList"); - - /*作者管理-添加*/ - app.post("/guang/author/addAuthor","authorManager_addAuthor"); - - /*作者管理-编辑*/ - app.post("/guang/author/updateAuthor","authorManager_updateAuthor"); - - /*作者管理-删除*/ - app.post("/guang/author/delAuthor","authorManager_delAuthor"); - -} \ No newline at end of file diff --git a/server/controllers/guang.brandConcern.js b/server/controllers/guang.brandConcern.js deleted file mode 100644 index 57694d2..0000000 --- a/server/controllers/guang.brandConcern.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 品牌关注 - */ - -module.exports=function(app) { - - app.get("/guang/relationship/index","guang.brandConcern.Index", function () { - this.$extend = { - iscreate: true, - moduleName: "品牌关系管理", - pageName: "品牌关系列表" - }; - }); - /*品牌关注 列表数据*/ - app.post("/guang/relationship/getList","brandConcern_getList"); - - /*品牌关注-添加*/ - app.post("/guang/relationship/addRel","brandConcern_addRel"); - - /*品牌关注列表-编辑*/ - app.post("/guang/relationship/updateRel","brandConcern_updateRel"); - - /*品牌关注列表-删除*/ - app.post("/guang/relationship/delRel","brandConcern_delRel"); - -} \ No newline at end of file diff --git a/server/controllers/guang.comment.js b/server/controllers/guang.comment.js deleted file mode 100644 index e97bbff..0000000 --- a/server/controllers/guang.comment.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 评论管理 - */ - -module.exports=function(app) { - - app.get("/guang/comments/index","guang.comment.Index", function () { - this.$extend = { - iscreate: true, - moduleName: "评论管理", - pageName: "评论列表" - }; - }); - /*评论管理列表数据*/ - app.post("/guang/comment/getList","commentManager_getList"); - - /*评论管理-审核*/ - app.post("/guang/comment/audit","commentManager_audit"); - - /*评论管理-获取筛选条件*/ - app.post("/guang/comment/getItems","commentManager_getItems"); - -} \ No newline at end of file diff --git a/server/controllers/guang.info.js b/server/controllers/guang.info.js deleted file mode 100644 index f8a2353..0000000 --- a/server/controllers/guang.info.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 资讯管理 - */ - -module.exports=function(app) { - - /*首页*/ - app.get("/guang/article/index","guang.info.Index", function () { - this.$extend = { - iscreate: true, - moduleName: "资讯管理", - pageName: "资讯列表管理" - }; - }); - - /*添加*/ - app.get("/guang/article/contentAdd","guang.info.Edit", function () { - this.$extend = { - action:"/guang/article/addArticle", - moduleName: "文章管理", - pageName: "添加文章" - }; - }); - - /*编辑*/ - app.get("/guang/article/contentEdit/:id","guang.info.Edit", function () { - this.$extend = { - action:"/guang/article/updateArticle", - moduleName: "文章管理", - pageName: "修改文章" - }; - }); - - /*资讯管理列表数据*/ - app.post("/guang/article/list","infoManager_getList"); - - /*资讯管理-列表操作(修改、发布、关闭、推荐、取消推荐)*/ - app.post("/guang/article/operation","infoManager_operation"); - - /*资讯管理-定时*/ - app.post("/guang/article/timmer","infoManager_timePublish"); - - /*资讯管理-删除*/ - app.post("/guang/article/del","infoManager_delArticle"); - - //================================= [下拉框调用的接口] - /*作者列表*/ - app.post("/guang/article/getAuthorList","infoManager_getAuthorList"); - - /*所有分类*/ - app.post("/guang/article/getSortList","infoManager_getSortList"); - - /*根据是否启用获取标签分类列表*/ - app.post("/guang/tagSort/getTagItems","infoManager_getTagItems"); - - /*plus star 频道*/ - app.post("/guang/plustarcategory/getCategoryNames","infoManager_getCategoryNames"); - - /*添加文章*/ - app.post("/guang/article/addArticle","infoManager_addArticle"); - - /*更新文章*/ - app.post("/guang/article/updateArticle","infoManager_updateArticle"); - - /*获取文章详情*/ - app.post("/guang/article/getDetail","infoManager_getDetail"); - - /*获取标签列表*/ - app.post("/guang/tags/getTags","infoManager_getTags"); - - /*获取文章详情*/ - app.post("/guang/queryAllGoodsSort","infoManager_queryAllGoodsSort"); -} - diff --git a/server/controllers/guang.plusStar.js b/server/controllers/guang.plusStar.js deleted file mode 100644 index c73e134..0000000 --- a/server/controllers/guang.plusStar.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * plus/Star列表 - */ - -module.exports=function(app) { - - app.get("/guang/plustar/index","guang.plusStar.Index", function () { - this.$extend = { - iscreate: true, - moduleName: "PlusStar管理", - pageName: "PlusStar管理" - }; - }); - /*Plus/Star 列表数据*/ - app.post("/guang/plustar/getList","plusStarManager_getList"); - - /*Plus/Star列表-添加*/ - app.post("/guang/plustar/addPlustar","plusStarManager_addPlustar"); - - /*Plus/Star列表-修改*/ - app.post("/guang/plustar/updatePlustar","plusStarManager_updatePlustar"); - - /*Plus/Star列表-编辑*/ - app.post("/guang/plustar/getDetail","plusStarManager_getDetail"); - - /*Plus/Star列表-删除*/ - app.post("/guang/plustar/delPlustar","plusStarManager_delPlustar"); - -} \ No newline at end of file diff --git a/server/controllers/guang.plusStarCategory.js b/server/controllers/guang.plusStarCategory.js deleted file mode 100644 index 284060d..0000000 --- a/server/controllers/guang.plusStarCategory.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * plus/Star分类 - */ - -module.exports=function(app) { - - app.get("/guang/plustarcategory/index","guang.plusStarCategory.Index", function () { - this.$extend = { - iscreate: true, - moduleName: "PlusStar分类管理", - pageName: "PlusStar分类列表管理" - }; - }); - /*Plus/Star分类 列表数据*/ - app.post("/guang/plustarcategory/getList","plusStarCategory_getList"); - - /*Plus/Star分类列表-添加*/ - app.post("/guang/plustarcategory/addCategory","plusStarCategory_addCategory"); - - /*Plus/Star分类列表-编辑&开启&关闭*/ - app.post("/guang/plustarcategory/updateCategory","plusStarCategory_updateCategory"); - -} \ No newline at end of file diff --git a/server/controllers/guang.tag.js b/server/controllers/guang.tag.js deleted file mode 100644 index e089610..0000000 --- a/server/controllers/guang.tag.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 标签管理 - */ - -module.exports=function(app) { - - app.get("/guang/tags/index","guang.tag.Index", function () { - this.$extend = { - iscreate: true, - moduleName: "标签管理", - pageName: "标签管理" - }; - }); - /*标签管理列表数据*/ - app.post("/guang/tags/getList","tagManager_getList"); - - /*标签管理-编辑*/ - app.post("/guang/tags/updateTag","tagManager_updateTag"); - - /*标签管理-添加*/ - app.post("/guang/tags/addTag","tagManager_addTag"); - - /*标签管理-删除*/ - app.post("/guang/tags/delTag","tagManager_delTag"); -} \ No newline at end of file diff --git a/server/controllers/guang.tagCategory.js b/server/controllers/guang.tagCategory.js deleted file mode 100644 index de36c10..0000000 --- a/server/controllers/guang.tagCategory.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 标签分类管理 - */ - -module.exports=function(app) { - - app.get("/guang/tags/sort","guang.tagCategory.Index", function () { - this.$extend = { - iscreate: true, - moduleName: "标签管理", - pageName: "标签分类管理" - }; - }); - /*标签分类管理列表数据*/ - app.post("/guang/tags/sort/list","tagCategoryManager_getList"); - - /*标签分类管理-编辑*/ - app.post("/guang/tags/sort/update","tagCategoryManager_updateSort"); - - /*标签分类管理-添加*/ - app.post("/guang/tags/sort/add","tagCategoryManager_addSort"); - - /*标签分类管理-删除*/ - app.post("/guang/tags/sort/del","tagCategoryManager_delSort"); -} \ No newline at end of file diff --git a/server/controllers/help.helpCategory.js b/server/controllers/help.helpCategory.js deleted file mode 100644 index 2ddcd3f..0000000 --- a/server/controllers/help.helpCategory.js +++ /dev/null @@ -1,24 +0,0 @@ -module.exports = function (app){ - app.get("/operations/helpcategory/index", "help.Category", function (req,res){ - this.$extend={ - moduleName:"帮助管理", - pageName:"帮助分类" - } - }); - - //所有帮助分类列表 - app.post("/operations/helpcategory/getAllHelpCategory","helpCategory_getAllHelpCategory"); - - //添加帮助分类 - app.post("/operations/helpcategory/addCategory","helpCategory_addCategory"); - - //保存修改帮助分类 - app.post("/operations/helpcategory/updateHelpCategory","helpCategory_updateHelpCategory"); - - //删除帮助分类 - app.post("/operations/helpcategory/deleteHelpCategory","helpCategory_deleteHelpCategory"); - - //帮助分类详情 - app.post("/operations/helpcategory/getCategoryListByPid","helpCategory_getCategoryListByPid"); -} - diff --git a/server/controllers/help.helpContent.js b/server/controllers/help.helpContent.js deleted file mode 100644 index d7d7b82..0000000 --- a/server/controllers/help.helpContent.js +++ /dev/null @@ -1,32 +0,0 @@ -module.exports = function (app){ - app.get("/operations/helpcontent/index", "help.Content", function (req,res){ - this.$extend={ - moduleName:"帮助管理", - pageName:"帮助内容" - } - }); - - //帮助内容列表 - app.post("/operations/helpcontent/getAllHelpContent","helpContent_getAllHelpContent"); - - //添加帮助内容 - app.post("/operations/helpcontent/addHelpContent","helpContent_addHelpContent"); - - //保存编辑帮助内容 - app.post("/operations/helpcontent/updateHelpContent","helpContent_updateHelpContent"); - - //删除帮助内容 - app.post("/operations/helpcontent/deleteHelpContent","helpContent_deleteHelpContent"); - - //帮助内容详情 - app.post("/operations/helpcontent/getHelpContentByCategoryId","helpContent_getHelpContentByCategoryId"); - - //二级帮助分类 - app.post("/operations/helpcontent/getSecondCategoryList","helpContent_getSecondCategoryList"); - - //查询所有帮助分类 - app.post("/operations/helpcontent/getAllHelpCategory","helpContent_getAllHelpCategory"); - - //查询帮助分类 - app.post("/operations/helpcontent/getHelpCategory","helpContent_getHelpCategory"); -} diff --git a/server/controllers/marketing.BrandCoupon.js b/server/controllers/marketing.BrandCoupon.js deleted file mode 100644 index b3b1b10..0000000 --- a/server/controllers/marketing.BrandCoupon.js +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Created by yoho on 2016/6/20. - */ -module.exports = function (app) { - /***********************************品牌优惠券*************************************/ - //列表页 - app.get("/brandCoupons/index", "marketing.BrandCoupon.Index",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'品牌优惠券' - } - }); - - //列表数据 - app.post("/brandCoupon/queryList", "BrandCoupon_queryList"); - - //新增 - app.post("/brandCoupon/add", "BrandCoupon_add"); - - //编辑 - app.post("/brandCoupon/update", "BrandCoupon_update"); - - //删除 - app.post("/brandCoupon/delete", "BrandCoupon_delete"); - - //单个 - app.post("/brandCoupon/queryByParam", "BrandCoupon_queryByParam"); - -}; \ No newline at end of file diff --git a/server/controllers/marketing.CouponList.js b/server/controllers/marketing.CouponList.js deleted file mode 100644 index 0f52767..0000000 --- a/server/controllers/marketing.CouponList.js +++ /dev/null @@ -1,58 +0,0 @@ -/** - * Created by yoho on 2016/6/20. - */ -module.exports = function (app) { - /*************************************优惠券管理--庞洁*************************************/ - //列表页 - app.get("/market/couponList/index", "marketing.CouponList.Index",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'优惠券管理', - } - }); - - //优惠券列表 - app.post("/coupon/queryCouponList", "CouponList_queryCouponList"); - - //添加页 - app.get("/market/couponList/add", "marketing.CouponList.AddOrUpdate",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'新增优惠券', - title: "新增优惠券", - type: "add", - action: "/coupon/add" - } - }); - - //编辑页 - app.get("/market/couponList/update/:id", "marketing.CouponList.AddOrUpdate",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'修改优惠券', - title: "修改优惠券", - type: "update", - action: "/coupon/update" - } - }); - - //单张详情 - app.post("/coupon/getCouponDetailById", "CouponList_getCouponDetailById"); - - //新增优惠券 - app.post("/coupon/add", "CouponList_addOrUpdate"); - - //编辑优惠券 - app.post("/coupon/update", "CouponList_addOrUpdate"); - - - //驳回 - app.post("/coupon/reject", "CouponList_reject"); - - //通过 - app.post("/coupon/approve", "CouponList_approve"); - - //作废 - app.post("/coupon/invalid", "CouponList_invalid"); - -}; \ No newline at end of file diff --git a/server/controllers/marketing.CouponSend.js b/server/controllers/marketing.CouponSend.js deleted file mode 100644 index 614c812..0000000 --- a/server/controllers/marketing.CouponSend.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * Created by yoho on 2016/6/20. - */ -module.exports = function (app) { - /*************************************发券管理*************************************/ - //列表页 - app.get("/market/couponSend/index", "marketing.CouponSend.Index",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'发券管理' - } - }); - - //优惠券列表 - app.post("/coupon/querySendCouponList", "CouponSend_querySendCouponList"); - - //单个优惠券 - app.post("/coupon/getCouponDetailById", "CouponSend_getCouponDetailById"); - - //发券页 - app.get("/market/couponSend/send/:param", "marketing.CouponSend.Send",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'发券' - } - }); - //手工发券 - app.post("/coupon/sendCoupon", "CouponSend_sendCoupon"); - - //文件上传重发 - app.post("/couponSendInfo/sendAgainById", "CouponSend_sendAgainById"); - - //发放记录页 - app.get("/market/couponSend/sendHistory/:param", "marketing.CouponSend.SendHistory",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'发放记录' - } - }); - - //使用记录页 - app.get("/market/couponSend/useHistory/:param", "marketing.CouponSend.UseHistory",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'使用记录' - } - }); - - //查询用户券列表 - app.post("/couponLogs/queryUserCouponLogsList", "CouponSend_queryUserCouponLogsList"); - - //查询文件发券列表 - app.post("/couponSendInfo/getListByCouponId", "CouponSend_getListByCouponId"); - - //公开券页面 - app.get("/market/couponSend/pCouponSn/:param", "marketing.CouponSend.PublicCoupon",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'公开券' - } - }); - - //公开券列表 - app.post("/pCouponSn/queryCouponSnList", "CouponSend_queryCouponSnList"); - - //发券异常列表查询 - app.post("/couponSendError/query", "CouponSend_couponSendError"); - - //重新请求发券 - app.post("/couponSendError/retrySend", "CouponSend_retrySend"); -}; \ No newline at end of file diff --git a/server/controllers/marketing.LimitCode.js b/server/controllers/marketing.LimitCode.js deleted file mode 100644 index e18d4f2..0000000 --- a/server/controllers/marketing.LimitCode.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * Created by yoho on 2016/6/20. - */ -module.exports = function (app) { - /*************************************限购码管理*************************************/ - //列表页 - app.get("/market/limitcode/index", "marketing.LimitCode.Index",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'限购码列表' - } - }); - - //限购码列表 - app.post("/limitCode/getLimitCodeList", "LimitCode_getLimitCodeList"); - - //添加页 - app.get("/market/limitcode/add", "marketing.LimitCode.Edit",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'添加限购码', - action: "/limitCode/addLimitCode", - type: "add" - } - }); - //添加限购码 - app.post("/limitCode/addLimitCode", "LimitCode_addLimitCode"); - - //检查SKN的合法性并且获得其下的所有SKU - app.post("/limitCode/checkSknValidity", "LimitCode_checkSknValidity"); - - //查看限购码页面渲染 - app.get("/market/limitcode/info/:id", "marketing.LimitCode.Info","LimitCode_getLimitCode",function (data) { - this.$extend={ - moduleName:'营销管理', - pageName:'查看限购码', - data:data.data - } - }); - - //查看限购码 - app.post("/limitCode/getLimitCode", "LimitCode_getLimitCode"); - - //修改限购码页面渲染 - app.get("/market/limitcode/update/:id", "marketing.LimitCode.Edit",function () { - this.$extend={ - moduleName:'营销管理', - pageName:'修改限购码', - action: "/limitCode/updateLimitCode", - type: "update" - } - }); - - //编辑限购码页面渲染 - app.get("/market/limitcode/edit/:id", "marketing.LimitCode.Edit",function () { - this.$extend={ - moduleName:'营销管理', - pageName:'编辑限购码', - action: "/limitCode/updateLimitCode", - type: "edit" - } - }); - - //编辑限购码 - app.post("/limitCode/updateLimitCode", "LimitCode_updateLimitCode"); - - //通过、驳回、作废限购码接口 - app.post("/limitCode/auditLimitCode", "LimitCode_auditLimitCode"); - - //限购码管理 -> tab卡数据 - app.post("/limitCode/getLimitCodeCountByStatus", "LimitCode_getLimitCodeCountByStatus"); - -}; \ No newline at end of file diff --git a/server/controllers/marketing.ProductPool.js b/server/controllers/marketing.ProductPool.js deleted file mode 100644 index 9721fea..0000000 --- a/server/controllers/marketing.ProductPool.js +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Created by yoho on 2016/6/20. - */ -module.exports = function (app) { - - /*************************************商品池管理*************************************/ - //列表页 - app.get("/market/productPool/index", "marketing.ProductPool.Index",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'商品池管理' - } - }); - - //列表数据 - app.post("/market/productPool/queryProductPoolPage", "ProductPool_queryProductPoolPage"); - - //新增 - app.post("/market/productPool/addProductPoolBo", "ProductPool_addProductPoolBo"); - - //编辑 - app.post("/market/productPool/updateProductPool", "ProductPool_updateProductPool"); - - //删除 - app.post("/market/productPool/clearProductPool", "ProductPool_clearProductPool"); - - //详情列表 - app.post("/market/productPool/queryProductPoolDetailPage", "ProductPool_queryProductPoolDetailPage"); - - //详情删除SKN - app.post("/market/productPool/deleteProductPoolDetailBo", "ProductPool_deleteProductPoolDetailBo"); - - //详情添加SKN - app.post("/market/productPool/addProductPoolDetailBo", "ProductPool_addProductPoolDetailBo"); - - -}; \ No newline at end of file diff --git a/server/controllers/marketing.PromotionCode.js b/server/controllers/marketing.PromotionCode.js deleted file mode 100644 index 8de011c..0000000 --- a/server/controllers/marketing.PromotionCode.js +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Created by yoho on 2016/6/20. - */ -module.exports = function (app) { - - /*************************************优惠码管理*************************************/ - //列表页 - app.get("/market/coupon/index", "marketing.PromotionCode.Index", function () { - this.$extend = { - moduleName: '营销管理', - pageName: '优惠码码列表', - createUrl: '/market/coupon/add' - } - }); - - //优惠码码列表 - app.post("/market/coupon/getPromotion", "PromotionCode_getPromotionCodeList"); - //单个优惠码 - app.post("/market/coupon/getPromotionCode", "PromotionCode_getPromotionCode"); - - //添加页 - app.get("/market/coupon/add", "marketing.PromotionCode.Edit", function () { - this.$extend = { - moduleName: '营销管理', - pageName: '添加优惠码', - action: "/market/coupon/addCode", - type: "add" - } - }); - //添加限购码 - app.post("/market/coupon/addCode", "PromotionCode_addPromotionCode"); - - //编辑限购码页面渲染 - app.get("/market/coupon/update/:id", "marketing.PromotionCode.Edit","PromotionCode_getPromotionCode", function (data) { - this.$extend = { - moduleName: '营销管理', - pageName: '编辑优惠码', - action: "/market/coupon/updateCode", - type: "update", - data:data.data - } - }); - //编辑限购码 - app.post("/market/coupon/updateCode", "PromotionCode_updatePromotionCode"); - - //通过、驳回、作废限购码接口 - app.post("/market/coupon/auditPromotion", "PromotionCode_auditPromotionCode"); - - //发放 - app.post("/market/coupon/sendPromotion", "PromotionCode_getPromotionCodeSendList"); - - //tab卡数据 - app.post("/market/coupon/getCodeCount", "PromotionCode_getPromotionCodeCountByStatus"); - - //查看限购码页面渲染 - app.get("/market/coupon/info/:id", "marketing.PromotionCode.Edit", function () { - this.$extend = { - moduleName: '营销管理', - pageName: '优惠码详情', - type: "info" - } - }); - //验证优惠码 - app.post("/market/coupon/checkPromotionCode", "PromotionCode_checkPromotionCode"); - - -}; \ No newline at end of file diff --git a/server/controllers/marketing.QueryCoupon.js b/server/controllers/marketing.QueryCoupon.js deleted file mode 100644 index 54f191a..0000000 --- a/server/controllers/marketing.QueryCoupon.js +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Created by yoho on 2016/6/20. - */ -module.exports = function (app) { - - /*************************************优惠券查询--李建*************************************/ - //列表页 - app.get("/market/queryCoupon/index", "marketing.QueryCoupon.Index",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'优惠券查询' - } - }); - - //优惠券记录 - app.post("/couponLogs/queryUserCouponLogsList", "QueryCoupon_queryUserCouponLogsList"); - - //延长优惠券有效期 - app.post("/couponLogs/delayUserCoupon", "QueryCoupon_delayUserCoupon"); - - //手工退券 - app.post("/couponLogs/cancelCouponUse", "QueryCoupon_cancelCouponUse"); - -}; \ No newline at end of file diff --git a/server/controllers/marketing.Vip.js b/server/controllers/marketing.Vip.js deleted file mode 100644 index af931b6..0000000 --- a/server/controllers/marketing.Vip.js +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Created by yoho on 2016/6/20. - */ -module.exports = function (app) { - /*************************************vip累计金额翻倍*************************************/ - //列表页 - app.get("/market/vipamount/index", "marketing.Vip.Index",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'vip累计金额翻倍' - } - }); - //列表数据 - app.post("/market/vipamount/list", ["Vip_vipList","Vip_activityList"],function (Vip_vipList,Vip_activityList) { - return { - data:{ - activity:Vip_activityList, - vipList:Vip_vipList - } - - } - }); - - //添加页 - app.get("/market/vipamount/add", "marketing.Vip.Add",function(){ - this.$extend={ - moduleName:'营销管理', - pageName:'vip累计金额翻倍' - } - }); - - //添加 - app.post("/market/vipamount/save", "Vip_saveActivity"); -}; \ No newline at end of file diff --git a/server/controllers/operations.category.js b/server/controllers/operations.category.js deleted file mode 100644 index b483e02..0000000 --- a/server/controllers/operations.category.js +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Created by ty on 2016/6/21. - * 分类管理 - */ - -module.exports=function(app) { - - /*分类管理首页*/ - app.get("/operations/category/index","operations.category.Index", function () { - this.$extend = { - moduleName: "分类管理", - pageName: "分类列表管理" - } - }); - - /*分类管理添加页面*/ - app.get("/operations/category/add","operations.category.Edit", "resourceManage_getUrlAction", function (response) { - this.$extend = { - data:response.data, - action:"/category/addCategory", - type:"add", - moduleName: "分类管理", - pageName: "添加分类" - }; - }); - - /*分类管理编辑页面*/ - app.get("/operations/category/edit/:param","operations.category.Edit", "resourceManage_getUrlAction", function (response) { - this.$extend = { - data:response.data, - action:"/category/updateCategory", - type:"edit", - moduleName: "分类管理", - pageName: "编辑分类" - }; - console.log(response); - }); - - /*分类列表*/ - app.post("/category/getCategoryList","category_getCategoryList"); - - /*更新分类状态*/ - app.post("/category/updateCategoryStatus","category_updateCategoryStatus"); - - /*根据id获取分类对象*/ - app.post("/category/getOneCategory","category_getOneCategory"); - - /*添加分类*/ - app.post("/category/addCategory","category_addCategory"); - - /*修改分类*/ - app.post("/category/updateCategory","category_updateCategory"); - - /*获取分类列表*/ - app.post("/category/getCategories","category_getCategories"); -} \ No newline at end of file diff --git a/server/controllers/operations.couponActivity.js b/server/controllers/operations.couponActivity.js deleted file mode 100644 index 7caae80..0000000 --- a/server/controllers/operations.couponActivity.js +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 优惠券活动 - */ - -module.exports=function(app) { - - /*优惠券活动主界面*/ - app.get("/couponActivity/index","operations.couponActivity.Index", function () { - this.$extend = { - moduleName: "优惠券活动管理", - pageName: "活动列表" - } - }); - - /*优惠券活动编辑界面*/ - app.get("/couponActivity/index/update/:id","operations.couponActivity.Edit", function () { - this.$extend = { - moduleName: "优惠券活动管理", - pageName: "编辑活动" - } - }); - - /*优惠券活动添加界面*/ - app.get("/couponActivity/index/add","operations.couponActivity.Add", function () { - this.$extend = { - moduleName: "优惠券活动管理", - pageName: "添加活动" - } - }); - - /*api请求数据*/ - app.post("/couponActivity/queryList","couponActivity_queryList"); - - /*修改优惠券活动*/ - app.post("/couponActivity/update","couponActivity_update"); - - /*单个优惠券活动查询*/ - app.post("/couponActivity/queryById","couponActivity_queryById"); - - /*新增优惠券活动*/ - app.post("/couponActivity/add","couponActivity_add"); -} \ No newline at end of file diff --git a/server/controllers/operations.couponSend.js b/server/controllers/operations.couponSend.js deleted file mode 100644 index 963a156..0000000 --- a/server/controllers/operations.couponSend.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 发券管理 - */ - -module.exports=function(app) { - - /*发券管理主页*/ - app.get("/couponSendManager/queryList","operations.couponSend.Index", function () { - this.$extend = { - moduleName: "运营管理", - pageName: "发券管理" - } - }); - - /*发券列表*/ - app.post("/couponSendManager/queryList1","couponSend_queryList"); - - /*新增/修改发券*/ - app.post("/couponSendManager/addOrUpdate","couponSend_addOrUpdate"); -} \ No newline at end of file diff --git a/server/controllers/operations.entrance.js b/server/controllers/operations.entrance.js deleted file mode 100644 index f62fa5f..0000000 --- a/server/controllers/operations.entrance.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Created by ty on 2016/6/21. - * app入口管理 - */ - -module.exports=function(app) { - - /*入口信息管理界面*/ - app.get("/operations/entrance/index","operations.entrance.Index", "resourceManage_getUrlAction", function (response) { - this.$extend = { - data:response.data, - moduleName: "运营管理", - pageName: "入口信息管理" - }; - }); - /*入口列表*/ - app.post("/operations/entrance/selectEntranceList","entrance_selectEntranceList"); - - /*添加入口*/ - app.post("/operations/entrance/insertEntrance","entrance_insertEntrance"); - - /*修改入口*/ - app.post("/operations/entrance/updateEntrance","entrance_updateEntrance"); - - /*更改入口状态*/ - app.post("/operations/entrance/publishEntrance","entrance_publishEntrance"); -} diff --git a/server/controllers/operations.generateLinks.js b/server/controllers/operations.generateLinks.js deleted file mode 100644 index 1b85c72..0000000 --- a/server/controllers/operations.generateLinks.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 生成多个链接 - */ - -module.exports=function(app) { - - /*生成多个链接页面*/ - app.get("/operations/link/index","operations.generateLinks.Index", function () { - this.$extend = { - moduleName: "链接管理", - pageName: "生成链接", - url: "/link/generate", - type: "complex", - notSingle: true - } - }); - - /*生成单个链接页面*/ - app.get("/operations/link/single","operations.generateLinks.Index", "resourceManage_getUrlAction", function (response) { - this.$extend = { - moduleName: "链接管理", - pageName: "生成单一链接", - url: "/link/single", - type: "single", - isSingle: true, - data: response.data - } - }); - - /*生成多个链接*/ - app.post("/link/generate","generateLinks_generate"); - - /*生成单个链接*/ - app.post("/link/single","generateLinks_single"); -} \ No newline at end of file diff --git a/server/controllers/operations.hotRankTag.js b/server/controllers/operations.hotRankTag.js deleted file mode 100644 index 99a8980..0000000 --- a/server/controllers/operations.hotRankTag.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * Top100标签 - */ - -module.exports=function(app) { - - /*公告管理首页*/ - app.get("/hotRankTag/index","operations.hotRankTag.Index", function () { - this.$extend = { - moduleName: "运营管理", - pageName: "Top 100标签" - } - }); - - /*搜索词列表*/ - app.post("/hotRankTag/selectTagList","hotRankTag_selectTagList"); - - /*添加搜索词*/ - app.post("/hotRankTag/addTag","hotRankTag_addTag"); - - /*修改搜索词*/ - app.post("/hotRankTag/updateTag","hotRankTag_updateTag"); - - /*发布搜索词*/ - app.post("/hotRankTag/publishTag","hotRankTag_publishTag"); - - /*关闭搜索词*/ - app.post("/hotRankTag/closeTag","hotRankTag_closeTag"); -} \ No newline at end of file diff --git a/server/controllers/operations.hotsuggest.js b/server/controllers/operations.hotsuggest.js deleted file mode 100644 index cd68bd1..0000000 --- a/server/controllers/operations.hotsuggest.js +++ /dev/null @@ -1,36 +0,0 @@ -/** - * Created by ty on 2016/6/21. - * 热门意见管理 - */ - -module.exports=function(app) { - - /*热门意见管理界面*/ - app.get("/suggest/hotsuggest/index","operations.hotsuggest.Index", function () { - this.$extend = { - moduleName: "反馈管理", - pageName: "热门意见列表" - } - }); - - /*获取热门意见列表*/ - app.post("/suggest/suggestHot/getSuggestHotList","hotsuggest_getSuggestHotList"); - - /*新增热门意见*/ - app.post("/suggest/suggestHot/addSuggestHot","hotsuggest_addSuggestHot"); - - /*修改热门意见*/ - app.post("/suggest/suggestHot/updateSuggestHot","hotsuggest_updateSuggestHot"); - - /*删除/取消热门意见*/ - app.post("/suggest/suggestHot/deleteSuggestHot","hotsuggest_deleteSuggestHot"); - - /*发布/撤回热门*/ - app.post("/suggest/suggestHot/publishSuggestHot","hotsuggest_publishSuggestHot"); - - /*批量发布热门意见*/ - app.post("/suggest/suggestHot/batchPublishSuggestHot","hotsuggest_batchPublishSuggestHot"); - - /*根据id查询热门意见---------暂未用到*/ - app.post("/suggest/suggestHot/getSuggestHotById","hotsuggest_getSuggestHotById"); -} \ No newline at end of file diff --git a/server/controllers/operations.limit.js b/server/controllers/operations.limit.js deleted file mode 100644 index c8ca58c..0000000 --- a/server/controllers/operations.limit.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * Created by ty on 2016/6/22. - * 限售商品管理 - */ - -module.exports=function(app) { - - /*【限购商品】页面渲染*/ - app.get("/limit/product/index","operations.limit.Index", function () { - this.$extend = { - moduleName: "运营管理", - pageName: "限购商品管理" - } - }); - - /*【限购商品】添加页面渲染*/ - app.get("/limit/product/add","operations.limit.Edit", function () { - this.$extend = { - moduleName: "运营管理", - pageName: "限购商品管理", - data: { - limitProductType:"1", - hotFlag:"0" - }, - action: '/limitProduct/addLimitProduct', - } - }); - - /*【限购商品】编辑页面渲染*/ - app.get("/limit/edit/:id","operations.limit.Edit","limit_getLimitProduct", function (response) { - this.$extend = { - moduleName: "运营管理", - pageName: "限购商品管理", - action: "/limitProduct/updateLimitProduct", - type: "update", - data: response.data - } - }); - - /*列表*/ - app.post("/limitProduct/getLimitProductList","limit_getLimitProductList"); - - /*添加*/ - app.post("/limitProduct/addLimitProduct","limit_addLimitProduct"); - - /*编辑*/ - app.post("/limitProduct/updateLimitProduct","limit_updateLimitProduct"); - - /*获取各状态数量*/ - app.post("/limitProduct/getCountByStatus","limit_getCountByStatus"); - - /*更改商品状态*/ - app.post("/limitProduct/auditLimitProduct","limit_auditLimitProduct"); - - /*删除限购商品*/ - app.post("/limitProduct/deleteLimitProduct","limit_deleteLimitProduct"); - - /*检查batchNo是否存在*/ - app.post("/limitProduct/checkBatchNoExist","limit_checkBatchNoExist"); - - /*根据BatchNo检查限购码是否正确*/ - app.post("/limitCode/checkLimitCodeByBatchNo","limit_checkLimitCodeByBatchNo"); - - /*导出*/ - app.post("/limit/batch/export","limit_export"); - - /*检查活动是否存在*/ - app.post("/DrawlineActivityRest/checkActivityIdExists","limit_checkActivityIdExists"); - - /*检查活动是否存在*/ - app.post("/limitProduct/checkActivityIdNoExist","limit_checkActivityIdNoExist"); - - /*根据id获取限购商品*/ - app.post("/limitProduct/checkActivityIdNoExist","limit_checkActivityIdNoExist"); -} \ No newline at end of file diff --git a/server/controllers/operations.notice.js b/server/controllers/operations.notice.js deleted file mode 100644 index 17b96c3..0000000 --- a/server/controllers/operations.notice.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 公告管理 - */ - -module.exports=function(app) { - - /*公告管理首页*/ - app.get("/operations/notice/index","operations.notice.Index", function () { - this.$extend = { - moduleName: "公告管理", - pageName: "公告管理列表" - } - }); - - /*列表*/ - app.post("/operations/notice/getList","notice_getList"); - - /*添加公告*/ - app.post("/operations/notice/addNotice","notice_addNotice"); - - /*更改公告状态*/ - app.post("/operations/notice/setStatus","notice_setStatus"); - - /*更新公告*/ - app.post("/operations/notice/updateNotice","notice_updateNotice"); - - /*删除公告*/ - app.post("/operations/notice/delNotice","notice_delNotice"); -} \ No newline at end of file diff --git a/server/controllers/operations.salecategory.js b/server/controllers/operations.salecategory.js deleted file mode 100644 index ee1153c..0000000 --- a/server/controllers/operations.salecategory.js +++ /dev/null @@ -1,49 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 销售类目 - */ - -module.exports=function(app) { - - /*销售类目主页*/ - app.get("/sale/category/index","operations.salecategory.Index", function () { - this.$extend = { - moduleName: "运营管理", - pageName: "销售类目管理", - gridurl: '/sale/salesCategory/querySCList' - } - }); - - /*标签管理页面*/ - app.get("/sale/category/tag/:categoryId","operations.salecategory.TagMgmt", "salecategory_querySCById", function () { - this.$extend = { - moduleName: "运营管理", - pageName: "标签管理" - } - }); - - /*销售类目列表*/ - app.post("/sale/salesCategory/querySCList","salecategory_querySCList"); - - /*根据id获取单个销售类目*/ - app.post("/sale/salesCategory/querySCById","salecategory_querySCById"); - - /*标签管理列表数据接口*/ - app.post("/sale/salesCategoryLabel/querySCLabelList","salecategory_querySCLabelList"); - - /*更新标签接口*/ - app.post("/sale/salesCategoryLabel/updateSCLabel","salecategory_updateSCLabel"); - - /*更新销售类目接口*/ - app.post("/sale/salesCategory/updateSC","salecategory_updateSC"); - - /*添加销售类目接口*/ - app.post("/sale/salesCategory/addSC","salecategory_addSC"); - - /*开关销售类目*/ - app.post("/sale/salesCategory/updateSCStatus","salecategory_updateSCStatus"); - - /*批量添加标签接口*/ - app.post("/sale/salesCategoryLabel/addSCLabel","salecategory_addSCLabel"); - -} \ No newline at end of file diff --git a/server/controllers/operations.shopsVersionUpdate.js b/server/controllers/operations.shopsVersionUpdate.js deleted file mode 100644 index 1df2154..0000000 --- a/server/controllers/operations.shopsVersionUpdate.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 商家端app包上传 - */ - -module.exports=function(app) { - - /*静态文件管理首页*/ - app.get("/operations/shopsVersionUpdate/index","operations.shopsVersionUpdate.Index", function () { - this.$extend = { - moduleName: "运营管理", - pageName: "商家端app包上传" - } - }); - - /*获取app版本列表*/ - app.post("/AppVersionRest/getAppVersionList","shopsVersionUpdate_getAppVersionList"); - - /*添加app版本*/ - app.post("/AppVersionRest/setAppVersion","shopsVersionUpdate_setAppVersion"); - - /*删除app版本*/ - app.post("/AppVersionRest/delAppVersion","shopsVersionUpdate_delAppVersion"); - - /*编辑app版本*/ - app.post("/AppVersionRest/editAppVersion","shopsVersionUpdate_editAppVersion"); -} \ No newline at end of file diff --git a/server/controllers/operations.staticFile.js b/server/controllers/operations.staticFile.js deleted file mode 100644 index 11e4698..0000000 --- a/server/controllers/operations.staticFile.js +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 静态文件管理 - */ - -module.exports=function(app) { - - /*静态文件管理首页*/ - app.get("/operations/staticFileManager/index","operations.staticFile.Index", function () { - this.$extend = { - iscreate: true, - moduleName: "运营管理", - pageName: "静态文件管理" - } - }); - - /*静态文件添加*/ - app.post("/staticFileManage/add","staticFile_add"); - - /*静态文件删除*/ - app.post("/staticFileManage/deleteById","staticFile_deleteById"); - - /*静态文件修改*/ - app.post("/staticFileManage/update","staticFile_update"); - - /*静态文件查询*/ - app.post("/staticFileManage/queryByCondition","staticFile_queryByCondition"); -} \ No newline at end of file diff --git a/server/controllers/operations.subject.js b/server/controllers/operations.subject.js deleted file mode 100644 index 2bcc6ae..0000000 --- a/server/controllers/operations.subject.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 专题管理 - */ - -module.exports=function(app) { - - /*销售类目主页*/ - app.get("/runManage/subjectManage/index","operations.subject.Index", function () { - this.$extend = { - moduleName: "运营管理", - pageName: "专题管理" - } - }); - - /*活动列表*/ - app.post("/runManage/subjectManage/subjectList","subject_querySpecialActivityPage"); - - /*添加活动*/ - app.post("/runManage/subjectManage/addSubject","subject_addSpecialActivity"); - - /*修改活动*/ - app.post("/runManage/subjectManage/modify","subject_updateByPrimaryKey"); - - /*删除活动*/ - app.post("/runManage/subjectManage/delSubject","subject_deleteSpecialActivity"); - - /*dropDown 根据名称获取商品池*/ - app.post("/runManage/subjectManage/queryBaseProductPoolListByName","subject_queryBaseProductPoolList"); -} \ No newline at end of file diff --git a/server/controllers/operations.suggest.js b/server/controllers/operations.suggest.js deleted file mode 100644 index 7cfa50c..0000000 --- a/server/controllers/operations.suggest.js +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Created by ty on 2016/6/21. - * app意见反馈管理 - */ - -module.exports=function(app) { - - /*意见反馈管理首页*/ - app.get("/suggest/suggest/index","operations.suggest.Index", function () { - this.$extend = { - moduleName: "反馈管理", - pageName: "反馈列表" - } - }); - - /*列表*/ - app.post("/suggest/suggest/getSuggestList","suggest_getSuggestList"); - - /*回复APP意见*/ - app.post("/suggest/suggest/replySuggest","suggest_replySuggest"); - - /*设置热门/非热门接口*/ - app.post("/suggest/suggest/setHotSuggest","suggest_setHotSuggest"); - - /*删除APP意见*/ - app.post("/suggest/suggest/deleteSuggest","suggest_deleteSuggest"); - - /*发送APP意见*/ - app.post("/suggest/suggest/publishSuggest","suggest_publishSuggest"); - - /*获取分类列表*/ - app.post("/suggest/suggest/batchPublishSuggest","suggest_batchPublishSuggest"); -} \ No newline at end of file diff --git a/server/controllers/operations.version.js b/server/controllers/operations.version.js deleted file mode 100644 index a85d8cc..0000000 --- a/server/controllers/operations.version.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * APP版本更新管理 - */ - -module.exports=function(app) { - - /*优惠券活动主界面*/ - app.get("/operations/version/index","operations.version.Index", function () { - this.$extend = { - moduleName: "运营管理", - pageName: "APP版本更新管理" - } - }); - - /*APP版本升级提醒列表*/ - app.post("/operations/version/appVersionList","version_appVersionList"); - - /*新增APP版本提醒*/ - app.post("/operations/version/addAppVersion","version_addAppVersion"); - - /*修改APP版本提醒*/ - app.post("/operations/version/editAppVersion","version_editAppVersion"); - - /*改变状态*/ - app.post("/operations/version/publishAppVersion","version_publishAppVersion"); -} \ No newline at end of file diff --git a/server/controllers/resource.platform.js b/server/controllers/resource.platform.js deleted file mode 100644 index 0931dfa..0000000 --- a/server/controllers/resource.platform.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 平台管理 - */ - -module.exports=function(app) { - - /*平台管理首页*/ - app.get("/resource/platform/index","resource.platformManage.Index", function () { - this.$extend = { - moduleName: "平台管理", - pageName: "平台列表" - } - }); - - /*平台管理列表*/ - app.post("/resources/findResPlatforms","platformManage_findResPlatforms"); - - /*添加平台*/ - app.post("/resources/addResPlatform","platformManage_addResPlatform"); - - /*更新平台信息*/ - app.post("/resources/updateResPlatform","platformManage_updateResPlatform"); - - /*删除平台*/ - app.post("/resources/deleteResPlatform","platformManage_deleteResPlatform"); -} diff --git a/server/controllers/resource.resource.js b/server/controllers/resource.resource.js deleted file mode 100644 index 5b798e8..0000000 --- a/server/controllers/resource.resource.js +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 资源管理 - */ - -module.exports=function(app) { - - /*资源管理首页*/ - app.get("/resource/index/index","resource.resourceManage.Index", function () { - this.$extend = { - moduleName: "资源管理", - pageName: "资源管理" - } - }); - - /*资源内容管理页*/ - app.get("/resource/content/index/:param","resource.resourceManage.ContentManage", "resourceManage_getUrlAction", function (response) { - this.$extend = { - data:response.data, - moduleName: "资源管理", - pageName: "资源内容管理" - }; - }); - - /*资源管理列表*/ - app.post("/resources/queryResource","resourceManage_queryResource"); - - /*获取资源分类列表*/ - app.post("/resources/getResSorts","resourceManage_getResSorts"); - - /*获取平台列表*/ - app.post("/resources/getResPlatforms","resourceManage_getResPlatforms"); - - /*添加/修改资源*/ - app.post("/resources/saveResource","resourceManage_saveResource"); - - /*根据id删除资源位*/ - app.post("/resources/deleteResourceById","resourceManage_deleteResourceById"); - - /*删除资源位下所有tab*/ - app.post("/resources/deleteAllResourceByCode","resourceManage_deleteAllResourceByCode"); - - /*根据id获取资源内容*/ - app.post("/resources/resContentIndex","resourceManage_resContentIndex"); - - /*添加资源内容*/ - app.post("/resources/addResContent","resourceManage_addResContent"); - - /*根据id删除资源内容楼层*/ - app.post("/resources/delResContent","resourceManage_delResContent"); - - /*复制资源内容*/ - app.post("/resources/copyResContent","resourceManage_copyResContent"); - - /*更新预发布时间*/ - app.post("/resources/updateResPublishTime","resourceManage_updateResPublishTime"); - - /*根据 ids 查询活动*/ - app.post("/resources/querySpecialActivityByIDs","resourceManage_querySpecialActivityByIDs"); -} diff --git a/server/controllers/resource.resourceSort.js b/server/controllers/resource.resourceSort.js deleted file mode 100644 index f8e77fd..0000000 --- a/server/controllers/resource.resourceSort.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 资源分类管理 - */ - -module.exports=function(app) { - - /*资源分类管理首页*/ - app.get("/resource/sort/index","resource.resourceSortManage.Index", function () { - this.$extend = { - moduleName: "资源分类管理", - pageName: "资源分类列表" - } - }); - - /*资源分类管理列表*/ - app.post("/resources/resSortIndex","resourceSortManage_resSortIndex"); - - /*添加资源分类*/ - app.post("/resources/addResSort","resourceSortManage_addResSort"); - - /*修改资源分类*/ - app.post("/resources/updateResSort","resourceSortManage_updateResSort"); - - /*删除资源分类*/ - app.post("/resources/deleteResourcesSort","resourceSortManage_deleteResourcesSort"); -} diff --git a/server/controllers/searchWords.index.js b/server/controllers/searchWords.index.js deleted file mode 100644 index ef5bb4a..0000000 --- a/server/controllers/searchWords.index.js +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Created by yoho on 2016/6/20. - * 搜索词管理 - */ - -module.exports = function (app) { - - /*************************************搜索词管理*************************************/ - //列表页 - app.get("/operations/terms/index", "searchWords.SearchWords.Index",function(){ - this.$extend={ - filter: true - } - }); - - //获取所有搜索词 - app.post("/operation/terms/searchWordsList", "searchWords_querySearchWords"); - - //添加搜索词信息 - app.post("/operations/terms/add", "searchWords_addSearchWords"); - - //编辑搜索词信息 - app.post("/operations/terms/modify", "searchWords_updateSearchWords"); - - /*************************************品牌热搜词*************************************/ - //列表页 - app.get("/hotSearchBrand/index", "searchWords.HotBrand.Index",function(){ - this.$extend={ - moduleName:'搜索词管理', - pageName:'品牌热搜词', - filter: true - } - }); - - //获取所有搜索词 - app.post("/hotSearchBrand/queryHotBrandList", "searchWords_queryHotBrandList"); - - //添加搜索词信息 - app.post("/hotSearchBrand/addHotBrand", "searchWords_addHotBrand"); - - //编辑搜索词信息 - app.post("/hotSearchBrand/updateHotBrand", "searchWords_updateHotBrand"); - - //删除搜索词信息 - app.post("/hotSearchBrand/delHotBrand", "searchWords_delHotBrand"); - - //查询单个搜索词信息 - app.post("/hotSearchBrand/queryHotBrand", "searchWords_queryHotBrand"); - -}; \ No newline at end of file diff --git a/server/controllers/shootMeter.index.js b/server/controllers/shootMeter.index.js deleted file mode 100644 index 589855e..0000000 --- a/server/controllers/shootMeter.index.js +++ /dev/null @@ -1,137 +0,0 @@ -/** - * Created by yoho on 2016/6/20. - */ -module.exports = function (app) { - - /*************************************拍摄模特*************************************/ - //列表页 - app.get("/shotManage/model/index", "shootMeter.Model.Index",function(){ - this.$extend={ - moduleName:'拍摄复尺', - pageName:'拍摄模特管理', - type:1, - typeName:"拍摄模特" - } - }); - - //获取所有拍摄模特的信息 - app.post("/shotManage/model/getAllModels", "shootMeter_queryModelList"); - - //添加模特信息 - app.post("/shotManage/model/addModel", "shootMeter_addModel"); - - //编辑模特信息 - app.post("/shotManage/model/updateModel", "shootMeter_updateModel"); - - //删除模特信息 - app.post("/shotManage/model/delModel", "shootMeter_delModel"); - - /*************************************试穿模特*************************************/ - //列表页 - app.get("/meterManage/tryModel/index", "shootMeter.TryModel.Index",function(){ - this.$extend={ - moduleName:'拍摄复尺', - pageName:'试穿模特管理', - type: 2, - typeName:'试穿模特管理' - } - }); - - //获取所有试穿模特的信息 - app.post("/meterManage/tryModel/index1", "shootMeter_queryModelList"); - - //添加模特信息 - app.post("/meterManage/tryModel/addModel", "shootMeter_addModel"); - - //编辑模特信息 - app.post("/meterManage/tryModel/updateModel", "shootMeter_updateModel"); - - //删除模特信息 - app.post("/meterManage/tryModel/delModel", "shootMeter_delModel"); - - /*************************************尺码测量管理*************************************/ - //列表页 - app.get("/meterManage/meterSize/index", "shootMeter.MeterSize.Index",function(){ - this.$extend={ - moduleName:'拍摄复尺', - pageName:'尺码测量管理' - } - }); - - //获取所有尺码测量数据 - app.post("/meterManage/productSize/queryProdSizeList", "shootMeter_queryProdSizeList"); - - //添加尺码测量数据界面 - app.get("/meterManage/meterSize/add", "shootMeter.MeterSize.Add",function(){ - this.$extend={ - moduleName:'拍摄复尺', - pageName:'添加尺码信息' - } - }); - - //添加尺码测量数据 - app.post("/meterManage/productSize/saveProdSizeInfo", "shootMeter_saveProdSizeInfo"); - - //编辑品牌选项 - app.post("/meterManage/brand/getSelectItems", "shootMeter_getSelectItems"); - - /*************************************试穿信息管理*************************************/ - //列表页 - app.get("/meterManage/tryInfo/index", "shootMeter.TryInfo.Index",function(){ - this.$extend={ - moduleName:'拍摄复尺', - pageName:'试穿信息管理' - } - }); - - //上传文件 - app.get("/meterManage/tryInfo/batch", "shootMeter.TryInfo.Batch",function(){ - this.$extend={ - moduleName:'拍摄复尺', - pageName:'上传文件' - } - }); - - //获取所有试穿信息 - app.post("/meterManage/tryInfo/index2", "shootMeter_queryProdExtraList"); - - //获取单个skn对应的试穿信息 - app.post("/meterManage/tryInfo/info1", "shootMeter_queryProdExtraInfo"); - - //添加试穿信息 - app.post("/meterManage/tryInfo/add", "shootMeter_saveProdExtraInfo"); - - /*************************************拍摄要求管理*************************************/ - //列表页 - app.get("/shotManage/shotRequire/index", "shootMeter.ShootRequire.Index",function(){ - this.$extend={ - moduleName:'拍摄复尺', - pageName:'拍摄要求管理' - } - }); - - //获取所有拍摄要求信息 - app.post("/shotManage/shotRequire/index1", "shootMeter_queryShootRequireList"); - - //保存拍摄要求 - app.post("/shotManage/shotRequire/add", "shootMeter_saveShootRequire"); - - //修改、删除拍摄要求 - app.post("/shotManage/shotRequire/update", "shootMeter_saveShootRequire"); - - /*************************************产品图片管理*************************************/ - //列表页 - app.get("/shotManage/proPhoto/index", "shootMeter.ProPhoto.Index",function(){ - this.$extend={ - moduleName:'拍摄复尺', - pageName:'产品图片管理' - } - }); - - //产品图片数据列表 - app.post("/shotManage/proPhoto/index2", "shootMeter_queryProductPhotoList"); - - //添加产品图片 - app.post("/shotManage/proPhoto/add", "shootMeter_addProductBatchPhoto"); - -}; \ No newline at end of file diff --git a/server/controllers/shop.shopAdd.js b/server/controllers/shop.shopAdd.js deleted file mode 100644 index ced2a17..0000000 --- a/server/controllers/shop.shopAdd.js +++ /dev/null @@ -1,42 +0,0 @@ -module.exports = function (app){ - app.get("/supplier/store/index", "shop.Index", function (req,res){ - this.$extend={ - moduleName:"店铺管理", - pageName:"店铺创建", - add:true, - gridurl:'/supplier/shop/indexPage', - authority:'{"btn":false,"info":"info","create":true,"operationStatus":1,"checkStatusArr":"100,200,900"}' - }; - }); - - app.get("/supplier/store/add", "shop.Edit", function () { - this.$extend={ - moduleName:"店铺管理", - pageName:"店铺创建", - editTitle:"创建新店铺", - action:'/store/add', - data:{shopId:0} - } - }); - - app.get("/supplier/store/update/:shopsId", "shop.Edit", "shopAdd_getShopDetailById", function (rs,req,res){ - this.$extend={ - moduleName:"店铺管理", - pageName:"店铺编辑", - editTitle:"编辑店铺信息", - action:'/store/update', - data:rs.data - } - }); - - app.get("/supplier/store/info/:shopsId", "shop.Info", "shopAdd_getShopDetailById", function (rs,req,res){ - this.$extend={ - moduleName:"店铺管理", - pageName:"店铺详情", - data:rs.data - } - }); - - //添加店铺 - app.post("/store/add","shopAdd_addShops"); -} diff --git a/server/controllers/shop.shopAdministrator.js b/server/controllers/shop.shopAdministrator.js deleted file mode 100644 index f6345dd..0000000 --- a/server/controllers/shop.shopAdministrator.js +++ /dev/null @@ -1,27 +0,0 @@ -module.exports = function (app){ - app.get("/supplier/storeadmin/index", "shop.Administrator", function (req,res){ - this.$extend={ - moduleName:"店铺管理", - pageName:"管理员列表" - } - }); - - app.get("/supplier/store/adminupdate/:id", "shop.Administrator"); - - app.get("/supplier/storeadmin/adminAdd", "shop.Administrator"); - - //店铺管理员列表 - app.post("/supplier/storeadmin/indexPage","shopAdministrator_getShopsAdminList"); - - //删除店铺管理员 - app.post("/supplier/storeadmin/delete","shopAdministrator_delAdminRelation"); - - //添加店铺管理员 - app.post("/supplier/storeadmin/addguanxi","shopAdministrator_addAdminRelation"); - - //保存修改店铺管理员 - app.post("/supplier/storeadmin/updateguanxi","shopAdministrator_updateAdminRalation"); - - //根据品牌选择供应商 - app.post("/supplier/storeadmin/supplierlist","shopAdministrator_selectSupplierByBrandId"); -} \ No newline at end of file diff --git a/server/controllers/shop.shopAudit.js b/server/controllers/shop.shopAudit.js deleted file mode 100644 index 88f73dc..0000000 --- a/server/controllers/shop.shopAudit.js +++ /dev/null @@ -1,32 +0,0 @@ -module.exports = function (app){ - app.get("/supplier/check/index", "shop.Index", function (req,res){ - this.$extend={ - moduleName:"店铺管理", - pageName:"店铺审核管理", - basicTab:true, - gridurl:'/supplier/store/indexPage', - authority:'{"btn":false,"info":"info2","operationStatus":0,"checkStatusArr":"200"}' - } - }); - - app.get("/supplier/store/info2/:shopsId", "shop.Info", "shopAudit_getLastCheckShopInfoById", function (rs,req,res){ - this.$extend={ - moduleName:"店铺管理", - pageName:"店铺详情", - btn:true, - data:rs.data - } - }); - - //审核通过 - app.post("/Shops/ShopsRest/checkShopPass","shopAudit_checkShopPass"); - - //驳回 - app.post("/Shops/ShopsRest/checkReject","shopAudit_checkReject"); - - //店铺装修审核列表 - app.post("/supplier/store/ajax/shenhezx","shopAudit_findAuditShopsDecorator"); - - //店铺装修审核 - app.post("/shop/ShopsDecoratorRest/auditShopsDecorator","shopAudit_auditShopsDecorator"); -} \ No newline at end of file diff --git a/server/controllers/shop.shopDecoration.js b/server/controllers/shop.shopDecoration.js deleted file mode 100644 index b9f0ecd..0000000 --- a/server/controllers/shop.shopDecoration.js +++ /dev/null @@ -1,34 +0,0 @@ -module.exports = function (app) { - - app.get("/supplier/shop/decoration", "shop.DecorationList", function (req,res){ - this.$extend={ - moduleName:"店铺管理", - pageName:"店铺装修管理" - }; - }); - - app.get("/supplier/store/decorationDetail/:shopsId/:shopType/:shopsType/:id/", "shop.Decoration"); - - //店铺列表 - app.post("/shop/ShopsDecoratorRest/findShopsDecorator","shopDecoration_findShopsDecorator"); - - //关店 - app.post("/supplier/store/closeShops","shopDecoration_closeShops"); - - //开店 - app.post("/supplier/store/openShops","shopDecoration_openShops"); - - //店铺装修详情 - app.post("/shop/ShopsDecoratorRest/findShopsDecoratorDetail","shopDecoration_findShopsDecoratorDetail"); - - //店铺装修保存 - app.post("/shop/ShopsDecoratorRest/saveShopsDecorator","shopDecoration_saveShopsDecorator"); - - //热销 - app.post("/shop/ShopsDecoratorRest/findHotProductList","shopDecoration_findHotProductList"); - - //最新 - app.post("/shop/ShopsDecoratorRest/findNewProductList","shopDecoration_findNewProductList"); - - -} \ No newline at end of file diff --git a/server/controllers/shop.shopInfo.js b/server/controllers/shop.shopInfo.js deleted file mode 100644 index dc82b51..0000000 --- a/server/controllers/shop.shopInfo.js +++ /dev/null @@ -1,24 +0,0 @@ -module.exports = function (app){ - app.get("/supplier/store/examine", "shop.Index", function (req,res){ - this.$extend={ - moduleName:"店铺管理", - pageName:"店铺信息管理", - gridurl:'/supplier/store/indexPage', - authority:'{"btn":true,"info":"info3","operationStatus":2,"checkStatusArr":"200,300,900"}' - } - }); - - app.get("/supplier/store/info3/:shopsId", "shop.Info", "shopAdd_getShopDetailById", function (rs,req,res){ - this.$extend={ - moduleName:"店铺管理", - pageName:"店铺详情", - data:rs.data - } - }); - - //店铺列表(公共) - app.post("/supplier/store/indexPage","shopInfo_getShopList"); - - //店铺编辑修改保存(公共) - app.post("/store/update","shopInfo_updateShops"); -} diff --git a/server/controllers/supplier.supplierAdd.js b/server/controllers/supplier.supplierAdd.js deleted file mode 100644 index 8661515..0000000 --- a/server/controllers/supplier.supplierAdd.js +++ /dev/null @@ -1,44 +0,0 @@ -module.exports = function (app){ - app.get("/supplier/supplier/index", "supplier.Index", function (req,res){ - this.$extend={ - moduleName:"供应商管理", - pageName:"创建供应商", - iscreate:true, - bottons:'{"columnsHidOper":true,"columnsHidisFr":true}', - gridurl:'/supplier/create/getCreateSupplierList', - searchStatus:[ - {name:"暂存",value:"100"}, - {name:"审核中",value:"200"}, - {name:"驳回",value:"900"} - ], - searchSort:true - } - }); - - app.get("/supplier/add", "supplier.Edit", function (req,res){ - this.$extend={ - moduleName:"供应商管理", - pageName:"添加供应商", - action:'/brand/supplier/add', - data:{}, - add:true, - update:true - } - }); - - app.get("/supplier/update/:id", "supplier.Edit", "supplierList_getSupplier", function (rs,req,res){ - this.$extend={ - moduleName:"供应商管理", - pageName:"修改供应商", - action:'/brand/action/update', - update:true, - data:rs.data - } - }); - - //创建供应商列表 - app.post("/supplier/create/getCreateSupplierList","supplierAdd_getCreateSupplierList"); - - //新建供应商保存 - app.post("/brand/supplier/add","supplierAdd_addSupplier"); -} diff --git a/server/controllers/supplier.supplierAudit.js b/server/controllers/supplier.supplierAudit.js deleted file mode 100644 index 64e5103..0000000 --- a/server/controllers/supplier.supplierAudit.js +++ /dev/null @@ -1,26 +0,0 @@ -module.exports = function (app){ - app.get("/supplier/supplier/auditlist", "supplier.Index", function (req,res){ - this.$extend={ - moduleName:"供应商管理", - pageName:"供应商审核", - bottons:'{"edit":true,"columnsHidisFr":true}', - gridurl:'/supplier/create/getAuditSupplierList' - } - }); - - app.get("/supplier/infoopt/:id", "supplier.Info", "supplierAudit_getSupplierCheck", function (rs,req,res){ - this.$extend={ - moduleName:"供应商管理", - pageName:"供应商审核详情", - edit:true, - data:rs.data - } - }); - - //供应商审核列表 - app.post("/supplier/create/getAuditSupplierList","supplierAudit_getAuditSupplierList"); - - //审核,冻结供应商 - app.post("/supplier/index/status","supplierAudit_updateSupplier"); -} - diff --git a/server/controllers/supplier.supplierList.js b/server/controllers/supplier.supplierList.js deleted file mode 100644 index 16cfcb2..0000000 --- a/server/controllers/supplier.supplierList.js +++ /dev/null @@ -1,42 +0,0 @@ -module.exports = function (app){ - app.get("/supplier/supplier/managelist", "supplier.Index", function (req,res){ - this.$extend={ - moduleName:"供应商管理", - pageName:"供应商列表", - bottons:'{"resetlock":true,"updatecheck":true}', - gridurl:'/supplier/create/getManageSupplierList', - searchStatus:[ - {name:"通过",value:"300"}, - {name:"驳回",value:"900"}, - {name:"审核中",value:"200"} - ], - searchIsfreez:true - } - }); - - - app.get("/supplier/updatecheck/:id", "supplier.Edit", "supplierList_getSupplier", function (rs,req,res){ - this.$extend={ - moduleName:"供应商管理", - pageName:"修改供应商", - action:'/brand/action/update', - updatecheck:true, - data:rs.data - } - }); - - app.get("/supplier/info/:id", "supplier.Info", "supplierList_getSupplier", function (rs,req,res){ - this.$extend={ - moduleName:"供应商管理", - pageName:"供应商详情", - data:rs.data - } - }); - - //供应商列表列表 - app.post("/supplier/create/getManageSupplierList","supplierList_getManageSupplierList"); - - //修改保存供应商2 - app.post("/brand/action/update","supplierList_updateSupplier"); -} - diff --git a/server/filters.js b/server/filters.js deleted file mode 100644 index 3a6518c..0000000 --- a/server/filters.js +++ /dev/null @@ -1,9 +0,0 @@ -module.exports=function(Filter){ - Filter.define("/!(login)", ["get","post"], "common_gray", function (gray, req, res, next){ - if(gray.code==200){ - next(); - }else{ - res.redirect('/login'); - } - }); -}; diff --git a/server/index.js b/server/index.js deleted file mode 100644 index dd10e60..0000000 --- a/server/index.js +++ /dev/null @@ -1,110 +0,0 @@ -'use strict'; - -var fs = require('fs'); -var path = require('path'); -var session = require('express-session'); -var Redis = require('connect-redis')(session); - -var config = JSON.parse(fs.readFileSync('./package.json').toString()); - -var grayroute = require("./mid/grayrouter"); - -/*session 配置*/ -var options = { - secret: 'yohobuy.portal', //session配置 - cookie: {secure: false, maxAge: 3600000}, - resave: false, - saveUninitialized: true -}; - -/*老平台接口 配置*/ -var oldSerDomain = 'http://serve.yohobuy.com'; -var Iaccount = { - WEBSITE: 1, - login: oldSerDomain + '/service/account/v1/Profile/login', - getResourceByPid: oldSerDomain + '/service/account/v1/Profile/getMenuByPid', - getAllResByWebsite: oldSerDomain + '/service/setting/v1/menu/getAllMenu', - changeShops: 'http://shops.yohobuy.com/index/ajaxshop', - isUsedMenuAuth: oldSerDomain + '/service/account/v1/profile/authPath', - allRight: oldSerDomain + '/service/setting/v1/action/getAllAction', - - getShopList: '{{domain}}/ShopsRest/queryShopsByAdminPid', - - // 灰度代理 - url: 'http://admin.portal.yohobuy.com', - sessionKeep: '/account/profile/display', - timeout: 30000 -}; - - - -/*框架配置*/ -var apiCofig = { - //root:__dirname, - EnvConst:{ - domain:"http://192.168.102.210:8088/platform", - yohoSearch: 'http://192.168.102.216:8080/yohosearch', - system:Iaccount - }, - apps:path.join(__dirname,"apps"), - port: 30012, - log:{ - consoles:['log', 'info', 'warn', 'error'], - src:path.join(__dirname,"..","logs") - }, - mock:false, - baseUrl:'/', - static: {name:"static",value: '../dist/'+config.name+'/'+ config.version}, - MVC: { - //开发环境 - Interfacer:path.join(__dirname,"apps/0/interfaces/1.js").replace(/0|1/g,'*'), - Controller:path.join(__dirname,"apps/0/controllers/1.js").replace(/0|1/g,'*'), - filters: path.join(__dirname, "filters.js"), - views: path.resolve(__dirname,"apps", "0", "views/1") - }, - useToEntry:function(app){ - // if(process.env.NODE_ENV!="coding"&&process.env.NODE_ENV!=="test"){ - // options.store=new Redis({ - // port: 6379, - // host: 'localhost' - // }); - // } - app.use(session(options)); - }, - useToOuter:function(app,controllers){ - app.use(grayroute(controllers)); - } -}; - -console.log("环境:"+process.env.NODE_ENV); - -if(process.env.NODE_ENV!=='development'){ - apiCofig.log.src="/Data/logs/node/yohobuy-portal-log/" -} - -/*服务器环境*/ -if(process.env.NODE_ENV!="coding"){ - console.log("服务器环境"); - apiCofig.MVC={ - Interfacer:path.join(__dirname,"interfaces/0.js").replace(/0/g,'*'), - Controller:path.join(__dirname,"controllers/0.js").replace(/0/g,'*'), - filters: path.join(__dirname, "filters.js"), - views: path.resolve(__dirname,"views", "0", "1") - } -} -/*线下测试环境*/ -if(process.env.NODE_ENV==="test211"){ - apiCofig.EnvConst.domain="http://192.168.102.202:8088/platform"; - apiCofig.EnvConst.yohoSearch="http://192.168.102.224:8080/yohosearch"; -} -/*腾讯云*/ -if(process.env.NODE_ENV==="test"){ - apiCofig.EnvConst.domain="http://10.66.100.6:8088/platform"; - apiCofig.EnvConst.yohoSearch="http://10.66.100.4:8080/yohosearch"; -} -/**/ -if(process.env.NODE_ENV==="production"){ - apiCofig.EnvConst.domain="http://172.31.23.161:8088/platform"; - apiCofig.EnvConst.yohoSearch="http://search.yohoops.org/yohosearch"; -} -module.exports = require('./libs/App')(apiCofig); \ No newline at end of file diff --git a/server/interfaces/SNS.shareOrderAudit.js b/server/interfaces/SNS.shareOrderAudit.js deleted file mode 100644 index c347c10..0000000 --- a/server/interfaces/SNS.shareOrderAudit.js +++ /dev/null @@ -1,52 +0,0 @@ -module.exports={ - namespace:"shareOrderAudit", - apis:{ - shareOrderList:{ - title:"晒单列表", - url:"/shareOrder/shareOrderList", - params:[ - {name: 'status', type: 'String'}, - {name: 'recomReward', type: 'String'}, - {name: 'hasImage', type: 'String'}, - {name: 'beginTime', type: 'String'}, - {name: 'endTime', type: 'String'}, - {name: 'uid', type: 'String'}, - {name: 'productName', type: 'String'}, - {name: 'productSkn', type: 'String'}, - {name: 'orderCode', type: 'String'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - - queryShareOrderNum:{ - title:"查询晒单号", - url:"/shareOrder/queryShareOrderNum", - params:[ - {name: 'orderCode', type: 'Number'}, - {name: 'productId', type: 'String'}, - {name: 'uid', type: 'Number'} - ] - }, - - aud:{ - title:"审核通过、驳回", - url:"/shareOrder/aud", - params:[ - {name: 'commentId', type: 'Number'}, - {name: 'result', type: 'String'}, - {name: 'uid', type: 'String'} - ] - }, - - recommend:{ - title:"推荐", - url:"/shareOrder/recommend", - params:[ - {name: 'commentId', type: 'Number'}, - {name: 'recomReward', type: 'String'}, - {name: 'uid', type: 'String'} - ] - }, - } -} \ No newline at end of file diff --git a/server/interfaces/activity.activity.js b/server/interfaces/activity.activity.js deleted file mode 100644 index 44f7f9b..0000000 --- a/server/interfaces/activity.activity.js +++ /dev/null @@ -1,95 +0,0 @@ -module.exports= { - namespace: "activity", - apis: { - getDrawlineActivityList:{ - title:"抽奖活动列表", - url:"/DrawlineActivityRest/getDrawlineActivityList", - params:[ - {name: 'activityName', type: 'String'}, - {name: 'status', type: 'Number'}, - {name: 'size', type: 'Number'}, - {name: 'page', type: 'Number'} - ] - }, - - getDrawlineActivityDetail:{ - title:"抽奖活动详情", - url:"/DrawlineActivityRest/getDrawlineActivityDetail", - params:[ - {name:"activityId",type:"Number"} - ] - }, - - getPrizeDetailInfo:{ - title:"中奖情况", - url:"/DrawlineActivityRest/getPrizeDetailInfo", - params:[ - {name:"activityId",type:"Number"} - ] - }, - - closeActivity:{ - title:"关闭活动", - url:"/DrawlineActivityRest/closeActivity", - params:[ - {name:"activityId",type:"Number"} - ] - }, - - openActivity:{ - title:"开启活动", - url:"/DrawlineActivityRest/openActivity", - params:[ - {name:"activityId",type:"Number"} - ] - }, - - addDrawlineActivity:{ - title:"新增抽签活动", - url:"/DrawlineActivityRest/addDrawlineActivity", - params:[ - {name: 'activityName',type: 'string'}, - {name: 'beginTimeStr',type: 'string'}, - {name: 'endTimeStr',type: 'string'}, - {name: 'topBanner',type: 'string'}, - {name: 'backgroundStyle',type: 'string'}, - {name: 'activityDesc',type: 'string'}, - {name: 'prizeList',type: 'string'}, - {name: 'numberLimit',type: 'number'} - ] - }, - - updateDrawlineActivity:{ - title:"保存编辑抽签活动", - url:"/DrawlineActivityRest/updateDrawlineActivity", - params:[ - {name: 'activityId',type: 'Number'}, - {name: 'activityName',type: 'string'}, - {name: 'beginTimeStr',type: 'string'}, - {name: 'endTimeStr',type: 'string'}, - {name: 'topBanner',type: 'string'}, - {name: 'backgroundStyle',type: 'string'}, - {name: 'activityDesc',type: 'string'}, - {name: 'prizeList',type: 'string'}, - {name: 'status',type: 'Number'}, - {name: 'numberLimit',type: 'number'} - ] - }, - - luckyUserDraw:{ - title:"手动开奖", - url:"/DrawlineActivityRest/luckyUserDraw", - params:[ - {name: 'activityId', type:"number"} - ] - }, - - deleteDrawlineActivity:{ - title:"删除抽奖活动", - url:"/DrawlineActivityRest/deleteDrawlineActivity", - params:[ - {name: 'activityId', type:"number"} - ] - }, - } -} \ No newline at end of file diff --git a/server/interfaces/baserule.brandmodel.js b/server/interfaces/baserule.brandmodel.js deleted file mode 100644 index 812e9d6..0000000 --- a/server/interfaces/baserule.brandmodel.js +++ /dev/null @@ -1,60 +0,0 @@ -module.exports={ - namespace:"brandmodel", - apis:{ - queryAll:{ - title:'初始化列表 & 筛选', - url: '/brandSeries/queryAll', - params: [ - {name: 'seriesName', type: 'String'}, - {name: 'shopsId', type: 'Number'}, - {name: 'brandId', type: 'Number'}, - {name: 'type', type: 'Number'}, - {name: 'status', type: 'Number'}, - {name: 'orderBy', type: 'Number'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - add:{ - title:'增加', - url: '/brandSeries/add', - params:[ - {name: 'seriesName', type: 'String'}, - {name: 'shopsId', type: 'Number'}, - {name: 'brandId', type: 'Number'}, - {name: 'type', type: 'Number'}, - {name: 'orderBy', type: 'Number'}, - {name: 'seriesBanner', type: 'String'} - ] - }, - update:{ - title:'修改', - url: '/brandSeries/update', - params:[ - {name: 'id', type: 'Number'}, - {name: 'seriesName', type: 'String'}, - {name: 'shopsId', type: 'Number'}, - {name: 'brandId', type: 'Number'}, - {name: 'type', type: 'Number'}, - {name: 'orderBy', type: 'Number'}, - {name: 'seriesBanner', type: 'String'} - ] - }, - close:{ - title:'关闭', - url: '/brandSeries/close', - params:[ - {name: 'id', type: 'Number'}, - {name: 'type', type: 'Number'} - ] - }, - open:{ - title:'开启', - url: '/brandSeries/open', - params:[ - {name: 'id', type: 'Number'}, - {name: 'type', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/baserule.catesize.js b/server/interfaces/baserule.catesize.js deleted file mode 100644 index 4bc2969..0000000 --- a/server/interfaces/baserule.catesize.js +++ /dev/null @@ -1,74 +0,0 @@ -module.exports={ - namespace:"catesize", - apis:{ - querySizeListBySortId:{ - title:'querySizeListBySortId', - url: '/product/querySizeListBySortId', - params: [ - {name: "sortId", type: "number"} - ] - }, - addSortSize:{ - title:'添加尺码接口【验证通过】', - url: '/product/addSortSize', - params: [ - {name: "sortId", type: "number"}, - {name: "sizeId", type: "number"}, - {name: "orderBy", type: "number"} - ] - }, - deleteSortSize:{ - title:'删除单个品类尺码接口【待验证】', - url: '/product/deleteSortSize', - params: [ - {name: "sortId", type: "number"}, - {name: "sizeId", type: "number"} - ] - }, - updateSortSize:{ - title:'修改品类尺码排序接口', - url: '/product/updateSortSize', - params: [ - {name: "sortId", type: "number"}, - {name: "sizeId", type: "number"}, - {name: "orderBy", type: "number"} - ] - }, - /**********************品类尺码属性管理*****************************/ - queryList:{ - title:'获取品类关联尺码属性列表【验证通过】', - url: '/sortAttribute/queryList', - params: [ - {name: "page", type: "number"}, - {name: "size", type: "number"}, - {name: "sortId", type: "number"} - ] - }, - add:{ - title:'添加品类关联尺码属性接口【待验证】', - url: '/sortAttribute/add', - params: [ - {name: "sortId", type: "number"}, - {name: "attributeId", type: "number"}, - {name: "orderBy", type: "number"} - ] - }, - delete:{ - title:'删除品类关联尺码属性接口【待验证】', - url: '/sortAttribute/delete', - params: [ - {name: "sortId", type: "number"}, - {name: "attributeId", type: "number"} - ] - }, - updateOrderBy:{ - title:'修改品类关联尺码属性接口【待验证】', - url: '/sortAttribute/updateOrderBy', - params: [ - {name: "sortId", type: "number"}, - {name: "attributeId", type: "number"}, - {name: "orderBy", type: "number"} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/baserule.color.js b/server/interfaces/baserule.color.js deleted file mode 100644 index d449fd1..0000000 --- a/server/interfaces/baserule.color.js +++ /dev/null @@ -1,36 +0,0 @@ -module.exports={ - namespace:"color", - apis:{ - queryProductColors:{ - title:'获取颜色列表', - url: '/productColor/queryProductColors' - }, - queryProductColor:{ - title:'获取单个颜色', - url:"/productColor/queryProductColor", - params:[ - {name: 'param', type: 'Number'}//, - // {name: 'id', type: 'Number'} - ] - }, - addProductColor:{ - title:'新增颜色', - url:"/productColor/addProductColor", - params:[ - {name: 'colorName', type: 'String'}, - {name: 'colorCode', type: 'String'}, - {name: 'colorValue', type: 'String'} - ] - }, - updateProductColor:{ - title:'修改颜色', - url:"/productColor/updateProductColor", - params:[ - {name: 'id', type: 'Number'}, - {name: 'colorName', type: 'String'}, - {name: 'colorCode', type: 'String'}, - {name: 'colorValue', type: 'String'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/baserule.proattr.js b/server/interfaces/baserule.proattr.js deleted file mode 100644 index 00b58ab..0000000 --- a/server/interfaces/baserule.proattr.js +++ /dev/null @@ -1,69 +0,0 @@ -module.exports={ - namespace:"porattr", - apis:{ - queryProductSortListByConf:{ - title:'产品属性', - url:'/product/queryProductSortListByConf', - params:{ - status:{type:String,default:1} - } - }, - addProductAttribute:{ - title:'添加产品属性ajax', - url: '/product/addProductAttribute', - params: [ - {name: 'attributeName', type: 'String'}, - {name: 'saleType', type: 'Number'}, - {name: 'inputType', type: 'String'}, - {name: 'attributeType', type: 'String'}, - {name: 'isMust', type: 'String'}, - {name: 'isSearch', type: 'String'}, - {name: 'maxValueLen', type: 'Number'}, - {name: 'isAllowAlias', type: 'String'}, - {name: 'orderBy', type: 'Number'}, - {name: 'state', type: 'Number'}, - {name: 'remark', type: 'String'}, - {name: 'attributeValues', type: 'String'}, - {name: 'displayPosition', type: 'Number'}, - {name: 'categoryId', type: 'Number'} - ] - }, - updateProductAttribute:{ - title:'更新产品属性ajax', - url: '/product/updateProductAttribute', - params: [ - {name: 'attributeName', type: 'String'}, - {name: 'saleType', type: 'Number'}, - {name: 'inputType', type: 'String'}, - {name: 'attributeType', type: 'String'}, - {name: 'isMust', type: 'String'}, - {name: 'isSearch', type: 'String'}, - {name: 'maxValueLen', type: 'Number'}, - {name: 'isAllowAlias', type: 'String'}, - {name: 'orderBy', type: 'Number'}, - {name: 'state', type: 'Number'}, - {name: 'remark', type: 'String'}, - {name: 'attributeValues', type: 'String'}, - {name: 'displayPosition', type: 'Number'}, - {name: 'attributeId', type: 'Number'}, - {name: 'categoryId', type: 'Number'} - ] - }, - queryProductAttributeList:{ - title:'根据类目ID ajax查询属性列表', - url: '/product/queryProductAttributeList', - params: [ - {name: 'categoryId', type: 'Number'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - getProductAttribute:{ - title:'ajax查询属性的详细信息', - url: '/product/getProductAttribute', - params: [ - {name: 'attributeId', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/baserule.sizeattribute.js b/server/interfaces/baserule.sizeattribute.js deleted file mode 100644 index b04025a..0000000 --- a/server/interfaces/baserule.sizeattribute.js +++ /dev/null @@ -1,28 +0,0 @@ -module.exports={ - namespace:"sizeattribute", - apis:{ - querySizeAttributeList:{ - title:'分页列表数据', - url: '/product/querySizeAttributeList', //接口的url - params:[ - {name: 'page', type: 'Number', def: '1'}, //页码 - {name: 'size', type: 'Number', def : '10'} //每页条数 - ] - }, - addSizeAttribute:{ - title:'添加尺码属性', - url: '/product/addSizeAttribute', //接口的url - params:[ - {name: 'attributeName', type: 'String'} //名称 - ] - }, - updateSizeAttribute:{ - title:'修改尺码属性', - url: '/product/updateSizeAttribute', //接口的url - params:[ - {name: 'id', type: 'Number'}, //id - {name: 'attributeName', type: 'String'} //名称 - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/baserule.sizelibrary.js b/server/interfaces/baserule.sizelibrary.js deleted file mode 100644 index 8aecf0e..0000000 --- a/server/interfaces/baserule.sizelibrary.js +++ /dev/null @@ -1,35 +0,0 @@ -module.exports={ - namespace:"sizelibrary", - apis:{ - querySizeList:{ - title:'产品管理【尺寸】页面分页渲染', - url:'/product/querySizeList', - params: [ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number',def:10} - ] - }, - getSize:{ - title:'获取单个尺码', - url:"/product/getSize", - params:[ - {name: 'id', type: 'Number'} - ] - }, - addSize:{ - title:'新增尺码', - url:"/product/addSize", - params:[ - {name: 'sizeName', type: 'String'} - ] - }, - updateSize:{ - title:'修改尺码', - url:"/product/updateSize", - params:[ - {name: 'id', type: 'Number'}, - {name: 'sizeName', type: 'String'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/brand.brand.js b/server/interfaces/brand.brand.js deleted file mode 100644 index 574df17..0000000 --- a/server/interfaces/brand.brand.js +++ /dev/null @@ -1,74 +0,0 @@ -module.exports={ - namespace:"brand", - apis:{ - index:{ - title:"品牌管理列表", - url:"/erpproduct/brands/index", - params:[ - {name: 'brandId',type: 'Number'}, - {name: 'status', type: 'Number'}, - {name: 'brandLevel',type: 'string'}, - {name: 'startTime',type: 'string'}, - {name: 'endTime',type: 'string'}, - {name: 'page',type: 'Number'}, - {name: 'size',type: 'Number'} - ] - }, - - getBrandDetail:{ - title:"品牌详情内容", - url:"/erpproduct/brands/getBrandDetail", - params:[ - {name: 'brandId', type: 'String'} - ] - }, - - editBrand:{ - title:"保存修改品牌", - url:"/erpproduct/brands/editBrand", - params:[ - {name: 'id',type: 'Number'}, - {name: 'status',type: 'Number'}, - {name: 'brandName',type: 'string'}, - {name: 'brandNameEn',type: 'string'}, - {name: 'brandDomain',type: 'string'}, - {name: 'brandIco',type: 'string'}, - {name: 'brandLevel',type: 'string'}, - {name: 'promotionLevel',type: 'Number'}, - {name: 'mainCategory',type: 'Number'}, - {name: 'brandHeadstream',type: 'Number'}, - {name: 'brandTypes',type: 'Number'}, - {name: 'brandUrl',type: 'string'}, - {name: 'brandIntro',type: 'string'}, - {name: 'brandOutline',type: 'string'}, - {name: 'brandFounder',type: 'string'}, - {name: 'brandStyle',type: 'string'}, - {name: 'brandNature',type: 'Number'}, - {name: 'brandTonality',type: 'string'} - ] - }, - - addBrand:{ - title:"添加品牌", - url:"/erpproduct/brands/addBrand", - params:[ - {name: 'brandName',type: 'string'}, - {name: 'brandNameEn',type: 'string'}, - {name: 'brandDomain',type: 'string'}, - {name: 'brandIco',type: 'string'}, - {name: 'brandLevel',type: 'string'}, - {name: 'promotionLevel',type: 'Number'}, - {name: 'mainCategory',type: 'Number'}, - {name: 'brandHeadstream',type: 'Number'}, - {name: 'brandTypes',type: 'Number'}, - {name: 'brandUrl',type: 'string'}, - {name: 'brandIntro',type: 'string'}, - {name: 'brandOutline',type: 'string'}, - {name: 'brandFounder',type: 'string'}, - {name: 'brandStyle',type: 'string'}, - {name: 'brandNature',type: 'Number'}, - {name: 'brandTonality',type: 'string'} - ] - } - } -} diff --git a/server/interfaces/category.category.js b/server/interfaces/category.category.js deleted file mode 100644 index 588cdcb..0000000 --- a/server/interfaces/category.category.js +++ /dev/null @@ -1,57 +0,0 @@ -module.exports={ - namespace:"category", - apis:{ - queryAllProductSortList:{ - title:'获取所有品类', - url: '/product/queryAllProductSortList', - }, - addProductSort:{ - title:'商品管理>【添加品类】ajax请求接口', - url: '/product/addProductSort', - params: [ - {name: 'sortName', type: 'String'}, - {name: 'sortInitials', type: 'String'}, - {name:'firstSortId', type: 'Number'}, - {name:'secondSortId', type:'Number'}, - {name:'threeSortId', type:'Number'}, - {name: 'orderBy', type: 'Number'}, - {name: 'status', type: 'Number'} - ] - }, - getProductSort:{ - title:'获取商品类目', - url:'/product/getProductSort', - params: [ - {name: 'param', type: 'Number'} - ] - }, - updateProductSort:{ - title:'更新商品类目', - url: '/product/updateProductSort', - params: [ - {name: 'id', type: 'Number'}, - {name: 'sortName', type: 'String'}, - {name: 'sortInitials', type: 'String'}, - {name:'firstSortId', type: 'Number'}, - {name:'secondSortId', type:'Number'}, - {name:'threeSortId', type:'Number'}, - {name: 'orderBy', type: 'Number'}, - {name: 'status', type: 'Number'} - ] - }, - publishProductSort:{ - title:'publishProductSort', - url: '/product/publishProductSort', - params: [ - {name: 'param', type: 'Number'} - ] - }, - closeProductSort:{ - title:'closeProductSort', - url: '/product/closeProductSort', - params: [ - {name: 'param', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/common.login.js b/server/interfaces/common.login.js deleted file mode 100644 index 8529026..0000000 --- a/server/interfaces/common.login.js +++ /dev/null @@ -1,140 +0,0 @@ -var request = require('request'); -var _ = require('lodash'); -var fs = require('fs'); - -var Iaccount = global.Register.system; - -var Utils = { - createrMenus: function (data) { - var menu = []; - for (var key in data) { - - var v = data[key]; - var item = { - title: v.menu_name, - } - if (v.parent_id === "0") { - item.parent = 'menu-template'; - var itemSubs = []; - _.forEach(v.sub, function (val) { - var sub = { - title: val.menu_name, - href: val.menu_url, - icon: 'list-alt' - } - itemSubs.push(sub); - }); - - item.menu = itemSubs; - } - menu.push(item); - } - return menu; - } -} - -module.exports = { - namespace: "common", - apis: { - Ilogin: { - title:'登录接口', - url: Iaccount.login, - form: '["{{user}}","{{password}}",{{website}}]', - params: { - user: { type: String }, - password: { type: String }, - website: {type:Number,default: Iaccount.WEBSITE} - } - }, - getResourceByPid: { - title:'菜单接口', - url: Iaccount.getResourceByPid, - form: '[{{pid}},{{role_id}},{{website}}]', - params: { - pid: { type: Number }, - role_id: { type: Number }, - website: { type: Number, default: Iaccount.WEBSITE } - } - }, - allRight: { - title: '获取权限', - url: Iaccount.allRight, - form: '[false]' - }, - sessionAsync: { - title:'与老系统session同步', - url: Iaccount.url + '/account/login/sessions', - outobj: "response", - form: {'account':'{{user}}','password':'{{password}}','refer': '{{refer}}'}, - params: { - user: { type: String }, - password: { type: String }, - refer:{type:String,default:'%2Faccount%2Fprofile%2Fdisplay'} - } - }, - login: function (req, callback, common) { - var userInfo = {},result = { code: 400, message: "登录失败" },isSuccess=false; - var user = req.body.user; - var password = req.body.password; - var errcallback = function (err) { - return callback(null, result); - } - common.Ilogin(user, password).allRight().sessionAsync(user, password).done(function (IloginRes,allRes,sesRes) { - var userData = IloginRes.data, cookie = sesRes.caseless.dict["set-cookie"]; - - userInfo = { auth: userData, uid: userData.pid, name: userData.truename, right: {},shopList:[]}; - allRes.data.forEach(function (data) { - if (data.platform_id == Iaccount.WEBSITE) { - userInfo.right[data.path] = true; - } - }); - common.getResourceByPid(userData.pid, userData.role_id).done(function (getRRes) { - userInfo.menu = Utils.createrMenus(getRRes.data); - req.session.user = userInfo; - if (cookie && cookie.length > 0) { - req.session.gray = cookie[0]; - console.log("req.session.gray",cookie); - result = { code: 200, message: "登录成功" }; - } - return callback(null, result); - },errcallback); - }, errcallback); - }, - isUsedMenuAuth:{ - title:'检查有没有权限', - url:Iaccount.isUsedMenuAuth, - form:'[{{pid}},{{role_id}},"{{path}}","","",' + Iaccount.WEBSITE + ']', - params:{ - pid:{type:Number}, - role_id:{type:Number}, - path:{type:String} - } - }, - gray: function (req, callback,common) { - var result = { code: 201, message: "没有权限" }; - if (req.session && req.session.user) { - var user = req.session.user; - var path = req.route?req.route.path[0]:req.originalUrl.replace(/\?.+/, ''); - req._yoheaders = { - 'x-user-id': user.auth.pid, - 'x-user-name': user.auth.account, - 'x-site-type': Iaccount.WEBSITE, - 'x-client-ip': req.ip - }; - if (path && user.right[path]) { - common.isUsedMenuAuth(user.auth.pid,user.auth.role_id,path).done(function(isURes){ - result = { code: 200, message: "具有权限" }; - return callback(null, result); - },function(error){ - return callback(error, result); - }); - } else { - result = { code: 200, message: "不受权限控制" }; - return callback(null, result); - } - } else { - return callback(null, result); - } - } - } -} \ No newline at end of file diff --git a/server/interfaces/common.select.js b/server/interfaces/common.select.js deleted file mode 100644 index b27cac5..0000000 --- a/server/interfaces/common.select.js +++ /dev/null @@ -1,193 +0,0 @@ -module.exports={ - namespace:"select", - apis:{ - getSupplierListByIdName:{ - title:'getSupplierListByIdName', - url: '/supplier/supplier/getSupplierListByIdName', - params: [ - {name: "idName", type: "String", default: 1} - ] - }, - getBrandNames:{ - title:'getBrandNames', - url: '/erpproduct/brands/getBrandNames', - params: [ - {name: 'idName', type: 'String'}, - {name: 'status', type: 'Number'} - ] - }, - getUsersByIdentity:{ - title:'', - url: "/ShopsAdminRest/getUsersByIdentity", - params: [ - {name: "identity", type: "Number"}, - {name: "shopsId", type: "Number"} - ] - }, - querySizeAttributesByName:{ - title:'', - url: '/product/querySizeAttributesByName', - params: [ - {name: "idName", type: "String"}, - {name: "sortId", type: "Number"} - ] - }, - querySizeListBySortId4Html:{ - title:'', - url: '/product/querySizeListBySortId4Html', - params: [ - {name: "idName", type: "String"}, - {name: "sortId", type: "Number"} - ] - }, - querySizeByNameForSelect:{ - title:'尺码模糊查询【验证通过】', - url: '/product/querySizeByNameForSelect', - params: [ - {name: "idName", type: "String"}, - {name: "sortId", type: "Number"} - ] - }, - queryAllBrands:{ - title:'查询品牌列表接口', - url: '/erpproduct/brands/queryAllBrands', - params: [ - {name: 'idName', type: 'String'} - ] - }, - queryAllSupplier:{ - title:'查询供应商列表接口', - url: '/supplier/supplier/queryAllSupplier', - params: [ - {name: 'idName', type: 'String'} - ] - }, - queryMaxSortByName:{ - title:'查询一级类目列表接口', - url: '/product/queryMaxSortByName', - params: [ - {name: 'idName', type: 'String'} - ] - }, - queryAllShops:{ - title:'查询店铺列表接口', - url: '/ShopsRest/queryAllShops', - params: [ - {name: 'idName', type: 'String'} - ] - }, - selectCheckPassShopsByName:{ - title:'查询通过审核店铺列表接口', - url: '/ShopsRest/selectCheckPassShopsByName', - params: [ - {name: 'idName', type: 'String'} - ] - }, - queryShopsByBrandId:{ - title:'根据品牌查询店铺', - url: '/ShopsRest/queryShopsByBrandId', - params: [ - {name: 'idName', type: 'String'}, - {name: 'brandId', type: 'Number'} - ] - }, - selectActivityListForSelect:{ - title:'模糊查询', - url: '/DrawlineActivityRest/selectActivityListForSelect', - params: [ - {name: "idName", type: 'String'} - ] - }, - getJitSupplierByBrandId:{ - title:'获取JIT店铺', - url:'/AgreementRest/getJitSupplierByBrandId', - params:[ - {name:"brandId",type:"Number"}, - {name:"shopId",type:"Number"} - ] - }, - getSortList:{ - title:'', - url: '/guang/article/getSortList', - params: [ - {name: "parentId", type: "Number"} - ] - }, - queryList:{ - title:'发券搜索', - url: '/coupon/queryList', - params: [ - {name: 'idName', type: 'String'}, - {name:"size", type:"Number"} - ] - }, - getAllAppVersions:{ - title:'获取所有APP版本号列表', - url: '/suggest/suggest/getAllAppVersions', - params: [ - {name: 'idName', type: 'String'} - ] - }, - findAllReplyInfo:{ - title:'获取所有回复人', - url: '/suggest/suggest/findAllReplyInfo', - params: [ - {name: 'idName', type: 'String'} - ] - }, - querySortBySmallSort:{ - title:'类目', - url: '/product/querySortBySmallSort', - params: [ - {name: "brandId", type: "Number"}, - {name: "sortId", type: "Number"}, - {name: "supplierId", type: "Number"} - ] - }, - queryAllMaxSortList:{ - title:'商品管理【ajax查询所有品类】', - url:"/product/queryAllMaxSortList" - }, - queryProductSortList:{ - title:'商品管理【根据ID ajax查询子品类列表】', - url: '/product/queryProductSortList', - params: [ - {name: 'param', type: 'Number'} - ] - }, - queryPSNotTreeWhenLevelAndStatus:{ - title:'物理类目父类查询', - url:'/product/queryPSNotTreeWhenLevelAndStatus', - params: [ - {name: 'status',type: 'string'}, - {name: 'sortLevel',type: 'string'} - ] - }, - queryPSListByParentIdWhenStatus:{ - title:'物理类目子类查询', - url: '/product/queryPSListByParentIdWhenStatus', - params: [ - {name: 'param',type: 'number'} - ] - }, - queryRefundExchangeProductSkn:{ - title:'查询所有ProductSkn和模糊匹配查询ProductSkn', - url: '/refundExchangeAttribute/queryRefundExchangeProductSkn', - params: [ - {name: 'idName',type: 'String'} - ] - }, - fuzzySearchProductSortIds:{ - title:'品类ID', - url: '/product/fuzzySearchProductSortIds', - params: [ - {name: 'idName',type: 'String'} - ] - }, - searchAllSortLevel:{ - title:'所属分类', - url: '/product/searchAllSortLevel', - params: [] - } - } -}; \ No newline at end of file diff --git a/server/interfaces/common.upload.js b/server/interfaces/common.upload.js deleted file mode 100644 index 51da6ce..0000000 --- a/server/interfaces/common.upload.js +++ /dev/null @@ -1,218 +0,0 @@ -var request = require('request'); -var _ = require('lodash'); -var fs = require('fs'); -var http = require('http'); - -var config = global.global.Register; - -var Utils = { - objectToUrl: function (items) { - var urls = []; - for (var name in items) { - if (items.hasOwnProperty(name) && items[name]) { - urls.push(name + "=" + items[name]); - } - } - return urls.join('&'); - }, - createHttpHeader: function (req) { - if (req.session && req.session.user) { - return { - 'x-user-id': req.session.user.auth.pid, - 'x-user-name': req.session.user.auth.account, - 'x-site-type': 1, - 'x-client-ip': req.ip, - 'x-shop-id': req.session.user.auth.shopId - - }; - } - }, - joinImg: function (url) { - var urlArr = url.split('/'); - var domain = 'static.yhbimg.com/goodsimg'; - var num = urlArr[urlArr.length - 1].substr(1, 1); - var url1 = domain + url; - if (num == 1) { - return 'http://img11.' + url1; - } else { - return 'http://img12.' + url1; - } - } -}; - -module.exports = { - namespace: "common", - apis: { - multipart: function (req, callback) { - var result = {code: "500", message: "接口异常"}; - var httpHeader = Utils.createHttpHeader(req); - if (!httpHeader) { - result = {code: "501", message: "用户失效,请重新登录"}; - return callback(null, result); - } - var body = req.body; - //上传excel文件 - if (body.__type == "batch-import") { - var url = Utils.objectToUrl(body); - body.file = fs.createReadStream(req.files[body.filename].path); - request.post({ - url: config.domain + '/batch/import?' + url, - formData: body, - headers: httpHeader - }, function optionalCallback(error, httpResponse, rebody) { - if (!error && httpResponse.statusCode == 200) { - result = JSON.parse(rebody); - result.status = true; - } - return callback(null, result); - }); - } - //上传txt文件 - else if(req.body.__type == "import-txt"){ - req.body.file = fs.createReadStream(req.files[req.body.filename].path); - request.post({ - url: config.domain+"/couponSendFile/upload", - formData: req.body, - headers: httpHeader - }, function optionalCallback(error, httpResponse, body) { - if (error) { - return callback(null,error); - } - if (!error && httpResponse.statusCode == 200) { - var json = JSON.parse(body); - json.status = true; - return callback(null,json) - } else { - return callback(null,errBackMsg); - } - }); - } - //上传图片 - else { - var files = req.files[req.body.filename]; - //判断是单张传还是多张传 - var flag = Object.prototype.toString.call(files) === '[object Array]'; - //如果是单张,则数组化 - if (!flag) { - files = []; - files.push(req.files[req.body.filename]); - } - req.body.files = []; - req.body.fileNames = []; - for (var index = 0; index < files.length; index++) { - req.body.files[index] = fs.createReadStream(files[index].path); - req.body.fileNames[index] = files[index].name; - } - if (req.body.bucket === 'goodsimg') { - request.post({ - url: "http://upload.static.yohobuy.com", - formData: { - fileData: req.body.files, - project: req.body.bucket - } - }, function (error, httpResponse, rebody) { - if (!error && httpResponse.statusCode == 200) { - var ret = JSON.parse(rebody); - var imgs = ret.data.imagesList || []; - var datas = []; - for (var i = 0; i < imgs.length; i++) { - datas.push(Utils.joinImg(imgs[i])) - } - result = { - code: 200, - data: datas[0], - datas: datas, - names: req.body.fileNames, - message: '上传成功', - status: true - }; - } - return callback(null, result); - }); - } else { - req.body.file = fs.createReadStream(req.files[req.body.filename].path); - request.post({ - url: config.domain + '/fileupload/upload', - formData: req.body - }, function optionalCallback(error, httpResponse, rebody) { - if (!error && httpResponse.statusCode == 200) { - result = JSON.parse(rebody); - result.status = true; - } - return callback(null, result); - }); - } - } - }, - baiduUeditor: function (req, callback) { - var result = {code: "500", message: "接口异常"}; - var httpHeader = Utils.createHttpHeader(req); - if (!httpHeader) { - result = {code: "501", message: "用户失效,请重新登录"}; - return callback(null, result); - } - req.body.files = [fs.createReadStream(req.files.upfile.path)]; - req.body.bucket = "goodsimg"; - request.post({ - url: "http://upload.static.yohobuy.com", - formData: { - fileData: req.body.files, - project: req.body.bucket - } - }, function optionalCallback(error, httpResponse, body) { - if (!error && httpResponse.statusCode == 200) { - var ret = JSON.parse(body); - if (ret.code === 200) { - var imgUrl = ret.data.imagesList[0]; - imgUrl = Utils.joinImg(imgUrl); - result = {}; - if (imgUrl) { - result.originalName = Date.now(); - result.name = Date.now(); - result.url = imgUrl; - result.type = imgUrl.substring(imgUrl.lastIndexOf('.')); - result.state = "SUCCESS"; - } else { - result.state = "FAIL"; - } - } - } - return callback(null, result); - }); - }, - downExcel: function (req, callback) { - var result = request.get(config.domain + "/common/" + req.params.name + ".xlsx"); - return callback(null, result); - }, - exportExcel: function (req, callback) { - var result = request({ - method: 'POST', - url: config.domain + '/batch/export', - headers: { - 'content-type': 'application/json' - }, - body: req.query, - json: true - }); - return callback(null, result); - }, - proxy: function (req, callback) { - var httpHeader = Utils.createHttpHeader(req); - if (!httpHeader) { - return null; - } - httpHeader['Content-Type'] = 'application/json'; - - var result = request({ - headers: headers, - url: global.config.domain + req.query.url, - body: JSON.stringify(req.body) - }); - return callback(null, result) - }, - download: function (req, callback) { - var result = request.get(config.domain + "/batch/download?path=" + req.query.path); - return callback(null, result); - } - } -}; \ No newline at end of file diff --git a/server/interfaces/common.yohosearch.js b/server/interfaces/common.yohosearch.js deleted file mode 100644 index 9c01109..0000000 --- a/server/interfaces/common.yohosearch.js +++ /dev/null @@ -1,55 +0,0 @@ -var request = require('request'); -var _ = require('lodash'); -var fs = require('fs'); -var yohoSearch = global.global.Register.yohoSearch; - -module.exports = { - namespace: "common", - apis: { - brandlist: function (req, callback) { - var result = request.get(yohoSearch + "/brands.json?status=1"); - return callback(null, result); - }, - search: function (req, callback) { - var size = 50;//每页数据量 - var params = []; - for (var key in req.body) { - params.push(key + "=" + encodeURI(req.body[key])); - } - var url = yohoSearch + "/search.json?viewNum=" + size + "&" + params.join('&'); - console.info(url); - request({url: url}, function (error, response, body) { - if (error) { - return callback(null, {msg: "error", code: 500}); - } else { - var data = {}; - data.list = []; - body = JSON.parse(body); - var dataList = body.data.product_list; - var goodslist = []; - var goodslist1 = []; - for (var m = 0; m < dataList.length; m++) { - if (dataList[m].goods_list && dataList[m].goods_list.length != 0) { - for (var n = 0; n < dataList[m].goods_list.length; n++) { - goodslist.push({a: dataList[m], b: dataList[m].goods_list[n]}) - } - } else { - goodslist.push({a: dataList[m], b: {}}); - } - } - for (var i = 0; i < goodslist.length; i++) { - goodslist1[i] = _.assign({}, goodslist[i].a, goodslist[i].b); - } - data.list = goodslist1.concat();//显示数据 - data.page = body.data.page;//页码 - data.totalPage = 1;//body.data.page_total; - data.nums = data.list.length;//记录每一页数据量 - return callback(null, {data: data, code: 200}); - } - }); - } - } -}; - - - diff --git a/server/interfaces/goods.audio.js b/server/interfaces/goods.audio.js deleted file mode 100644 index c6181c5..0000000 --- a/server/interfaces/goods.audio.js +++ /dev/null @@ -1,58 +0,0 @@ -module.exports={ - namespace:"audit", - apis:{ - queryTabCheck:{ - title:'列表头部各个审核状态的数量', - url:'/product/queryTabCheck', - params:[ - {name: 'productSkn',type: 'Number'}, - {name: 'productSkc',type: 'Number'}, - {name: 'productSku',type: 'Number'}, - {name: 'productName',type: 'String'}, - {name: 'shopId',type: 'Number'}, - {name: 'brandId',type: 'Number'}, - {name: 'isOutLets',type:'String'}, - {name: 'isAdvance',type:'String'}, - {name: 'gender',type:'String'}, - {name: 'isJit',type:'String'}, - {name: 'maxSortId',type:'Number'}, - {name: 'middleSortId',type: 'Number'}, - {name: 'smallSortId',type: 'Number'}, - {name: 'page',type: 'Number'}, - {name: 'size',type: 'Number'}, - ] - }, - queryNetSaleInforList:{ - title:'ajax列表数据', - method:'POST', - url:'/product/queryNetSaleInforList', - params:[ - {name: 'productSkn',type: 'Number'}, - {name: 'productSkc',type: 'Number'}, - {name: 'productSku',type: 'Number'}, - {name: 'productName',type: 'String'}, - {name: 'shopId',type: 'Number'}, - {name: 'brandId',type: 'Number'}, - {name: 'isOutLets',type:'String'}, - {name: 'isAdvance',type:'String'}, - {name: 'gender',type:'String'}, - {name: 'isJit',type:'String'}, - {name: 'maxSortId',type:'Number'}, - {name: 'middleSortId',type: 'Number'}, - {name: 'smallSortId',type: 'Number'}, - {name: 'page',type: 'Number'}, - {name: 'size',type: 'Number'}, - {name: 'productStatusStr',type: 'String'}, - ] - }, - updateProductSknStatus:{ - title:'驳回操作', - url:'/product/updateProductSknStatus', - params:[ - {name: 'productSknList',type: 'String'}, - {name: 'targetStatus',type: 'Number'}, - {name: 'rejectReason',type:'String'}, - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/goods.basegoods.js b/server/interfaces/goods.basegoods.js deleted file mode 100644 index a8c62a8..0000000 --- a/server/interfaces/goods.basegoods.js +++ /dev/null @@ -1,192 +0,0 @@ -module.exports={ - namespace:"basegoods", - apis:{ - getbaseProductCountByStatus:{ - title:"列表头部各个审核状态的数量", - url:"/product/getbaseProductCountByStatus", - params:[ - {name: 'supplierId', type: 'Number'}, - {name: 'productSkn', type: 'Number'}, - {name: 'productName', type: 'String'}, - {name: 'founder', type: 'Number'}, - {name: 'shopId', type: 'Number'}, - {name: 'brandId', type: 'Number'}, - {name: 'isOutLets', type: 'String'}, - {name: 'isAdvance', type: 'String'}, - {name: 'gender', type: 'String'}, - {name: 'isJit', type: 'String'}, - {name: 'maxSortId', type: 'Number'}, - {name: 'middleSortId', type: 'Number'}, - {name: 'smallSortId', type: 'Number'}, - {name: 'sortId', type: 'Number'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'}, - {name: 'supplierId', type: 'Number'}, - {name: 'isAuditing', type: 'Number'}, - {name: 'founderName', type: 'String'}, - {name:'factoryCode',type:'String'} - ] - }, - getBaseProductList:{ - title:'列表数据', - url: '/product/getBaseProductList', - params: [ - {name: 'supplierId', type: 'Number'}, - {name: 'productSkn', type: 'Number'}, - {name: 'productName', type: 'String'}, - {name: 'founder', type: 'Number'}, - {name: 'shopId', type: 'Number'}, - {name: 'brandId', type: 'Number'}, - {name: 'isOutLets', type: 'String'}, - {name: 'isAdvance', type: 'String'}, - {name: 'gender', type: 'String'}, - {name: 'isJit', type: 'String'}, - {name: 'maxSortId', type: 'Number'}, - {name: 'middleSortId', type: 'Number'}, - {name: 'smallSortId', type: 'Number'}, - {name: 'sortId', type: 'Number'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'}, - {name: 'supplierId', type: 'Number'}, - {name: 'isAuditing', type: 'Number'}, - {name: 'founderName', type: 'String'}, - {name:'factoryCode',type:'String'} - ] - }, - addBaseProduct:{ - title:'添加接口', - url: '/product/addBaseProduct', - params: [ - {name: 'ageLevel', type: 'String'}, - {name: 'attribute', type: 'Number'}, - {name: 'factoryCode', type: 'String'}, - {name: 'gender', type: 'String'}, - {name: 'goodsSeason', type: 'Number'}, - {name: 'goodsYears', type: 'Number'}, - {name: 'grade', type: 'Number'}, - {name: 'isLimitbuy', type: 'String'}, - {name: 'isLimited', type: 'String'}, - {name: 'isPromotionalGifts', type: 'String'}, - {name: 'productName', type: 'String'}, - {name: 'productTag', type: 'String'}, - {name: 'retailPriceStr', type: 'String'}, - {name: 'salesPriceStr', type: 'String'}, - {name: 'expectShelfTimeStr', type: 'String'}, - {name: 'expectArrivalTimeStr', type: 'String'}, - {name: 'baseGoodInfoStr', type: 'String'}, - {name: 'shopId', type: 'Number'}, - {name: 'brandId', type: 'Number'}, - {name: 'supplierId', type: 'Number'}, - {name: 'maxSortId', type: 'Number'}, - {name: 'middleSortId', type: 'Number'}, - {name: 'smallSortId', type: 'Number'}, - {name: 'productStandardRelationStr', type: 'String'} - ] - }, - queryProductColors:{ - title:'获取类目颜色', - url: '/productColor/queryProductColors' - }, - deleteBaseProduct:{ - title:'删除基础商品', - url: '/product/deleteBaseProduct', - params: [ - {name: 'productSkn', type: 'Number'}, - {name: 'isAuditing', type: 'String'} - ] - }, - updateBaseProduct:{ - title:'修改基础商品接口', - url: '/product/updateBaseProduct', - params: [ - {name: 'productSkn', type: 'Number'}, - {name: 'ageLevel', type: 'String'}, - {name: 'attribute', type: 'Number'}, - {name: 'factoryCode', type: 'String'}, - {name: 'gender', type: 'String'}, - {name: 'goodsSeason', type: 'Number'}, - {name: 'goodsYears', type: 'Number'}, - {name: 'grade', type: 'Number'}, - {name: 'isLimitbuy', type: 'String'}, - {name: 'isLimited', type: 'String'}, - {name: 'isPromotionalGifts', type: 'String'}, - {name: 'productName', type: 'String'}, - {name: 'productTag', type: 'String'}, - {name: 'retailPriceStr', type: 'String'}, - {name: 'salesPriceStr', type: 'String'}, - {name: 'expectShelfTimeStr', type: 'String'}, - {name: 'expectArrivalTimeStr', type: 'String'}, - {name: 'baseGoodInfoStr', type: 'String'}, - {name: 'shopId', type: 'Number'}, - {name: 'brandId', type: 'Number'}, - {name: 'supplierId', type: 'Number'}, - {name: 'maxSortId', type: 'Number'}, - {name: 'middleSortId', type: 'Number'}, - {name: 'smallSortId', type: 'Number'}, - {name: 'seasons', type: 'String'}, - {name: 'isOutLets', type: 'String'}, - {name: 'isAdvance', type: 'String'}, - {name: 'isVip', type: 'String'}, - {name: 'vipSetting', type: 'String'}, - {name: 'stock', type: 'Number'}, - {name: 'isAuditing', type: 'Number'}, - {name: 'productStandardRelationStr', type: 'String'} - ] - }, - getBaseProduct:{ - title:'获取商品详情数据', - url: '/product/getBaseProduct', - params: [ - {name: 'productSkn', type: 'Number'}, - {name:'isAuditing', type:'Number'} - ] - }, - batchAuditPassBaseProduct:{ - title:'通过', - url: '/product/batchAuditPassBaseProduct', - params: [ - {name:'pramStr', type:'String'}, - {name: 'productSknList', type: 'String'} - ] - }, - batchAuditRejectBaseProduct:{ - title:'驳回', - url: '/product/batchAuditRejectBaseProduct', - params: [ - {name:'targetStatus', type:'Number'}, - {name:'pramStr', type:'String'}, - {name: 'productSknList', type: 'String'}, - {name: 'rejectReason', type: "String"} - ] - }, - queryAllBySortId4Html:{ - title:'销售属性', - url: '/standard/queryAllBySortId4Html', - params: [ - {name: 'param', type: 'Number'}, - {name: 'displayPosition', type: 'Number'} - ] - }, - queryMaterialList:{ - title:'尺码列表', - url: '/product/queryMaterialList', - params: [ - {name: 'categoryId', type: 'Number'} - ] - }, - checkSkuBarCodeExist:{ - title:'检查下SKU 是否存在', - url: '/product/checkSkuBarCodeExistEx', - params: [ - {name: "barCode", type: "String"} - ] - }, - queryBatchImportResult:{ - title:'', - url:'/product/queryBatchImportResult', - params:[ - {name:"param",type:"String"} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/goods.cod.js b/server/interfaces/goods.cod.js deleted file mode 100644 index 521edd8..0000000 --- a/server/interfaces/goods.cod.js +++ /dev/null @@ -1,121 +0,0 @@ -module.exports={ - namespace:"cod", - apis:{ - queryTotalBrandPayDelivery:{ - title:'品牌货到付款限制页面列表', - url: '/payDelivery/queryTotalBrandPayDelivery', - params: [ - {name: 'brandId', type: 'Number'}, - {name: 'brandName', type: 'String'}, - {name: 'isPayDelivery', type: 'Number'}, - {name: 'checkStatus', type: 'Number'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - addPayDeliveryCheck:{ - title:'开启 & 关闭 货到付款', - url: '/payDelivery/addPayDeliveryCheck', - params: [ - {name: 'isPayDelivery', type: 'Number'}, - {name: 'brandName', type: 'String'}, - {name: 'brandId', type: 'Number'} - ] - }, - reviewPayDeliveryCheck:{ - title:'通过 & 驳回申请', - url: '/payDelivery/reviewPayDeliveryCheck', - params: [ - {name: 'brandName', type: 'String'}, - {name: 'brandId', type: 'Number'}, - {name: 'rejectReason', type: 'String'}, - {name: 'isPayDelivery', type: 'Number'}, - {name: 'checkStatus', type: 'Number'}, - {name: 'id', type: 'Number'} - ] - }, - queryCountBrandPayDelivery:{ - title:'获取tab上的数量', - url: '/payDelivery/queryCountBrandPayDelivery', - params: [ - {name: 'brandId', type: 'Number'}, - {name: 'isPayDelivery', type: 'Number'} - ] - }, - queryPayDeliveryList:{ - title:'单品货到付款限制页面路由——列表', - url: '/payDelivery/queryPayDeliveryList', - params: [ - {name: 'brandId', type: 'Number'}, - {name: 'brandName', type: 'String'}, - {name: 'isPayDelivery', type: 'Number'}, - {name: 'status', type:'Number'}, - {name: 'productSkn', type:'Number'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - openPayDelivery:{ - title:'开启货到付款', - url: '/payDelivery/openPayDelivery', - params: [ - {name: 'productSkn', type: 'String'}, - {name: 'brandName', type: 'String'}, - {name: 'brandId', type: 'Number'} - ] - }, - closePayDelivery:{ - title:'关闭货到付款', - url: '/payDelivery/closePayDelivery', - params: [ - {name: 'productSkn', type: 'String'}, - {name: 'brandName', type: 'String'}, - {name: 'brandId', type: 'Number'} - ] - }, - passPayDelivery:{ - title:'通过申请', - url: '/payDelivery/passPayDelivery', - params: [ - {name: 'productSkn', type: 'String'}, - {name: 'brandName', type: 'String'}, - {name: 'brandId', type: 'Number'}, - {name: 'id', type: 'Number'} - ] - }, - rejectPayDelivery:{ - title:'驳回申请', - url: '/payDelivery/rejectPayDelivery', - params: [ - {name: 'productSkn', type: 'String'}, - {name: 'brandName', type: 'String'}, - {name: 'rejectReason', type: 'String'}, - {name: 'brandId', type: 'Number'}, - {name: 'id', type: 'Number'} - ] - }, - queryPayDeliveryProductSkn:{ - title:'获取skn列表', - url: '/payDelivery/queryPayDeliveryProductSkn', - params: [ - {name: 'idName', type: 'String'} - ] - }, - queryCountProductPayDelivery:{ - title:'获取tab上的数量', - url: '/payDelivery/queryCountProductPayDelivery', - params: [ - {name: 'productSkn', type: 'String'}, - {name: 'brandId', type: 'Number'}, - {name: 'isPayDelivery', type: 'Number'} - ] - }, - queryPayDeliveryBrandName:{ - title:'获取品牌列表', - url: '/payDelivery/queryPayDeliveryBrandName', - params: [ - {name: 'idName', type: 'String'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/goods.limitcategory.js b/server/interfaces/goods.limitcategory.js deleted file mode 100644 index 00552bb..0000000 --- a/server/interfaces/goods.limitcategory.js +++ /dev/null @@ -1,28 +0,0 @@ -module.exports = { - namespace: "limitcategory", - apis: { - queryProductSortRefundAllReferdSortInfo: { - title: '品类限制列表数据', - url: '/product/queryProductSortRefundAllReferdSortInfo', - params: [ - {name: 'sortId', type: 'Number'}, - {name: 'sortNameId', type: 'String'}, - {name: 'sortLevel', type: 'Number'} - ] - }, - openProductSortRefundExchange: { - title: '开启品类限制', - url: "/product/openProductSortRefundExchange", - params: [ - {name: 'param', type: 'Number'} - ] - }, - closeProductSortRefundExchange: { - title: '关闭品类限制', - url: '/product/closeProductSortRefundExchange', - params: [ - {name: 'param', type: 'String'} - ] - } - } -}; \ No newline at end of file diff --git a/server/interfaces/goods.netsale.js b/server/interfaces/goods.netsale.js deleted file mode 100644 index 15b26e7..0000000 --- a/server/interfaces/goods.netsale.js +++ /dev/null @@ -1,349 +0,0 @@ -module.exports={ - namespace:"netsale", - apis:{ - queryNetSaleInforList:{ - title:'列表数据', - url: '/product/queryNetSaleInforList', - params: [ - {name: 'productSkn', type: 'number'}, - {name: 'productSkc', type: 'number'}, - {name: 'productSku', type: 'number'}, - {name: 'productName', type: 'string'}, - {name: 'shopId', type: 'number'}, - {name: 'brandId', type: 'number'}, - {name: 'isJit', type: 'string'}, - {name: 'stock', type: 'number'}, - {name: 'isScreen', type: 'string'}, - {name: 'isMeasure', type: 'string'}, - {name: 'gender', type: 'number'}, - {name: 'maxSortId', type: 'number'}, - {name: 'middleSortId', type: 'number'}, - {name: 'smallSortId', type: 'number'}, - {name: 'isOutLets', type: 'string'}, - {name: 'productStatus', type: 'number'}, - {name: 'page', type: 'number'}, - {name: 'size', type: 'number'}, - {name: 'productStatusStr', type: 'string'}, - {name: 'isInfoMiss', type: 'string'}, - {name: 'sortFlag', type: 'number'}, - {name: 'descFlag', type: 'string'}, - {name:'isAdvance', type:'string'}, - {name:'skcOnsaleStatus', type:'string'}, - {name:'factoryCode',type:'String'} - ] - }, - queryTabProductNum:{ - title:'网销tab', - url: '/product/queryTabProductNum', - params: [ - {name: 'productSkn', type: 'number'}, - {name: 'productSkc', type: 'number'}, - {name: 'productSku', type: 'number'}, - {name: 'productName', type: 'string'}, - {name: 'shopId', type: 'number'}, - {name: 'brandId', type: 'number'}, - {name: 'isJit', type: 'string'}, - {name: 'stock', type: 'number'}, - {name: 'isScreen', type: 'string'}, - {name: 'isMeasure', type: 'string'}, - {name: 'gender', type: 'number'}, - {name: 'maxSortId', type: 'number'}, - {name: 'middleSortId', type: 'number'}, - {name: 'smallSortId', type: 'number'}, - {name: 'isOutLets', type: 'string'}, - {name: 'productStatus', type: 'number'}, - {name:'isAdvance', type:'string'}, - {name:'skcOnsaleStatus', type:'string'}, - {name:'factoryCode',type:'String'} - ] - }, - updateProductSknTimingInfo:{ - title:'批量skn处理', - url: '/product/updateProductSknTimingInfo', - params: [ - {name: 'productSknList', type: 'string'}, - {name: 'type', type: 'number'}, - {name: 'outSaleTime', type: 'number'}, - {name: 'shelveTime', type: 'string'}, - {name: 'onNewTime', type: 'string'}, - {name: 'advanceBeginTime', type: 'string'}, - {name: 'advanceEndTime', type: 'string'} - ] - }, - updateGoodsStatus:{ - title:'skc上下架', - url: '/product/updateGoodsStatus', - params: [ - {name: 'productSkc', type: 'number'}, - {name: 'targetStatus', type: 'number'} - ] - }, - updateProductSkuStatus:{ - title:'sku上下架', - url: '/product/updateProductSkuStatus', - params: [ - {name: 'productSku', type: 'number'}, - {name: 'targetStatus', type: 'number'} - ] - }, - getNetSaleInfo:{ - title:'查询网销详情', - url: '/product/getNetSaleInfo', - params: [ - {name: 'param', type: 'number'} - ] - }, - saveNetSaleAllInfo:{ - title:'保存完整网销信息', - url: '/product/saveNetSaleAllInfo', - params: [ - {name: 'productSkn', type: 'number'}, - {name: 'productName', type: 'string'}, - {name: 'isNew', type: 'string'}, - {name: 'sellChannels', type: 'string'}, - {name: 'phrase', type: 'string'}, - {name: 'outSaleTime', type: 'string'}, - {name: 'shopIds', type: 'string'}, - {name: 'productDesc', type: 'string'}, - {name: 'vedioUrl', type: 'string'}, - {name: 'recommend', type: 'string'}, - {name: 'brandModel', type: 'string'}, - {name: 'brandSeries', type: 'string'}, - {name: 'makeCrafts', type: 'string'}, - {name: 'pattern', type: 'string'}, - {name: 'style', type: 'string'}, - {name: 'salesPhrase', type: 'string'}, - {name: 'isHostsell', type: 'string'}, - {name: 'wearSense', type: 'string'}, - {name: 'searchSortList', type: 'string'}, - {name: 'searchKeys', type: 'string'}, - {name: 'brandRelationList', type: 'string'}, - {name: 'attributeProValuesOne', type: 'string'}, - {name: 'attributeProValuesTwo', type: 'string'}, - {name: 'goodsImagesReq', type: 'string'}, - {name: 'productStandardRelationStr', type: 'string'}, - {name: 'productMaterial', type: 'string'}, - {name:'isAdvance', type:'string'}, - {name:'skcOnsaleStatus', type:'string'} - ] - }, - saveNetSaleBaseInfo:{ - title:'保存基本信息接口', - url: '/product/saveNetSaleBaseInfo', - params: [ - {name: 'productSkn', type: 'number'}, - {name: 'productName', type: 'string'}, - {name: 'isNew', type: 'string'}, - {name: 'sellChannels', type: 'string'}, - {name: 'phrase', type: 'string'}, - {name: 'outSaleTime', type: 'number'}, - {name: 'shopIds', type: 'string'} - ] - }, - saveAfterSaleInfo:{ - title:'保存上架后补全信息', - url: '/product/saveAfterSaleInfo', - params: [ - {name: 'productSkn', type: 'number'}, - {name: 'brandModel', type: 'string'}, - {name: 'brandSeries', type: 'string'}, - {name: 'makeCrafts', type: 'string'}, - {name: 'salesPhrase', type: 'string'}, - {name: 'isHostsell', type: 'string'}, - {name: 'wearSense', type: 'string'}, - {name: 'attributeProValuesTwo', type: 'string'} - ] - }, - queryAttributesByConf:{ - title:'查询补全信息', - url: '/product/queryAttributesByConf', - params: [ - {name: 'categoryId', type: 'number'}, - {name: 'displayPosition', type: 'number'}, - {name: 'saleType', type: 'number'} - ] - }, - queryShopsByBrandId:{ - title:'根据品牌获取店铺', - url: '/ShopsRest/queryShopsByBrandId', - params: [ - {name: 'brandId', type: 'number'} - ] - }, - queryMakingProcess:{ - title:"查询制作工艺列表", - url: '/product/queryMakingProcess', - params: [ - {name: 'categoryId', type: 'number'}, - {name: 'displayPosition', type: 'number'} - ] - }, - queryAll4Select:{ - title:'查询品牌款型系列列表', - url: '/brandSeries/queryAll4Select', - params: [ - {name: 'type', type: 'number'}, - {name: 'status', type: 'number'}, - {name: 'shopsId', type: 'number'}, - {name: 'brandId', type: 'number'} - ] - }, - saveBrandRelation:{ - title:'品牌关联', - url: '/product/saveBrandRelation', - params: [ - {name: 'productSkn', type: 'number'}, - {name: 'brandRelationList', type: 'string'} - ] - }, - saveNetSaleVideo:{ - title:'保存视频接口', - url: '/product/saveNetSaleVideo', - params: [ - {name: 'productSkn', type: 'number'}, - {name: 'vedioUrl', type: 'string'} - ] - }, - queryBrandsByStatus:{ - title:'品牌关联列表', - url: '/erpproduct/brands/queryBrandsByStatus ' - }, - queryAttributesByConfEx:{ - title:'商品参数', - url: '/product/queryAttributesByConfEx', - params: [ - {name: 'categoryId', type: 'number'}, - {name: 'displayPosition', type: 'number'}, - {name: 'saleType', type: 'number'} - ] - }, - queryProductPhotoList:{ - title:'调用图片', - url: '/productPhoto/queryProductPhotoList', - params: [ - {name: 'productSkn', type: 'number'}, - {name: 'productSkc', type: 'number'}, - {name: 'productSku', type: 'number'}, - {name: 'startTime', type: 'number'}, - {name: 'endTime', type: 'number'} - ] - }, - saveSearchSort:{ - title:'保存搜索顺序', - url: '/product/saveSearchSort', - params: [ - {name: 'searchSortList', type: 'string'} - ] - }, - queryHotSearchTerms:{ - title:'查找热搜词', - url: '/searchWords/queryHotSearchTerms', - params: [ - {name: 'page', type: 'number'}, - {name: 'size', type: 'number', default: 10} - ] - }, - getAll4Select:{ - title:'查找洗涤提示', - url: '/washTips/getAll4Select' - }, - queryAllBySortId4Select:{ - title:'查找材质参数', - url: '/productMaterial/queryAllBySortId4Select', - params: [ - {name: 'param', type: 'number'} - ] - }, - saveNetSaleSearchKeys:{ - title:'保存搜索关键词', - url: '/product/saveNetSaleSearchKeys', - params: [ - {name: 'productSkn', type: 'number'}, - {name: 'searchKeys', type: 'string'} - ] - }, - saveProductParam:{ - title:'保存商品参数', - url: '/product/saveProductParam', - params: [ - {name: 'productSkn', type: 'number'}, - {name: 'attributeProValuesOne', type: 'string'}, - {name: 'productStandardRelationStr', type: 'string'}, - {name: 'productMaterial', type: 'string'} - ] - }, - saveProductDesc:{ - title:'商品描述', - url: '/product/saveProductDesc', - params: [ - {name: 'productSkn', type: 'Number'}, - {name: 'productDesc', type: 'String'} - ] - }, - saveNetSaleRecommend:{ - title:'小编推荐', - url: '/product/saveNetSaleRecommend', - params: [ - {name: 'productSkn', type: 'Number'}, - {name: 'recommend', type: 'String'} - ] - }, - selectCollocationListBySkn:{ - title:'查询搭配列表', - url: '/collocation/selectCollocationListBySkn', - params: [ - {name: 'productSkn', type: 'Number'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - selectCollocationById:{ - title:'获取单个商品搭配信息', - url: '/collocation/selectCollocationById', - params: [ - {name: 'param', type: 'Number'} - ] - }, - insertCollocation:{ - title:'添加单个搭配', - url: '/collocation/insertCollocation', - params: [ - {name: 'productSkn', type: 'Number'}, - {name: 'imageUrl', type: 'String'}, - {name: 'content', type: 'String'}, - {name: 'infoStr', type: 'String'} - ] - }, - updateCollocation:{ - title:'更新单个搭配', - url: '/collocation/updateCollocation', - params: [ - {name: 'id', type: 'Number'}, - {name: 'imageUrl', type: 'String'}, - {name: 'content', type: 'String'}, - {name: 'infoStr', type: 'String'} - ] - }, - delCollocationById:{ - title:'删除单个搭配', - url: '/collocation/delCollocationById', - params: [ - {name: 'param', type: 'Number'} - ] - }, - manageProductImg:{ - title:'单独维护封面信息', - url: '/product/manageProductImg', - params: [ - {name: 'goodsImagesReq', type: 'string'} - ] - }, - queryArticlesBySKN:{ - title:'小编推荐', - url: '/guang/article/queryArticlesBySKN', - params: [ - {name: 'productSkn', type: 'string'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/goods.price.js b/server/interfaces/goods.price.js deleted file mode 100644 index 825a31b..0000000 --- a/server/interfaces/goods.price.js +++ /dev/null @@ -1,79 +0,0 @@ -module.exports={ - namespace:"price", - apis:{ - queryProductPriceList:{ - title:'代销变价', - url:'/product/queryProductPriceList', - params: [ - {name: 'product_skn',type: 'Number'}, - {name: 'shop_id',type: 'Number'}, - {name: 'brand_id',type: 'Number'}, - {name: 'supplier_id',type: 'Number'}, - {name: 'is_jit',type: 'String'}, - {name: 'is_auditing',type: 'Number'}, - {name: 'stock',type: 'Number'}, - {name: 'gender',type: 'Number'}, - {name: 'max_sort_id',type: 'Number'}, - {name: 'middle_sort_id', type: 'Number'}, - {name: 'small_sort_id', type: 'Number'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - getProductPrice:{ - title:'获得单个变价详情', - url: '/product/getProductPrice', - params: [ - {name: 'param', type: 'Number'} - ] - }, - updatePrice:{ - title:'单个变价接口', - url: '/product/getProductPrice', - params: [ - {name: 'product_skn', type: 'number'}, - {name: 'sales_price', type: 'number'}, - {name: 'vip_discount_type', type: 'number'}, - {name: 'return_coin', type: 'number'}, - {name: 'vip_price', type: 'number'}, - {name: 'vip1_price', type: 'number'}, - {name: 'vip2_price', type: 'number'}, - {name: 'vip3_price', type: 'number'} - ] - }, - queryProductPriceListBySkn:{ - title:'变价记录', - url: '/product/queryProductPriceListBySkn', - params: [ - {name: 'param', type: 'Number'} - ] - }, - batchUpdateProductPrice:{ - title:'批量变价接口', - url: '/product/batchUpdateProductPrice', - params: [ - {name: 'batchList', type: 'String'} - ] - }, - queryBrandCooperationList:{ - title:'品牌合作模式设置列表数据', - url: '/brandCooperation/queryBrandCooperationList', - params: [ - {name: 'cooperateTypeId', type: 'Number'}, - {name: 'brandId', type: 'number'}, - {name: 'setFlag', type: 'Number'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - saveBrandCooperation:{ - title:'修改合作模式', - url: '/brandCooperation/saveBrandCooperation', - params: [ - {name: 'id', type: 'Number'}, - {name: 'cooperateTypeId', type: 'String'}, - {name: 'brandId', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/goods.specialgoods.js b/server/interfaces/goods.specialgoods.js deleted file mode 100644 index 61bdcaa..0000000 --- a/server/interfaces/goods.specialgoods.js +++ /dev/null @@ -1,24 +0,0 @@ -module.exports = { - namespace: "specialgoods", - apis: { - queryRefundExchangeList: { - title: '特殊商品列表数据', - url: '/refundExchangeAttribute/queryRefundExchangeList', - params: [ - {name: 'productSkn', type: 'Number'}, - {name: 'brandId', type: 'Number'}, - {name: 'isRefundExchange', type: 'Number'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - modifyRefundExchangeStatus: { - title: '修改商品', - url: '/refundExchangeAttribute/modifyRefundExchangeStatus', - params: [ - {name: 'productSkn', type: 'Number'}, - {name: 'isRefundExchange', type: 'Number'} - ] - } - } -}; \ No newline at end of file diff --git a/server/interfaces/goods.yohoCoin.js b/server/interfaces/goods.yohoCoin.js deleted file mode 100644 index 856e982..0000000 --- a/server/interfaces/goods.yohoCoin.js +++ /dev/null @@ -1,97 +0,0 @@ -module.exports={ - namespace:"yohoCoin", - apis:{ - queryPageList:{ - title:'yoho币管理列表查询', - url: "/yohoCoin/queryPageList", - params:[ - {name: 'productSkn', type: 'Number'}, - {name: 'shopId', type: 'Number'}, - {name: 'brandId', type: 'Number'}, - {name: 'supplierId', type: 'Number'}, - {name: 'gender', type: 'String'}, - {name: 'auditStatus', type: 'Number'}, - {name: 'maxSortId', type: 'Number'}, - {name: 'middleSortId', type: 'Number'}, - {name: 'smallSortId', type: 'Number'}, - {name: 'sortId', type: 'Number'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'}, - {name: 'returnCoinMoney', type: 'Number'} - ] - }, - set:{ - title:'编辑保存yoho币', - url: "/yohoCoin/set", - params:[ - {name: 'productSkn', type: 'Number'}, - {name: 'returnCoinMoney', type: 'Number'}, - {name: 'salesPrice', type: 'Number'}, - {name: 'auditorId', type: 'Number'} - ] - }, - queryBatchImportResult:{ - title:'批量上传TaskId查询', - url: "/importResult/queryBatchImportResult", - params:[ - {name: 'param', type: 'String'}, - ] - }, - insertBatch:{ - title:'批量确认提交', - url: "/yohoCoin/insertBatch", - params:[ - {name: 'auditorId', type: 'Number'}, - {name: 'productPrices', type: 'String'} - ] - }, - queryPageList4Audit:{ - title:'yoho币审核列表查询', - url: "/yohoCoin/queryPageList4Audit ", - params:[ - {name: 'auditStatus', type: 'Number'}, - {name: 'productSkn', type: 'Number'}, - {name: 'shopId', type: 'Number'}, - {name: 'brandId', type: 'Number'}, - {name: 'supplierId', type: 'Number'}, - {name: 'gender', type: 'String'}, - {name: 'auditorId', type: 'Number'}, - {name: 'maxSortId', type: 'Number'}, - {name: 'middleSortId', type: 'Number'}, - {name: 'smallSortId', type: 'Number'}, - {name: 'sortId', type: 'Number'}, - {name: 'page', type: 'Number'} - ] - }, - pass:{ - title:'审核通过', - url: "/yohoCoin/pass", - params:[ - {name: 'productSkn', type: 'Number'}, - ] - }, - passBatch:{ - title:'批量审核通过', - url: "/yohoCoin/passBatch", - params:[ - {name: 'productSkns', type: 'String'}, - ] - }, - reject:{ - title:'驳回', - url: "/yohoCoin/reject", - params:[ - {name: 'productSkn', type: 'Number'}, - {name: 'comment', type: 'String'}, - ] - }, - rejectBatch:{ - title:'批量驳回', - url: "/yohoCoin/rejectBatch", - params:[ - {name: 'productSkns', type: 'String'}, - {name: 'comment', type: 'String'}, - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/guang.articleCategory.js b/server/interfaces/guang.articleCategory.js deleted file mode 100644 index 7a03c2c..0000000 --- a/server/interfaces/guang.articleCategory.js +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 文章分类管理 - */ - -module.exports={ - namespace:"articleCategoryManager", - apis:{ - getList:{ - title: "文章分类管理列表数据", - url: '/guang/article/sort/getList', - params: [ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - updateSort:{ - title: "文章分类管理-编辑", - url: '/guang/article/sort/updateSort', - params: [ - {name: 'id', type: 'Number'}, - {name: 'parentId', type: 'Number'}, - {name: 'orderBy', type: 'Number'}, - {name: 'status', type: 'Number'}, - {name: 'name', type: 'String'}, - {name: 'advertCode', type: 'String'} - ] - }, - addSort:{ - title: "文章分类管理-添加", - url: '/guang/article/sort/addSort', - params: [ - {name: 'parentId', type: 'Number'}, - {name: 'orderBy', type: 'Number'}, - {name: 'status', type: 'Number'}, - {name: 'name', type: 'String'}, - {name: 'advertCode', type: 'String'} - ] - }, - delSort:{ - title: "文章分类管理-删除", - url: '/guang/article/sort/delSort', - params: [ - {name: 'id', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/guang.author.js b/server/interfaces/guang.author.js deleted file mode 100644 index 55e7e07..0000000 --- a/server/interfaces/guang.author.js +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 作者管理 - */ - -module.exports={ - namespace:"authorManager", - apis:{ - getList:{ - title: "作者管理列表数据", - url: '/guang/author/getList', - params: [ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - addAuthor:{ - title: "作者管理-添加", - url: '/guang/author/addAuthor', - params: [ - {name: 'username', type: 'String'}, - {name: 'avatar', type: 'String'}, - {name: 'authorDesc', type: 'String'} - ] - }, - updateAuthor:{ - title: "作者管理-编辑", - url: '/guang/author/updateAuthor', - params: [ - {name: 'uid', type: 'Number'}, - {name: 'username', type: 'String'}, - {name: 'avatar', type: 'String'}, - {name: 'authorDesc', type: 'String'} - ] - }, - delAuthor:{ - title: "作者管理-删除", - url: '/guang/author/delAuthor', - params: [ - {name: 'uid', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/guang.brandConcern.js b/server/interfaces/guang.brandConcern.js deleted file mode 100644 index 47cc659..0000000 --- a/server/interfaces/guang.brandConcern.js +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 品牌关注 - */ - -module.exports={ - namespace:"brandConcern", - apis:{ - getList:{ - title: "品牌关注 列表数据", - url: '/guang/relationship/getList', - params: [ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'}, - {name: 'brandType', type: 'String'}, - {name: 'status', type: 'String'}, - {name: 'brandId', type: 'String'}, - {name: 'gender', type: 'String'}, - ] - }, - addRel:{ - title: "品牌关注-添加", - url: '/guang/relationship/addRel', - params: [ - {name: 'brandType', type: 'Number'}, - {name: 'activityName', type: 'String'}, - {name: 'brandId', type: 'String'}, - {name: 'discount', type: 'Number'}, - {name: 'activityImg', type: 'String'}, - ] - }, - updateRel:{ - title: "品牌关注列表-编辑", - url: '/guang/relationship/updateRel', - params: [ - {name: 'id', type: 'Number'}, - {name: 'brandType', type: 'Number'}, - {name: 'activityName', type: 'String'}, - {name: 'brandId', type: 'String'}, - {name: 'discount', type: 'Number'}, - {name: 'activityImg', type: 'String'}, - ] - }, - delRel:{ - title: "品牌关注列表-删除", - url: '/guang/relationship/delRel', - params: [ - {name: 'id', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/guang.comment.js b/server/interfaces/guang.comment.js deleted file mode 100644 index f50c6e7..0000000 --- a/server/interfaces/guang.comment.js +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 评论管理 - */ - -module.exports={ - namespace:"commentManager", - apis:{ - getList:{ - title: "评论管理列表数据", - url: '/guang/comment/getList', - params: [ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'}, - {name: 'status', type: 'Number'}, - {name: 'condContent', type: 'String'}, - {name: 'condNum', type: 'Number'} - ] - }, - audit:{ - title: "评论管理-审核", - url: '/guang/comment/audit', - params: [ - {name: 'id', type: 'String'}, - {name: 'status', type: 'Number'} - ] - }, - getItems:{ - title: "评论管理-获取筛选条件", - url: '/guang/comment/getItems' - } - } -} \ No newline at end of file diff --git a/server/interfaces/guang.info.js b/server/interfaces/guang.info.js deleted file mode 100644 index e273728..0000000 --- a/server/interfaces/guang.info.js +++ /dev/null @@ -1,155 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 资讯管理 - */ -module.exports={ - namespace:"infoManager", - apis:{ - getList:{ - title: "资讯管理列表数据", - url: '/guang/article/getList', - params: [ - {name: 'articleTitle', type: 'String'}, - {name: 'articleGender', type: 'String'}, - {name: 'authorId', type: 'Number'}, - {name: 'maxSortId', type: 'Number'}, - {name: 'status', type: 'Number'}, - {name: 'orderBy', type: 'String'}, - {name: 'startTime', type: 'String'}, - {name: 'endTime', type: 'String'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - operation:{ - title: "资讯管理-列表操作(修改、发布、关闭、推荐、取消推荐)", - url: '/guang/article/updateArticle', - params: [ - {name: 'id', type: 'Number'}, - {name: 'articleTitle', type: 'String'}, - {name: 'articleGender', type: 'String'}, - {name: 'authorId', type: 'Number'}, - {name: 'maxSortId', type: 'Number'}, - {name: 'minSortId', type: 'Number'}, - {name: 'articleSummary', type: 'String'}, - {name: 'coverImage', type: 'String'}, - {name: 'status', type: 'Number'}, - {name: 'coverImageType', type: 'Number'}, - {name: 'articleType', type: 'Number'}, - {name: 'adsImgSize', type: 'String'}, - {name: 'isRecommend', type: 'Number'} - ] - }, - timePublish:{ - title: "资讯管理-定时", - url: '/guang/article/timePublish', - params: [ - {name: 'id', type: 'Number'}, - {name: 'publishTime', type: 'String'} - ] - }, - delArticle:{ - title: "资讯管理-删除", - url: '/guang/article/delArticle', - params: [ - {name: 'id', type: 'Number'} - ] - }, - getAuthorList:{ - title: "作者列表", - url: '/guang/article/getAuthorList', - params: [ - {name: 'idName', type: 'String'}, - ] - }, - getSortList:{ - title: "所有分类", - url: '/guang/article/getSortList' - }, - getTagItems:{ - title: "根据是否启用获取标签分类列表", - url: '/guang/tagSort/getTagItems', - params: [ - {name: 'status', type: 'Number'}, - {name: 'idName', type: 'String'} - - ] - }, - getCategoryNames:{ - title: "plus star 频道", - url: '/guang/plustarcategory/getCategoryNames', - params: [ - {name: 'status', type: 'Number'}, - ] - }, - addArticle:{ - title: "添加文章", - url:"/guang/article/addArticle", - params:[ - {name:"articleTitle",type:"String"}, - {name:"articleGender",type:"String"}, - {name:"authorId",type:"Number"}, - {name:"maxSortId",type:"Number"}, - {name:"minSortId",type:"Number"}, - {name:"articleSummary",type:"String"}, - {name:"coverImage",type:"String"}, - {name:"coverImageType",type:"Number"}, - {name:"articleType",type:"Number"}, - {name:"adsImgSize",type:"String"}, - {name:"url",type:"String"}, - {name:"contentData",type:"String"}, - {name:"brands",type:"String"}, - {name:"tag",type:"String"} - ] - }, - updateArticle:{ - title: "更新文章", - url:"/guang/article/updateArticle", - params:[ - {name:"id",type:"Number"}, - {name:"articleTitle",type:"String"}, - {name:"articleGender",type:"String"}, - {name:"authorId",type:"Number"}, - {name:"maxSortId",type:"Number"}, - {name:"minSortId",type:"Number"}, - {name:"articleSummary",type:"String"}, - {name:"coverImage",type:"String"}, - {name:"coverImageType",type:"Number"}, - {name:"articleType",type:"Number"}, - {name:"adsImgSize",type:"String"}, - {name:"url",type:"String"}, - {name:"contentData",type:"String"}, - {name:"brands",type:"String"}, - {name:"tag",type:"String"} - ] - }, - getDetail:{ - title: "获取文章详细信息", - url:'/guang/article/getDetail', - params:[ - {name:"id",type:"Number"} - ] - }, - getTags:{ - title: "获取标签列表", - url:'/guang/tags/getTags' - }, - queryAllGoodsSort:{ - title: "标签搜索,所有(没用到)", - apis: { - colorList: { - url: '/erpproduct/product/colorList' - }, - materialList: { - url: '/erpproduct/attribute/index', - params: [{ - name: 'status', - type: 'String', - def:1 - }] - } - } - }, - - } -} \ No newline at end of file diff --git a/server/interfaces/guang.plusStar.js b/server/interfaces/guang.plusStar.js deleted file mode 100644 index dc2ea54..0000000 --- a/server/interfaces/guang.plusStar.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * plus/Star列表 - */ - -module.exports={ - namespace:"plusStarManager", - apis:{ - getList:{ - title: "Plus/Star 列表数据", - url: '/guang/plustar/getList', - params: [ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'}, - {name: 'brandType', type: 'String'}, - {name: 'status', type: 'String'}, - {name: 'brandId', type: 'String'}, - {name: 'gender', type: 'String'} - ] - }, - addPlustar:{ - title: "Plus/Star列表-添加", - url: '/guang/plustar/addPlustar', - params: [ - {name: 'brandType', type: 'String'}, - {name: 'status', type: 'String'}, - {name: 'brandId', type: 'String'}, - {name: 'gender', type: 'String'}, - {name: 'coverImg', type: 'String'}, - {name: 'bannerImg', type: 'String'}, - {name: 'bannerTitle', type: 'String'}, - {name: 'orderBy', type: 'String'} - ] - }, - updatePlustar:{ - title: "Plus/Star列表-修改", - url: '/guang/plustar/updatePlustar', - params: [ - {name: 'id', type: 'String'}, - {name: 'brandType', type: 'String'}, - {name: 'status', type: 'String'}, - {name: 'brandId', type: 'String'}, - {name: 'gender', type: 'String'}, - {name: 'coverImg', type: 'String'}, - {name: 'bannerImg', type: 'String'}, - {name: 'bannerTitle', type: 'String'}, - {name: 'orderBy', type: 'String'} - ] - }, - getDetail:{ - title: "Plus/Star列表-编辑", - url: '/guang/plustar/getDetail', - params: [ - {name: 'id', type: 'Number'}, - {name: 'brandType', type: 'String'}, - {name: 'status', type: 'String'}, - {name: 'brandId', type: 'String'}, - {name: 'gender', type: 'String'}, - {name: 'coverImg', type: 'String'}, - {name: 'bannerImg', type: 'String'}, - {name: 'bannerTitle', type: 'String'}, - {name: 'orderBy', type: 'String'} - ] - }, - delPlustar:{ - title: "Plus/Star列表-删除", - url: '/guang/plustar/delPlustar', - params: [ - {name: 'id', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/guang.plusStarCategory.js b/server/interfaces/guang.plusStarCategory.js deleted file mode 100644 index a1d9c65..0000000 --- a/server/interfaces/guang.plusStarCategory.js +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * plus/Star分类 - */ - -module.exports={ - namespace:"plusStarCategory", - apis:{ - getList:{ - title: "Plus/Star分类 列表数据", - url: '/guang/plustarcategory/getList', - params: [ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'}, - {name: 'status', type: 'Number'} - - ] - }, - addCategory:{ - title: "Plus/Star分类列表-添加", - url: '/guang/plustarcategory/addCategory', - params: [ - {name: 'categoryName', type: 'String'}, - {name: 'contentCode', type: 'String'}, - {name: 'contentCodeFoot', type: 'String'} - ] - }, - updateCategory:{ - title: "Plus/Star分类列表-编辑&开启&关闭", - url: '/guang/plustarcategory/updateCategory', - params: [ - {name: 'id', type: 'Number'}, - {name: 'status', type: 'Number'}, - {name: 'categoryName', type: 'String'}, - {name: 'contentCode', type: 'String'}, - {name: 'contentCodeFoot', type: 'String'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/guang.tag.js b/server/interfaces/guang.tag.js deleted file mode 100644 index b9039f5..0000000 --- a/server/interfaces/guang.tag.js +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 标签管理 - */ - -module.exports={ - namespace:"tagManager", - apis:{ - getList:{ - title: "标签管理列表数据", - url: '/guang/tags/getList', - params: [ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'}, - {name: 'isHot', type: 'Number'}, - {name: 'status', type: 'Number'}, - {name: 'classifyId', type: 'Number'}, - {name: 'tagName', type: 'String'} - ] - }, - updateTag:{ - title: "标签管理-编辑", - url: '/guang/tags/updateTag', - params: [ - {name: 'id', type: 'Number'}, - {name: 'tagName', type: 'String'}, - {name: 'classifyId', type: 'Number'}, - {name: 'isHot', type: 'Number'}, - {name: 'status', type: 'Number'}, - {name: 'orderBy', type:'Number'}, - {name: 'cover', type:'String'} - ] - }, - addTag:{ - title: "标签管理-添加", - url: '/guang/tags/addTag', - params: [ - {name: 'tagName', type: 'String'}, - {name: 'classifyId', type: 'Number'}, - {name: 'isHot', type: 'Number'}, - {name: 'status', type: 'Number'}, - {name: 'orderBy', type:'Number'}, - {name: 'cover', type:'String'} - ] - }, - delTag:{ - title: "标签管理-删除", - url: '/guang/tags/delTag', - params: [ - {name: 'id', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/guang.tagCategory.js b/server/interfaces/guang.tagCategory.js deleted file mode 100644 index 173fb12..0000000 --- a/server/interfaces/guang.tagCategory.js +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 标签分类管理 - */ - -module.exports={ - namespace:"tagCategoryManager", - apis:{ - getList:{ - title: "标签分类管理列表数据", - url: '/guang/tagSort/getList', - params: [ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - updateSort:{ - title: "标签分类管理-编辑", - url: '/guang/tagSort/updateSort', - params: [ - {name: 'id', type: 'Number'}, - {name: 'status', type: 'Number'}, - {name: 'orderBy', type: 'Number'}, - {name: 'classifyName', type: 'String'} - ] - }, - addSort:{ - title: "标签分类管理-添加", - url: '/guang/tagSort/addSort', - params: [ - {name: 'status', type: 'Number'}, - {name: 'orderBy', type: 'Number'}, - {name: 'classifyName', type: 'String'} - ] - }, - delSort:{ - title: "标签分类管理-删除", - url: '/guang/tagSort/delSort', - params: [ - {name: 'id', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/help.helpCategory.js b/server/interfaces/help.helpCategory.js deleted file mode 100644 index 0676904..0000000 --- a/server/interfaces/help.helpCategory.js +++ /dev/null @@ -1,48 +0,0 @@ -module.exports= { - namespace: "helpCategory", - apis: { - getAllHelpCategory:{ - title:"所有帮助分类列表", - url:"/HelpCategoryRest/getAllHelpCategory", - params:[] - }, - - addCategory:{ - title:"添加帮助分类", - url:"/HelpCategoryRest/addCategory", - params:[ - {name: 'categoryName', type: 'String'}, - {name: 'parentId', type: 'Number'}, - {name: 'platform', type: 'String'} - ] - }, - - updateHelpCategory:{ - title:"保存修改帮助分类", - url:"/HelpCategoryRest/updateHelpCategory", - params:[ - {name: 'id', type: 'Number'}, - {name: 'categoryName', type: 'String'}, - {name: 'parentId', type: 'Number'}, - {name: 'platform', type: 'String'} - ] - }, - - deleteHelpCategory:{ - title:"删除帮助分类", - url:"/HelpCategoryRest/deleteHelpCategory", - params:[ - {name: 'id', type: 'Number'}, - {name: 'parentId', type: 'Number'} - ] - }, - - getCategoryListByPid:{ - title:"帮助分类详情", - url:"/HelpCategoryRest/getCategoryListByPid", - params:[ - {name: 'parentId', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/help.helpContent.js b/server/interfaces/help.helpContent.js deleted file mode 100644 index b07e53c..0000000 --- a/server/interfaces/help.helpContent.js +++ /dev/null @@ -1,70 +0,0 @@ -module.exports= { - namespace: "helpContent", - apis: { - getAllHelpContent:{ - title:"帮助内容列表", - url:"/HelpContentRest/getAllHelpContent", - params:[ - {name: 'categoryId', type: 'Number'}, - {name: 'platform', type: 'string'} - ] - }, - - addHelpContent:{ - title:"添加帮助内容", - url:"/HelpContentRest/addHelpContent", - params:[ - {name: 'title', type: 'string'}, - {name: 'categoryId', type: 'Number'}, - {name: 'content', type: 'string'}, - {name: 'platform', type: 'string'} - ] - }, - - updateHelpContent:{ - title:"保存编辑帮助内容", - url:"/HelpContentRest/updateHelpContent", - params:[ - {name: 'id', type: 'Number'}, - {name: 'title', type: 'string'}, - {name: 'categoryId', type: 'Number'}, - {name: 'content', type: 'string'}, - {name: 'platform', type: 'string'} - ] - }, - - deleteHelpContent:{ - title:"删除帮助内容", - url:"/HelpContentRest/deleteHelpContent", - params:[ - {name: 'id', type: 'Number'} - ] - }, - - getHelpContentByCategoryId:{ - title:"帮助内容详情", - url:"/HelpContentRest/getHelpContentByCategoryId", - params:[ - {name: 'categoryId', type: 'Number'} - ] - }, - - getSecondCategoryList:{ - title:"二级帮助分类", - url:"/HelpCategoryRest/getSecondCategoryList", - params:[] - }, - - getAllHelpCategory:{ - title:"查询所有帮助分类", - url:"/HelpCategoryRest/getAllHelpCategory", - params:[] - }, - - getHelpCategory:{ - title:"查询帮助分类", - url:"/HelpCategoryRest/getHelpCategory", - params:[] - } - } -} diff --git a/server/interfaces/marketing.CouponList.js b/server/interfaces/marketing.CouponList.js deleted file mode 100644 index b89cde5..0000000 --- a/server/interfaces/marketing.CouponList.js +++ /dev/null @@ -1,74 +0,0 @@ - -/** - * Created by yoho on 2016/6/21. - */ -module.exports = { - namespace: "CouponList", - apis: { - /**************************************优惠券管理-庞洁*************************************/ - queryCouponList: { - title: "优惠券列表", - url: "/coupon/queryCouponList", - params: { - page: {type: Number}, - size: {type: Number}, - couponId: {type: Number}, - department: {type: Number}, - couponName: {type: String}, - status: {type: Number} - } - }, - getCouponDetailById:{ - title: "单张详情", - url: "/coupon/getCouponDetailById", - params: { - - couponsId: {type: Number} - } - }, - addOrUpdate: { - title: "优惠券新增、修改", - url: "/coupon/addOrUpdate", - params: { - id: {type: Number}, - couponType: {type: Number}, - couponName: {type: String}, - couponNum: {type: Number}, - useNum: {type: Number}, - department: {type: Number}, - startTime: {type: String}, - endTime: {type: String}, - explains: {type: String}, - useLimitType: {type: Number}, - useLimit: {type: Number}, - couponAmount: {type: Number}, - brandLimit: {type: String}, - sortLimit: {type: String}, - customType: {type: String} - } - }, - reject: { - title: "驳回", - url: "/coupon/reject", - params: { - couponId: {type: Number}, - rejectReason: {type: String} - } - }, - approve: { - title: "通过", - url: "/coupon/approve", - params: { - couponId: {type: Number} - } - }, - invalid: { - title: "作废", - url: "/coupon/invalid", - params: { - couponId: {type: Number}, - invalidReason: {type: String} - } - } - } -}; \ No newline at end of file diff --git a/server/interfaces/marketing.CouponSend.js b/server/interfaces/marketing.CouponSend.js deleted file mode 100644 index e9f5f8d..0000000 --- a/server/interfaces/marketing.CouponSend.js +++ /dev/null @@ -1,94 +0,0 @@ -/** - * Created by yoho on 2016/6/21. - */ -module.exports = { - namespace: "CouponSend", - apis: { - /**************************************发券管理*************************************/ - querySendCouponList: { - title: "发券管理列表", - url: "/coupon/querySendCouponList", - params: { - couponType: {type: Number}, - couponId: {type: Number}, - couponName: {type: String}, - department: {type: Number}, - page: {type: Number}, - size: {type: Number}, - startTimeStr: {type: Number}, - endTimeStr: {type: Number} - } - }, - - getCouponDetailById: { - title: "单个券详情", - url: "/coupon/getCouponDetailById", - params: { - couponsId: {type: Number} - } - }, - getListByCouponId: { - title: "单个券的发券详情", - url: "/couponSendInfo/getListByCouponId", - params: { - couponId: {type: Number} - } - }, - sendCoupon: { - title: "手工发券", - url: "/coupon/sendCoupon", - params: { - couponId: {type: Number}, - uids: {type: String} - } - }, - sendAgainById: { - title: "文件上传重发", - url: "/couponSendInfo/sendAgainById", - params: { - id: {type: Number} - } - }, - queryUserCouponLogsList: { - title: "券记录列表", - url: "/couponLogs/queryUserCouponLogsList", - params: { - page: {type: Number}, - size: {type: Number}, - couponId: {type: Number}, - couponCode: {type: String}, - couponName: {type: String}, - orderCode: {type: Number}, - uid: {type: Number}, - status: {type: Number} - } - }, - queryCouponSnList: { - title: "公开券列表", - url: "/pCouponSn/queryCouponSnList", - params: { - page: {type: Number}, - size: {type: Number}, - couponId: {type: Number}, - isUse: {type: String} - } - }, - couponSendError: { - title: "发券异常列表查询", - url: "/couponSendError/query", - params: [ - {name: "page", type: "number"}, - {name: "size", type: "number"}, - {name: "couponId", type: "number"} - ] - }, - retrySend: { - title: "重新请求发券", - url: "/couponSendError/retrySend", - params: [ - {name: "id", type: "number"} - ] - } - - } -}; \ No newline at end of file diff --git a/server/interfaces/marketing.LimitCode.js b/server/interfaces/marketing.LimitCode.js deleted file mode 100644 index a5c0dee..0000000 --- a/server/interfaces/marketing.LimitCode.js +++ /dev/null @@ -1,105 +0,0 @@ -/** - * Created by yoho on 2016/6/21. - */ -module.exports = { - namespace: "LimitCode", - apis: { - /*************************************限购码管理*************************************/ - getLimitCodeList: { - title: " 限购码列表", - url: "/limitCode/getLimitCodeList", - params: { - page: {type: Number}, - size: {type: Number}, - status: {type: Number}, - batchNo: {type: String}, - name: {type: String}, - reqDepartment: {type: String}, - sku: {type: String}, - skn: {type: String} - } - }, - - addLimitCode: { - title: "添加限购码", - url: '/limitCode/addLimitCode', - params: { - name: {type: String}, - limitTimes: {type: Number}, - reqDepartment: {type: String}, - limitDateFrom: {type: String}, - limitDateTo: {type: String}, - describe: {type: String}, - userUseLimit: {type: Number}, - userTypeLimit: {type: String}, - limitSkn: {type: String}, - creatorName: {type: String}, - creatorId: {type: Number}, - status: {type: Number}, - skus: {type: String}, - skuTimes: {type: String}, - limitCodeType: {type: String} - } - }, - - checkSknValidity: { - title: "检查SKN的合法性并且获得其下的所有SKU", - url: "/limitCode/checkSknValidity", - params: { - skn: {type: String}, - id: {type: String} - } - }, - - getLimitCode: { - title: "获取某个限购码", - url: "/limitCode/getLimitCode", - params: { - id: {type: String} - } - }, - updateLimitCode: { - title: "编辑限购码", - url: '/limitCode/updateLimitCode', - params: { - name: {type: String}, - limitTimes: {type: Number}, - reqDepartment: {type: String}, - limitDateFrom: {type: String}, - limitDateTo: {type: String}, - describe: {type: String}, - userUseLimit: {type: Number}, - userTypeLimit: {type: String}, - limitSkn: {type: String}, - creatorName: {type: String}, - creatorId: {type: Number}, - status: {type: Number}, - id: {type: Number}, - batchNo: {type: Number}, - skus: {type: String}, - skuTimes: {type: String}, - limitCodeType: {type: String} - } - }, - - auditLimitCode: { - title: " 通过、驳回、作废限购码接口", - url: "/limitCode/auditLimitCode", - params: { - id: {type: Number}, - status: {type: Number}, - reason: {type: String} - } - }, - - getLimitCodeCountByStatus: { - title: "tab卡数据", - url: '/limitCode/getLimitCodeCountByStatus', - params: { - reqDepartment: {type: String}, - name: {type: String}, - batchNo: {type: Number} - } - } - } -}; \ No newline at end of file diff --git a/server/interfaces/marketing.ProductPool.js b/server/interfaces/marketing.ProductPool.js deleted file mode 100644 index 783aa7f..0000000 --- a/server/interfaces/marketing.ProductPool.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * Created by yoho on 2016/6/21. - */ -module.exports = { - namespace: "ProductPool", - apis: { - /************************************商品池*************************************/ - queryProductPoolPage: { - title: "商品池列表", - url: '/pool/queryProductPoolPage', - params: { - id: {type: Number}, - poolName: {type: String}, - page: {type: Number}, - size: {type: Number} - } - }, - addProductPoolBo: { - title: "添加商品池", - url: '/pool/addProductPoolBo', - params: { - activityid: {type: Number}, - poolName: {type: String}, - comment: {type: String}, - producttype: {type: String}, - productSkns: {type: String} - } - }, - updateProductPool: { - title: "编辑商品池", - url: '/pool/updateProductPool', - params: { - id: {type: Number}, - poolName: {type: String}, - comment: {type: String}, - producttype: {type: String}, - productSkns: {type: String} - } - }, - clearProductPool: { - title: "清空商品池", - url: '/pool/clearProductPool', - params: { - id: {type: Number} - } - }, - deleteProductPool: { - title: "删除商品池", - url: '/pool/deleteProductPool', - params: { - id: {type: Number} - } - }, - queryProductPoolDetailPage: { - title: "详情列表", - url: '/pool/queryProductPoolDetailPage', - params: { - id: {type: Number}, - page: {type: Number}, - size: {type: Number} - } - }, - deleteProductPoolDetailBo: { - title: "详情删除SKN", - url: '/pool/deleteProductPoolDetailBo', - params: { - id: {type: Number} - } - }, - addProductPoolDetailBo: { - title: "详情添加SKN", - url: '/pool/addProductPoolDetailBo', - params: { - activityid: {type: Number}, - poolId: {type: Number}, - productskn: {type: Number}, - producttype: {type: Number} - } - } - - } -}; \ No newline at end of file diff --git a/server/interfaces/marketing.PromotionCode.js b/server/interfaces/marketing.PromotionCode.js deleted file mode 100644 index 0cff08c..0000000 --- a/server/interfaces/marketing.PromotionCode.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * Created by yoho on 2016/6/21. - */ -module.exports = { - namespace: "PromotionCode", - apis: { - /*************************************优惠码管理*************************************/ - getPromotionCodeList: { - title: " 优惠码列表", - url: '/promotioncode/getPromotionCodeList', - params: { - page: {type: Number}, - size: {type: Number}, - status: {type: Number}, - batchNo: {type: String}, - name: {type: String}, - reqDepartment: {type: String} - } - }, - - auditPromotionCode: { - title: "操作单个优惠码", - url: '/promotioncode/auditPromotionCode', - params: { - id: {type: String}, - status: {type: Number}, - reason: {type: String} - } - }, - - getPromotionCodeSendList: { - title: "优惠码发放列表", - url: '/promotioncode/getPromotionCodeSendList', - params: { - skn: {type: String}, - id: {type: String} - } - }, - getPromotionCode: { - title: "优惠码", - url: '/promotioncode/getPromotionCode', - params: { - id: {type: String} - } - }, - getPromotionCodeCountByStatus: { - title: "优惠码tab卡数据", - url: '/promotioncode/getPromotionCodeCountByStatus', - params: { - batchNo: {type: String}, - name: {type: String}, - reqDepartment: {type: String} - } - }, - addPromotionCode: { - title: "添加优惠码", - url: '/promotioncode/addPromotionCode', - params: { - name: {type: String}, - limitTimes: {type: String}, - code: {type: String}, - describe: {type: String}, - promotionInfo: {type: String}, - userSourceLimit: {type: String}, - userTypeLimit: {type: String}, - creatorId: {type: String}, - limitDateFrom: {type: String}, - limitDateTo: {type: String}, - createTime: {type: String}, - reqDepartment: {type: String}, - status: {type: String}, - staff: {type: String} - } - }, - updatePromotionCode: { - title: "编辑优惠码", - url: '/promotioncode/updatePromotionCode', - params: { - id: {type: Number}, - name: {type: String}, - limitTimes: {type: String}, - code: {type: String}, - describe: {type: String}, - promotionInfo: {type: String}, - userSourceLimit: {type: String}, - userTypeLimit: {type: String}, - creatorId: {type: String}, - limitDateFrom: {type: String}, - limitDateTo: {type: String}, - createTime: {type: String}, - reqDepartment: {type: String}, - status: {type: String} - } - }, - checkPromotionCode: { - title: "验证优惠码", - url: '/promotioncode/checkPromotionCode', - params: { - code: {type: String} - } - } - } -}; \ No newline at end of file diff --git a/server/interfaces/marketing.QueryCoupon.js b/server/interfaces/marketing.QueryCoupon.js deleted file mode 100644 index 74e3ef2..0000000 --- a/server/interfaces/marketing.QueryCoupon.js +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Created by yoho on 2016/6/21. - */ -module.exports = { - namespace: "QueryCoupon", - apis: { - /************************************优惠券查询管理*************************************/ - queryUserCouponLogsList: { - title: "券记录列表", - url: "/couponLogs/queryUserCouponLogsList", - params: { - page: {type: Number}, - size: {type: Number}, - couponId: {type: Number}, - couponCode: {type: String}, - couponName: {type: String}, - orderCode: {type: Number}, - uid: {type: Number}, - status: {type: Number} - } - }, - delayUserCoupon: { - title: "延长优惠券有效期", - url: "/couponLogs/delayUserCoupon", - params: { - id: {type: Number}, - endTime: {type: Number} - } - }, - cancelCouponUse: { - title: "手工退券", - url: "/couponLogs/cancelCouponUse", - params: { - id: {type: Number} - } - } - } -}; \ No newline at end of file diff --git a/server/interfaces/marketing.Vip.js b/server/interfaces/marketing.Vip.js deleted file mode 100644 index 8def2f0..0000000 --- a/server/interfaces/marketing.Vip.js +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Created by yoho on 2016/6/21. - */ -module.exports = { - namespace: "Vip", - apis: { - /*************************************vip累计金额翻倍*************************************/ - vipList: { - title: "vip列表", - url: '/activity/queryActivityList', - params: { - id: {type: Number}, - size: {type: Number}, - page: {type: Number} - } - }, - activityList: { - title: "活动列表", - url: '/activity/queryActivityList', - params: { - status: {type: Number} - } - }, - saveActivity: { - title: "保存、编辑活动", - url: '/activity/saveActivity', - params: { - id: {type: Number}, - num: {type: Number}, - title: {type: String}, - startTime: {type: Number}, - endTime: {type: Number}, - type: {type: Number}, - status: {type: Number} - } - } - } -}; \ No newline at end of file diff --git a/server/interfaces/marketing.brandCoupon.js b/server/interfaces/marketing.brandCoupon.js deleted file mode 100644 index 586f372..0000000 --- a/server/interfaces/marketing.brandCoupon.js +++ /dev/null @@ -1,57 +0,0 @@ - -/** - * Created by yoho on 2016/6/21. - */ -module.exports = { - namespace: "BrandCoupon", - apis: { - /************************************品牌优惠券*************************************/ - queryList: { - title: "品牌优惠券数据", - url: '/brandCoupon/queryList', - params: { - brandId: {type: String}, - status: {type: Number}, - couponsId: {type: Number}, - page: {type: Number}, - size: {type: Number} - } - }, - queryByParam: { - title: "单个优惠券", - url: '/brandCoupon/queryByParam', - params: { - id: {type: Number} - } - }, - add: { - title: "新增品牌优惠券", - url: '/brandCoupon/add', - params: { - brandName: {type: String}, - status: {type: Number}, - brandId: {type: Number}, - couponsId: {type: Number} - } - }, - delete: { - title: "删除品牌优惠券", - url: '/brandCoupon/delete', - params: { - id: {type: Number} - } - }, - update: { - title: "编辑品牌优惠券", - url: '/brandCoupon/update', - params: { - brandName: {type: String}, - status: {type: Number}, - id: {type: Number}, - brandId: {type: Number}, - couponsId: {type: Number} - } - } - - } -}; \ No newline at end of file diff --git a/server/interfaces/operations.category.js b/server/interfaces/operations.category.js deleted file mode 100644 index c49de52..0000000 --- a/server/interfaces/operations.category.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * Created by ty on 2016/6/21. - * 分类管理 - */ - -module.exports={ - namespace:"category", - apis:{ - getCategoryList:{ - title: "分类列表", - url: "/category/getCategoryList", - params: [ - {name: "platform", type: "string"}, - {name: "status", type: "string"} - ] - }, - updateCategoryStatus:{ - title: "更新分类状态", - url: "/category/updateCategoryStatus", - params: [ - {name: "id", type: "number"}, - {name: "status", type: "number"} - ] - }, - getOneCategory:{ - title: "根据id获取分类对象", - url: "/category/getOneCategory", - params:[ - {name:'id', type:'number'} - ] - }, - addCategory:{ - title: "添加分类", - url: "/category/addCategory", - params:[ - {name: "sortName", type: "string"}, - {name: "sortNameEn", type: "string"}, - {name: "sortIco", type: "string"}, - {name: "sortIcoBig", type: "string"}, - {name: "sortUrl", type: "string"}, - {name: "firstSortId", type: "string"}, - {name: "secondSortId", type: "string"}, - {name: "threadSortId", type: "string"}, - {name: "platform", type: "string"}, - {name: "orderBy", type: "string"}, - {name: "isNew", type: "string"}, - {name: "isHot", type: "string"}, - {name: "contentCode", type: "string"}, - {name: "separativeSign", type: "string"}, - {name: "sortNameColor", type: "string"}, - {name: "isNewPage", type: "string"} - ] - }, - updateCategory:{ - title: "修改分类", - url: "/category/updateCategory", - params:[ - {name: "id", type: "number"}, - {name: "sortName", type: "string"}, - {name: "sortNameEn", type: "string"}, - {name: "sortIco", type: "string"}, - {name: "sortIcoBig", type: "string"}, - {name: "sortUrl", type: "string"}, - {name: "firstSortId", type: "string"}, - {name: "secondSortId", type: "string"}, - {name: "threadSortId", type: "string"}, - {name: "platform", type: "string"}, - {name: "orderBy", type: "string"}, - {name: "isNew", type: "string"}, - {name: "isHot", type: "string"}, - {name: "contentCode", type: "string"}, - {name: "separativeSign", type: "string"}, - {name: "sortNameColor", type: "string"}, - {name: "isNewPage", type: "string"} - ] - }, - getCategories:{ - title: "获取分类列表", - url: "/category/getCategories" - } - } -} \ No newline at end of file diff --git a/server/interfaces/operations.couponActivity.js b/server/interfaces/operations.couponActivity.js deleted file mode 100644 index 240859e..0000000 --- a/server/interfaces/operations.couponActivity.js +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 优惠券活动 - */ - -module.exports={ - namespace:"couponActivity", - apis:{ - queryList:{ - title: "优惠券活动列表", - url: '/couponActivity/queryList', - params: [ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - update:{ - title: "修改优惠券活动", - url: '/couponActivity/update', - params: [ - {name: 'id', type: 'Number'},//主键 - {name: 'actName', type: 'string'},// - {name: 'activityType', type: 'Number'},// - {name: 'actUrl', type: 'string'}, - {name: 'startTime', type: 'Number'},// - {name: 'endTime', type: 'Number'},// - {name: 'bgImageUrl', type: 'string'},// - {name: 'shareTitle', type: 'string'},// - {name: 'shareDescribe', type: 'string'},// - {name: 'sharePic', type: 'string'},// - {name: 'shareUrl', type: 'string'},// - {name: 'isVerify', type: 'string'},// - {name: 'instructions', type: 'string'},// - {name: 'isNewUser', type: 'Number'},// - {name: 'couponId', type: 'string'},// - {name: 'status', type: 'Number'}// - ] - }, - add:{ - title: "新增优惠券活动", - url: '/couponActivity/add', - params: [ - {name: 'actName', type: 'string'},// - {name: 'activityType', type: 'Number'},// - {name: 'actUrl', type: 'string'}, - {name: 'startTime', type: 'Number'},// - {name: 'endTime', type: 'Number'},// - {name: 'bgImageUrl', type: 'string'},// - {name: 'shareTitle', type: 'string'},// - {name: 'shareDescribe', type: 'string'},// - {name: 'sharePic', type: 'string'},// - {name: 'shareUrl', type: 'string'},// - {name: 'isVerify', type: 'string'},// - {name: 'instructions', type: 'string'},// - {name: 'isNewUser', type: 'Number'},// - {name: 'couponId', type: 'string'}// - ] - }, - queryById:{ - title: "单个优惠券活动查询", - url: '/couponActivity/queryById', - params: [ - {name: 'id', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/operations.couponSend.js b/server/interfaces/operations.couponSend.js deleted file mode 100644 index 0a2db41..0000000 --- a/server/interfaces/operations.couponSend.js +++ /dev/null @@ -1,30 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 发券管理 - */ - -module.exports={ - namespace:"couponSend", - apis:{ - queryList:{ - title: "发券列表", - url: '/couponSendManager/queryList', - params: [ - {name: 'name', type: 'string'},//名称 - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - addOrUpdate:{ - title: "添加/修改发券", - url: '/couponSendManager/addOrUpdate', - params: [ - {name: 'id', type: 'Number'},//主键 - {name: 'name', type: 'string'},//名称 - {name: 'creator', type: 'string'},//创建人 - {name: 'couponsIds', type: 'string'},//券列表 - {name: 'status', type: 'Number'}//状态 - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/operations.entrance.js b/server/interfaces/operations.entrance.js deleted file mode 100644 index 925098f..0000000 --- a/server/interfaces/operations.entrance.js +++ /dev/null @@ -1,61 +0,0 @@ -/** - * Created by ty on 2016/6/21. - * app入口管理 - */ - -module.exports={ - namespace:"entrance", - apis:{ - selectEntranceList:{ - title: "入口列表", - url:'/entrance/selectEntranceList', - params: [ - {name: "platform", type:"string"}, - {name: "status", type:"string"}, - {name: "page", type:"number"}, - {name: "size", type: "number"} - ] - }, - insertEntrance:{ - title: "添加入口", - url: '/entrance/insertEntrance', - params: [ - {name: "entryName", type:"string"}, - {name: "clickBeforeImg", type:"string"}, - {name: "clickAfterImg", type:"string"}, - {name: "url", type:"string"}, - {name: "platform", type:"string"}, - {name: "orderBy", type:"string"}, - {name: "status", type:"string"}, - {name: "zipUrl", type:"string"}, - {name: "channelId", type:"string"}, - {name: "gender", type:"string"} - ] - }, - updateEntrance:{ - title: "修改入口", - url: '/entrance/updateEntrance', - params: [ - {name: "id", type:"number"}, - {name: "entryName", type:"string"}, - {name: "clickBeforeImg", type:"string"}, - {name: "clickAfterImg", type:"string"}, - {name: "url", type:"string"}, - {name: "platform", type:"string"}, - {name: "orderBy", type:"string"}, - {name: "status", type:"string"}, - {name: "zipUrl", type:"string"}, - {name: "channelId", type:"string"}, - {name: "gender", type:"string"} - ] - }, - publishEntrance:{ - title: "更改入口状态", - url: '/entrance/publishEntrance', - params: [ - {name: "id", type: "number"}, - {name: "status", type: "string"} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/operations.generateLinks.js b/server/interfaces/operations.generateLinks.js deleted file mode 100644 index 4e37202..0000000 --- a/server/interfaces/operations.generateLinks.js +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 生成多个链接 - */ - -module.exports={ - namespace:"generateLinks", - apis:{ - generate:{ - title: "生成多个链接", - url: '/link/generate', - params: [ - {name: "channelId", type: "number"}, - {name: "linkType", type: "string"}, - {name: "content", type: "string"} - ] - }, - single:{ - title: "生成单个链接", - url: '/link/single', - params: [ - {name: "action", type: "string"}, - {name: "linkType", type: "string"}, - {name: "link", type: "string"} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/operations.hotRankTag.js b/server/interfaces/operations.hotRankTag.js deleted file mode 100644 index 1d8cf39..0000000 --- a/server/interfaces/operations.hotRankTag.js +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * Top100标签 - */ - -module.exports={ - namespace:"hotRankTag", - apis:{ - selectTagList:{ - title: "搜索词列表", - url: '/hotRankTag/selectTagList', - params: [ - {name: 'page', type: 'Number', def: '1'}, - {name: 'size', type: 'Number', def: '10'}, - {name: 'platform', type: 'String'},//平台 - {name: 'channel', type: 'String'},//频道 - {name: 'status', type: 'Number'} - ] - }, - addTag:{ - title: "添加搜索词", - url: '/hotRankTag/addTag', - params: [ - {name: 'tagName', type: 'String'}, - {name: 'categoryId', type: 'String'}, - {name: 'platform', type: 'String'}, - {name: 'channel', type: 'String'}, - {name: 'orderBy', type: 'Number'} - ] - }, - updateTag:{ - title: "修改搜索词", - url: '/hotRankTag/updateTag', - params: [ - {name: 'id', type: 'Number'}, - {name: 'tagName', type: 'String'}, - {name: 'categoryId', type: 'String'}, - {name: 'platform', type: 'String'}, - {name: 'channel', type: 'String'}, - {name: 'orderBy', type: 'Number'} - - ] - }, - publishTag:{ - title: "发布搜索词", - url: '/hotRankTag/publishTag', - params: [ - {name: 'id', type: 'Number'} - ] - }, - closeTag:{ - title: "关闭搜索词", - url: '/hotRankTag/closeTag', - params: [ - {name: 'id', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/operations.hotsuggest.js b/server/interfaces/operations.hotsuggest.js deleted file mode 100644 index 4d2fa43..0000000 --- a/server/interfaces/operations.hotsuggest.js +++ /dev/null @@ -1,78 +0,0 @@ -/** - * Created by ty on 2016/6/21. - * 热门意见管理 - */ - -module.exports={ - namespace:"hotsuggest", - apis:{ - getSuggestHotList:{ - title: "获取热门意见列表", - url:'/suggest/suggestHot/getSuggestHotList', - params: [ - {name: "startTime", type:"string"}, - {name: "endTime", type:"string"}, - {name: "status", type:"string"}, - {name: "clientType", type: "string"}, - {name: "hasImage", type:"string"}, - {name: "isReliable", type:"string"}, - {name: "page", type:"number"}, - {name: "size", type: "number"} - ] - }, - addSuggestHot:{ - title: "新增热门意见", - url: '/suggest/suggestHot/addSuggestHot', - params: [ - {name: "status", type:"number"}, - {name: "clientType", type:"string"}, - {name: "coverImage", type:"string"}, - {name: "orderBy", type:"number"}, - {name: "content", type:"string"}, - {name: "replyContent", type:"string"} - ] - }, - updateSuggestHot:{ - title: "修改热门意见", - url: '/suggest/suggestHot/updateSuggestHot', - params: [ - {name: "id", type:"number"}, - {name: "status", type:"number"}, - {name: "clientType", type:"string"}, - {name: "coverImage", type:"string"}, - {name: "orderBy", type:"number"}, - {name: "content", type:"string"}, - {name: "replyContent", type:"string"} - ] - }, - deleteSuggestHot:{ - title: "删除/取消热门意见", - url: '/suggest/suggestHot/deleteSuggestHot', - params: [ - {name: "id", type: "string"} - ] - }, - publishSuggestHot:{ - title: "发布/撤回热门", - url: '/suggest/suggestHot/publishSuggestHot', - params: [ - {name: "id", type: "string"}, - {name: "status", type: "number"} - ] - }, - batchPublishSuggestHot:{ - title: "批量发布热门意见", - url: '/suggest/suggestHot/batchPublishSuggestHot', - params: [ - {name: "id", type: "string"} - ] - }, - getSuggestHotById:{ - title: "根据id查询热门意见---------暂未用到", - url: '/suggest/suggestHot/getSuggestHotById', - params: [ - {name: "id", type: "string"} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/operations.limit.js b/server/interfaces/operations.limit.js deleted file mode 100644 index 8d62017..0000000 --- a/server/interfaces/operations.limit.js +++ /dev/null @@ -1,133 +0,0 @@ -/** - * Created by ty on 2016/6/22. - * 限售商品管理 - */ - -module.exports={ - namespace:"limit", - apis:{ - getLimitProductList:{ - title: "【限购商品】ajax分页", - url: '/limitProduct/getLimitProductList', - params: [ - {name: 'hotFlag', type: 'Number'}, - {name: 'saleFlag', type: 'Number'}, - {name: 'showFlag', type: 'Number'}, - {name: 'productName', type: 'String'}, - {name: 'productSkn', type: 'String'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - addLimitProduct:{ - title: "【限购商品】ajax添加", - url: '/limitProduct/addLimitProduct', - params: [ - {name: 'productName', type: 'String'}, - {name: 'attachmentContent', type: 'String'}, - {name: 'batchNo', type: 'Number'}, - {name: 'dayFlag', type: 'Number'}, - {name: 'saleTimeStr', type: 'String'}, - {name: 'hotFlag', type: 'Number'}, - {name: 'orderBy', type: 'Number'}, - {name: 'notSaleOrderBy', type: 'Number'}, - {name: 'limitProductType', type: 'Number'}, - {name: 'activityId', type: 'Number'} - ] - }, - updateLimitProduct:{ - title: "【限购商品】ajax修改", - url: '/limitProduct/updateLimitProduct', - params: [ - {name: 'id', type: 'Number'}, - {name: 'productName', type: 'String'}, - {name: 'attachmentContent', type: 'String'}, - {name: 'batchNo', type: 'String'}, - {name: 'saleTimeStr', type: 'String'}, - {name: 'hotFlag', type: 'Number'}, - {name: 'orderBy', type: 'Number'}, - {name: 'notSaleOrderBy', type: 'Number'}, - {name: 'dayFlag', type: 'Number'}, - {name: 'showFlag', type: 'Number'}, - {name: 'status', type: 'Number'}, - {name: 'limitProductType', type: 'Number'}, - {name: 'activityId', type: 'Number'} - ] - }, - getCountByStatus:{ - title: "获取各状态数量", - url: '/limitProduct/getCountByStatus', - params: [ - {name: 'hotFlag', type: 'Number'}, - {name: 'saleFlag', type: 'Number'}, - {name: 'showFlag', type: 'Number'}, - {name: 'productName', type: 'String'}, - {name: 'productSkn', type: 'String'} - ] - }, - auditLimitProduct:{ - title: "更改商品状态", - url: '/limitProduct/auditLimitProduct', - params: [ - {name: 'id', type: 'Number'}, - {name: 'showFlag', type: 'Number'}, - {name: 'hotFlag', type: 'Number'}, - {name: 'orderBy', type: 'Number'}, - {name: 'notSaleOrderBy', type: 'Number'} - ] - }, - deleteLimitProduct:{ - title: "删除限购商品", - url: '/limitProduct/deleteLimitProduct', - params: [ - {name: 'id', type: 'Number'} - ] - }, - checkBatchNoExist:{ - title: "检查BatchNo是否存在", - url: '/limitProduct/checkBatchNoExist', - params: [ - {name: 'batchNo', type: 'Number'}, - {name: 'id', type: 'Number'} - ] - }, - checkLimitCodeByBatchNo:{ - title: "根据BatchNo检查限购码是否正确", - url:'/limitCode/checkLimitCodeByBatchNo', - params:[ - {name:"batchNo",type:'Number'}, - {name:"id",type:"Number"} - ] - }, - export:{ - title: "导出", - url: '/batch/export', - params: [ - {name: 'queryConf', type: 'String'}, - {name: 'type', type: 'String'} - ] - }, - checkActivityIdExists:{ - title: "检查活动是否存在", - url:'/DrawlineActivityRest/checkActivityIdExists', - params:[ - {name:"activityId",type:"Number"} - ] - }, - checkActivityIdNoExist:{ - title: "检查活动是否存在", - url:'/limitProduct/checkActivityIdNoExist', - params:[ - {name:"activityId",type:"Number"}, - {name:"id",type:"Number"} - ] - }, - getLimitProduct:{ - title: "根据id获取限购商品", - url: '/limitProduct/getLimitProduct', - params: [ - {name: "id", type: "String"} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/operations.notice.js b/server/interfaces/operations.notice.js deleted file mode 100644 index 9107c49..0000000 --- a/server/interfaces/operations.notice.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 公告管理 - */ - -module.exports={ - namespace:"notice", - apis:{ - getList:{ - title: "获取公告列表", - url: '/notice/getList', - params: [ - {name: 'page', type: 'number'}, - {name: 'size', type: 'number'}, - {name: 'title', type: 'string'}, - {name: 'position', type: 'Number'}, - {name: 'showChannel', type: 'string'} - ] - }, - addNotice:{ - title: "添加公告", - url: '/notice/addNotice', - params: [ - {name: 'title', type: 'string'}, - {name: 'position', type: 'Number'}, - {name: 'showChannels', type: 'string'}, - {name: 'url', type: 'string'}, - {name: 'img', type: 'string'}, - {name: 'startTime', type: 'Number'}, - {name: 'endTime', type: 'Number'} - ] - }, - setStatus:{ - title: "更改公告状态", - url: '/notice/setStatus', - params: [ - {name: 'id', type: 'Number'}, - {name: 'status', type: 'Number'} - ] - }, - updateNotice:{ - title: "更新公告", - url: '/notice/updateNotice', - params: [ - {name: 'id', type: 'Number'}, - {name: 'title', type: 'string'}, - {name: 'position', type: 'Number'}, - {name: 'showChannels', type: 'string'}, - {name: 'url', type: 'string'}, - {name: 'img', type: 'string'}, - {name: 'startTime', type: 'Number'}, - {name: 'endTime', type: 'Number'} - ] - }, - delNotice:{ - title: "删除公告", - url: '/notice/delNotice', - params: [ - {name: 'id', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/operations.salecategory.js b/server/interfaces/operations.salecategory.js deleted file mode 100644 index fde58dd..0000000 --- a/server/interfaces/operations.salecategory.js +++ /dev/null @@ -1,90 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 销售类目 - */ - -module.exports={ - namespace:"salecategory", - apis:{ - querySCList:{ - title: "销售类目列表", - url: '/salesCategory/querySCList', - params: [ - {name: 'state', type: 'string'} - ] - }, - querySCById:{ - title: "根据id获取单个销售类目", - url: '/salesCategory/querySCById', - params:[ - {name: 'categoryId', type: 'number'} - ] - }, - querySCLabelList:{ - title: "标签管理列表数据接口", - url: '/salesCategoryLabel/querySCLabelList', - params: [ - {name: 'categoryId', type: 'string'}, - {name: 'status', type: 'string'} - ] - }, - updateSCLabel:{ - title: "更新标签接口", - url: '/salesCategoryLabel/updateSCLabel', - params: [ - {name: 'labelId', type: 'string'}, - {name: 'labelName', type: 'string'}, - {name: 'categoryId', type: 'string'}, - {name: 'orderBy', type: 'string'}, - {name: 'status', type: 'string'}, - {name: 'id', type: 'string'} - ] - }, - addSC:{ - title: "添加销售类目接口", - url: '/salesCategory/addSC', - params: [ - {name: 'categoryName', type: 'string'}, - {name: 'relationParameter', type: 'string'}, - {name: 'relationUrl', type: 'string'}, - {name: 'parentId', type: 'string'}, - {name: 'orderBy', type: 'string'}, - {name: 'icon', type: 'string'} - ] - }, - updateSC:{ - title: "更新销售类目接口", - url: '/salesCategory/updateSC', - params: [ - {name: 'categoryId', type: 'string'}, - {name: 'categoryName', type: 'string'}, - {name: 'relationParameter', type: 'string'}, - {name: 'relationUrl', type: 'string'}, - {name: 'parentId', type: 'string'}, - {name: 'orderBy', type: 'string'}, - {name: 'icon', type: 'string'}, - {name: 'state', type: 'string'} - ] - }, - updateSCStatus:{ - title: "开关销售类目", - url: '/salesCategory/updateSCStatus', - params: [ - {name: 'categoryId', type: 'string'}, - {name: 'state', type: 'string'} - ] - }, - addSCLabel:{ - title: "批量添加标签接口", - url: '/salesCategoryLabel/addSCLabel', - params: [ - {name: 'labelName', type: 'string'}, - {name: 'categoryId', type: 'string'}, - {name: 'parentId', type: 'string'}, - {name: 'orderBy', type: 'string'}, - {name: 'labelLevel', type: 'string'}, - {name: 'status', type: 'string'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/operations.shopsVersionUpdate.js b/server/interfaces/operations.shopsVersionUpdate.js deleted file mode 100644 index c1390b2..0000000 --- a/server/interfaces/operations.shopsVersionUpdate.js +++ /dev/null @@ -1,46 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 商家端app包上传 - */ - -module.exports={ - namespace:"shopsVersionUpdate", - apis:{ - getAppVersionList:{ - title: "app版本列表", - url: "/AppVersionRest/getAppVersionList", - params: [ - {name: "page", type: "number"}, - {name: "size", type: "number"}, - {name: "appVersion", type: "string"}, - {name: "clientType", type: "string"} - ] - }, - setAppVersion:{ - title: "添加app版本", - url: "/AppVersionRest/setAppVersion", - params: [ - {name: "appVersion", type: "string"}, - {name: "clientType", type: "string"}, - {name: "url", type: "string"}, - {name: "content", type: "string"}, - {name: "status", type: "string"} - ] - }, - delAppVersion:{ - title: "删除app版本", - url: "/AppVersionRest/delAppVersion", - params: [ - {name: "id", type: "number"} - ] - }, - editAppVersion:{ - title: "编辑app版本", - url: "/AppVersionRest/editAppVersion", - params: [ - {name: "id", type: "number"}, - {name: "status", type: "string"} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/operations.staticFile.js b/server/interfaces/operations.staticFile.js deleted file mode 100644 index e0fcede..0000000 --- a/server/interfaces/operations.staticFile.js +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 静态文件管理 - */ - -module.exports={ - namespace:"staticFile", - apis:{ - add:{ - title: "静态文件添加", - url: '/staticFileManage/add', - params: [ - {name: 'fileType', type: 'Number'}, - {name: 'pageTitle', type: 'String'}, - {name: 'keyWord', type: 'String'}, - {name: 'pageDesc', type: 'String'}, - {name: 'content', type: 'String'} - ] - }, - deleteById:{ - title: "静态文件删除", - url: '/staticFileManage/deleteById', - params: [ - {name: 'id', type: 'Number'} - ] - }, - update:{ - title: "静态文件修改", - url: '/staticFileManage/update', - params: [ - {name: 'id', type: 'Number'}, - {name: 'fileType', type: 'Number'}, - {name: 'pageTitle', type: 'String'}, - {name: 'keyWord', type: 'String'}, - {name: 'pageDesc', type: 'String'}, - {name: 'content', type: 'String'} - ] - }, - queryByCondition:{ - title: "静态文件查询", - url: '/staticFileManage/queryByCondition', - params: [ - {name: 'fileType', type: 'Number'}, - {name: 'beginTime', type: 'String'}, - {name: 'endTime', type: 'String'}, - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/operations.subject.js b/server/interfaces/operations.subject.js deleted file mode 100644 index 24719bd..0000000 --- a/server/interfaces/operations.subject.js +++ /dev/null @@ -1,78 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * 专题管理 - */ - -module.exports={ - namespace:"subject", - apis:{ - querySpecialActivityPage:{ - title: "活动列表", - url: '/activity/querySpecialActivityPage', - params: [ - {name: 'page', type: 'number'}, - {name: 'size', type: 'number',default:10}, - {name: 'sort', type: 'string'}, - {name: 'title', type: 'string'}, - {name: 'plateform', type: 'string'}, - {name: 'status', type: 'number'} - ] - }, - addSpecialActivity:{ - title: "添加活动", - url: '/activity/addSpecialActivity', - params: [ - {name: 'sort', type: 'string'}, - {name: 'title', type: 'string'}, - {name: 'plateform', type: 'string'}, - {name: 'promotionName', type: 'string'}, - {name: 'startTime', type: 'number'}, - {name: 'endTime', type: 'number'}, - {name: 'startTime', type: 'number'}, - {name: 'productPoolId', type: 'number'}, - {name: 'coverUrl', type: 'string'}, - {name: 'logoUrl', type: 'string'}, - {name: 'webUrl', type: 'string'}, - {name: 'orderNum', type: 'number'}, - {name: 'yhChannel', type: 'string'}, - {name: 'webCoverUrl', type: 'string'} - ] - }, - updateByPrimaryKey:{ - title: "修改活动", - url: '/activity/updateByPrimaryKey', - params: [ - {name: 'id', type: 'number'}, - {name: 'sort', type: 'string'}, - {name: 'title', type: 'string'}, - {name: 'plateform', type: 'string'}, - {name: 'promotionName', type: 'string'}, - {name: 'startTime', type: 'number'}, - {name: 'endTime', type: 'number'}, - {name: 'startTime', type: 'number'}, - {name: 'productPoolId', type: 'number'}, - {name: 'coverUrl', type: 'string'}, - {name: 'logoUrl', type: 'string'}, - {name: 'webUrl', type: 'string'}, - {name: 'orderNum', type: 'number'}, - {name: 'yhChannel', type: 'string'}, - {name: 'webCoverUrl', type: 'string'} - ] - }, - deleteSpecialActivity:{ - title: "删除活动", - url: '/activity/deleteSpecialActivity', - params: [ - {name: 'id', type: 'number'} - ] - }, - queryBaseProductPoolList:{ - title: "根据名称获取商品池", - url: '/pool/queryBaseProductPoolList', - params: [ - {name: 'poolName', type: 'string'}, - {name: 'idName', type: 'string'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/operations.suggest.js b/server/interfaces/operations.suggest.js deleted file mode 100644 index c3cd4cb..0000000 --- a/server/interfaces/operations.suggest.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * Created by ty on 2016/6/21. - * app意见反馈管理 - */ - -module.exports={ - namespace:"suggest", - apis:{ - getSuggestList:{ - title: "app意见反馈管理列表", - url: '/suggest/suggest/getSuggestList', - params: [ - {name: 'page', type: 'Number', def: '1'}, - {name: 'size', type: 'Number', def: '10'}, - {name: 'uid', type: 'String'},//uid - {name: 'startTime', type: 'String'},//开始时间 - {name: 'endTime', type: 'String'},//结束时间 - {name: 'isHot', type: 'String'},//是否热门(0:不热门,1:热门) - {name: 'status', type: 'String'},//状态(0:未回复,1:已回复,2:已发送) - {name: 'clientType', type: 'String'},//来源 - {name: 'appVersion', type: 'String'},//版本号 - {name: 'replyPersonId', type: 'String'}//反馈人 - ] - }, - replySuggest:{ - title: "回复app意见", - url: '/suggest/suggest/replySuggest', - params: [ - {name: 'id', type: 'String'},//id - {name: 'replyContent', type: 'String'}//回复内容 - ] - }, - setHotSuggest:{ - title: "设置热门/非热门接口", - url: '/suggest/suggest/setHotSuggest', - params: [ - {name: 'id', type: 'String'}, - {name: 'isHot', type: 'Number'} - ] - }, - deleteSuggest:{ - title: "删除app意见", - url: '/suggest/suggest/deleteSuggest', - params: [ - {name: 'id', type: 'String'} - ] - }, - publishSuggest:{ - title: "发送APP意见", - url: '/suggest/suggest/publishSuggest', - params: [ - {name: 'id', type: 'String'} - ] - }, - batchPublishSuggest:{ - title: "批量发送APP意见", - url: '/suggest/suggest/batchPublishSuggest', - params: [ - {name: 'id', type: 'String'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/operations.version.js b/server/interfaces/operations.version.js deleted file mode 100644 index cbb508e..0000000 --- a/server/interfaces/operations.version.js +++ /dev/null @@ -1,46 +0,0 @@ -/** - * Created by ty on 2016/6/23. - * APP版本更新管理 - */ - -module.exports={ - namespace:"version", - apis:{ - appVersionList:{ - title: "APP版本升级提醒列表", - url: '/version/appVersionList', - params: [ - {name: "page", type: "number"} - ] - }, - addAppVersion:{ - title: "新增APP版本提醒", - url: '/version/addAppVersion', - params: [ - {name: "version", type: "string"}, - {name: "clientType", type: "string"}, - {name: "content", type: "string"}, - {name: "url", type: "string"} - ] - }, - editAppVersion:{ - title: "修改APP版本提醒", - url: '/version/editAppVersion', - params: [ - {name: "id", type: "number"}, - {name: "version", type: "string"}, - {name: "clientType", type: "string"}, - {name: "content", type: "string"}, - {name: "url", type: "string"} - ] - }, - publishAppVersion:{ - title: "改变状态", - url: '/version/publishAppVersion', - params: [ - {name: "id", type: "number"}, - {name: "status", type: "number"} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/resource.platform.js b/server/interfaces/resource.platform.js deleted file mode 100644 index e6ccf3e..0000000 --- a/server/interfaces/resource.platform.js +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 平台管理 - */ - -module.exports={ - namespace:"platformManage", - apis:{ - findResPlatforms:{ - title: "资源管理列表", - url: '/resources/findResPlatforms' - }, - addResPlatform:{ - title: "添加平台", - url: '/resources/addResPlatform', - params: [ - {name: 'platformName', type: 'string'}, - {name: 'platformFlag', type: 'string'}, - {name: 'status', type: 'number'} - ] - }, - updateResPlatform:{ - title: "更新平台信息", - url: '/resources/updateResPlatform', - params: [ - {name: 'platformId', type: 'number'}, - {name: 'platformName', type: 'string'}, - {name: 'platformFlag', type: 'string'}, - {name: 'status', type: 'number'} - ] - }, - deleteResPlatform:{ - title: "删除平台", - url: '/resources/deleteResPlatform', - params: [ - {name: 'platformId', type: 'number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/resource.resource.js b/server/interfaces/resource.resource.js deleted file mode 100644 index bcd4af0..0000000 --- a/server/interfaces/resource.resource.js +++ /dev/null @@ -1,110 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 资源管理 - */ - -module.exports={ - namespace:"resourceManage", - apis:{ - queryResource:{ - title: "资源管理列表", - url: "/resources/queryResource", - params: [ - {name: "id", type: "number"}, - {name: "name", type: "string"}, - {name: "sortId", type: "number"}, - {name: "platformId", type: "number"}, - {name: "page", type: "number"} - ] - }, - getResSorts:{ - title: "获取资源分类列表", - url: "/resources/getResSorts" - }, - getResPlatforms:{ - title: "获取平台列表", - url: "/resources/getResPlatforms" - }, - saveResource:{ - title: "添加/修改资源", - url: "/resources/saveResource", - params: [ - {name: "id", type: "number"}, - {name: "name", type: "string"}, - {name: "sortId", type: "number"}, - {name: "platformId", type: "number"}, - {name: "matchCode", type: "string"} - ] - }, - deleteResourceById:{ - title: "根据id删除资源位", - url: "/resources/deleteResourceById", - params: [ - {name: "id", type: "number"} - ] - }, - deleteAllResourceByCode:{ - title: "删除资源位下所有tab", - url: "/resources/deleteAllResourceByCode", - params: [ - {name: "code", type: "string"} - ] - }, - getUrlAction:{ - title: "获取跳转链接", - url: "/resources/getUrlAction" - }, - resContentIndex:{ - title: "根据id获取资源内容", - url: "/resources/resContentIndex", - params: [ - {name: "id", type: "number"} - ] - }, - addResContent:{ - title: "添加资源内容", - url: "/resources/addResContent", - params: [ - {name: "content", type: "string"}, - {name: "data_id", type: "string"}, - {name: "rId", type: "number"} - ] - }, - delResContent:{ - title: "根据id删除资源内容楼层", - url: "/resources/delResContent", - params: [ - {name: "id", type: "number"} - ] - }, - batchCheckCoupons:{ - title: "验证领券码", - url: "/coupon/batchCheckCoupons", - params: [ - {name: "params", type: "string"} - ] - }, - copyResContent:{ - title: "复制资源内容", - url: "/resources/copyResContent", - params: [ - {name: "rId", type: "string"} - ] - }, - updateResPublishTime:{ - title: "更新预发布时间", - url: "/resources/updateResPublishTime", - params: [ - {name: "id", type: "number"}, - {name: "time", type: "string"} - ] - }, - querySpecialActivityByIDs:{ - title: "根据 ids 查询活动", - url: "/activity/querySpecialActivityByIDs", - params: [ - {name: "ids", type: "string"} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/resource.resourceSort.js b/server/interfaces/resource.resourceSort.js deleted file mode 100644 index 504836b..0000000 --- a/server/interfaces/resource.resourceSort.js +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Created by ty on 2016/6/20. - * 资源分类管理 - */ - -module.exports={ - namespace:"resourceSortManage", - apis:{ - resSortIndex:{ - title: "资源分类管理列表", - url: '/resources/resSortIndex' - }, - addResSort:{ - title: "添加资源分类", - url: '/resources/addResSort', - params: [ - {name: 'sortName', type: 'string'}, - {name: 'platformId', type: 'number'}, - {name: 'status', type: 'number'} - ] - }, - updateResSort:{ - title: "修改资源分类", - url: '/resources/updateResSort', - params: [ - {name: 'sortId', type: 'number'}, - {name: 'sortName', type: 'string'}, - {name: 'platformId', type: 'number'}, - {name: 'status', type: 'number'} - ] - }, - deleteResourcesSort:{ - title: "删除资源分类", - url: '/resources/deleteResourcesSort', - params: [ - {name: 'sortId', type: 'number'} - ] - } - } -} \ No newline at end of file diff --git a/server/interfaces/searchWords.index.js b/server/interfaces/searchWords.index.js deleted file mode 100644 index 76749d9..0000000 --- a/server/interfaces/searchWords.index.js +++ /dev/null @@ -1,107 +0,0 @@ -/** - * Created by yoho on 2016/6/20. - * 搜索词 接口定义 - */ - -module.exports = { - namespace: "searchWords", - apis: { - /*************************************搜索词管理*************************************/ - querySearchWords: { - title: "获取所有搜索词数据", - url: '/searchWords/querySearchWords', - params: { - type: {type: Number}, - channelIds: {type: String}, - startTime: {type: String}, - endTime: {type: String}, - content: {type: String}, - status: {type: Number}, - page: {type: Number}, - size: {type: Number} - } - }, - - addSearchWords: { - title: "新增搜索词", - url: '/searchWords/addSearchWords', - params: { - type: {type: Number}, - content: {type: Number}, - channelIds: {type: String}, - url: {type: String}, - startTime: {type: String}, - endTime: {type: String}, - goodsNum: {type: Number}, - sort: {type: Number} - } - }, - - updateSearchWords: { - title: "编辑搜索词", - url: '/searchWords/updateSearchWords', - params: { - id: {type: Number}, - type: {type: Number}, - content: {type: String}, - channelIds: {type: String}, - url: {type: String}, - startTime: {type: String}, - endTime: {type: String}, - goodsNum: {type: Number}, - status: {type: Number}, - sort: {type: Number} - } - }, - - /*************************************品牌热搜词管理*************************************/ - - queryHotBrandList: { - title: "获取所有品牌热搜词数据", - url: '/hotSearchBrand/queryHotBrandList', - params: { - page: {type: Number}, - size: {type: Number}, - brandName: {type: String}, - status: {type: Number} - } - }, - - addHotBrand: { - title: "添加品牌热搜词", - url: '/hotSearchBrand/addHotBrand', - params: { - brandName: {type: String}, - orderBy: {type: Number}, - status: {type: Number} - } - }, - - updateHotBrand: { - title: "编辑品牌热搜词", - url: '/hotSearchBrand/updateHotBrand', - params: { - id: {type: Number}, - brandName: {type: String}, - orderBy: {type: Number}, - status: {type: Number} - } - }, - - delHotBrand: { - title: "删除品牌热搜词", - url: '/hotSearchBrand/delHotBrand', - params: { - id: {type: Number} - } - }, - - queryHotBrand: { - title: "查询单个品牌热搜词", - url: '/hotSearchBrand/queryHotBrand', - params: { - id: {type: Number} - } - } - } -}; \ No newline at end of file diff --git a/server/interfaces/shootMeter.index.js b/server/interfaces/shootMeter.index.js deleted file mode 100644 index d948f4a..0000000 --- a/server/interfaces/shootMeter.index.js +++ /dev/null @@ -1,184 +0,0 @@ -/** - * Created by yoho on 2016/6/20. - * 拍摄复尺 接口定义 - */ - -module.exports = { - namespace: "shootMeter", - apis: { - /*************************************模特管理*************************************/ - queryModelList: { - title: "获取所有模特数据", - url: "/model/queryModelList", - params: { - englishName: {type: String}, - modelName: {type: String}, - status: {type: Number}, - modelType: {type: Number}, - page: {type: Number}, - size: {type: Number} - } - }, - - addModel: { - title: "新增模特", - url: "/model/addModel", - params: { - englishName: {type: String}, - height: {type: Number}, - dressSize: {type: String}, - modelName: {type: String}, - modelType: {type: Number}, - nationality: {type: String}, - status: {type: Number}, - shoeSize: {type: String}, - vitalStatistics: {type: String}, - weight: {type: Number}, - avatar: {type: String}, - modelCard: {type: String} - } - }, - - updateModel: { - title: "编辑模特", - url: "/model/updateModel", - params: { - id: {type: Number}, - englishName: {type: String}, - height: {type: Number}, - dressSize: {type: String}, - modelName: {type: String}, - modelType: {type: Number}, - nationality: {type: String}, - status: {type: Number}, - shoeSize: {type: String}, - vitalStatistics: {type: String}, - weight: {type: Number}, - avatar: {type: String}, - modelCard: {type: String} - } - }, - - delModel: { - title: "删除模特", - url: "/model/delModel", - params: { - id: {type: Number} - } - }, - - /*************************************尺码测量管理*************************************/ - - queryProdSizeList: { - title: "获取所有尺码测量数据", - url: "/productSize/queryProdSizeList", - params: { - page: {type: Number}, - productSkn: {type: Number}, - brandId: {type: Number}, - productSku: {type: Number}, - maxSortId: {type: Number}, - arriveStartTime: {type: Number}, - arriveEndTime: {type: Number}, - isMeasure: {type: String} - } - }, - - saveProdSizeInfo: { - title: "保存尺码测量数据", - url: "/productSize/saveProdSizeInfo", - params: { - productSkn: {type: Number}, - sizeInfoList: {type: String}, - productSizeReferList: {type: String}, - noMeasureIds: {type: String} - } - }, - - getSelectItems: { - title: "获取品牌选项", - url: "/brand/getSelectItems", - params: {} - }, - - /*************************************试穿信息管理*************************************/ - - queryProdExtraList: { - title: "获取所有试穿数据", - url: "/productExtraInfo/queryProdExtraList", - params: { - page: {type: Number}, - size: {type: Number}, - productSkn: {type: Number}, - productSku: {type: Number}, - productName: {type: String} - } - }, - - queryProdExtraInfo: { - title: "获取单个skn对应的试穿信息", - url: "/productExtraInfo/queryProdExtraInfo", - params: { - productSkn: {type: Number} - } - }, - - saveProdExtraInfo: { - title: "添加试穿信息", - url: "/productExtraInfo/saveProdExtraInfo", - params: { - productSkn: {type: Number}, - productModelTry: {type: String} - } - }, - - /*************************************拍摄要求管理*************************************/ - - queryShootRequireList: { - title: "获取所有拍摄要求数据", - url: "/shootRequire/queryShootRequireList", - params: { - page: {type: Number}, - size: {type: Number}, - type: {type: Number}, - status: {type: Number} - } - }, - - saveShootRequire: { - title: "保存,修改,删除拍摄要求", - url: "/shootRequire/saveShootRequire", - params: { - id: {type: Number}, - type: {type: Number}, - status: {type: Number}, - name: {type: String} - } - }, - /************************************产品图片管理*************************************/ - queryProductPhotoList: { - title: "产品图片数据列表", - url: "/productPhoto/queryProductPhotoList", - params: { - page: {type: Number}, - size: {type: Number}, - productSkn: {type: Number}, - productSku: {type: Number}, - productSkc: {type: Number}, - startTime: {type: Number}, - endTime: {type: Number} - } - }, - addProductBatchPhoto: { - title: "添加产品图片", - url: "/productPhoto/addProductBatchPhoto", - params: { - productSkn: {type: Number}, - productSku: {type: Number}, - productSkc: {type: Number}, - ids: {type: String}, - productPhotoAddStrList: {type: String} - } - } - } -}; \ No newline at end of file diff --git a/server/interfaces/shop.shopAdd.js b/server/interfaces/shop.shopAdd.js deleted file mode 100644 index 35caf0f..0000000 --- a/server/interfaces/shop.shopAdd.js +++ /dev/null @@ -1,32 +0,0 @@ -module.exports={ - namespace:"shopAdd", - apis:{ - addShops:{ - title:"添加店铺", - url:"/ShopsRest/addShops", - params:[ - {name:"shopId",type:"Number",default:0}, - {name:"shopName",type:"String"}, - {name:"shopDomain",type:"String"}, - {name:"shopNature",type:"Number"}, - {name:"createPid",type:"Number"}, - {name:"shopsType",type:"Number"}, - {name:"shopLogo",type:"String"}, - {name:"shopIntro",type:"String"}, - {name:"websiteUrl",type:"String"}, - {name:"otherUrl",type:"String"}, - {name:"shopAddress",type:"String"}, - {name:"onCheck",type:"Number"}, - {name:"shopRelation",type:"String"} - ] - }, - - getShopDetailById:{ - title:"店铺详情", - url:"/ShopsRest/getShopDetailById", - params:[ - {name:"shopsId",type:"String"} - ] - } - } -} diff --git a/server/interfaces/shop.shopAdministrator.js b/server/interfaces/shop.shopAdministrator.js deleted file mode 100644 index e97b3aa..0000000 --- a/server/interfaces/shop.shopAdministrator.js +++ /dev/null @@ -1,52 +0,0 @@ -module.exports={ - namespace:"shopAdministrator", - apis:{ - getShopsAdminList:{ - title:"店铺管理员列表", - url:"/ShopsAdminRest/getShopsAdminList", - params:[ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - - delAdminRelation:{ - title:"删除店铺管理员", - url:"/ShopsAdminRest/delAdminRelation", - params:[ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - - addAdminRelation:{ - title:"添加店铺管理员", - url:"/ShopsAdminRest/addAdminRelation", - params:[ - {name:"shopsId",type:"Number"}, - {name:"adminPid",type:"Number"}, - {name:"identity",type:"Number"} - ] - }, - - updateAdminRalation:{ - title:"保存修改店铺管理员", - url:"/ShopsAdminRest/updateAdminRalation", - params:[ - {name:"id",type:"Number"}, - {name:"shopsId",type:"Number"}, - {name:"adminPid",type:"Number"}, - {name:"identity",type:"Number"} - ] - }, - - selectSupplierByBrandId:{ - title:"根据品牌选择供应商", - url:"/supplier/supplier/selectSupplierByBrandId", - params:[ - {name:"brandId",type:"Number"} - ] - }, - } -} - diff --git a/server/interfaces/shop.shopAudit.js b/server/interfaces/shop.shopAudit.js deleted file mode 100644 index 8f14b48..0000000 --- a/server/interfaces/shop.shopAudit.js +++ /dev/null @@ -1,52 +0,0 @@ -module.exports={ - namespace:"shopAudit", - apis:{ - /****************店铺审核**********************/ - getLastCheckShopInfoById:{ - title:"审核店铺详情", - url:"/ShopsCheckRest/getLastCheckShopInfoById", - params:[ - {name:"shopsId",type:"String"} - ] - }, - - checkShopPass:{ - title:"审核通过", - url:"/ShopsRest/checkShopPass", - params: [ - {name:"shopsId",type:"Number"} - ] - }, - - checkReject:{ - title:"驳回", - url:"/ShopsRest/checkReject", - params: [ - {name:"shopsId",type:"Number"} - ] - }, - - /****************店铺装修审核**********************/ - - findAuditShopsDecorator:{ - title:"店铺装修审核列表", - url:"/ShopsDecoratorRest/findAuditShopsDecorator", - params:[ - {name: 'supplierId', type: 'Number'}, - {name: 'brandId', type: 'Number'}, - {name: 'checkStatus', type: 'Number'} - ] - }, - - auditShopsDecorator:{ - title:"店铺装修审核", - url:"/ShopsDecoratorRest/auditShopsDecorator", - params:[ - {name: 'id', type: 'Number'}, - {name: 'checkStatus', type: 'Number'}, - {name: 'comment', type: 'String'} - ] - } - } -} - diff --git a/server/interfaces/shop.shopDecoration.js b/server/interfaces/shop.shopDecoration.js deleted file mode 100644 index 1701192..0000000 --- a/server/interfaces/shop.shopDecoration.js +++ /dev/null @@ -1,71 +0,0 @@ - module.exports={ - namespace:"shopDecoration", - apis:{ - /******************店铺装修列表********************/ - - findShopsDecorator:{ - title:"店铺装修列表", - url:"/ShopsDecoratorRest/findShopsDecorator", - params: [ - {name: 'page', type: 'number'}, - {name: 'size', type: 'number'}, - {name: 'shopsId', type: 'number'}, - {name: 'checkStatus', type: 'number'}, - {name: 'supplierId', type: 'number'}, - {name: 'brandId', type: 'number'} - ] - }, - - closeShops:{ - title:"关店", - url:"/ShopsRest/closeShops", - params: [ - {name:"shopsId",type:"Number"} - ] - }, - - openShops:{ - title:"开店", - url:"/ShopsRest/openShops", - params: [ - {name:"shopsId",type:"Number"} - ] - }, - - /*****************店铺装修详情*********************/ - - findShopsDecoratorDetail:{ - title:"店铺装修详情", - url:"/ShopsDecoratorRest/findShopsDecoratorDetail", - params:[ - {name: 'shopsId', type: 'Number'} - ] - }, - - saveShopsDecorator:{ - title:"店铺装修详情保存", - url:"/ShopsDecoratorRest/saveShopsDecorator", - params:[ - {name: 'shopsId', type: 'Number'} - ] - }, - - findHotProductList:{ - title:"查询热销商品", - url:"/ShopsDecoratorRest/findHotProductList", - params:[ - {name: 'shopsId', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - }, - - findNewProductList:{ - title:"查询最新商品", - url:"/ShopsDecoratorRest/findNewProductList", - params:[ - {name: 'shopsId', type: 'Number'}, - {name: 'size', type: 'Number'} - ] - } - } - } \ No newline at end of file diff --git a/server/interfaces/shop.shopInfo.js b/server/interfaces/shop.shopInfo.js deleted file mode 100644 index c3dd17d..0000000 --- a/server/interfaces/shop.shopInfo.js +++ /dev/null @@ -1,39 +0,0 @@ -module.exports={ - namespace:"shopInfo", - apis:{ - getShopList:{ - title:"店铺列表(公共)", - url:"/ShopsRest/getShopList", - params:[ - {name: 'supplierId', type: 'Number'}, - {name: 'brandId', type: 'Number'}, - {name: 'operationStatus', type: 'Number'}, - {name: 'checkStatus', type: 'Number'}, - {name: 'checkStatusArr', type: 'String'}, - {name: 'size', type: 'Number'}, - {name: 'page', type: 'Number'} - ] - }, - - updateShops:{ - title:"店铺编辑修改保存(公共)", - url:"/ShopsRest/updateShops", - params:[ - {name:"shopsId",type:"Number"}, - {name:"shopName",type:"String"}, - {name:"shopDomain",type:"String"}, - {name:"shopNature",type:"Number"}, - {name:"websiteUrl",type:"String"}, - {name:"otherUrl",type:"String"}, - {name:"shopAddress",type:"String"}, - {name:"createPid",type:"Number"}, - {name:"shopsType",type:"Number"}, - {name:"shopLogo",type:"String"}, - {name:"shopIntro",type:"String"}, - {name:"onCheck",type:"Number"}, - {name:"shopRelation",type:"String"} - ] - } - } -} - diff --git a/server/interfaces/supplier.supplierAdd.js b/server/interfaces/supplier.supplierAdd.js deleted file mode 100644 index 964673d..0000000 --- a/server/interfaces/supplier.supplierAdd.js +++ /dev/null @@ -1,50 +0,0 @@ -module.exports={ - namespace:"supplierAdd", - apis:{ - getCreateSupplierList:{ - title:"创建供应商列表", - url:"/supplier/supplier/getCreateSupplierList", - params:[ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'}, - {name: 'id', type: 'String'}, - {name: 'status', type: 'String'}, - {name: 'timeSort', type: 'String'} - ] - }, - - addSupplier:{ - title:"添加供应商", - url:"/supplier/supplier/addSupplier", - params:[ - {name:"supplierName",type:"String"}, - {name:"supplierCode",type:"String"}, - {name:"foundTime",type:"String"}, - {name:"beginOperateTime",type:"String"}, - {name:"endOperateTime",type:"String"}, - {name:"registeredAddress",type:"String"}, - {name:"legalPerson",type:"String"}, - {name:"legalIdentityCard",type:"String"}, - {name:"registeredCapital",type:"String"}, - {name:"businessLicense",type:"String"}, - {name:"businessLicensePic",type:"String"}, - {name:"taxCertificate",type:"String"}, - {name:"accountOpeningLicense",type:"String"}, - {name:"taxpayerQualificationCertificate",type:"String"}, - {name:"industryLicense",type:"String"}, - {name:"businessRange",type:"String"}, - {name:"contactPhone",type:"String"}, - {name:"contactAddress",type:"String"}, - {name:"linkman",type:"String"}, - {name:"phone",type:"String"}, - {name:"fax",type:"String"}, - {name:"email",type:"String"}, - {name:"url",type:"String"}, - {name:"bankName",type:"String"}, - {name:"bankAccount",type:"String"}, - {name:"operations",type:"String",def: 1}, - {name:"status",type:"String"} - ] - } - } -} diff --git a/server/interfaces/supplier.supplierAudit.js b/server/interfaces/supplier.supplierAudit.js deleted file mode 100644 index fce3a5b..0000000 --- a/server/interfaces/supplier.supplierAudit.js +++ /dev/null @@ -1,33 +0,0 @@ -module.exports={ - namespace:"supplierAudit", - apis:{ - getAuditSupplierList:{ - title:"供应商审核列表", - url:"/supplier/supplier/getAuditSupplierList", - params:[ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'}, - {name: 'id', type: 'String'} - ] - }, - - updateSupplier:{ - title:"审核,冻结供应商", - url:"/supplier/supplier/updateSupplier", - params:[ - {name:"id",type:"String"}, - {name: 'isFreeze', type: 'String'}, - {name:"operations",type:"String"}, - {name:"status",type:"String"} - ] - }, - - getSupplierCheck:{ - title:"根据Id查询审核供应商详情", - url:"/supplier/supplier/getSupplierCheck", - params:[ - {name: 'id', type: 'String'} - ] - } - } -} diff --git a/server/interfaces/supplier.supplierList.js b/server/interfaces/supplier.supplierList.js deleted file mode 100644 index 6d3c505..0000000 --- a/server/interfaces/supplier.supplierList.js +++ /dev/null @@ -1,59 +0,0 @@ -module.exports={ - namespace:"supplierList", - apis:{ - getManageSupplierList:{ - title:"供应商列表列表", - url:"/supplier/supplier/getManageSupplierList", - params:[ - {name: 'page', type: 'Number'}, - {name: 'size', type: 'Number'}, - {name: 'status', type: 'String'}, - {name: 'id', type: 'String'}, - {name:'isFreeze',type:'String'} - ] - }, - - updateSupplier:{ - title:"修改保存供应商", - url:"/supplier/supplier/updateSupplier", - params:[ - {name:"supplierName",type:"String"}, - {name:"supplierCode",type:"String"}, - {name:"foundTime",type:"String"}, - {name:"beginOperateTime",type:"String"}, - {name:"endOperateTime",type:"String"}, - {name:"registeredAddress",type:"String"}, - {name:"legalPerson",type:"String"}, - {name:"legalIdentityCard",type:"String"}, - {name:"registeredCapital",type:"String"}, - {name:"businessLicense",type:"String"}, - {name:"businessLicensePic",type:"String"}, - {name:"taxCertificate",type:"String"}, - {name:"accountOpeningLicense",type:"String"}, - {name:"taxpayerQualificationCertificate",type:"String"}, - {name:"industryLicense",type:"String"}, - {name:"businessRange",type:"String"}, - {name:"contactPhone",type:"String"}, - {name:"contactAddress",type:"String"}, - {name:"linkman",type:"String"}, - {name:"phone",type:"String"}, - {name:"fax",type:"String"}, - {name:"email",type:"String"}, - {name:"url",type:"String"}, - {name:"bankName",type:"String"}, - {name:"bankAccount",type:"String"}, - {name:"operations",type:"String",def: 1}, - {name:"status",type:"String"}, - {name:"id",type:"String"} - ] - }, - - getSupplier:{ - title:"根据Id查询供应商详情", - url:"/supplier/supplier/getSupplier", - params:[ - {name: 'id', type: 'String'} - ] - } - } -} diff --git a/server/libs/App.js b/server/libs/App.js deleted file mode 100644 index 9e6f053..0000000 --- a/server/libs/App.js +++ /dev/null @@ -1,133 +0,0 @@ -var path = require('path'); - -var express = require('express'); -var App = express(); -var bodyParser = require('body-parser'); -var cookieParser = require('cookie-parser'); -var multer = require('connect-multiparty'); -var Glob = require("glob"); - -var Utils=require('./Utils'); - -var Router = express.Router(); - - - -module.exports = function (apiCofig) { - - // 记录下当前文档的路径 - //global.apps=apiCofig.apps; - var Register={}; - if(apiCofig.EnvConst){ - for(var name in apiCofig.EnvConst){ - Register[name]=apiCofig.EnvConst[name]; - if(typeof Register[name]=="object"){ - for(var key in Register[name]){ - if(typeof Register[name][key]==="string"){ - Register[name][key]=Utils.template(Register[name][key],Register) - } - } - } - } - } - App.set("Register",Register); - - - /*日志配置和Console*/ - var Console = require("./Console"); - Console(apiCofig.log); - console.info("YOHO"); - - global.Register=App.get("Register"); - - /*接口层*/ - var Interfacer = require("./Interfacer"); - var InterRegisters = new Interfacer(apiCofig,App); - apiCofig.MVC.Interfacer && - Glob.sync(apiCofig.MVC.Interfacer).forEach(function (src) { - InterRegisters.register(require(src)); - }); - - /*控制器层*/ - var Controller = require("./Controller"); - var ContRegisters = new Controller(InterRegisters); - apiCofig.MVC.Controller && - Glob.sync(apiCofig.MVC.Controller).forEach(function (src) { - require(src)(ContRegisters); - }); - - /*过滤器*/ - var Filter = require("./Filter"); - var FilterRegisters = new Filter(InterRegisters); - apiCofig.MVC.filters && - Glob.sync(apiCofig.MVC.filters).forEach(function (src) { - require(src)(FilterRegisters); - }); - - /*View 设置*/ - var Viewer=require("./Viewer"); - var ViewerRegisters=new Viewer(App, apiCofig.MVC.views); - - - var template = require('art-template'); - template.config('base', ''); - template.config('extname', '.html'); - template.config('openTag', '<%'); - template.config('closeTag', '%>'); - - App.engine('.html', template.__express); - App.set('view engine', 'html'); - - - /*内置中间件 对Http请求解析*/ - App.use(bodyParser.json()); - App.use(bodyParser.urlencoded({extended: true})); - App.use(cookieParser()); - App.use(multer()); - - App.use("/" + apiCofig.static.name, express.static(apiCofig.static.value)); - - /*前置中間件*/ - apiCofig.useToEntry && apiCofig.useToEntry(App); - - App.use(function(req, res, next){ - ViewerRegisters.overrideRes.call(res); - next(); - }); - - - /*路由控制*/ - var KLH = function (obj, method, guid) { - return function (req, res) { - obj[method].call(obj, guid, req, res); - } - }; - ContRegisters.routers.forEach(function (router) { - var ROU = Router.route([router.url]); - var args = FilterRegisters.use(router.url, router.method). - concat(KLH(ContRegisters, "emit", router.guid)); - ROU[router.method].apply(ROU, args); - }); - - App.use(apiCofig.baseUrl, Router); - - App.use(function (req, res, next) { - var err = new Error('Not Found'); - err.status = 404; - // console.error(err.message); - next(err); - }); - /*後置中间间*/ - apiCofig.useToOuter && apiCofig.useToOuter(App, ContRegisters); - - App.use(function (req, res, next) { - res.end(); - }); - - var server = App.listen(apiCofig.port, function () { - var host = server.address().address; - var port = server.address().port; - console.log("HOST:"+host+"PORT:"+port); - }); - -}; \ No newline at end of file diff --git a/server/libs/Console.js b/server/libs/Console.js deleted file mode 100644 index dff4cda..0000000 --- a/server/libs/Console.js +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 重写console函数 - * logsConfig 包含日志相关设置 - logsConfig:{ - consoles:["log"]//选择启动console的选择方法, - src:""//文件目录 - } - * @type {exports} - */ - -var _ = require('lodash'); -var Logger = require('./Logger'); - - -module.exports = function (logsConfig) { - //生成日志文件 - var loggers = Logger(logsConfig); - /*重写console方法*/ - var Consoles = ['log', 'info', 'warn', 'error', 'debug']; - - var conConsnt={ - log : console.log, - info : console.info, - warn : console.warn, - error : console.error, - debug : console.debug - }; - - var JsonToString=function(str){ - return typeof str === "string" ? str : JSON.stringify(str); - } - _.forEach(Consoles, function (v) { - if(["log","warn"].indexOf(v)>-1){ - console[v] = function () { - var args = [].slice.call(arguments, 0),content=''; - if(args.length===1){ - content=JsonToString(args[0]); - }else{ - var name=args.shift(); - content=name+"\n" - args.forEach(function(item,index){ - content+="---["+index+"]---"+JsonToString(item)+"\n"; - }); - - } - args[0] = "["+v+"]"+content; - conConsnt[v].apply(console, args); - }; - }else{ - console[v] = function () { - loggers[v][v].apply(loggers[v],arguments); - }; - } - }); - function difference(array1, array2) { - return array1.filter(function (item, value) { - return !(array2.indexOf(item) > -1); - }); - } - - //过滤出index中不需要打印或生成日志的输出 - logsConfig.consoles = logsConfig.consoles || []; - if (logsConfig.consoles) { - var invalidCons = difference(Consoles, logsConfig.consoles); - invalidCons.forEach(function (f) { - console[f] = function () { - }; - return false; - }); - return false; - } -}; diff --git a/server/libs/Controller.js b/server/libs/Controller.js deleted file mode 100644 index ecdcdbc..0000000 --- a/server/libs/Controller.js +++ /dev/null @@ -1,157 +0,0 @@ -var path=require('path'); -var util = require('util'); -var md5 = require('md5'); -var Emitter=require('events'); -/*重写控制器*/ -var _ = require('lodash'); -var fs=require('fs'); -var config = JSON.parse(fs.readFileSync('./package.json').toString()); - - -var toString= Object.prototype.toString; - -var Controller=function(interfaces){ - this.interfaces=interfaces; - this.routers=[]; - - Emitter.call(this); -}; -util.inherits(Controller,Emitter); - -/*解析 req 规则*/ -Controller.prototype.__parseReq=function(req){ - - return{ - defRes:req.xhr?"json":"render" - } -} - -Controller.prototype.__define=function(method,router,view,apis,callback,clientmodel){ - var me=this,isObj=false; - if(typeof apis=="string"){ - apis=[apis]; - isObj=true; - } - /*参数验证*/ - var guid=md5(router+":"+method) - - me.on(guid,function(){ - var args=[].slice.call(arguments, 0); - var req = args[0], res = args[1]; - - - - var local = { __session__: req.session, $extend: {} }; - /*如果接口不存在 就实现express 原来的方法*/ - if(!apis.length){ - var model={}; - if(callback){ - model=callback.apply(local, args); - } - if(view){ - res.render(view,local,me.client(res,view,model,clientmodel)); - } - - return; - } - args.push(function (err, interfaces, names){ - if (err) { - res.json({code:500,message:"接口异常"}); - return; - } - //callback - var model={}; - if (typeof callback == "function") { - model=callback.apply(local,interfaces.concat(args)); - }else{ - interfaces.forEach(function(item,index){ - if(isObj){ - model=item; - }else{ - model[names[index]]=item; - } - }); - } - if(res.__complete__){ - return; - } - if (model&&model.readable) { - model.pipe(res); - }else if (view && method == "get" && !req.xhr) { - res.render(view, local, me.client(res, view, model,clientmodel)); - } else { - res.json(model); - } - }); - //调用接口获取数据 - me.interfaces.require.apply(me.interfaces,[apis].concat(args)); - }); - - me.routers.push({ - guid:guid, - url:router, - method:method - }); - //console.log(me.routers); -} -Controller.prototype.vue=function(router,views,apis,callback){ - var me=this; - if(!(typeof views=="string"&&views.indexOf('.')>-1)){ - callback=apis; - apis=views; - views=null; - } - if(typeof apis =='function'){ - callback=apis; - apis=[]; - } - apis=apis||[]; - me.__define("get",router,views,apis,callback,"vue"); -} -Controller.prototype.get=function(router,views,apis,callback){ - var me=this; - if(!(typeof views=="string"&&views.indexOf('.')>-1)){ - callback=apis; - apis=views; - views=null; - } - if(typeof apis =='function'){ - callback=apis; - apis=[]; - } - apis=apis||[]; - me.__define("get",router,views,apis,callback,"jquery"); -} -Controller.prototype.post=function(router,apis,callback){ - var me=this; - if(typeof apis=="function"){ - callback=apis; - apis=[]; - } - me.__define("post",router,null,apis,callback); -} -Controller.prototype.client=function(res,views,model,clientmodel){ - return function(err, html){ - var ViewModel=""; - if(!model){ - model={}; - } - ViewModel="<script>var ViewModel="+JSON.stringify(model)+";</script>"; - var src=""; - - - if(process.env.NODE_ENV==="production"){ - src="http://cdn.yoho.cn/"+config.name+"/"+config.version; - html=html.replace(/\/static\/index\.min\.css/g,function($1){ - return src+"/index.min.css"; - }) - }else{ - src="/static"; - } - var script=['<script type="text/javascript" src="'+src+'/'+clientmodel+'/libs.js"></script>', - '<script type="text/javascript" src="'+src+'/'+clientmodel+'/'+ views+'.js"></script>']; - res.send(html+ViewModel+script.join('')); - } -} - -module.exports= Controller; diff --git a/server/libs/Filter.js b/server/libs/Filter.js deleted file mode 100644 index 53672fd..0000000 --- a/server/libs/Filter.js +++ /dev/null @@ -1,68 +0,0 @@ -var path=require('path'); -var util = require('util'); -var md5 = require('md5'); -var Emitter = require('events'); - -var Match = require("./Match.js"); - -var Filter=function(interfaces,controllers){ - this.rules=[]; - this.interfaces=interfaces; - this.controllers=controllers; - Emitter.call(this); -}; -util.inherits(Filter,Emitter); - -Filter.prototype.define = function(router,method,apis,callback) { - var me=this,guid=md5(router+":"+method); - if (typeof apis == "string") { - apis = [apis]; - } - if(typeof apis=="function"){ - callback=apis; - apis=[]; - } - - me.rules.push({ - guid:guid, - router:router, - method:method - }); - - me.on(guid,function(){ - var args=[].slice.call(arguments, 0); - var req=args[0],res=args[1]; - if(!apis.length){ - return callback.apply({},args); - } - var fn = function (err, interfaces, names) { - callback.apply({}, interfaces.concat(args)); - }; - me.interfaces.require.apply(me.interfaces,[apis, req, res, fn]); - }); -}; -Filter.prototype.rules = function (rules) { - -}; -Filter.prototype.use=function(router,method){ - var me = this, rules = [], func = []; - rules = me.rules.filter(function (rule, index){ - if (typeof rule.method == "string") { - rule.method = [rule.method]; - } - return Match(rule.router,router) - && !(rule.method.indexOf(method) == -1); - }); - rules.forEach(function(rule){ - func.push(function (req, res, next){ - me.emit(rule.guid,req,res,next); - }); - }); - return func; -} - - - - -module.exports= Filter; - diff --git a/server/libs/Interfacer.js b/server/libs/Interfacer.js deleted file mode 100644 index 0173c3e..0000000 --- a/server/libs/Interfacer.js +++ /dev/null @@ -1,393 +0,0 @@ -var util = require('util'); -var Emitter = require('events'); -var Request = require('request'); -var async = require('async'); -/*接口*/ -var _ = require('lodash'); - -var Utils = require('./Utils'); - - -var Interfacer = function (config, app) { - this.config = config; - this.CONSTS = app.get("Register"); - this.config.domain = this.config.domain || app.get("Register").domain; - this.apis = {}; - Emitter.call(this); -}; - -util.inherits(Interfacer, Emitter); - -Interfacer.prototype.register = function (mos) { - var me = this, name = mos.namespace; - if (!name) { - console.info(" Interfacer name can not empty"); - } - for (var key in mos.apis) { - var name_key = name + "_" + key; - if (me.isExisted(name_key)) { - console.info("can not add repeat Interfacer key,please checkout"); - } - /*需要进行验证判断*/ - me.apis[name_key] = mos.apis[key]; - } -}; - -Interfacer.prototype.isExisted = function (key) { - return !!this.apis[key]; -}; -Interfacer.prototype.getInterfacerByNameSpace = function (namespace) { - var me = this; - if (!namespace) return {}; - var apis = {}, len = namespace.length; - for (var key in me.apis) { - if (key.slice(0, len + 1) === namespace + "_") { - var name = key.slice(len + 1); - if (typeof me.apis[key] !== "function") { - apis[name] = me.apis[key]; - } - } - } - return apis; -} - -function __getArgs(str) { - var arr = str.toString().match(/^function\s*[^\(]*\(\s*([^\)]*)\)/m)[1].split(','); - return (arr.length == 1 && arr[0] == "")?[]:arr; -} - -function __requestApi(config, apiOpt, req, callback) { - var me = this; - if (typeof apiOpt == "function") { - - var args = __getArgs(apiOpt), o = {}; - if (args.length > 2) { - args.slice(2).map(function (namespace) { - namespace = _.trim(namespace); - o[namespace] = {}; - var apis = me.getInterfacerByNameSpace(namespace); - for (var action in apis) { - o[namespace][action] = (function (api, config, consts) { - var intermo = new Interfacer.create(api); - return function () { - var args = [].slice.call(arguments, 0), params = {}; - intermo.apiOpt = api; - intermo.config = { - config: config, - consts: consts - }; - - if (args.length === 1 && _.isPlainObject(args[0])) { - intermo.req.param(args[0]); - } else { - api.params = api.params || {}; - var os = Object.keys(api.params); - args.forEach(function (value, i) { - params[os[i]] = value; - }); - intermo.req.param(params); - } - if (!this.queue) { - this.queue = []; - } - this.queue.push(intermo); - this.__proto__ = new queue(); - return this; - }; - })(apis[action], config, me.CONSTS); - } - }); - } - var fns = []; - for (var i in o) { - fns.push(o[i]); - } - //return apiOpt.call(0, req, function (err, result) { - // req._yoheaders = req._yoheaders; - // return callback(null, result); - //}); - return apiOpt.apply(0, [req, function (err, result) { - req._yoheaders = req._yoheaders; - return callback(null, result); - }].concat(fns)); - } - - var options = __requestOption(req, apiOpt, config, me.CONSTS); - - Request(options, function (error, response, body) { - var _err_ = new Error(); - if (error) { - console.info("Error [request"+options.url+"]:" + options.title); - console.error(error); - return callback(error, null); - } - try { - if (response && response.statusCode === 200) { - var obj = JSON.parse(body) - if (!(typeof obj == "object")) { - _err_.message = "Error[json parse@" + options.title + "--"+options.url+"]:" + body; - console.info(_err_.message); - console.error(_err_); - return callback(_err_, null); - } - } else { - _err_.message = "Error[response state @" + options.title + "--"+options.url+"]:" + response; - console.info(_err_.message); - console.error(_err_); - return callback(_err_, null); - } - - } catch (err) { - console.info("Error[response to json @" + options.title + "--"+options.url+"]"); - console.info(response); - console.error(err); - return callback(err, null); - } - return callback(null, JSON.parse(body)); - }); -}; - -function __requestOption(req, apiOpt, config, consts) { - var method = (apiOpt.method || "POST").toLocaleUpperCase(); - var data = {}; - if (apiOpt.params && (_.isArray(apiOpt.params) || _.isPlainObject(apiOpt.params))) { - if (_.isArray(apiOpt.params)) { - //兼容 yo之前的模式 后期废弃 - apiOpt.params.forEach(function (param) { - var name = param.name; - if (param.default) { - data[name] = param.default; - } - if (req.param(name)) { - if (param.type.toUpperCase() == "NUMBER") { - data[name] = Number(req.param(name)); - } else { - data[name] = String(req.param(name)); - } - } - }); - } else - if (_.isPlainObject(apiOpt.params)) { - for (var name in apiOpt.params) { - if (req.param("@" + name)) { - continue; - } - var param = apiOpt.params[name]; - if (param.default) { - data[name] = param.type(param.default); - } - if (req.param(name)) { - data[name] = param.type(req.param(name)); - } - } - } - } - var options = { method: method }; - options.title = apiOpt.title || ''; - options.outobj = apiOpt.outobj || ''; - if (options.method == "GET") { - apiOpt.query = true; - } - - if (/^https{0,1}:\/\//g.test(apiOpt.url)) { - options.url = apiOpt.url; - } else { - options.url = (apiOpt.domain || config.domain) + apiOpt.url; - } - if (/\{\{.*\}\}/.test(options.url)) { - var _qs = {}; - if (apiOpt.query) { - _qs = data; - } - var a = _.merge(consts, _qs); - options.url=Utils.template(options.url, a); - } - - if (apiOpt.form) { - if (typeof apiOpt.form === "string") { - options.form = Utils.template(apiOpt.form, data); - } else if (_.isPlainObject(apiOpt.form)) { - options.form = {}; - for (var i in apiOpt.form) { - options.form[i] = Utils.template(apiOpt.form[i], data) - } - } - options.headers = { - 'Content-Type' : 'application/x-www-form-urlencoded' - } - } else if (apiOpt.query) { - //不做任何事 - } else { - options.body = JSON.stringify(data); - options.headers = { - 'Content-Type' : 'application/json' - } - } - if (apiOpt.headers && _.isPlainObject(apiOpt.headers)) { - options.headers = {}; - for (var name in apiOpt.headers) { - var param = apiOpt.headers[name]; - if (req.param("@" + name)) { - if (param.default) { - options.headers[name] = param.type(param.default); - } - if (req.param("@" + name)) { - options.headers[name] = param.type(req.param("@" + name)); - } - } - } - } - if (req._yoheaders) { - options.headers = _.merge(options.headers, req._yoheaders); - } - console.log("*************************************"); - console.log("Http", options.url, data, options.headers); - console.log("*************************************"); - return options; -} - -/* -* {mos} 接口key 数组 比如[key1,key2] 后面可能要兼容字符串 比如 传key1 -*/ -Interfacer.prototype.require = function (mos, req, res, cb) { - var me = this, funcs = [], names = [], errName = []; - - mos.forEach(function (name) { - - if (me.apis.hasOwnProperty(name)) { - names.push(name); - if (me.config.mock) { - funcs.push(me.apis[name].output); - } else { - funcs.push(function (callback) { - __requestApi.call(me, me.config, me.apis[name], req, callback); - }); - } - } else { - console.error(name+"不存在"); - errName.push(name); - } - }); - - if (funcs.length != mos.length) { - var err = new Error(); - err.message = "某个" + errName.join("->") + " 可能不存在!"; - cb(err, funcs, names); - return; - } - if (me.config.mock) { - cb(null, funcs, names); - return; - } - async.parallel(funcs, function (err, results) { - if (err) { - console.info("Async Error"); - console.error(err); - console.error(results); - return cb(err, results, names); - } - return cb(null, results, names); - }); -}; - -Interfacer.create = function (apis) { - return { - req: { - __params__: null, - param: function (value) { - if (typeof value == "object") { - this.__params__ = value; - } else { - return this.__params__[value]; - } - } - }, - apiOpt: null, - config: {}, - - error: function () { - - } - } -} -function queue() { } -queue.prototype = { - done: function (success, fail) { - var that = this; - if (typeof success !== 'function') return; - var len = that.queue.length, watchlen = { len: len }; - var args = new Array(3); - var wlen=Object.defineProperty({}, 'len', { - value: len, - writable: true, - enumerable: false, - configurable: true - }); - for (var i = 0; i < len; i++) { - (function (queue,args) { - var options = __requestOption(queue.req, queue.apiOpt, queue.config.config, queue.config.consts); - __sendRequest(options, success, fail, wlen, i,args); - })(this.queue[i],args); - } - that.queue = null; - //var options = __requestOption(this.req, this.apiOpt); - //this.__sendRequest(options, success, fail); - return this; - }, - -} -function __sendRequest(options, success, fail,wlen,i,args) { - Request(options, function (error, response, body) { - if (!wlen.len) { - return; - } - var _err_ = new Error(), obj; - if (error) { - console.info("Error [request"+options.url+"]:" + options.title); - console.error(error); - wlen.len = 0; - fail && fail(error); - return; - } - try { - if (response && (response.statusCode === 200||response.statusCode === 302)) { - if (!options.outobj) { - obj = JSON.parse(body) - if (!(typeof obj == "object")) { - _err_.message = "Error[json parse@" + options.title + "--"+options.url+"]:" + body; - console.info(_err_.message); - console.error(_err_); - wlen.len = 0; - fail && fail(_err_); - return; - } - } else { - obj = options.outobj.toLocaleUpperCase().indexOf("BODY")>-1?body:response; - } - } else { - _err_.message = "Error[response state @" + options.title + "--"+options.url+"]:" + response.statusCode; - console.info(_err_.message); - console.error(_err_); - wlen.len = 0; - fail && fail(_err_); - return; - } - - } catch (err) { - console.info("Error[response to json @" + options.title + "--"+options.url+"]"); - console.info(response); - console.error(err); - wlen.len = 0; - fail && fail(err); - return; - } - args[i]=obj; - wlen.len--; - if (!wlen.len) { - success && success.apply(0, args) - } - return; - }); -} - -module.exports = Interfacer; \ No newline at end of file diff --git a/server/libs/Logger.js b/server/libs/Logger.js deleted file mode 100644 index 31938e9..0000000 --- a/server/libs/Logger.js +++ /dev/null @@ -1,97 +0,0 @@ -/** - * 重写日志生成 - * @type {exports} - */ -var winston = require('winston'); -var _ = require('lodash'); -var mkdirp = require('mkdirp'); -var _path = require('path'); - -/** - * 日志配置 - * @type {Object} - */ -var logConfig = {}; -var log = function (name) { - var flag = false; - if (name == 'error') { - flag = true; - } - logConfig = { - file: name + '.log', - level: name, - trans: { - Console: { - handleExceptions: flag, - colorize: 'all', - prettyPrint: true - }, - File: { - filename: "", - maxsize: 50 * 1024 * 1024, - handleExceptions: flag - }, - exitOnError: false - } - }; - return logConfig; -}; -/** - * 配置日志 - * @param {String} path 路径 - * @param {String} level 日志级别 - * @param {Object} transConfig 配置项 - * @return {Object} 日志 - */ -function configLogger(path, level, transConfig) { - var trans = [], config = {}, consoleOpt, fileOpt; - //配置输出控制台的日志 - if (transConfig && transConfig.Console) { - consoleOpt = transConfig.Console; - trans.push(new (winston.transports.Console)(consoleOpt)); - } - //配置写文件的日志 - if (path) { - transConfig.File.filename = path; - fileOpt = transConfig.File; - trans.push(new (winston.transports.File)(fileOpt)); - } - //退出错误配置,进行设置 - config.exitOnError = transConfig.exitOnError; - //等级 - config.level = level; - config.transports = trans; - //根据配置参数,实例化Winston - var logger = new (winston.Logger)(config); - return logger; -} -/** - * 生成文件路径 - * @param {String} logsConfig 文件路径 - * @return {Object} 一组日志配置 - */ -function init(logsConfig) { - //创建日志目录,路径不存在 - var path = logsConfig.src; - if (!path) { - console.error('path can not be null!'); - } - //创建目录 - try { - mkdirp.sync(path); - } catch (err) { - console.error(err); - path = false; - } - var loggers = {}; - var config = {}; - _.forEach(logsConfig.consoles, function (v, k) { - config[v] = log(v); - }); - _.forEach(config, function (v, k) { - var pathfile = path ? _path.join(path, v.file) : false; - loggers[k] = configLogger(pathfile, v.level, v.trans); - }); - return loggers; -} -module.exports = init; diff --git a/server/libs/Match.js b/server/libs/Match.js deleted file mode 100644 index 2959a30..0000000 --- a/server/libs/Match.js +++ /dev/null @@ -1,87 +0,0 @@ -function Match(pattern,str) { - var step='/'; - var keyReg=new RegExp('().*{}+?[]^$\\!','g'); - - if(typeof pattern!="string"){ - throw "pattern 为字符串"; - } - pattern=pattern.trim(); - - patterns=pattern.replace(/^\//,'').split(step); - compile = str.replace(/^\//, '').split(step); - - if(patterns.indexOf("**")>-1){ - var len=compile.length-patterns.length; - var ind=patterns.indexOf("**"); - patterns.splice(ind,1); - compile.splice(ind,len+1); - } - var result=""; - - patterns=patterns.map(function(rule){ - var chat=[],start=false,end=false; - - for (var i = 0, len = rule.length, c - ; (i < len) && (c = rule.charAt(i)) - ; i++) { - switch (c) { - case '!':chat.push("!");break; - case '.':chat.push(".");break; - case '*':chat.push("*");break; - case '?':chat.push("?");break; - case '+':chat.push("+");break; - case '@':chat.push("{1}");break; - case '(':start=true;result+=c;break; - case ')':end=true;result+=c;if(start&&end&&chat.length>0){ - var r=chat.pop(); - if(r==='!'){ - result="(?!"+result+").*"; - }else{ - result+=r; - } - start=false,end=false; - };break; - default: - if(chat.length&&!start){ - while(r=chat.shift()){ - if(r=='.'){ - result+="\\."; - }else if(r==='!'){ - result+="[^"+c+"]"; - c=""; - }else{ - result+="[^.]"+r; - } - } - start=false,end=false; - } - result+=c; - - } - } - if(chat.length){ - while(r=chat.shift()){ - if(r=='.'){ - result+="\\."; - }else{ - result+="[^.]"+r; - } - } - start=false,end=false; - } - return "^"+result+"$"; - }); - var isSuc=patterns.every(function(rule,index){ - var re=new RegExp(rule,"g"),str=""; - if(index==patterns.length-1){ - str=compile.join('/'); - }else{ - str=compile.shift(); - } - return re.test(str) - }); - return isSuc; -} - - -module.exports= Match; \ No newline at end of file diff --git a/server/libs/Mock.js b/server/libs/Mock.js deleted file mode 100644 index 3a096e9..0000000 --- a/server/libs/Mock.js +++ /dev/null @@ -1 +0,0 @@ -/*桩数据规则*/ \ No newline at end of file diff --git a/server/libs/Utils.js b/server/libs/Utils.js deleted file mode 100644 index 5bee271..0000000 --- a/server/libs/Utils.js +++ /dev/null @@ -1,24 +0,0 @@ - var Utils={ - template: function() { - var args = arguments, - result; - if (args.length > 0) { - if (typeof args[0] === "string") { - result = args[0]; - if (args.length == 2 && typeof args[1] == "object") { - for (var key in args[1]) { - if (args[1][key] != undefined) { - var regkey = ((+key) == (+key)) ? "[" + key + "]" : key; - var reg = new RegExp("({{" + regkey + "}})", "g"); - result = result.replace(reg, args[1][key]); - } - } - } - var reg = new RegExp("({{.*}})", "g"); - result = result.replace(reg, ''); - } - } - return result; - } - } - module.exports=Utils; diff --git a/server/libs/Validate.js b/server/libs/Validate.js deleted file mode 100644 index 213930a..0000000 --- a/server/libs/Validate.js +++ /dev/null @@ -1,3 +0,0 @@ -/* 验证JS*/ -一期定下规则 -二期实现功能 \ No newline at end of file diff --git a/server/libs/Viewer.js b/server/libs/Viewer.js deleted file mode 100644 index 6faf1b6..0000000 --- a/server/libs/Viewer.js +++ /dev/null @@ -1,115 +0,0 @@ -var fs = require('fs'); -var path=require('path'); -var util = require('util'); -var md5 = require('md5'); -var Emitter=require('events'); - -var http = require("http"); -var response = http.ServerResponse.prototype - -var _ = require('lodash'); -/*重写控制器*/ - - -var Viewer=function(app,views){ - this.overrideExp(app, views); -}; - -Viewer.prototype.overrideExp=function(app, viewsrc){ - app.render=(function(render){ - return function(view, options, callback) { - if(typeof options=="function"){ - callback=options; - options={}; - } - var model={}; - for(var name in options){ - if (/^__\w+__$/.test(name)) { - var key = name.replace(/^__|__$/g, ''); - model._locals = model._locals || {}; - model._locals[key] = options[name]; - } else if (/^\$extend$/.test(name)) { - model = _.assign(model,options[name]); - } - else if (name !== "_locals") { - model[name]=options[name]; - } - } - - var views=view.split('.'); - var _module=views.shift(); - var filePath= viewsrc.replace("0", _module).replace("1", views.join('/')) //path.resolve(global.apps,_module,"views/"+views.join('/')); - return render.call(this, filePath, model,callback);//callback - }; - })(app.render); -}, -Viewer.prototype.overrideRes=function(){ - var me=this; - ["download","end","json","jsonp","links","location","redirect","render","send"].forEach(function(name){ - var key=name.replace(/\w/,function(a){return "my"+a.toUpperCase();}) - me[key]=(function(me,name){ - return function (){ - var args=[].slice.call(arguments); - me.__complete__=true; - me[name].apply(me,args); - } - })(me,name); - }); -} - - - - - -//var __parsefile = function(fileKey,filePath,dataModel,callback){ -// var me=this,cache=this.cache; -// /*判断catch 是否存在*/ -// var template = cache[fileKey]; -// if(template){ -// return callback(null,template(dataModel)) -// } -// /*如果catch不存在就去读取 file*/ -// fs.readFile(filePath, 'utf8', function(err, str){ -// if(err){ -// return callback(err); -// } -// /*需要排除<!--{{}}-->*/ -// if(/\{\{>[^}]*\}\}/g.test(str)){ -// str=__parseLayout(filePath,str); -// } -// template =me.tempEngine.compile(str); -// cache[fileKey]=template; -// try{ -// var res = template(dataModel); -// /*注册*/ -// return callback(null,res); -// } -// catch(err){ -// err.message = filePath + ': ' + err.message; -// return callback(null,err.message); -// } -// }); -//} - -//var __parseLayout=function(form,str){ -// var layouts=str.match(/\{\{>[^}]*\}\}/g); -// return str.replace(/\{\{>[^}]*\}\}/g,function($0){ -// var name=path.resolve(path.dirname(form),$0.match(/\{\{>\s*([^}]*)\s*\}\}/m)[1].replace(/\s/g,'')+".html"); -// var html=fs.readFileSync(name,'utf8'); -// if(/\{\{>[^}]*\}\}/g.test(html)){ -// html=__parseLayout(name,html); -// } -// return html; -// }); - -//} - -//Viewer.prototype.overrideEngine=function(filepath, options, callback){ -// var me=this,cache=this.cache; -// /*每一个文件对应一个Key*/ -// var fileKey=md5(filepath),args=[].slice.call(arguments, 0); -// return __parsefile.apply(this,[fileKey].concat(args)); -//} - - -module.exports= Viewer; \ No newline at end of file diff --git a/server/mid/grayrouter.js b/server/mid/grayrouter.js deleted file mode 100644 index 4f6a07e..0000000 --- a/server/mid/grayrouter.js +++ /dev/null @@ -1,67 +0,0 @@ -var request = require("request"); -var _ = require('lodash'); -var md5=require("md5"); -var fs=require("fs"); - -function addFiles(req) { - var body = {}; - _.forEach(req.files, function (v, k) { - body[k] = fs.createReadStream(v.path); - }); - _.merge(body, req.body); - return body; -} -module.exports=function(controllers){ - var Iaccount=global.Register.system; - return function(err,req,res,next){ - console.log(err); - console.log("req.originalUrl:"+req.originalUrl) - if(err.status=="404"){ - var method = req.method.toLowerCase(); - var path = req.route?req.route.path:''; - var callUrl = Iaccount.url + req.originalUrl; - //老系统调用地址 - var options = { - method:method, - url:callUrl, - timeout:Iaccount.timeout, - headers: req.headers, - useQuerystring:true, - form:req.body - } - - //删除提交内容长度,代理会改变长度 - delete options.headers['content-length']; - delete options.headers["accept-encoding"]; - //设置代理host - options.headers['host'] = Iaccount.url.replace('http://',''); - // console.log(options); - if(!req.session.gray) { - console.log('warn','grayroute: cookie missed'); - } else { - options.headers['cookie'] = req.session.gray; - } - if(req.files && _.keys(req.files).length>0) { - options.formData = addFiles(req); - delete options.form; - } - // options.headers['cookie'] = "PHPSESSID=534mceh595kgt0jsrpgjdvc7b6; path=/; domain=.yohobuy.com"; - console.log('info','grayroute: request options: %j',options,{}); - console.log("代理:",options); - //发起代理请求 - request(options).pipe(res); - }else{ - request({ - method:'GET', - url: Iaccount.url + Iaccount.sessionKeep, - headers: { - 'Cookie':req.session.gray - } - },function(err,res,body){ - var code = res?res.statusCode:'no response'; - console.log('info','grayroute: session keep status:'+code); - }); - next(); - } - } -} \ No newline at end of file diff --git a/server/package.json b/server/package.json deleted file mode 100644 index c5286a8..0000000 --- a/server/package.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"yohobuy-portal-fe","version":"4.6.4","description":"Construction of the presentation layer solution is based on express, handlebars","main":"app.js","scripts":{"code":"set NODE_ENV=coding&& gulp start","build":"set NODE_ENV=production && gulp && gulp mvc","server":"set NODE_ENV=server&& gulp start"},"dependencies":{"art-template":"^3.0.3","async":"^2.0.0-rc.3","body-parser":"^1.15.0","connect-multiparty":"^2.0.0","connect-redis":"^3.0.2","cookie-parser":"^1.4.1","express":"^4.13.4","express-session":"^1.13.0","lodash":"^4.11.1","md5":"^2.1.0","mkdirp":"^0.5.1","request":"^2.72.0","winston":"^2.2.0","glob":"^7.0.3"}} \ No newline at end of file diff --git a/server/views/SNS/shareOrderAudit.html b/server/views/SNS/shareOrderAudit.html deleted file mode 100644 index ea266d2..0000000 --- a/server/views/SNS/shareOrderAudit.html +++ /dev/null @@ -1,75 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select id="status" class="form-control"> - <option value="0">待审核</option> - <option value="1">审核通过</option> - <option value="2">审核失败</option> - </select> - </div> - - <div class="panel-col"> - <select id="recomReward" class="form-control"> - <option value="">推荐状态</option> - <option value="0">未推荐</option> - <option value="1">已推荐</option> - </select> - </div> - - <div class="panel-col"> - <select id="hasImage" class="form-control"> - <option value="">图片筛选</option> - <option value="0">无图</option> - <option value="1">有图</option> - </select> - </div> - - <div class="panel-col"> - <input type="text" id="beginTime" class="form-control panel-input hasDatepicker" name="start_time" placeholder="开始时间" value="" kl_vkbd_parsed="true"> - </div> - - <div class="panel-col"> - <input type="text" id="endTime" class="form-control panel-input hasDatepicker" name="end_time" placeholder="结束时间" value="" kl_vkbd_parsed="true"> - </div> - <div class="clearfix"></div> - - <div class="panel-col"> - <input type="text" id="uid" class="form-control" placeholder="用户UID"/> - </div> - - <div class="panel-col"> - <input type="text" id="productName" class="form-control" placeholder="商品名称"/> - </div> - - <div class="panel-col"> - <input type="number" id="productSkn" class="form-control" placeholder="SKN"/> - </div> - - <div class="panel-col"> - <input type="text" id="orderCode" class="form-control" placeholder="订单编号"/> - </div> - - <div class="panel-col"> - <button type="submit" id="filter" class="btn btn-info">搜索</button> - - </div> - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div id="basicTable_wrapper" class="dataTables_wrapper no-footer"> - <div class="dataTables_length" id="basicTable"> - </div> - <nav> - <ul id="pagination" class="pagination pagination-lg"></ul> - </nav> - </div> - </div> -</div> - -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/activity/data.html b/server/views/activity/data.html deleted file mode 100644 index b17ef09..0000000 --- a/server/views/activity/data.html +++ /dev/null @@ -1,58 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="row"> - <div class="col-md-12"> - <div id="activityForm" role="form" class="form-horizontal form-bordered" method="post"> - <input type="hidden" id="luckUserInfoList" value="<%data.luckUserInfoList%>"/> - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title">中奖情况</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">总参与人数:</label> - <div class="col-sm-3"> - <label class="col-sm-2 control-label"><%data.totalAttendNum%></label> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">马甲参与人数:</label> - <div class="col-sm-3"> - <label class="col-sm-2 control-label"><%data.virtualAttendNum%></label> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">奖品总数量:</label> - <div class="col-sm-3"> - <label class="col-sm-2 control-label"><%data.luckTotalNum%></label> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">中奖明细:</label> - <div class="row show-grid"> - <div id="basicTable"></div> - </div> - </div> - </div> - </div> - - <div class="panel-footer"> - <div class="row"> - <div class="col-sm-8 col-sm-offset-2"> - <a href="javascript:;" class="btn btn-info" onclick="javascript:history.go(-1);">返回</a> - </div> - </div> - </div> - </div> - </div> - </div> - </div> -</div> - -<%include '../common/__ui/footer'%> - - diff --git a/server/views/activity/edit.html b/server/views/activity/edit.html deleted file mode 100644 index bc9fc4b..0000000 --- a/server/views/activity/edit.html +++ /dev/null @@ -1,146 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="row"> - <div class="col-md-12"> - <div id="activityForm" role="form" class="form-horizontal form-bordered" method="post" action="<%action%>"> - <input type="hidden" id="activityId" value="<%data.activityId%>" /> - <input type="hidden" id="prizeId" value="<%data.prizeId%>" /> - <input type="hidden" id="backgroundStyle" value="<%data.backgroundStyle%>" /> - <input type="hidden" id="prizeList" value="<%data.prizeList%>" /> - <input type="hidden" id="status" value="<%data.status%>" /> - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title"><%pageName%></h4> - </div><!-- panel-heading --> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">活动名称:<span class="red">*</span></label> - <div class="col-sm-8"> - <input type="text" id="activityName" placeholder="活动名称" class="form-control" required value="<%activityName%>"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">活动时间:<span class="red">*</span></label> - <div class="col-sm-3"> - <input type="text" class="form-control" jsaction="time" id="beginTimeStr" required placeholder="活动开始时间" value="<%data.beginTimeStr%>" readonly> - </div> - <div class="col-sm-3"> - <input type="text" class="form-control" jsaction="time" id="endTimeStr" required placeholder="活动结束时间" value="<%data.endTimeStr%>" readonly > - </div> - <div class="col-sm-3"> - <label class="control-label" id="totalHours" style="color: #ff0000"></label> - </div> - <!-- readonly require--> - </div> - <div class="form-group"> - <label class="col-sm-2"></label> - <div class="input-group col-sm-6" style="padding-left: 10px;"> - <span class="input-group-addon">人数上限</span> - <input type="text" id="numberLimit" class="form-control number" value="<%data.numberLimit%>" placeholder="人数上限"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">奖品类型:<span class="red">*</span></label> - <div class="col-sm-3"> - <select name="prizeType" id="prizeType" value='<%data.prizeType%>' required class="form-control"> - <option value="3">限购码</option> - </select> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">奖品设置:<span class="red">*</span></label> - <div class="col-sm-6"> - <div class="input-group"> - <span class="input-group-addon">限购码批次号<span class="red">*</span></span> - <input type="text" form="activityForm" name="prize" id="prize" class="form-control" value="<%data.prize%>" placeholder="限购码批次号" required> - </div> - <!--<div class="input-group">--> - <!--<span class="input-group-addon">白名单:</span>--> - <!--<input type="text" form="activityForm" name="whiteList" id="whiteList" class="form-control" value="<%data.whiteList%>" placeholder="请输入UID,用逗号隔开">--> - <!--</div>--> - <!--<div class="input-group">--> - <!--<span class="input-group-addon">真实用户中奖数:<span class="red">*</span></span>--> - <!--<input type="number" form="activityForm" name="realUserNum" id="realUserNum" class="form-control" value="<%data.realUserNum%>" placeholder="请输入数量" required>--> - <!--</div>--> - <!--<div class="input-group">--> - <!--<span class="input-group-addon">马甲用户中奖数:</span>--> - <!--<input type="number" form="activityForm" name="sockUserNum" id="sockUserNum" class="form-control" value="<%data.sockUserNum%>" placeholder="请输入数量">--> - <!--</div>--> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">内容管理:<span class="red">*</span></label> - <div class="col-sm-10" style="margin-top: 10px"> - <div class="input-group col-sm-12"> - <div class="col-sm-1" style="padding-left: 0"> - <label class="">顶部banner:<span class="red">*</span></label> - </div> - <div class="col-sm-7"> - <input type="file" id="topBanner" name="topBanner" value="<%data.topBanner%>" placeholder="顶部banner" required /> - </div> - </div> - <div class="input-group col-sm-12"> - <div class="col-sm-1" style="padding-left: 0"> - <label class="">背景样式:</label> - </div> - <div class="col-sm-1"> - <input type="file" id="backgroundStyle1" name="backgroundStyle1" placeholder="背景样式" /> - </div> - <div class="col-sm-1"> - <input type="file" id="backgroundStyle2" name="backgroundStyle2" placeholder="背景样式" /> - </div> - <div class="col-sm-1"> - <input type="file" id="backgroundStyle3" name="backgroundStyle3" placeholder="背景样式" /> - </div> - <div class="col-sm-1"> - <input type="file" id="backgroundStyle4" name="backgroundStyle4" placeholder="背景样式" /> - </div> - <div class="col-sm-1"> - <input type="file" id="backgroundStyle5" name="backgroundStyle5" placeholder="背景样式" /> - </div> - <div class="col-sm-1"> - <input type="file" id="backgroundStyle6" name="backgroundStyle6" placeholder="背景样式" /> - </div> - <div class="col-sm-1"> - <input type="file" id="backgroundStyle7" name="backgroundStyle7" placeholder="背景样式" /> - </div> - <div class="col-sm-1"> - <input type="file" id="backgroundStyle8" name="backgroundStyle8" placeholder="背景样式" /> - </div> - </div> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">活动说明:</label> - <div class="col-sm-8"> - <input type="text" id="activityDesc" placeholder="请输入链接" class="form-control" value="<%data.activityDesc%>"> - </div> - </div> - - - </div> - </div> - <div class="panel-footer"> - <div class="row"> - <div class="col-sm-8 col-sm-offset-2"> - <a href="javascript:;" class="btn btn-info" onclick="javascript:history.go(-1);">取消</a> - <button type="submit" class="btn btn-success mr5" data-loading-text="保存中..." id="btnReview">保存</button> - </div> - </div> - </div> - </div> - - </div> - </div> - </div> -</div> - -<%include '../common/__ui/footer'%> - - diff --git a/server/views/activity/index.html b/server/views/activity/index.html deleted file mode 100644 index bf926bf..0000000 --- a/server/views/activity/index.html +++ /dev/null @@ -1,44 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body" style="padding-bottom: 0"> - <a href="/activity/drawline/add" class="btn btn-success"><i class="fa fa-plus"></i> 添加抽奖活动</a> - </div> - - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select name="status" id="status" tabindex="-1" title="" class="select2-offscreen brandBtn-group"> - <option value="-1" selected="">活动状态</option> - <option value="1">开启</option> - <option value="0">关闭</option> - <option value="2">未过期</option> - </select> - </div> - <div class="panel-col"> - <input name="activityName" id="activityName" type="text" value="" class="form-control" placeholder="请输入活动名称" /> - </div> - <div class="panel-col2" style="position: relative"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - <input id="importFile" style="z-index: -99999" hidden name="productSkn" class="btn btn-default excel-upload" type="file" > - <div class="file-name btn btn-primary" id="uploadFile">导入中奖信息</div> - </div> - </div> - </div> - </div> - - <div class="panel"> - <div class="panel-body nopadding"> - <div id="basicTable" class="dataTables_wrapper no-footer"> - <div class="dataTables_length" id="storeadmin_Tabel"></div> - </div> - </div> - </div> -</div> - -<%include '../common/__ui/footer'%> - - diff --git a/server/views/baserule/Brandmodel.html b/server/views/baserule/Brandmodel.html deleted file mode 100644 index cf7d120..0000000 --- a/server/views/baserule/Brandmodel.html +++ /dev/null @@ -1,135 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="contentpanel" id="form-base"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input id="models-name" class="form-control panel-input height40" type="text" placeholder="款型系列名称"> - </div> - - <div class="panel-col"> - <select name="models-type" id="models-type" tabindex="-1" title="" class="form-control height40"> - <option value="-1">类型</option> - <option value="1">品牌款型</option> - <option value="2">品牌系列</option> - </select> - </div> - <div class="panel-col2"> - <select name="shop" id="shop" tabindex="-1" title="" class="form-control height40"> - <option value="-1">请选择店铺</option> - </select> - </div> - <div class="panel-col"> - <select name="brand" id="brand" tabindex="-1" title="" class="form-control height40"> - <option value="-1">请选择品牌</option> - </select> - </div> - - - <div class="panel-col"> - <select name="status" id="status" tabindex="-1" title="" class="form-control height40"> - <option value="-1">状态</option> - <option value="1">打开</option> - <option value="0">关闭</option> - </select> - </div> - - <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - - - </div> - - <div class="row" style="margin-bottom:10px;"> - <a id="add-btn" href="javascript:;" class="btn btn-info">添加</a> - </div> - </div> - </div> - - - <div class="panel"> - <div class="dataTables_wrapper no-footer" id="basicTable"></div> - </div> -</div> - - -<script type="text/template" id="template"> - <form id="add-attr-form" class="form-horizontal form-bordered" method="post" action="" style="height: 400px;overflow: auto"> - <div class="form-group"> - <label class="col-md-3 control-label"> - 店铺 - </label> - - <div class="col-md-6"> - <select name="shop" id="shopsId" value="[[shopsId]]" tabindex="-1" title="" class="form-control height40"> - <option value="[[shopsId||'-1']]">[[shopsName||"请选择店铺"]]</option> - </select> - </div> - </div> - - <div class="form-group"> - <label class="col-md-3 control-label"> - 品牌<i class="red">*</i> - </label> - - <div class="col-md-6"> - <select name="shop" id="brandId" value="[[brandId]]" tabindex="-1" required="required" title="" class="form-control height40"> - <option value="[[brandId||'-1']]">[[brandName||"请选择品牌"]]</option> - </select> - </div> - </div> - - <div class="form-group"> - <label class="col-md-3 control-label"> - 类型<i class="red">*</i> - </label> - - <div class="panel-col"> - <select name="type" id="type" value="[[type]]" tabindex="-1" required="required" title="" class="form-control height40"> - <option value="-1">类型</option> - <option value="1">品牌款型</option> - <option value="2">品牌系列</option> - </select> - </div> - - </div> - - <div class="form-group"> - <label class="col-md-3 control-label"> - 名称<i class="red">*</i> - </label> - - <div class="col-md-6"> - <input id="seriesName" value="[[seriesName]]" class="form-control width300" type="text" required="required" placeholder="款型系列名称"> - </div> - </div> - - - <div class="form-group"> - <label for="seriesBanner" class="col-sm-3 control-label">banner图片:</label> - <div class="col-sm-6" id="colorUrlBox"> - <input type="file" id="seriesBanner" name="seriesBanner" value="[[seriesBanner]]"> - </div> - </div> - - - <div class="form-group"> - <label class="col-md-3 control-label"> - 排序<i class="red">*</i> - </label> - - <div class="col-md-6"> - <input id="orderBy" value="[[orderBy]]" class="form-control width300" type="text" required="required" placeholder="排序"> - </div> - </div> - - <input id="id" hidden="ture" value="[[id]]" /> - - - - </form> - -</script> -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/baserule/CateSize.html b/server/views/baserule/CateSize.html deleted file mode 100644 index 66273a0..0000000 --- a/server/views/baserule/CateSize.html +++ /dev/null @@ -1,103 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div class="row"> - <div class="col-md-3"> - <div class="panel panel-default noborder pattrscroll"> - <div class="panel-body"> - <div class="pannel-scroll"> - <ul class="list-group"> - <%if data%> - <%each data as item%> - <li class="list-group-item level<%item.sortLevel%> <%if item.child%>hidden<%/if%>" data-parent="<%item.parentId%>" data-val="<%item.id%>" data-status="close"> - <span class="icon expand-icon glyphicon glyphicon-plus"></span> - <%item.sortName%> - </li> - <%/each%> - <%/if%> - </ul> - </div> - </div> - </div> - </div> - <div class="col-md-9"> - <div class="panel panel-default"> - <div class="panel-heading noborder"> - <button id="btn-add" class="btn btn-success model-attr-btn" disabled> - <i class="glyphicon-plus"></i>添加尺码 - </button> - </div> - </div> - <div id="basicTable" class="table-responsive"> - </div> - </div> - </div> -</div> - -<!--编辑模态--> -<script type="text/template" id="template"> - <div class="rows" id="baseform"> - <div class="form-group"> - <label class="col-sm-2 control-label">当前分类<i class="red">*</i></label> - - <div class="col-sm-6"> - <input type="text" value="[[sortName]]" class="form-control observe" required data-field="sortName" readonly/> - </div> - </div> - [[if name=="尺码"]] - <div class="form-group"> - <label class="col-sm-2 control-label">[[name]]<i class="red">*</i></label> - [[if __state=='update']] - <div class="col-sm-6"> - <input type="text" value="[[sizeName]]" class="form-control observe" data-field="sizeName" readonly/> - </div> - [[else]] - <div class="col-sm-6" id="sort-content"> - - </div> - [[/if]] - </div> - [[/if]] - [[if name=="尺码属性"]] - <div class="form-group"> - <label class="col-sm-2 control-label">[[name]]<i class="red">*</i></label> - [[if __state=='update']] - <div class="col-sm-6"> - <input type="text" value="[[attributeName]]" class="form-control" readonly/> - </div> - [[else]] - <div class="col-sm-6" id="attri-content"> - - </div> - [[/if]] - </div> - [[/if]] - <div class="form-group"> - <label class="col-sm-2 control-label">排序<i class="red">*</i></label> - - <div class="col-sm-6"> - <input type="text" value="[[orderBy]]" class="form-control observe" data-field="orderBy" match="numbers" - required placeholder="排序值" required/> - </div> - </div> - - </div> -</script> -<script type="text/template" id="search-sort"> - <select id="choose-sort" title="" class="select2-offscreen form-control" required placehoder="尺码"> - <option value="">选择尺码</option> - [[each data as item index]] - <option value="[[item.id]]">[[item.text]]</option> - [[/each]] - </select> -</script> -<script type="text/template" id="search-attri"> - <select id="choose-attri" title="" class="select2-offscreen form-control" required placehoder="尺码属性"> - <option value="">选择尺码属性</option> - [[each data as item index]] - <option value="[[item.id]]">[[item.text]]</option> - [[/each]] - </select> -</script> - -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/baserule/CateSizeAttr.html b/server/views/baserule/CateSizeAttr.html deleted file mode 100644 index c73aa6c..0000000 --- a/server/views/baserule/CateSizeAttr.html +++ /dev/null @@ -1,103 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div class="row"> - <div class="col-md-3"> - <div class="panel panel-default noborder pattrscroll"> - <div class="panel-body"> - <div class="pannel-scroll"> - <ul class="list-group"> - <%if data%> - <%each data as item%> - <li class="list-group-item level<%item.sortLevel%> <%if item.child%>hidden<%/if%>" data-parent="<%item.parentId%>" data-val="<%item.id%>" data-status="close"> - <span class="icon expand-icon glyphicon glyphicon-plus"></span> - <%item.sortName%> - </li> - <%/each%> - <%/if%> - </ul> - </div> - </div> - </div> - </div> - <div class="col-md-9"> - <div class="panel panel-default"> - <div class="panel-heading noborder"> - <button id="btn-add" class="btn btn-success model-attr-btn" disabled> - <i class="glyphicon-plus"></i>尺码属性 - </button> - </div> - </div> - <div id="basicTable" class="table-responsive"> - </div> - </div> - </div> -</div> - -<!--编辑模态--> -<script type="text/template" id="template"> - <div class="rows" id="baseform"> - <div class="form-group"> - <label class="col-sm-2 control-label">当前分类<i class="red">*</i></label> - - <div class="col-sm-6"> - <input type="text" value="[[sortName]]" class="form-control observe" required data-field="sortName" readonly/> - </div> - </div> - [[if name=="尺码"]] - <div class="form-group"> - <label class="col-sm-2 control-label">[[name]]<i class="red">*</i></label> - [[if __state=='update']] - <div class="col-sm-6"> - <input type="text" value="[[sizeName]]" class="form-control observe" data-field="sizeName" readonly/> - </div> - [[else]] - <div class="col-sm-6" id="sort-content"> - - </div> - [[/if]] - </div> - [[/if]] - [[if name=="尺码属性"]] - <div class="form-group"> - <label class="col-sm-2 control-label">[[name]]<i class="red">*</i></label> - [[if __state=='update']] - <div class="col-sm-6"> - <input type="text" value="[[attributeName]]" class="form-control" readonly/> - </div> - [[else]] - <div class="col-sm-6" id="attri-content"> - - </div> - [[/if]] - </div> - [[/if]] - <div class="form-group"> - <label class="col-sm-2 control-label">排序<i class="red">*</i></label> - - <div class="col-sm-6"> - <input type="text" value="[[orderBy]]" class="form-control observe" data-field="orderBy" match="numbers" - required placeholder="排序值" required/> - </div> - </div> - - </div> -</script> -<script type="text/template" id="search-sort"> - <select id="choose-sort" title="" class="select2-offscreen form-control" required placehoder="尺码"> - <option value="">选择尺码</option> - [[each data as item index]] - <option value="[[item.id]]">[[item.text]]</option> - [[/each]] - </select> -</script> -<script type="text/template" id="search-attri"> - <select id="choose-attri" title="" class="select2-offscreen form-control" required placehoder="尺码属性"> - <option value="">选择尺码属性</option> - [[each data as item index]] - <option value="[[item.id]]">[[item.text]]</option> - [[/each]] - </select> -</script> - -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/baserule/Porattr.html b/server/views/baserule/Porattr.html deleted file mode 100644 index 9e10725..0000000 --- a/server/views/baserule/Porattr.html +++ /dev/null @@ -1,205 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div class="row"> - <div class="col-md-3"> - <div class="panel panel-default noborder pattrscroll"> - <div class="panel-body"> - <div class="pannel-scroll"> - <ul class="list-group"> - <%if data%> - <%each data as item%> - <li class="list-group-item level<%item.sortLevel%> <%if item.child%>hidden<%/if%>" data-parent="<%item.parentId%>" data-val="<%item.id%>" data-status="close"> - <span class="icon expand-icon glyphicon glyphicon-plus"></span> - <%item.sortName%> - </li> - <%/each%> - <%/if%> - </ul> - </div> - </div> - </div> - </div> - <div class="col-md-9"> - <div class="panel panel-default"> - <div class="panel-heading noborder"> - <button class="btn btn-success model-attr-btn" disabled data-toggle="modal" id="add-attri" data-target="#addAttr"> - <i class="glyphicon-plus"></i>添加属性 - </button> - </div> - </div> - <div id="attr-table" class="table-responsive"> - </div> - </div> - </div> -</div> - - -<script type="text/template" id="template"> - <form id="add-attr-form" class="form-horizontal form-bordered" method="post" action="/product/attr/add" style="height: 400px;overflow: auto"> - <div class="form-group"> - <label class="col-md-3 control-label"> - 属性名称<i class="red">*</i> - </label> - - <div class="col-md-6"> - <input id="attributeName" value="{attributeName}" class="form-control width300" type="text" placeholder="属性名称" required="required"> - </div> - </div> - - <div class="form-group"> - <label class="col-md-3 control-label"> - 销售类型<i class="red">*</i> - </label> - - <div class="col-md-6"> - <select id="saleType" class="attr-select width300" data-placeholder="销售类型" value="{saleType}" required="required"> - <option value="">请选择</option> - <option value="1">销售属性</option> - <option value="2">非销售属性</option> - <option value="3">扩展属性</option> - </select> - </div> - </div> - - <div class="form-group"> - <label class="col-md-3 control-label"> - 输入类型<i class="red">*</i> - </label> - - <div class="col-md-6"> - <select id="inputType" class="attr-select width300" data-placeholder="输入类型" value="{inputType}" required="required"> - <option value="">请选择</option> - <option value="radio">单选按钮</option> - <option value="checkbox">复选框</option> - <option value="select">下拉列表</option> - <option value="text">单行文本框</option> - <option value="textarea">多行文本框</option> - </select> - </div> - </div> - - <div class="form-group"> - <label class="col-md-3 control-label"> - 是否必选 - </label> - - <div class="col-md-6"> - <select id="isMust" value="{isMust}" class="attr-select width300" data-placeholder="是否必选"> - <option value="">请选择</option> - <option value="Y">是</option> - <option value="N">否</option> - </select> - </div> - </div> - - <div class="form-group"> - <label class="col-md-3 control-label"> - 启用搜索 - </label> - - <div class="col-md-6"> - <select id="isSearch" value="{isSearch}" class="attr-select width300" data-placeholder="启用搜索"> - <option value="0">请选择</option> - <option value="Y">是</option> - <option value="N">否</option> - </select> - </div> - </div> - - <div class="form-group"> - <label class="col-md-3 control-label"> - 最大输入值 - </label> - - <div class="col-md-6"> - <input id="maxValueLen" class="form-control width300" value="{maxValueLen}" type="text" placeholder="最大输入值"> - </div> - </div> - - <div class="form-group"> - <label class="col-md-3 control-label"> - 是否允许别名 - </label> - - <div class="col-md-6"> - <select id="isAllowAlias" value="{isAllowAlias}" class="attr-select width300" data-placeholder="是否允许别名"> - <option value="">请选择</option> - <option value="Y">是</option> - <option value="N">否</option> - </select> - </div> - </div> - - <div class="form-group"> - <label class="col-md-3 control-label"> - 排序 - </label> - - <div class="col-md-6"> - <input id="orderBy" class="form-control width300" type="text" value="{orderBy}" placeholder="排序"> - </div> - </div> - - <div class="form-group" id="propValue"> - <label class="col-md-3 control-label"> - 属性值<i class="red">*</i> - </label> - - <div class="col-md-6" > - <input id="attributeValues" value="{attributeValues}" class="form-control width300" type="text" placeholder="属性值" required="required"> - <div id="prop-value-table" class="table-responsive" > - - </div> - </div> - </div> - - <!--新增--> - <div class="form-group"> - <label class="col-md-3 control-label"> - 展示位置 - </label> - - <div class="col-md-6"> - <select id="displayPosition" value="{displayPosition}" class="attr-select width300" data-placeholder="展示位置"> - <option value="">请选择</option> - <option value="1">基础商品-非销售属性</option> - <option value="2">网售信息-上架后补全信息</option> - <option value="3">网售信息-商品参数</option> - </select> - </div> - </div> - - <div class="form-group"> - <label class="col-md-3 control-label"> - 备注 - </label> - - <div class="col-md-6"> - <textarea id="remark" value="{remark}" class="form-control width300" rows="2" name="remark"></textarea> - </div> - </div> - - - <div class="form-group hidden"> - <label class="col-md-3 control-label"> - ID<i>*</i> - </label> - - <div class="col-md-6"> - <input id="categoryId" class="form-control width300" value="" type="text" placeholder="ID"> - </div> - </div> - <div class="form-group hidden"> - <label class="col-md-3 control-label"> - attributeId<i class="red">*</i> - </label> - - <div class="col-md-6"> - <input id="attributeId" class="form-control width300" value="" type="text" placeholder="attributeId"> - </div> - </div> - </form> - -</script> -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/baserule/SizeAttribute.html b/server/views/baserule/SizeAttribute.html deleted file mode 100644 index 3aced01..0000000 --- a/server/views/baserule/SizeAttribute.html +++ /dev/null @@ -1,26 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <a class="btn btn-info" id="add">添加尺码属性</a> - </div> - </div> - <div id="size-property"> - - </div> - </div> -</div> - - -<script type="text/template" id="template"> - <div class="form-group"> - <label for="input" class="col-sm-2 control-label">尺码属性:</label> - <div class="col-sm-10"> - <input type="hidden" name="" value="{id}" id="id" class="form-control" value="" required="required" pattern="" title=""> - <input type="text" name="" value="{input}" id="input" class="form-control" value="" required="required" pattern="" title="" maxlength="20"> - </div> - </div> -</script> -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/baserule/Sizelibrary.html b/server/views/baserule/Sizelibrary.html deleted file mode 100644 index 047f192..0000000 --- a/server/views/baserule/Sizelibrary.html +++ /dev/null @@ -1,25 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <a class="btn btn-info" id="add">添加尺码</a> - </div> - </div> - <div id="size-list"> - - </div> - </div> -</div> - -<script type="text/template" id="template"> - <div class="form-group"> - <label for="input" class="col-sm-2 control-label">尺码名:</label> - <div class="col-sm-10"> - <input type="hidden" name="" value="{id}" id="id" class="form-control" value="" required="required" pattern="" title=""> - <input type="text" name="" value="{input}" id="input" class="form-control" value="" required="required" pattern="" title="" maxlength="20"> - </div> - </div> -</script> -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/baserule/color/Edit.html b/server/views/baserule/color/Edit.html deleted file mode 100644 index 59adb0e..0000000 --- a/server/views/baserule/color/Edit.html +++ /dev/null @@ -1,34 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> -<div class="contentpanel" id="form-base"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="container" style="margin-top:10px;"> - <div class="row form-horizontal" style="margin-bottom:10px;"> - <input type="hidden" id='id' value="<%data.id%>" /> - <div class="col-xs-10 col-sm-10 col-md-10 col-lg-10"> - <div class="form-group"> - <label for="colorName" class="col-sm-2 control-label">颜色名称:</label> - <div class="col-sm-8"> - <input type="text" name="" id="colorName" class="form-control" value="<%data.colorName%>" required="required" pattern="" title=""> - </div> - </div> - <div class="form-group"> - <label for="colorCode" class="col-sm-2 control-label">颜色代码:</label> - <div class="col-sm-8"> - <input type="text" name="" id="colorCode" class="form-control" value="<%data.colorCode%>" required="required" pattern="" title="" maxlength="6"> - </div> - </div> - <div class="form-group"> - <label for="colorValue" class="col-sm-2 control-label">颜色值:</label> - <div class="col-sm-8" id="colorUrlBox"> - <input type="file" id="colorValue" name="colorValue" value="<%data.colorValue%>"> - </div> - </div> - <button id="save" type="button" class="col-sm-offset-3 btn btn-info">保存</button> - </div> - </div> - </div> - </div> -</div> -<input hidden="true" id="route-url" value="<%url%>"/> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/baserule/color/Index.html b/server/views/baserule/color/Index.html deleted file mode 100644 index 86c0174..0000000 --- a/server/views/baserule/color/Index.html +++ /dev/null @@ -1,16 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <a class="btn btn-info" href="/erpproduct/product/addColor">添加颜色</a> - </div> - </div> - <input type="hidden" id="url" value="/erpproduct/product/colorList"/> - <div id="color-list" class="color"> - - </div> - </div> -</div> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/brand/edit.html b/server/views/brand/edit.html deleted file mode 100644 index e974200..0000000 --- a/server/views/brand/edit.html +++ /dev/null @@ -1,250 +0,0 @@ -<%include '../common/__ui/header'%> - -<div class="contentpanel"> - <div class="row"> - <div class="col-md-12"> - <form id="basicForm" role="form" class="form-horizontal form-bordered" method="post" action="<%action%>" novalidate="novalidate"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title">添加品牌</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">品牌名称 <span class="red">*</span></label> - <div class="col-sm-8"> - <input type="text" id="brandName" name="brandName" class="form-control" placeholder="品牌名称" required value="<%data.brandName%>"> - <label for='brandName' class='error' style="display: none;"></label> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-2 control-label">英文名称 <span class="red">*</span></label> - <div class="col-sm-8"> - <input type="text" id="brandNameEn" name="brandNameEn" class="form-control" placeholder="英文名称" required value="<%data.brandNameEn%>"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">二级域名 <span class="red">*</span></label> - <div class="col-sm-8"> - <div class="input-group col-sm-6"> - <input type="text" id="brandDomain" name="brandDomain" onkeyup="value=value.replace(/[^\w\.\/]/ig,'')" class="form-control" placeholder="二级域名" value="<%data.brandDomain%>" required> - <span class="input-group-addon">.yohobuy.com</span> - </div> - <label for='brand_name' class='error' style="display: none;"></label> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">品牌logo <span class="red">*</span></label> - <div class="col-sm-8"> - <input type="file" id="brandIco" name="brandIco" value="<%data.brandIco%>" required placeholder="品牌logo"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">品牌级别 <span class="red">*</span></label> - <div class="col-sm-8" > - <label class="radio-inline"> - <input type="radio" name="brandLevel" value="KA"/>KA </label> - <label class="radio-inline"> - <input type="radio" name="brandLevel" value="A"/>A </label> - <label class="radio-inline"> - <input type="radio" name="brandLevel" value="B"/>B </label> - <label class="radio-inline"> - <input type="radio" name="brandLevel" value="C"/>C </label> - </div> - <input type="hidden" id="brandLevel" value="<%data.brandLevel%>" for="radio" required> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">品牌推广星级 <span class="red">*</span></label> - <div class="col-sm-8" > - <label class="radio-inline"> - <input type="radio" name="promotionLevel" id="level_1" value="1"/>一星 </label> - <label class="radio-inline"> - <input type="radio" name="promotionLevel" id="level_2" value="2"/>二星 </label> - <label class="radio-inline"> - <input type="radio" name="promotionLevel" id="level_3" value="3"/>三星 </label> - </div> - <input type="hidden" id="promotionLevel" value="<%data.promotionLevel%>" for="radio" required> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">主营类目 <span class="red">*</span></label> - <div class="col-sm-8" > - <label class="radio-inline"> - <input type="radio" name="mainCategory" id="level_1" value="1"/>男装 </label> - <label class="radio-inline"> - <input type="radio" name="mainCategory" id="level_2" value="2"/>女装 </label> - <label class="radio-inline"> - <input type="radio" name="mainCategory" id="level_3" value="3"/>混合 </label> - <label class="radio-inline"> - <input type="radio" name="mainCategory" id="level_4" value="4"/>童装 </label> - <label class="radio-inline"> - <input type="radio" name="mainCategory" id="level_5" value="5"/>创意生活 </label> - </div> - <input type="hidden" id="mainCategory" value="<%data.mainCategory%>" for="radio" required> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">发源地 <span class="red">*</span></label> - <div class="col-sm-8" > - <label class="radio-inline"> - <input type="radio" name="brandHeadstream" value="1" />欧洲 - </label> - <label class="radio-inline"> - <input type="radio" name="brandHeadstream" value="2" />日本 </label> - <label class="radio-inline"> - <input type="radio" name="brandHeadstream" value="3" />韩国 </label> - <label class="radio-inline"> - <input type="radio" name="brandHeadstream" value="4" />香港 </label> - <label class="radio-inline"> - <input type="radio" name="brandHeadstream" value="5" />本地 </label> - <label class="radio-inline"> - <input type="radio" name="brandHeadstream" value="6" />澳洲 </label> - <label class="radio-inline"> - <input type="radio" name="brandHeadstream" value="7" />台湾 </label> - <label class="radio-inline"> - <input type="radio" name="brandHeadstream" value="8" />美国 </label> - - <label class="radio-inline"> - <input type="radio" name="brandHeadstream" value="9" />泰国 - </label> - <label class="radio-inline"> - <input type="radio" name="brandHeadstream" value="10" />新加坡 - </label> - <label class="radio-inline"> - <input type="radio" name="brandHeadstream" value="11" />东南亚 - </label> - <label class="radio-inline"> - <input type="radio" name="brandHeadstream" value="12" />加拿大 - </label> - </div> - <input type="hidden" id="brandHeadstream" value="<%data.brandHeadstream%>" required for="radio"> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">品牌类型</label> - <div class="col-sm-10" > - <label class="radio-inline"> - <input type="radio" name="brandTypes" value="6">羊头 - </label> - <label class="radio-inline"> - <input type="radio" name="brandTypes" value="7">明星 - </label> - <label class="radio-inline"> - <input type="radio" name="brandTypes" value="8">自主 - </label> - </div> - <input type="hidden" id="brandTypes" value="<%data.brandTypes%>" for="radio"> - </div> - - <!-- <div class="form-group"> - <label class="col-sm-2 control-label">合作模式</label> - <div class="col-sm-10" > - <label class="radio-inline"> - <input type="radio" name="saleType" value="0">经销 - </label> - <label class="radio-inline"> - <input type="radio" name="saleType" value="1">代销 - </label> - </div> - <input type="hidden" id="saleType" value="<%data.saleType%>" for="radio"> - </div> --> - - <div class="form-group"> - <label class="col-sm-2 control-label">品牌网址</label> - <div class="col-sm-8"> - <input type="text" id="brandUrl" class="form-control" placeholder="品牌网址" value="<%data.brandUrl%>"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">品牌介绍</label> - <div class="col-sm-6"> - <textarea rows="2" id="brandIntro" class="form-control" placeholder="品牌介绍" ><%data.brandIntro%></textarea> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">品牌简述</label> - <div class="col-sm-8"> - <input type="text" id="brandOutline" class="form-control" placeholder="品牌简述" value="<%data.brandOutline%>"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">品牌主理人</label> - <div class="col-sm-8"> - <input type="text" id="brandFounder" name="brandFounder" class="form-control" placeholder="品牌主理人" value="<%data.brandFounder%>"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">品牌风格</label> - <div class="col-sm-8"> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="运动"> 运动</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="户外"> 户外</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="街头"> 街头</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="暗黑"> 暗黑</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="军事"> 军事</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="英伦"> 英伦</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="趣味"> 趣味</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="美式"> 美式</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="韩系"> 韩系</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="日系"> 日系</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="性感"> 性感</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="时尚"> 时尚</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="甜美"> 甜美</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="可爱"> 可爱</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="原创"> 原创</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="工装"> 工装</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="机车"> 机车</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="民族"> 民族</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="学院"> 学院</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="欧美"> 欧美</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="港台"> 港台</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="中性"> 中性</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="简约"> 简约</label> - <label style="cursor: pointer;"><input type="checkbox" name="brandStyle" value="高街"> 高街</label> - </div> - <input type="hidden" id="brandStyle" value="<%data.brandStyle%>" for="checkbox"> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">品牌性质</label> - <div class="col-sm-8" > - <label class="radio-inline"> - <input type="radio" id="nature_1" name="brandNature" value="1" /> 知名 - </label> - <label class="radio-inline"> - <input type="radio" id="nature_2" name="brandNature" value="2" /> 原创 - </label> - <label class="radio-inline"> - <input type="radio" id="nature_3" name="brandNature" value="3" /> 潮流 - </label> - <label class="radio-inline"> - <input type="radio" id="nature_4" name="brandNature" value="4" /> 自主 - </label> - </div> - <input type="hidden" id="brandNature" value="<%data.brandNature%>" for="radio"> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">调性指数</label> - <div class="col-sm-2"> - <input type="number" id="brandTonality" name="brandTonality" class="form-control" placeholder="调性指数(范围:1-100)" value="<%data.brandTonality%>"> - </div> - </div> - - <input type="hidden" id="id" value="<%data.id%>"> - - </div> - </div> - <div class="panel-footer"> - <div class="row"> - <div class="col-sm-8 col-sm-offset-2"> - <a href="javascript:;" onclick="history.go(-1);" class="btn btn-default">取消</a> - <button id="save_brand" type="submit" data-loading-text="保存中..." class="btn btn-primary">保存</button> - </div> - </div> - </div> - </div> - </form> - </div> - </div> -</div> - -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/brand/index.html b/server/views/brand/index.html deleted file mode 100644 index bf507d5..0000000 --- a/server/views/brand/index.html +++ /dev/null @@ -1,56 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px"> - <div class="panel-body" style="padding-bottom: 0"> - <a href="/erpproduct/brands/add" class="btn btn-success "><i class="fa fa-plus"></i> 添加品牌</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select name="brand-id" id="brand-id" tabindex="-1" title="" class="select2-offscreen brandBtn-group"> - <option value="" selected="">选择名称</option> - </select> - </div> - <div class="panel-col"> - <select name="status" id="status" tabindex="-1" title="" class="select2-offscreen brandBtn-group"> - <option value="" selected="">选择状态</option> - <option value="0">关闭</option> - <option value="1">开启</option> - </select> - </div> - <div class="panel-col"> - <select name="brand-level" id="brand-level" tabindex="-1" title="" class="select2-offscreen brandBtn-group"> - <option value="" selected="">选择级别</option> - <option value="KA">KA</option> - <option value="A">A</option> - <option value="B">B</option> - <option value="C">C</option> - </select> - </div> - <div class="panel-col"> - <input type="text" id="starttime" class="form-control panel-input hasDatepicker" name="start_time" placeholder="开始时间" value=""> - </div> - <div class="panel-col"> - <input type="text" id="endtime" class="form-control panel-input hasDatepicker" name="end_time" placeholder="结束时间" value=""> - </div> - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="filter-all" href="/erpproduct/brands/index" class="btn btn-info">全部</a> - </div> - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div id="basicTable_wrapper" class="dataTables_wrapper no-footer"> - <div class="dataTables_length" id="basicTable"> - </div> - <nav> - <ul id="pagination" class="pagination pagination-lg"></ul> - </nav> - </div> - </div> -</div> - -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/category/Edit.html b/server/views/category/Edit.html deleted file mode 100644 index 8436e5c..0000000 --- a/server/views/category/Edit.html +++ /dev/null @@ -1,81 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div class="row"> - <div class="col-md-12"> - <div class="panel panel-default"> - - <div class="panel-body nopadding"> - - <form id="new-class-form" class="form-horizontal form-bordered" method="post" action="<%action%>"> - - </form> - </div> - - <div class="panel-footer"> - <button type="submit" class="btn btn-success">保存</button> - <a href="/erpproduct/sort/index" class="btn btn-danger">取消</a> - </div> - </div> - </div> - - </div> -</div> - -<script type="text/template" id="template"> - <div class="form-group"> - <label class="col-md-2 control-label"> - 物理类目<span class="red">*</span> - </label> - - <div class="col-md-5"> - <input id="sortName" class="form-control" required type="text" value="[[sortName]]" placeholder="品类名称"> - </div> - </div> - - <div class="form-group"> - <label class="col-md-2 control-label"> - 品类缩写<span class="red">*</span> - </label> - - <div class="col-md-5"> - <input id="sortInitials" class="form-control" required type="text" value="[[sortInitials]]" placeholder="品类缩写"> - </div> - </div> - - <div class="form-group"> - <label class="col-md-2 control-label"> - 分类 - </label> - - <div class="col-md-5"> - <div id="sortTree"></div> - </div> - </div> - - - <div class="form-group"> - <label class="col-md-2 control-label">排序 - <span class="red">*</span> - </label> - - <div class="col-md-5"> - <input id="orderBy" class="form-control" required value="[[orderBy]]" type="number" placeholder=""> - </div> - </div> - - <div class="form-group"> - <label class="col-md-2 control-label">状态</label> - <div class="col-md-5 form-inline"> - <div class="radio"> - <label><input type="radio" value="1" name="status">开启</label> - </div> - <div class="radio" style="margin-left: 10px"> - <label><input type="radio" value="0" name="status">关闭</label> - </div> - <input id="status" type="hidden" value="[[status||'0']]" for="radio"> - </div> - </div> - <input id="id" class="form-control" type="hidden" value="[[id]]"> -</script> -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/category/Index.html b/server/views/category/Index.html deleted file mode 100644 index 6d97ade..0000000 --- a/server/views/category/Index.html +++ /dev/null @@ -1,57 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div style="margin-bottom: 20px"> - <a href="/product/class/new" class="btn btn-success"><i class="fa fa-plus"></i> 添加品类</a> - </div> - - <div class="panel"> - <div class="panel-body nopadding"> - <div class="table-responsive"> - <table class="table table-bordered toggle-table"> - <thead> - <tr> - <th width="10%"></th> - <th width="10%">ID</th> - <th width="15%">品类名称</th> - <th width="10%">品类缩写</th> - <th width="15%">所属分类</th> - <th width="10%">排序</th> - <th width="10%">状态</th> - <th width="20%">操作</th> - </tr> - </thead> - <tbody> - - <%if data%> - <%each data as item%> - <tr class="level<%item.sortLevel%> <%if item.child%>hidden<%/if%>" data-parent="<%item.parentId%>" - data-val="<%item.id%>" data-status="close"> - <td class="toggle-td"><span class="glyphicon glyphicon-folder-close"></span></td> - <td><%item.id%></td> - <td><%item.sortName%></td> - <td><%item.sortInitials%></td> - <td><%item.sortLevel%>级分类</td> - <td><%item.orderBy%></td> - <td><%if item.booleanStatus%>开启<%else%>关闭<%/if%></td> - <td data-id="<%item.id%>"> - <a href="/product/class/edit/<%item.id%>" - class="btn btn-info btn-xs edit-class-btn">编辑</a> - <a href="" - class="btn btn-xs open-close-btn <%if item.booleanStatus%>btn-success <%else%>btn-danger<%/if%>" - data-status="<%item.status%>"> - <%if item.booleanStatus%>开启<%else%>关闭<%/if%> - </a> - </td> - </tr> - <%/each%> - <%/if%> - </tbody> - </table> - </div> - </div> - </div> -</div> - -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/common/Error.html b/server/views/common/Error.html deleted file mode 100644 index 9398ee3..0000000 --- a/server/views/common/Error.html +++ /dev/null @@ -1 +0,0 @@ -ERROR:<%message%> \ No newline at end of file diff --git a/server/views/common/Login.html b/server/views/common/Login.html deleted file mode 100644 index 0ee93f1..0000000 --- a/server/views/common/Login.html +++ /dev/null @@ -1,38 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> - <meta name="description" content=""> - <meta name="author" content=""> - <link rel="stylesheet" href="/static/index.min.css"> -</head> -<body class="signin"> -<section> - <div class="panel panel-signin"> - <div class="panel-body"> - <h3 class="text-center mb5">Yoho!Buy运营平台</h3> - <div class="mb30"></div> - <form action="/login" method="post"> - <div class="input-group mb15"> - <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span> - <input type="text" name="user" id="user" class="form-control" placeholder="用户名" autocomplete="off" > - </div> - - <div class="input-group mb15"> - <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span> - <input type="password" name="password" id="password" class="form-control" placeholder="密码" autocomplete="off" > - </div> - - <div class="clearfix"> - <div class="pull-right"> - <button type="submit" class="btn btn-success">登录<i class="fa fa-angle-right ml5"></i></button> - </div> - </div> - </form> - - </div> - </div> -</section> -</body> -</html> \ No newline at end of file diff --git a/server/views/common/__partail/ListHeader.html b/server/views/common/__partail/ListHeader.html deleted file mode 100644 index 57c63a8..0000000 --- a/server/views/common/__partail/ListHeader.html +++ /dev/null @@ -1,17 +0,0 @@ -<div class="pageheader"> - <div class="media"> - <div class="pageicon pull-left"> - <i class="fa fa-th-list"></i> - </div> - <div class="media-body" style="font-family: 'microsoft yahei'"> - <ul class="breadcrumb"> - <li><a href=""><i class="glyphicon glyphicon-home"></i></a></li> - <li><a href=""><% moduleName %></a></li> - <li><% pageName %></li> - </ul> - <div style="margin-top: 4px"> - <h4 style="line-height: 30px;font-size: 24px"><% pageName %></h4> - </div> - </div> - </div> -</div> \ No newline at end of file diff --git a/server/views/common/__ui/footer.html b/server/views/common/__ui/footer.html deleted file mode 100644 index 1a03c65..0000000 --- a/server/views/common/__ui/footer.html +++ /dev/null @@ -1,5 +0,0 @@ - </div> - </div> -</section> -</body> -</html> \ No newline at end of file diff --git a/server/views/common/__ui/header.html b/server/views/common/__ui/header.html deleted file mode 100644 index 8dffebf..0000000 --- a/server/views/common/__ui/header.html +++ /dev/null @@ -1,20 +0,0 @@ -<!doctype html> -<html class="no-js"> -<head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <title>有货商家后台系统</title> - <meta name="description" content=""> - <meta name="keywords" content=""> - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> - <meta name="renderer" content="webkit"> - <meta http-equiv="Cache-Control" content="no-siteapp" /> - <link rel="stylesheet" href="/static/index.min.css"> -</head> -<body class="main"> -<%include 'topbar'%> -<section> - <div class="mainwrapper"> -<%include 'sidebar'%> - <div class="mainpanel" id="pjax-container"> - diff --git a/server/views/common/__ui/sidebar.html b/server/views/common/__ui/sidebar.html deleted file mode 100644 index 8880809..0000000 --- a/server/views/common/__ui/sidebar.html +++ /dev/null @@ -1,42 +0,0 @@ -<!-- sidebar start --> - <div class="leftpanel"> - <h5 class="leftpanel-title">Navigation</h5> - <ul class="nav nav-pills nav-stacked"> - <li class=""> - <a href="/"> - <i class="fa fa-home"></i> <span>控制台</span> - </a> - </li> - - <%each _locals.session.user.menu as value i%> - <li <%if value.parent%>class="parent "<%/if%>> - <a href="javascript:;"> - <i class="fa fa-suitcase"></i> - <span><%value.title%></span> - </a> - <%if value.menu%> - <ul class="children"> - <%each value.menu%> - <li > - <a <%if $value.href%> href="<%$value.href%>"<%/if%>> - <i class="fa fa-suitcase"></i> - <span><%$value.title%></span> - </a> - <%if $value.sub%> - <%each $value.sub as item i%> - <li style="margin-left: 20px;"> - <a <%if item.module_url%> href="<%item.module_url%>"<%/if%>> - <i class="fa fa-suitcase"></i> - <span><%item.resource_name%></span> - </a> - </li> - <%/each%> - <%/if%> - </li> - <%/each%> - </ul> - <%/if%> - </a> - </li> - <%/each%> - </div> diff --git a/server/views/common/__ui/topbar.html b/server/views/common/__ui/topbar.html deleted file mode 100644 index 3e75dc1..0000000 --- a/server/views/common/__ui/topbar.html +++ /dev/null @@ -1,57 +0,0 @@ -<header> - <div class="headerwrapper"> - <div class="header-left" style="font-size: 18px;color: #FCFDFE;"> - Yoho!Buy运营平台 - <div class="pull-right"> - <a href="/" class="menu-collapse"> - <i class="fa fa-bars"></i> - </a> - </div> - </div><!-- header-left --> - - <div class="header-right"> - <%if _locals.session.user.auth %> - - <div class="pull-right"> - <div class="btn-group btn-group-list btn-group-notification"> - <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> - <i class="fa fa-bell-o"></i> - <span class="badge">0</span> - </button> - <div class="dropdown-menu pull-right"> - <a href="" class="link-right"><i class="fa fa-search"></i></a> - <h5>Notification</h5> - </div><!-- dropdown-menu --> - </div><!-- btn-group --> - - <div class="btn-group btn-group-list btn-group-messages"> - <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> - <i class="fa fa-envelope-o"></i> - <span class="badge">0</span> - </button> - <div class="dropdown-menu pull-right"> - <a href="" class="link-right"><i class="fa fa-plus"></i></a> - <h5>New Messages</h5> - </div><!-- dropdown-menu --> - </div><!-- btn-group --> - - <div class="btn-group btn-group-option"> - <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> - <i class="fa fa-caret-down"></i> - </button> - <ul class="dropdown-menu pull-right" role="menu"> - <li><a href="#"><i class="glyphicon glyphicon-user"></i> My Profile</a></li> - <li><a href="#"><i class="glyphicon glyphicon-star"></i> Activity Log</a></li> - <li><a href="#"><i class="glyphicon glyphicon-cog"></i> Account Settings</a></li> - <li><a href="#"><i class="glyphicon glyphicon-question-sign"></i> Help</a></li> - <li class="divider"></li> - <li><a href="/logout"><i class="glyphicon glyphicon-log-out"></i>Sign Out</a></li> - </ul> - </div><!-- btn-group --> - - </div><!-- pull-right --> - - </div> - <%/if%> - </div> -</<header> \ No newline at end of file diff --git a/server/views/common/index.html b/server/views/common/index.html deleted file mode 100644 index 5b0c297..0000000 --- a/server/views/common/index.html +++ /dev/null @@ -1,2 +0,0 @@ -<%include '__ui/header'%> -<%include '__ui/footer'%> diff --git a/server/views/goods/audit/Index.html b/server/views/goods/audit/Index.html deleted file mode 100644 index 2234c83..0000000 --- a/server/views/goods/audit/Index.html +++ /dev/null @@ -1,99 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input type="text" id="productSkn" value="" class="form-control" placeholder="SKN" style="height: 39px;" /> - </div> - <div class="panel-col"> - <input type="text" id="productSkc" value="" class="form-control" placeholder="SKC" style="height: 39px;" /> - </div> - <div class="panel-col"> - <input type="text" id="productSku" value="" class="form-control" placeholder="SKU" style="height: 39px;" /> - </div> - - <div class="panel-col"> - <input type="text" id="productName" class="form-control" placeholder="商品名称" style="height: 39px;"/> - </div> - - <div class="panel-col"> - <select id="shopId" class="form-control"> - <option value="-1">请选择店铺</option> - </select> - </div> - <div class="panel-col"> - <select id="brandId" class="form-control"> - <option value="-1">请选择品牌</option> - </select> - </div> - - <div class="panel-col"> - <select id="isJit" class="form-control"> - <option value="-1">是否JIT商品</option> - <option value="Y">是JIT</option> - <option value="N">非JIT</option> - - </select> - </div> - - <div class="panel-col"> - <select id="gender" class="form-control"> - <option value="-1">请选择性别</option> - <option value="1">男</option> - <option value="2">女</option> - <option value="3">通用</option> - - </select> - </div> - - - <div class="panel-col" style="width:300px"> - <div id="sort"></div> - </div> - - <div class="panel-col"> - <select id="size" class="form-control"> - <option value="10">单页显示条目数</option> - <option value="10">10条</option> - <option value="20">20条</option> - <option value="30">30条</option> - <option value="50">50条</option> - <option value="100">100条</option> - - </select> - </div> - - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - - <div class="panel-col"> - <a id="pass-btn" href="javascript:;" class="btn btn-info">通过</a> - <a id="reject-btn" href="javascript:;" class="btn btn-info">驳回</a> - </div> - - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div class="dataTab_wrapper" id="basicTab"></div> - <div class="dataTab_wrapper" id="basicTable" ></div> - </div> -</div> - - -<script type="text/template" id="template"> - <div class="rows" style="height: 100px;"> - <div class="form-group"> - <span class="col-sm-2 control-label">驳回原因:</span> - <div class="col-sm-8"> - <textarea id="reason" class="form-control" rows="3" ></textarea> - </div> - </div> - </div> - </div> -</script> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/basegoods/Batch.html b/server/views/goods/basegoods/Batch.html deleted file mode 100644 index d0c7d82..0000000 --- a/server/views/goods/basegoods/Batch.html +++ /dev/null @@ -1,103 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> -<%if isPL%> -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <table class="table table-bordered"> - <tr> - <td rowspan="2">补货</td> - <td>上传EXCEL:</td> - <td style="position: relative;"><input id="supplyModify" name="file" data-type="searchSort" type="file" style="cursor: pointer; height: 37px; top: 8px;"></td> - </tr> - <tr> - <td>说明:</td> - <td colspan="2"> - 1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br> - 2、第一行标题栏:<span style="color: #67D267;">SKU|补货</span><br> - 3、<a href="/ajax/link/batchModifySupply">下载样例</a> - </td> - </tr> - <tr> - <td rowspan="2">奥莱</td> - <td>上传EXCEL:</td> - <td style="position: relative;"><input id="outletModify" name="file" data-type="brandProperty" type="file" style="cursor: pointer; height: 37px; top: 8px;"></td> - </tr> - <tr> - <td>说明:</td> - <td colspan="2"> - 1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br> - 2、第一行标题栏:<span style="color: #67D267;">SKN|奥莱</span><br> - 3、<a href="/ajax/link/batchModifyOutlet">下载样例</a> - </td> - </tr> - </table> - </div> - <div class="panel-body red" id="message"> - </div> - </div> -</div> -<%else%> - -<div class="contentpanel"> - - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - - <div class="rows"> - <div class="form-group"> - <label class="col-sm-1 control-label">品牌 <span class="red">*</span></label> - <div class="col-sm-2"> - <select id="brandId" class="form-control" required> - <option value="-1">选择品牌</option> - </select> - </div> - - <label class="col-sm-1 control-label">管理店铺 <span class="red">*</span></label> - <div class="col-sm-2"> - <select id="shopId" class="form-control"> - <option value="-1">选择店铺</option> - </select> - </div> - - <label class="col-sm-1 control-label">JIT供应商</label> - <div class="col-sm-2"> - <select id="supplierId" class="form-control"> - <option value="-1">选择JIT供应商</option> - </select> - </div> - </div> - </div> - - <table class="table table-bordered"> - <tr> - <td rowspan="2">基础商品</td> - <td>上传EXCEL:</td> - <td > - <div class="panel-col" style="position: relative;"> - <input id="baseProduct" name="file" data-type="baseProduct" type="file" style="cursor: pointer; height: 37px; top: 8px;"> - </div> - <div class="panel-col" style="line-height: 40px;position: relative;left: -60px;"> - <span class="red">必须输入品牌</span> - </div> - </td> - </tr> - <tr> - <td>说明:</td> - <td colspan="2"> - 1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br> - 2、第一行标题栏:<span style="color: #67D267;">货品名称、厂家编号、一级分类、二级分类、三级分类、四级分类、性别、货品年、货品季、吊牌价、销售价、色系、厂家颜色、款型、尺码、条码、能否补货、SKN计数,年龄层(成人,大童,小童),重点款,预计上架时间,UPM条码,厂家编号</span><br> - 3、<a href="/ajax/link/baseproduct">下载样例</a> - </td> - </tr> - </table> - </div> - </div> -</div> - -<div class="panel panel-primary-head"> - <div class="panel-body red" id="message"> - </div> -</div> -<%/if%> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/basegoods/Edit.html b/server/views/goods/basegoods/Edit.html deleted file mode 100644 index 433d83c..0000000 --- a/server/views/goods/basegoods/Edit.html +++ /dev/null @@ -1,345 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div class="row"> - <div class="col-md-12"> - <form id="basicForm" role="form" class="form-horizontal form-bordered" method="post" action="<%action%>"> - - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title">基本信息</h4> - </div> - <div class="panel-body" id="basicInfo"> - - </div> - - <div class="panel-heading"> - <h4 class="panel-title">销售属性</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">颜色分类 <span class="red">*</span></label> - <p> - <%if list%> - <%each list as item%> - <button type="button" class="btn btn-default sortadd btn-xs" data-id="<%item.id%>"><%item.colorName%></button> - <%/each%> - <%/if%> - </p> - </div> - <div id="basicTable"></div> - - </div> - </div> - - <input type="hidden" id="isShenHe" value="<%isShenHe%>" /> - - <div class="panel-footer"> - <div class="row"> - <div class="col-sm-8 col-sm-offset-2"> - <a class="btn btn-default" href="/supplier/baseproduct/index">取消</a> - <button type="submit" class="btn btn-success mr5" data-loading-text="保存中..." id="btnReview"><%btnText%></button> - </div> - </div> - </div> - </div> - - </form> - </div> - </div> -</div> -<script type="text/template" id="template"> - [[each goodsSizeList as item __index]] - <div class="form-group"> - <!-- <label class="col-sm-1 red">*</label> --> - <div class="col-sm-2"> - <select class="form-control btn-sort-chima" data-index=[[index]] data-eq=[[__index]] value='[[item.sizeId]]' required placeholder="尺码"> - <option value="[[item.sizeId||'-1']]">[[item.sizeName||'选择尺码']]</option> - </select> - </div> - <div class="col-sm-2"> - <input class="form-control btn-sort-xiaoshou" value="[[item.salePrice]]" placeholder="默认销售价" data-index=[[index]] data-eq=[[__index]] required match="numbers" type="text"></input> - </div> - <div class="col-sm-2"> - <input class="form-control btn-sort-tiaoma" value="[[item.factoryCode]]" placeholder="条码" data-index=[[index]] data-eq=[[__index]]></input> - </div> - <div class="col-sm-2"> - <select class="form-control btn-sort-kebu" value="[[item.isSuppled||'Y']]" data-index=[[index]] data-eq=[[__index]]> - <option value="N">不可补货</option> - <option value="Y">可补货</option> - </select> - </div> - <div class="col-sm-2"> - <input class="form-control btn-sort-upmCode" value="[[item.upmCode]]" placeholder="UPM条码" data-index=[[index]] data-eq=[[__index]]></input> - </div> - <div class="col-sm-2"> - [[if __index==goodsSizeList.length-1]] - <button type="button" class="btn btn-info btn-xs btn-sort-add" data-index=[[index]]>+</button> - [[/if]] - [[if __index!=0]] - <button type="button" class="btn btn-info btn-xs btn-sort-remove" data-index=[[index]] data-eq=[[__index]]>-</button> - [[/if]] - </div> - - </div> - [[/each]] -</script> - -<script type="text/template" id="template2"> - <div class="row"> - - <div class="form-group"> - <label class="col-sm-2 control-label">品牌 <span class="red">*</span></label> - <div class="col-sm-2"> - <select id="brandId" class="form-control" required placeholder="品牌"> - <option value="[[brandId||'-1']]">[[brandName||'品牌']]</option> - </select> - </div> - - <label class="col-sm-1 control-label">管理店铺 <span class="red">*</span></label> - <div class="col-sm-2"> - <select id="shopId" class="form-control" required placeholder="管理店铺"> - <option value="[[shopId||'-1']]">[[shopName||'店铺']]</option> - </select> - </div> - - - - <label class="col-sm-1 control-label">JIT供应商</label> - <div class="col-sm-2"> - <select id="supplierId" class="form-control"> - <option value="[[supplierId||'-1']]">[[supplierName||'供应商']]</option> - </select> - <div class="col-sm-12 control-label red">JIT商品必须选择JIT供应商</div> - </div> - - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">分类<span class="red">*</span></label> - <div class="col-sm-5"> - <div id="tree"></div> - </div> - - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">商品名称<span class="red">*</span></label> - <div class="col-sm-3"> - <input type="text" id="productName" class="form-control" value="[[productName]]" placeholder="品牌英文名+性别+最小类目" required/> - </div> - <label class="col-sm-1 control-label">厂家编号<span class="red">*</span></label> - <div class="col-sm-1"> - <input type="text" id="factoryCode" placeholder="厂家编号" value="[[factoryCode]]" class="form-control" required/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">货品年<span class="red">*</span></label> - <div class="col-sm-2"> - <select id="goodsYears" class="form-control" value="[[goodsYears||'2016']]"> - [[each ENUMYEAR as item index]] - <option value="[[item.YEAR]]">[[item.YEAR]]</option> - [[/each]] - </select> - </div> - <label class="col-sm-1 control-label">货品季<span class="red">*</span></label> - <div class="col-sm-2"> - <select id="goodsSeason" class="form-control" value="[[goodsSeason]]"> - <option value="1">春</option> - <option value="2">夏</option> - <option value="3">秋</option> - <option value="4">冬</option> - <option value="5">春夏</option> - <option value="6">秋冬</option> - </select> - </div> - <label class="col-sm-1 control-label">商品属性<span class="red">*</span></label> - <div class="col-sm-2"> - <select id="attribute" class="form-control" value="[[attribute]]"> - <option value="1">普通商品</option> - <option value="2">赠品</option> - <option value="3">虚拟商品</option> - </select> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">商品话题</label> - <div class="col-sm-5"> - <input type="text" id="productTag" class="form-control" value="[[productTag]]" /> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">年龄层<span class="red">*</span></label> - <div class="col-sm-2"> - <label class="radio-inline"> - <input type="checkbox" name="ageLevel" value="1">成人</label> - <label class="radio-inline"> - <input type="checkbox" name="ageLevel" value="2">大童</label> - <label class="radio-inline"> - <input type="checkbox" name="ageLevel" value="3">小童</label> - <label class="radio-inline"> - <input type="checkbox" name="ageLevel" value="4">中童</label> - <label class="radio-inline"> - <input type="checkbox" name="ageLevel" value="5">幼童</label> - <input type="hidden" id="ageLevel" name="ageLevel" value="[[ageLevel]]" for="checkbox" placeholder="年龄层" required /> - </div> - <label class="col-sm-1 control-label">性别<span class="red">*</span></label> - <div class="col-sm-2"> - <label class="radio-inline"> - <input type="radio" name="gender" value="1">男</label> - <label class="radio-inline"> - <input type="radio" name="gender" value="2">女</label> - <label class="radio-inline"> - <input type="radio" name="gender" value="3">通用</label> - <input type="hidden" id="gender" name="gender" value="[[gender||'1']]" for="radio" required /> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">重点款<span class="red">*</span></label> - <div class="col-sm-2"> - <label class="radio-inline"> - <input type="radio" name="grade" value="1">是</label> - <label class="radio-inline"> - <input type="radio" name="grade" value="0">否</label> - </div> - <input type="hidden" id="grade" value="[[grade||'0']]" for="radio" required/> - <label class="col-sm-1 control-label">适销季<span class="red">*</span></label> - <div class="col-sm-4"> - <label class="radio-inline"> - <input type="checkbox" name="seasons" value="spring">春</label> - <label class="radio-inline"> - <input type="checkbox" name="seasons" value="summer">夏</label> - <label class="radio-inline"> - <input type="checkbox" name="seasons" value="autumn">秋</label> - <label class="radio-inline"> - <input type="checkbox" name="seasons" value="winter">冬</label> - <label class="radio-inline"> - <input type="checkbox" name="seasons" value="seasons">四季</label> - <input type="hidden" id="seasons" name="seasons" value="[[seasons||'seasons']]" for="checkbox" placeholder="年龄层" /> - </div> - - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">限量款</label> - <div class="col-sm-2"> - <label class="radio-inline"> - <input type="radio" name="isLimited" value="Y">是</label> - <label class="radio-inline"> - <input type="radio" name="isLimited" value="N">否</label> - </div> - <input id="isLimited" type="hidden" value="[[isLimited||'N']]" for="radio" /> - - - [[if isAuditing==200]] - <label class="col-sm-1 control-label">是否预售</label> - <div class="col-sm-2"> - <label class="radio-inline"> - <input type="radio" name="isAdvance" value="Y">是</label> - <label class="radio-inline"> - <input type="radio" name="isAdvance" value="N">否</label> - <input type="hidden" id="isAdvance" value="[[isAdvance||'N']]" for="radio" /> - </div> - [[/if]] - - </div> - - [[if isAuditing==200]] - <div class="form-group"> - <label class="col-sm-2 control-label">是否奥莱</label> - <div class="col-sm-2"> - <label class="radio-inline"> - <input type="radio" name="isOutLets" value="Y">是</label> - <label class="radio-inline"> - <input type="radio" name="isOutLets" value="N">否</label> - <input type="hidden" id="isOutLets" value="[[isOutLets == 'B' ? 'N' : (isOutLets||'N')]]" for="radio" /> - </div> - - - </div> - [[/if]] - - [[if isAuditing==200]] - <div class="form-group"> - <label class="col-sm-2 control-label">是否VIP</label> - <div class="col-sm-2"> - <label class="radio-inline"> - <input type="radio" name="isVip" value="B">品牌设置</label> - <label class="radio-inline"> - <input type="radio" name="isVip" value="Y">开启</label> - <label class="radio-inline"> - <input type="radio" name="isVip" value="N">关闭</label> - <input type="hidden" id="isVip" value="[[isVip||'B']]" for="radio" /> - </div> - </div> - [[/if]] - - - <div class="form-group"> - <label class="col-sm-2 control-label">吊牌价<span class="red">*</span></label> - <div class="col-sm-2"> - <input type="text" id="retailPriceStr" class="form-control" required value="[[retailPriceStr]]" match="numbers" placeholder="吊牌价" /> - </div> - <label class="col-sm-1 control-label">销售价<span class="red">*</span></label> - <div class="col-sm-2"> - <input type="text" id="salesPriceStr" class="form-control" required value="[[salesPriceStr]]" match="numbers" placeholder="销售价" /> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">预计上架时间<span class="red">*</span></label> - <div class="col-sm-2"> - <input type="text" id="expectShelfTimeStr" jsaction="time" value="[[expectShelfTimeStr]]" required class="form-control" readonly="readonly" placeholder="预计上架时间" /> - </div> - [[if isAdvance=='Y']] - <label class="col-sm-1 control-label" id="expectArrivalTimeStrTxt">预计到货时间<span class="red">*</span></label> - <div class="col-sm-2"> - <input type="text" id="expectArrivalTimeStr" jsaction="time" value="[[expectArrivalTimeStr]]" class="form-control" readonly="readonly" required placeholder="预计到货时间" /> - </div> - [[else]] - <label class="col-sm-1 control-label" id="expectArrivalTimeStrTxt">预计到货时间</label> - <div class="col-sm-2"> - <input type="text" id="expectArrivalTimeStr" jsaction="time" value="[[expectArrivalTimeStr]]" class="form-control" readonly="readonly" placeholder="预计到货时间" /> - </div> - [[/if]] - - </div> - - </div> -</script> - -<script type="text/template" id="template3"> - <div class="form-group"> - [[if inputType=='checkbox']] - [[each idNameList as item index ]] - <label class="radio-inline"> - <input type="checkbox" name="attr_[[__index]]" data-index=[[__index]] class="attr_checkobx_class" value="[[item.id]]">[[item.text]]</label> - [[/each]] - <input type="hidden" id="attr_[[__index]]" value="[[__val||'']]" [[required]] for="checkbox" placeholder="[[attributeName]]"/> - [[/if]] - - [[if inputType=='radio']] - [[each idNameList as item index ]] - <label class="radio-inline"> - <input type="radio" name="attr_[[__index]]" data-index=[[__index]] class="attr_input" value="[[item.id]]">[[item.text]]</label> - [[/each]] - <input type="hidden" id="attr_[[__index]]" data-index='[[__index]]' value="[[__val||'']]" [[required]] for="radio" placeholder="[[attributeName]]" /> - [[/if]] - - [[if inputType=='select']] - <select class="form-control attr_input" style="width: 280px" data-index='[[__index]]' value="[[__val||'']]" [[required]]> - <option value="">请选择[[attributeName]]</option> - [[each idNameList as item index ]] - <option value="[[item.id]]">[[item.text]]</option> - [[/each]] - </select> - [[/if]] - - [[if inputType=='text']] - <input type="text" class="form-control attr_input" style="width: 280px" data-index='[[__index]]' value="[[val||'']]" [[required]] maxlength='[[maxValueLen]]' placeholder="[[attributeName]]"/> - [[/if]] - [[if inputType=='textarea']] - <textarea class="form-control attr_input" data-index='[[__index]]' [[required]] maxlength='[[maxValueLen]]' placeholder="[[attributeName]]">[[val||'']]</textarea> - [[/if]] - </div> -</script> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/basegoods/Index.html b/server/views/goods/basegoods/Index.html deleted file mode 100644 index bc4be19..0000000 --- a/server/views/goods/basegoods/Index.html +++ /dev/null @@ -1,136 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-heading"> - <a href="/base/goods/add" class="btn btn-success"><i class="fa fa-plus"></i> 添加基础商品</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input type="text" id="productSkn" value="" class="form-control" placeholder="SKN" - style="height: 39px;" maxlength="9" /> - </div> - <div class="panel-col"> - <input type="text" id="productName" class="form-control" placeholder="商品名称" style="height: 39px;"/> - </div> - <div class="panel-col"> - <input type="text" id="founderName" class="form-control" placeholder="创建人" style="height: 39px;"/> - </div> - <div class="panel-col"> - <select id="shopId" class="form-control"> - <option value="-1">请选择店铺</option> - </select> - </div> - <div class="panel-col"> - <select id="brandId" class="form-control"> - <option value="-1">请选择品牌</option> - </select> - </div> - <div class="panel-col"> - <select id="isOutLets" class="form-control"> - <option value="-1">是否奥莱</option> - <option value="Y">是</option> - <option value="N">否</option> - - </select> - </div> - <div class="panel-col"> - <select id="isAdvance" class="form-control"> - <option value="-1">是否预售</option> - <option value="Y">是</option> - <option value="N">否</option> - - </select> - </div> - <div class="panel-col"> - <select id="gender" class="form-control"> - <option value="-1">请选择性别</option> - <option value="1">男</option> - <option value="2">女</option> - <option value="3">通用</option> - - </select> - </div> - <div class="panel-col"> - <select id="isJit" class="form-control"> - <option value="-1">是否JIT商品</option> - <option value="Y">是JIT</option> - <option value="N">非JIT</option> - </select> - </div> - <div class="panel-col"> - <input type="text" id="factoryCode" class="form-control" placeholder="厂家编号" style="height: 39px;"/> - </div> - <div class="panel-col2"> - <div id="sort"></div> - </div> - - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - - <div class="panel-col"> - <a id="pass-btn" href="javascript:;" class="btn btn-info">通过</a> - <a id="reject-btn" href="javascript:;" class="btn btn-info">驳回</a> - - </div> - <div class="panel-col"> - <a id="import-btn" href="/goods/base/batch" class="btn btn-info">基础商品导入</a> - </div> - <div class="panel-col" style="display: none;" id="daochu"> - <a href="javascript:;" class="btn btn-info" id="basedaochu">基础商品导出</a> - </div> - <div class="panel-col"> - <a id="import-btn" href="/goods/piliang/batch" class="btn btn-info">批量功能</a> - </div> - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div class="dataTab_wrapper" id="basicTab"></div> - <div class="dataTab_wrapper" id="basicTable"></div> - </div> -</div> - - -<!-- <script type="text/template" id="template"> - <div class="rows" style="height: 100px;"> - <div class="form-group"> - <span class="col-sm-2 control-label">驳回原因:</span> - - <div class="col-sm-8"> - <textarea id="bohui" class="form-control" rows="3"></textarea> - </div> - </div> - </div> - </div> -</script> - --> -<script type="text/template" id="template"> - <p style="color: red;">SKN:{productSkn} 品牌:{brandName}</p> - <p style="color: red;">商品名称:{productName}</p> - <div id="shelve-table" class="dataTables_wrapper no-footer"></div> - -</script> - -<script type="text/template" id="template2"> -[[each goodsSizeList as item index]] - <div class="subhhead"> - <span>[[item.productSku]]</span> - <span>[[item.sizeName]]</span> - <span>[[item.storageNum]]</span> - <span>[[ ["下架","上架"][item.status] ]]</span> - <span> - [[if item.status]] - <a class="btn btn-danger btnsku" data-subindex='[[index]]' data-index=[[__index]] href="javascript:;">下架</a> - [[else]] - <a class="btn btn-success btnsku" data-subindex='[[index]]' data-index=[[__index]] href="javascript:;">上架</a> - [[/if]] - </span> - </div> -[[/each]] -</script> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/basegoods/Info.html b/server/views/goods/basegoods/Info.html deleted file mode 100644 index c60a778..0000000 --- a/server/views/goods/basegoods/Info.html +++ /dev/null @@ -1,148 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> -<div class="contentpanel"> - -</div> - - -<script type="text/template" id="template"> - - <div class="panel-body"> - - <div class="panel panel-default"> - <form class="form-horizontal form-bordered"> - <div class="panel-heading"> - <div class="panel-btns" style="display: none;"> - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title="" - data-original-title=""><i class="fa fa-minus"></i></a> - </div> - <h2 class="panel-title">基本信息</h2> - </div> - <div class="panel-body nopadding"> - - <div class="form-group"> - <div class="col-sm-3">店铺:[[shopName]]</div> - <div class="col-sm-3">品牌:[[brandName]]</div> - <div class="col-sm-3">供应商:[[supplierName]]</div> - </div> - <div class="form-group"> - <div class="col-sm-3">品类: - [[if maxSortName]] - [[maxSortName]] - [[/if]] - [[if middleSortName]] - >[[middleSortName]] - [[/if]] - [[if smallSortName]] - >[[smallSortName]] - [[/if]] - [[if sortName]] - >[[sortName]] - [[/if]] - </div> - <div class="col-sm-3">货品年/季:[[goodsYears]] / [[goodsSeason]]</div> - <div class="col-sm-3">厂家编号:[[factoryCode]]</div> - </div> - <div class="form-group"> - <div class="col-sm-2">SKN:[[productSkn]]</div> - <div class="col-sm-2">商品话题:[[productTag]]</div> - </div> - - <div class="form-group"> - <div class="col-sm-2">商品名称:[[productName]]</div> - <div class="col-sm-2">商品类型:[[attribute]]</div> - </div> - - <div class="form-group"> - <div class="col-sm-3">年龄层:[[ageLevel]]</div> - <div class="col-sm-3">性别:[[gender]]</div> - <div class="col-sm-3">重点款:[[grade||""]]</div> - </div> - - <div class="form-group"> - <div class="col-sm-3">限量款:[[isLimited]]</div> - </div> - - <div class="form-group"> - <div class="col-sm-3">吊牌价:[[retailPrice]]</div> - <div class="col-sm-3">销售价:[[salesPrice]]</div> - </div> - - <div class="form-group"> - <div class="col-sm-2">预计上架时间:[[expectShelfTimeStr]]</div> - <div class="col-sm-2">预计到货时间:[[expectArrivalTimeStr]]</div> - </div> - - </div> - <div class="panel-footer"> - [[if isAuditing!="200"&&isAuditing!="300"]] - <button class="btn btn-primary apply-success">通过</button> - <button class="btn btn-primary apply-back">驳回</button> - [[/if]] - <button onclick="history.go(-1);" type="button" class="btn btn-primary btn-info">返回</button> - </div> - </form> - </div> - - </div> - - - <div class="form-group"> - <div class="col-sm-12"> - <h4>销售属性:</h4> - <table class="table table-bordered"> - <thead> - <tr> - <th>SKC</th> - <th>SKU</th> - <th>销售价</th> - <th>款型编码</th> - <th>条码</th> - <th>厂家颜色</th> - <th>能否补货</th> - </tr> - </thead> - <tbody> - [[each baseGoodList as item index]] - [[each item.goodsSizeList as _item index]] - <tr> - <th> - <span>[[item.productSkc]]</span> - <span>[[item.goodsName]]</span> - </th> - <th> - <span>[[_item.productSku]]</span> - <span>[[_item.sizeName]]</span> - </th> - <th>[[_item.salePrice]]</th> - <th>[[item.factoryCode]]</th> - <th>[[_item.factoryCode]]</th> - <th>[[item.factoryGoodsName]]</th> - [[if _item.isSuppled=="Y"]] - <th>是</th> - [[else]] - <th>否</th> - [[/if]] - </tr> - [[/each]] - [[/each]] - </tbody> - </table> - </div> - </div> - -</script> - -<script type="text/template" id="bohuiuuu"> - <div class="rows" style="height: 100px;"> - <div class="form-group"> - <span class="col-sm-2 control-label">驳回原因:</span> - - <div class="col-sm-8"> - <textarea id="bohui" class="form-control" rows="3"></textarea> - </div> - </div> - </div> - </div> -</script> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/cod/Brand.html b/server/views/goods/cod/Brand.html deleted file mode 100644 index a0b8c3e..0000000 --- a/server/views/goods/cod/Brand.html +++ /dev/null @@ -1,49 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select id="brandId" class="form-control"> - <option value="-1">请选择品牌</option> - </select> - </div> - - <div class="panel-col"> - <select id="isPayDelivery" class="form-control"> - <option value="-1">状态</option> - <option value="1">开启</option> - <option value="0">关闭</option> - </select> - </div> - - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="export-btn" href="" class="btn btn-info">导出</a> - </div> - - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div class="dataTab_wrapper" id="basicTab"></div> - <div class="dataTab_wrapper" id="basicTable" ></div> - </div> -</div> - - -<script type="text/template" id="template"> - <div class="rows" style="height: 100px;"> - <div class="form-group"> - <p>您确定要驳回申请吗?</p> - <span class="col-sm-2 control-label" style="color:red;">* 驳回原因:</span> - <div class="col-sm-8"> - <textarea id="reason" class="form-control" rows="3" ></textarea> - </div> - </div> - </div> - </div> -</script> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/cod/Goods.html b/server/views/goods/cod/Goods.html deleted file mode 100644 index 85ee779..0000000 --- a/server/views/goods/cod/Goods.html +++ /dev/null @@ -1,69 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div> - <ul class="nav nav-pills"> - <li> - <a class="hand active" href="javascript:void(0)" style="font-size: 14px;padding:20px;color: #428bca">货到付款</a> - </li> - <li> - <a class="tag" href="/goods/special/index" style="font-size: 14px;padding:20px;color: black">特殊商品</a> - </li> - </ul> - </div> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - - <div class="panel-col"> - <select id="productSkn" class="form-control"> - <option value="-1">SKN</option> - </select> - </div> - - <div class="panel-col"> - <select id="brandId" class="form-control"> - <option value="-1">请选择品牌</option> - </select> - </div> - - <div class="panel-col"> - <select id="isPayDelivery" class="form-control"> - <option value="-1">货到付款状态</option> - <option value="1">开启</option> - <option value="0">关闭</option> - - </select> - </div> - - - <div class="panel-col-3"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="export-btn" href="" class="btn btn-info">导出</a> - <a id="btn-input" href="/goods/cod/upload" class="btn btn-info">批量导入</a> - - </div> - - - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div class="dataTab_wrapper" id="basicTab"></div> - <div class="dataTab_wrapper" id="basicTable" ></div> - </div> -</div> - - -<script type="text/template" id="template"> - <div class="rows" style="height: 100px;"> - <div class="form-group"> - <span class="col-sm-2 control-label">驳回原因:</span> - <div class="col-sm-8"> - <textarea id="reason" class="form-control" rows="3" ></textarea> - </div> - </div> - </div> - </div> -</script> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/cod/Upload.html b/server/views/goods/cod/Upload.html deleted file mode 100644 index 38726a3..0000000 --- a/server/views/goods/cod/Upload.html +++ /dev/null @@ -1,59 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <table class="table table-bordered"> - <tr> - <td rowspan="2">单品设置</td> - <td>上传EXCEL:</td> - <td style="position: relative;"><input id="sort-file" name="file" data-type="searchSort" type="file" style="cursor: pointer; height: 37px; top: 8px;"> - </td> - </tr> - <tr> - <td>说明:</td> - <td colspan="2"> - 1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br> - 2、Excel表头为:<span style="color: #67D267;">SKN、操作(关闭:0;开启:1)</span><br> - 3、第一行为表头内容,第二行开始为正式内容<br> - 4、每个文件控制在2500行以内<br> - 5、<a href="/ajax/link/payDelivery">下载样例</a> - </td> - </tr> - </table> - - <div class="result"> - - </div> - </div> - - </div> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <table class="table table-bordered"> - <tr> - <td rowspan="2">特殊商品限制</td> - <td>上传EXCEL:</td> - <td style="position: relative;"><input id="sort-file1" name="file" data-type="searchSort" type="file" style="cursor: pointer; height: 37px; top: 8px;"> - </td> - </tr> - <tr> - <td>说明:</td> - <td colspan="2"> - 1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br> - 2、Excel表头为:<span style="color: #67D267;">SKN、是否特殊商品(是:0;否:1)</span><br> - 3、第一行为表头内容,第二行开始为正式内容<br> - 4、每个文件控制在2500行以内<br> - 5、<a href="/ajax/link/refundExchange">下载样例</a> - </td> - </tr> - </table> - - <div class="result1"> - - </div> - </div> - - </div> -</div> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/limitcategory/Index.html b/server/views/goods/limitcategory/Index.html deleted file mode 100644 index b5e0f40..0000000 --- a/server/views/goods/limitcategory/Index.html +++ /dev/null @@ -1,72 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select id="SortId" class="form-control"> - <option value="">请选择品类ID</option> - </select> - </div> - <div class="panel-col2"> - <div id="sort"></div> - </div> - - <div class="panel-col"> - <select id="SortLevel" class="form-control"> - <option value="">请选择所属分类</option> - </select> - </div> - <div class="panel-col"> - <input type="text" class="btn btn-info col-sm-5" id="filter-btn" value="筛选"> - <input type="text" class="btn btn-info col-sm-5 col-sm-offset-1" id="export-btn" value="导出"> - </div> - </div> - </div> - </div> - <div class="panel"> - <div class="panel-body nopadding"> - <div class="sale-category-table dataTables_wrapper no-footer" id="basicTable"></div> - </div> - </div> -</div> - -<script type="text/template" id="tableHdTemp"> - <div class="level-hd clearfix"> - <span class="folder"></span> - <span style="width: 5%">品类ID</span> - <span style="width: 20%">品类名称</span> - <span>所属分类</span> - <span class="status">是否特殊品类</span> - <span class="operate">操作</span> - </div> -</script> - -<script type="text/template" id="tableTemp2"> - <span class="folder"></span> - <span style="width: 5%">[[id]]</span> - <span style="width: 20%">[[sortName]]</span> - <span>[[sortLevel]]级分类</span> - <span class="status"> - [[if isRefundExchange=="1"]] - <b style="color: #449d44">否</b> - [[/if]] - [[if isRefundExchange=="0"]] - <b style="color: #d9534f">是</b> - [[/if]] - </span> - <span class="operate" data-id="[[id]]" data-name="[[sortName]]"> - [[if isok]] - [[else]] - [[if isRefundExchange=="1"]] - <a class="btn btn-danger btn-sm close-category " style="width:50px" href="javascript:;">是</a> - [[/if]] - [[if isRefundExchange=="0"]] - <a class="btn btn-warning btn-sm open-category " style="width:50px" href="javascript:;">否</a> - [[/if]] - [[/if]] - </span> -</script> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/netsale/Batch.html b/server/views/goods/netsale/Batch.html deleted file mode 100644 index 0cdfd85..0000000 --- a/server/views/goods/netsale/Batch.html +++ /dev/null @@ -1,41 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <table class="table table-bordered"> - <tr> - <td rowspan="2">排序</td> - <td>上传EXCEL:</td> - <td style="position: relative;"><input id="sort-file" name="file" data-type="searchSort" type="file" style="cursor: pointer; height: 37px; top: 8px;"></td> - </tr> - <tr> - <td>说明:</td> - <td colspan="2"> - 1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br> - 2、Excel表头为:<span style="color: #67D267;">SKN、模块ID(品牌设置:1;奥莱设置:2;搜索设置:3)、排序值</span><br> - 3、第一行为表头内容,第二行开始为正式内容<br> - 4、每个文件控制在2500行以内<br> - 5、<a href="/ajax/link/searchSort">下载样例</a> - </td> - </tr> - <tr> - <td rowspan="2">品牌款型系列</td> - <td>上传EXCEL:</td> - <td style="position: relative;"><input id="brand-file" name="file" data-type="brandProperty" type="file" style="cursor: pointer; height: 37px; top: 8px;"></td> - </tr> - <tr> - <td>说明:</td> - <td colspan="2"> - 1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br> - 2、Excel表头为:<span style="color: #67D267;">SKN、品牌款型系列名称、类型</span><br> - 3、第一行为表头内容,第二行开始为正式内容<br> - 4、每个文件控制在500行以内<br> - 5、<a href="/ajax/link/brandModelSeries">下载样例</a> - </td> - </tr> - </table> - </div> - </div> -</div> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/netsale/Edit.html b/server/views/goods/netsale/Edit.html deleted file mode 100644 index 57e27bb..0000000 --- a/server/views/goods/netsale/Edit.html +++ /dev/null @@ -1,152 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> -<form id="netsaleAllInfo" class="form-horizontal form-bordered"> -<div class="contentpanel" data-action="<%action%>" data-type="<%type%>"> - - <input id="productSkn" type="hidden"> - <div class="panel panel-primary"> - <div class="panel-heading"> - <a class="netsale-position" href="javascript:;" name="position1"></a> - <div class="panel-btns" style="display: none;"> - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a> - </div> - <h2 class="panel-title">上架前必填</h2> - </div> - - <div class="panel-body"> - <%include '__partail/basic_info'%> - <%include './__partail/fenmian'%> - - <%include './__partail/goods_description'%> - <%include './__partail/size_info'%> - <%include './__partail/goods_params'%> - <%include './__partail/goods_sort'%> - </div> - - </div> - - <!-- 搜索关键词 --> - <div class="panel panel-primary"> - <div class="panel-heading"> - <a class="netsale-position" href="javascript:;" name="position8"></a> - <div class="panel-btns" style="display: none;"> - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a> - </div> - <h2 class="panel-title">搜索关键词</h2> - </div> - - <div class="panel-body"> - <div class="form-group"> - <label class="col-sm-1 control-label height40" for="searchKeys">商品关键词</label> - <div class="col-sm-6"> - <input type="text" class="form-control" id="searchKeys" required="required" /> - - </div> - <div class="height40" style="color: red;">每个关键词请用英文“,”隔开</div> - </div> - <div class="form-group" id="search-key-list"> - <label class="col-sm-1 control-label height40">搜索热词:</label> - <div class="col-sm-6" id="search-key"> - - </div> - </div> - </div> - <div class="panel-footer"> - <button class="btn btn-primary" id="save-searchKey">保存</button> - </div> - </div> - - <div class="panel panel-primary"> - <div class="panel-heading"> - <a class="netsale-position" href="javascript:;" name="position9"></a> - <a id="editProductName" class="btn btn-default" href="javascript:;" style="position: absolute;left: 40%;top: 20%;">去编辑商品名称</a> - <div class="panel-btns" style="display: none;"> - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a> - </div> - <h2 class="panel-title">上架后补全信息</h2> - </div> - - <div class="panel-body"> - <%include './__partail/add_info'%> - <%include './__partail/editor_recommend'%> - <%include './__partail/model'%> - <%include './__partail/close_match'%> - </div> - </div> - -</div> -</form> - -<div class="footpanel" style="text-align: center;"> - <a id="saveAllInfo" href="javascript:;" class="btn btn-primary btn-lg">保存</a> - <a id="passBtn" href="javascript:;" class="btn btn-primary btn-lg">通过</a> - <a id="rejectBtn" href="javascript:;" class="btn btn-primary btn-lg">驳回</a> - <a id="backBtn" href="javascript:;" onclick="history.go(-1)" class="btn btn-default btn-lg">返回</a> -</div> - -<div class="floatnav"> - <ul> - <li name="position1"> - <a href="javascript:;"><i class="required-icon"></i>上架前必填</a> - <ul class="sub-floatnav"> - <li name="position2" data-pos="基本信息"><a href="javascript:;"><i class="required-icon"></i>基本信息</a></li> - <li name="position3"><a href="javascript:;"><i class="required-icon"></i>封面设置</a></li> - <li name="position4"><a href="javascript:;"><i class="required-icon"></i>商品描述</a></li> - <li name="position5" data-pos="尺码信息"><a href="javascript:;"><i class="required-icon"></i>尺码信息</a></li> - <li name="position6"><a href="javascript:;"><i class="required-icon"></i>商品参数</a></li> - <li name="position7"><a href="javascript:;"><i class="required-icon"></i>商品排序</a></li> - </ul> - </li> - <li name="position8" data-pos="搜索/标签"> - <a href="javascript:;">搜索关键词</a> - </li> - <li name="position9"> - <a href="javascript:;">上架后补全</a> - <ul class="sub-floatnav"> - <li name="position10"><a href="javascript:;">模特</a></li> - <!-- <li name="position11"><a href="javascript:;">品牌关联</a></li> --> - <li name="position12"><a href="javascript:;">小编推荐</a></li> - <li name="position13"><a href="javascript:;">搭配</a></li> - </ul> - </li> - </ul> - <i class="glyphicon glyphicon-chevron-right"></i> - <i class="glyphicon glyphicon-chevron-left"></i> -</div> - -<script type="text/template" id="picDialogTemp"> - <div class="row"> - <div id="upload-wrapper" class="col-md-3"> - <input id="imgVideo" name="imgVideo" type="file" extend="{extend}" class="btn btn-primary ml10" value="{attachUrl}"> - </div> - <div class="col-md-9"> - <div class="row"> - <label class="pull-left control-label height40">{name}链接</label> - <div class="pull-left ml10"> - <input class="form-control" id="imgVideoText" type="text" placeholder="{name}链接" value="{attachUrl}"> - </div> - - </div> - <div class="row"> - <label class="pull-left control-label height40">{name}描述</label> - <div class="pull-left ml10"> - <input class="form-control" type="text" id="attachName" value="{attachName}" placeholder="{name}描述"> - </div> - </div> - </div> - </div> -</script> - - -<script type="text/template" id="template"> - <div class="rows" style="height: 100px;"> - <div class="form-group"> - <span class="col-sm-2 control-label">驳回原因:</span> - <div class="col-sm-8"> - <textarea id="reason" class="form-control" rows="3" ></textarea> - </div> - </div> - </div> - </div> -</script> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/netsale/Index.html b/server/views/goods/netsale/Index.html deleted file mode 100644 index 6863eb5..0000000 --- a/server/views/goods/netsale/Index.html +++ /dev/null @@ -1,201 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input id="productSkn" class="form-control panel-input" type="text" placeholder="请输入SKN" onkeyup="this.value=this.value.replace(/\D/gi,'')"> - </div> - <div class="panel-col"> - <input id="productSkc" class="form-control panel-input" type="text" placeholder="请输入SKC" onkeyup="this.value=this.value.replace(/\D/gi,'')"> - </div> - <div class="panel-col"> - <input id="productSku" class="form-control panel-input" type="text" placeholder="请输入SKU" onkeyup="this.value=this.value.replace(/\D/gi,'')"> - </div> - <div class="panel-col2"> - <input id="productName" class="form-control panel-input" type="text" placeholder="商品名称"> - </div> - <div class="panel-col2"> - <select name="shopId" id="shopId" class="form-control"> - <option value="-1">请选择店铺</option> - </select> - </div> - <div class="panel-col"> - <select name="brandId" id="brandId" class="form-control"> - <option value="-1">请选择品牌</option> - </select> - </div> - <div class="panel-col"> - <select name="stock" id="stock" class="form-control"> - <option value="-1">库存情况</option> - <option value="1">有库存</option> - <option value="0">无库存</option> - </select> - </div> - <!-- <div class="panel-col"> - <select name="isScreen" id="isScreen" class="form-control height40"> - <option value="">拍摄状态</option> - <option value="Y">已拍摄</option> - <option value="N">未拍摄</option> - </select> - </div> - <div class="panel-col"> - <select name="isMeasure" id="isMeasure" class="form-control height40"> - <option value="">测量状态</option> - <option value="Y">已测量</option> - <option value="N">未测量</option> - </select> - </div> --> - <div class="panel-col"> - <select name="gender" id="gender" class="form-control height40"> - <option value="-1">选择性别</option> - <option value="1">男</option> - <option value="2">女</option> - <option value="3">通用</option> - </select> - </div> - <div class="panel-col"> - <select name="gender" id="skcOnsaleStatus" class="form-control height40"> - <option value="-1">SKC是否上架</option> - <option value="1">有</option> - <option value="0">无</option> - </select> - </div> - <div class="panel-col"> - <select name="gender" id="isAdvance" class="form-control height40"> - <option value="-1">是否预售</option> - <option value="Y">有</option> - <option value="N">无</option> - </select> - </div> - - <div class="panel-col2"> - <div id="sortTree"></div> - </div> - <div class="panel-col"> - <select name="isOutLets" id="isOutLets" tabindex="-1" title="" class="form-control height40"> - <option value="-1">是否奥莱</option> - <option value="Y">奥莱</option> - <option value="N">非奥莱</option> - <option value="B">品牌设置</option> - </select> - </div> - <div class="panel-col"> - <select name="productStatus" id="productStatus" tabindex="-1" title="" class="form-control height40"> - <option value="">上架状态</option> - <option value="8">待上架</option> - <option value="2">待审核</option> - <option value="3">驳回</option> - <option value="4">通过</option> - <option value="5">再次上架待审核</option> - <option value="6">再次上架驳回</option> - <option value="7">再次上架通过</option> - <option value="1">已上架</option> - <option value="0">已下架</option> - </select> - </div> - - <div class="panel-col"> - <select name="isJit" id="isJit" tabindex="-1" title="" class="form-control"> - <option value="-1">是否JIT商品</option> - <option value="Y">是</option> - <option value="N">否</option> - </select> - </div> - <div class="panel-col"> - <input type="text" id="factoryCode" class="form-control" placeholder="厂家编号" style="height: 39px;"/> - </div> - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - </div> - - <div class="row" style="margin: 0 0 0 -5px;"> - <a id="onshelve" href="javascript:;" class="btn btn-info" >上架</a> - <a id="offshelve" href="javascript:;" class="btn btn-info">下架</a> - <a id="export-btn" href="javascript:;" class="btn btn-info">导出</a> - <a id="import-btn" href="/goods/netsale/batch" class="btn btn-info">批量(排序、款型系列)</a> - </div> - </div> - - </div> - <div class="panel"> - <div class="panel-body nopadding"> - <div class="dataTab_wrapper" id="basicTab"></div> - <div class="dataTables_wrapper no-footer" id="basicTable"></div> - </div> - </div> - -</div> - -<script type="text/template" id="onshelve-template"> - <form class="shelve-form form-horizontal form-bordered"> - <div class="panel panel-default"> - <div class="panel-body nopadding"> - - <div class="form-group"> - <div class="col-sm-3 height40">预上架时间:</div> - <div class="col-sm-6"><input id="shelveTime" class="form-control" jsaction="time" type="text" placeholder="预上架时间" readonly> - <span class="red">预上架请填写上架时间</span> - </div> - </div> - <div class="form-group"> - <a class="btn btn-info" data-type="2" href="javascript:;">上架上新</a> - <a class="btn btn-info" data-type="1" href="javascript:;">上架不上新</a> - </div> - <div class="form-group"> - <div class="col-sm-2 height40">预售时间:</div> - <div class="col-sm-4"><input id="advanceBeginTime" class="form-control" jsaction="time:end:advanceEndTime" type="text" placeholder="预售开始时间" readonly></div> - <div class="col-sm-4"><input id="advanceEndTime" class="form-control" jsaction="time:start:advanceBeginTime" type="text" placeholder="预售结束时间" readonly></div> - <div class="col-sm-1"><a class="btn btn-info" data-type="5" href="javascript:;">确定</a></div> - </div> - </div> - </div> - </form> -</script> - -<script type="text/template" id="offshelve-template"> - <form class="shelve-form form-horizontal form-bordered"> - <div class="panel panel-default"> - <div class="panel-body nopadding"> - <div class="form-group"> - <a class="btn btn-info" data-type="7" href="javascript:;">立即下架</a> - </div> - <div class="form-group"> - <div class="col-sm-3 height40">预下架时间:</div> - <div class="col-sm-4">售罄<input id="outSaleTime" class="form-control" type="text" style="display:inline-block;width:60px;" value="0">天下架</div> - <div class="col-sm-1"><a class="btn btn-info" data-type="6" href="javascript:;">确定</a></div> - </div> - - </div> - </div> - </form> -</script> - -<script type="text/template" id="template"> - <p style="color: red;">SKN:{productSkn} 品牌:{brandName}</p> - <p style="color: red;">商品名称:{productName}</p> - <div id="shelve-table" class="dataTables_wrapper no-footer"></div> -</script> - -<script type="text/template" id="template2"> -[[each goodsSizeList as item index]] - <div class="subhhead"> - <span>[[item.productSku]]</span> - <span>[[item.sizeName]]</span> - <span>[[item.storageNum]]</span> - <span>[[ ["下架","上架"][item.status] ]]</span> - <span> - [[if item.status]] - <a class="btn btn-danger btnsku" data-subindex='[[index]]' data-index=[[__index]] href="javascript:;">下架</a> - [[else]] - <a class="btn btn-success btnsku" data-subindex='[[index]]' data-index=[[__index]] href="javascript:;">上架</a> - [[/if]] - </span> - </div> -[[/each]] -</script> - -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/netsale/__partail/add_info.html b/server/views/goods/netsale/__partail/add_info.html deleted file mode 100644 index 6bfaae4..0000000 --- a/server/views/goods/netsale/__partail/add_info.html +++ /dev/null @@ -1,80 +0,0 @@ -<div class="panel panel-default"> - <div class="panel-heading"> - - <div class="panel-btns" style="display: none;"> - - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a> - </div> - <h2 class="panel-title">补全信息</h2> - </div> - <div id="addinfo-wrap" class="panel-body addinfo-wrap"> - - </div> - <div class="panel-footer"> - <a id="saveAddInfo" href="javascript:;" class="btn btn-primary">保存</a> - </div> -</div> - -<script type="text/template" id="addInfoTemp"> - [[each data as b index]] - <div class="attribute-group form-group"> - <label>[[b.attributeName]]:</label> - [[if b.inputType=='select']] - <div style="display: inline-block;width: 280px;"> - <select class="form-control" id="[[b.attributeId]]" value="[[b.selectedValues||'']]"> - [[each b.idNameList as c index]] - <option value="[[c.id]]">[[c.text]]</option> - [[/each]] - </select> - </div> - [[else]] - <span> - [[each b.idNameList as c index]] - <label style="cursor: pointer;"><input name="[[b.attributeId]]" type="[[b.inputType]]" value="[[c.id]]">[[c.text]]</label> - [[/each]] - </span> - <input id="[[b.attributeId]]" type="hidden" for="[[b.inputType]]" value="[[b.selectedValues||'']]"> - [[/if]] - - </div> - [[/each]] - <div id="brandModelWrap" class="form-group"> - <label>品牌款型:</label> - <div style="display: inline-block;width: 280px;"> - <select name="brandModelSelect" id="brandModelSelect" tabindex="-1" title="" class="form-control" > - [[if brandModelText]] - <option value="[[brandModel]]">[[brandModelText]]</option> - [[else]] - <option value="">请选择品牌款型</option> - [[/if]] - </select> - </div> - <input type="hidden" id="brandModel" value="[[brandModel]]"> - </div> - <div id="brandSeriesWrap" class="form-group"> - <label>品牌系列:</label> - <div style="display: inline-block;width: 280px;"> - <select name="brandSeriesSelect" id="brandSeriesSelect" tabindex="-1" title="" class="form-control"> - [[if brandSeriesText]] - <option value="[[brandSeries]]">[[brandSeriesText]]</option> - [[else]] - <option value="">请选择品牌系列</option> - [[/if]] - </select> - </div> - <input type="hidden" id="brandSeries" value="[[brandSeries]]"> - </div> - - <div class="form-group"> - <label>促销短语:</label> - <input id="salesPhrase" class="form-control" type="text" value="[[salesPhrase]]" style="display: inline-block;width: 280px;"> - </div> - <div class="form-group"> - <label>是否热销:</label> - <span> - <label class="radio-inline"><input type="radio" name="isHostsell" value="Y">是</label> - <label class="radio-inline"><input type="radio" name="isHostsell" value="N">否</label> - <input id="isHostsell" type="hidden" for="radio" value="[[isHostsell]]"> - </span> - </div> -</script> \ No newline at end of file diff --git a/server/views/goods/netsale/__partail/basic_info.html b/server/views/goods/netsale/__partail/basic_info.html deleted file mode 100644 index 1e6f1f4..0000000 --- a/server/views/goods/netsale/__partail/basic_info.html +++ /dev/null @@ -1,149 +0,0 @@ -<div class="panel panel-default"> - <div class="panel-heading"> - <a class="netsale-position" href="javascript:;" name="position2"></a> - <div class="panel-btns" style="display: none;"> - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a> - </div> - <h2 class="panel-title">基本信息</h2> - </div> - <div id="basicInfoWrap" class="panel-body nopadding"> - <div id="basic-info"></div> - <div id="goods-table"> - <div class="form-group"> - <h5>能否补货</h5> - <div id="suppled-table" class="dataTables_wrapper no-footer"> - </div> - </div> - </div> - <div id="product-ext"></div> - </div> - <div class="panel-footer"> - <a id="saveBasicInfo" href="javascript:;" class="btn btn-primary">保存文本</a> - </div> -</div> - -<script type="text/template" id="basicInfo"> - <div class="form-group"> - <div class="col-sm-3">店铺:[[shopName]]</div> - <div class="col-sm-3">品牌:[[brandName]]</div> - <div class="col-sm-3">供应商:[[supplierName]]</div> - [[if renderType=='edit']] - <div class="col-sm-3">厂家编号:[[factoryCode]]</div> - [[else]] - <div class="col-sm-3"><img src="[[productImageUrl]]" width="100" height="100" alt=""></div> - [[/if]] - </div> - <div class="form-group"> - <div class="col-sm-3">品类:[[maxSortName]]/[[middleSortName]]/[[smallSortName]]</div> - <div class="col-sm-3">货品年:[[goodsYears]]</div> - <div class="col-sm-3">货品季:[[goodsSeason]]</div> - [[if renderType=='info']] - <div class="col-sm-3">厂家编号:[[factoryCode]]</div> - [[/if]] - </div> - <div class="form-group"> - <div class="col-sm-3">SKN:[[productSkn]]</div> - <div class="col-sm-3">商品类型:[[attribute]]</div> - </div> - <div class="form-group"> - - <div class="col-sm-12"> - <label>商品名称<i class="red">*</i>:</label> - [[if renderType=='edit']] - <input id="productName" style="width: 280px;display:inline-block;" class="form-control" placeholder="基础商品名称" type="text" value="[[productName]]" required maxlength="100"> - [[else]] - <span>[[productName]]</span> - [[/if]] - </div> - [[if renderType=='edit']] - <div class="col-sm-12" style="color: red;padding: 0 0 0 85px;">建议名称:【品牌英文+性别+图案纹理+版型+风格+三级类目+商家款号+(款型)】,如此可增加商品在搜索页的展示。</div> - [[/if]] - - </div> - <div class="form-group"> - <div class="col-sm-12">商品话题:[[productTag]]</div> - </div> - <div class="form-group"> - <div class="col-sm-3">年龄层:[[ageLevel]]</div> - <div class="col-sm-3">性别:[[gender]]</div> - <div class="col-sm-3">重点款:[[grade]]</div> - </div> - <div class="form-group"> - <div class="col-sm-3">是否奥莱:[[isOutLets]]</div> - <div class="col-sm-3">限量款:[[isLimited]]</div> - <div class="col-sm-3">适销季:[[seasons]]</div> - </div> - <div class="form-group"> - <div class="col-sm-3">是否预售:[[isAdvance]]</div> - [[if isAdvance=='是']] - <div class="col-sm-3" style="color: #ccc;">预售库存:[[stock]]</div> - [[/if]] - <div class="col-sm-3">预计到货时间:[[expectArrivalTime]]</div> - </div> - <div class="form-group"> - <div class="col-sm-3">吊牌价:[[retailPrice]]</div> - <div class="col-sm-3">销售价:[[salesPrice]]</div> - </div> - <div class="form-group"> - <div class="col-sm-3">是否VIP:[[isVip]]</div> - <div class="col-sm-3">预计上架时间:[[expectShelfTime]]</div> - </div> -</script> - - -<script type="text/template" id="productExtBoTemp"> - <div class="form-group"> - <label class="col-sm-1 control-label">商品短评:</label> - [[if renderType=='edit']] - <div class="col-sm-9"> - <input id="phrase" style="display:inline-block;width: 280px;" class="form-control" placeholder="商品短评" type="text" value="[[phrase]]"> - </div> - [[else]] - <div class="col-sm-9"> - [[phrase]] - </div> - [[/if]] - </div> - <div class="form-group"> - <label class="col-sm-1 control-label">是否新品:</label> - <div class="col-sm-4"> - <label class="radio-inline"><input type="radio" name="isNew" value="Y">是</label> - <label class="radio-inline"><input type="radio" name="isNew" value="N">否</label> - <input id="isNew" type="hidden" value="[[isNew||'Y']]" for="radio"> - </div> - <label class="col-sm-1 control-label">上架渠道:</label> - <div class="col-sm-4"> - <label class="radio-inline"><input type="checkbox" name="sellChannels" value="1">网站</label> - <label class="radio-inline"><input type="checkbox" name="sellChannels" value="2">手机</label> - <label class="radio-inline"><input type="checkbox" name="sellChannels" value="3">场地</label> - <input id="sellChannels" value="[[sellChannels||'1|2']]" type="hidden" for="checkbox"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-1 control-label">展示时间:</label> - <label class="col-sm-1 control-label">售罄</label> - <div class="col-sm-2"> - [[if outSaleTime]] - <input id="outSaleTime" value="[[outSaleTime]]" type="text" class="form-control" required> - [[else]] - <input id="outSaleTime" value="0" type="text" class="form-control" required> - [[/if]] - </div> - <label class="col-sm-2 control-label" style="text-align: left;">天后不展示</label> - </div> - [[if shopList]] - <div class="form-group"> - <div class="col-sm-12"> - <label class="col-sm-1 control-label">展示店铺:</label> - <div class="col-sm-4"> - [[each shopList as a index]] - [[if index==0]] - <input id="shopIds" value="[[shopIds||a.shopsId]]" type="hidden" for="checkbox"> - [[/if]] - <label class="radio-inline"><input type="checkbox" name="shopIds" value="[[a.shopsId]]">[[a.shopName]]</label> - [[/each]] - </div> - </div> - </div> - [[/if]] -</script> \ No newline at end of file diff --git a/server/views/goods/netsale/__partail/close_match.html b/server/views/goods/netsale/__partail/close_match.html deleted file mode 100644 index 2c575f3..0000000 --- a/server/views/goods/netsale/__partail/close_match.html +++ /dev/null @@ -1,69 +0,0 @@ -<div class="panel panel-default"> - <form action="" class="form-horizontal form-bordered"> - - <div class="panel-heading"> - <a class="netsale-position" href="javascript:;" name="position13"></a> - <div class="panel-btns" style="display: none;"> - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a> - </div> - <h2 class="panel-title">搭配</h2> - </div> - <div class="panel-body nopadding"> - - <div id="dapeiTable"></div> - </div> - <div class="panel-footer"> - <button class="btn btn-primary" id="dapeiadd">添加搭配</button> - <!-- <button class="btn btn-primary" id="dapeisave">保存</button> --> - </div> - </form> -</div> - -<script type="text/template" id="wqt-template1"> -<div class="rows"> - <div class="form-group"> - <div class="col-sm-8"> - <div class="poseditimg"> - [[if imageUrl]] - <img src="[[imageUrl]]"> - [[/if]] - [[each info as item __index]] - <div class="pos form-control" style="left:[[item.left]]px;top:[[item.top]]px;"> - <input type="text" maxlength="8" class="pos-text" data-index='[[__index]]' value="[[item.id]]" onkeyup="this.value=this.value.replace(/\D/gi,'')"/> - <span class="close" data-index='[[__index]]'>×</span> - </div> - [[/each]] - </div> - </div> - <div class="col-sm-4"> - <div class="rows" id="dapei-form"> - <div class="form-group"> - <label class="control-label pull-left"><i class="red">*</i> 介绍</label> - <div class="pull-left" style="width: 160px;"> - <input type="text" id="content" class="form-control panel-input hasDatepicker" placeholder="介绍" value="[[content]]" required> - </div> - </div> - <div class="form-group"> - <label class="control-label pull-left"><i class="red">*</i> 图片</label> - <div class="pull-left" style="width: 160px;"> - <input type="file" id="imageUrl" name="imageUrl" value="[[imageUrl]]" required/> - </div> - </div> - <div class="form-group"> - <label class="control-label pull-left"><i class="red">*</i> 排序</label> - <div class="pull-left" style="width: 160px;"> - <input type="number" id="orderBy" class="form-control panel-input hasDatepicker" placeholder="排序" value="[[orderBy]]" required> - </div> - </div> - </div> - </div> - </div> -</div> -</script> - -<script type="text/template" id="kapian"> - <div class="pos form-control"> - <input type="text" maxlength="8" class="pos-text" data-index='[[__index]]' value="[[id]]" onkeyup="this.value=this.value.replace(/\D/gi,'')" /> - <span class="close" data-index='[[__index]]'>×</span> - </div> -</script> \ No newline at end of file diff --git a/server/views/goods/netsale/__partail/editor_recommend.html b/server/views/goods/netsale/__partail/editor_recommend.html deleted file mode 100644 index d13e869..0000000 --- a/server/views/goods/netsale/__partail/editor_recommend.html +++ /dev/null @@ -1,36 +0,0 @@ -<div class="panel panel-default"> - - <div class="panel-heading"> - <a class="netsale-position" href="javascript:;" name="position12"></a> - <div class="panel-btns" style="display: none;"> - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a> - </div> - <a id="recommender"><h2 class="panel-title">小编推荐</h2></a> - </div> - <div id="recommenderWrap" class="panel-body nopadding"> - <script id="edit-recommender" type="text/plain" style="width:100%;height:500px;"></script> - <input id="recommend" type="hidden"> - <p> - <span class="red">提示:与商品相关的逛信息自动抓取到下列各模块中,若要在商品详情中展示,请将其编辑在【小编推荐】中。 - </span> - </p> - <div id="guang-wrap" class="guang-wrap"> - - - </div> - </div> - <div class="panel-footer"> - <a href="javascript:;" class="btn btn-primary" id="btn-recommand">保存</a> - </div> -</div> - -<script type="text/template" id="guangWrapTemp"> - [[each data as a index]] - <div class="col-sm-4"> - <h4>[[a.sortName]]</h4> - [[each a.articleList as b index]] - <p><a target="_blank" href="[[b.url]]">[[b.articleTitle]]</a></p> - [[/each]] - </div> - [[/each]] -</script> \ No newline at end of file diff --git a/server/views/goods/netsale/__partail/fenmian.html b/server/views/goods/netsale/__partail/fenmian.html deleted file mode 100644 index 8ae09a3..0000000 --- a/server/views/goods/netsale/__partail/fenmian.html +++ /dev/null @@ -1,81 +0,0 @@ - <div class="panel panel-default"> - <div class="panel-heading"> - <a class="netsale-position" href="javascript:;" name="position3"></a> - <div class="panel-btns" style="display: none;"> - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a> - </div> - <h2 class="panel-title">封面设置</h2> - </div> - <div class="panel-body nopadding" id="fenmianWrap"> - - - </div> - <div class="panel-footer"> - <button class="btn btn-primary" id="fenMainSave">保存</button> - </div> -</div> - -<script type="text/template" id="fenmianTemp"> -[[each goodsList as item index]] - <div class="form-group"> - <div class="fm-side col-sm-2"> - <div class="goods-img"> - <p>SKC: [[item.productSkc]]</p> - <p>[[item.goodsName]]:</p> - <p>[[item.factoryGoodsName || '']]</p> - </div> - <div class="cover-color">颜色封面:</div> - </div> - <ul class="cover-image-list col-sm-10" style="padding: 0;margin: 0;" data-index=[[index]]> - [[each item.goodsImagesList as _item _index]] - <li class="cover-image-item fileinput-button" data-index=[[_index]]> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);"><img src="[[_item.imageUrl]]"></a> - <i class="remove-item-btn glyphicon glyphicon-remove-circle"></i> - </div> - <div class="cover-color"> - [[if _item.isDefault=="Y"]] - <a href="javascript:;" class="btn btn-default btn-metro info" data-i="0">默认</a> - [[else]] - <a href="javascript:;" class="btn btn-default btn-metro" data-i="0">默认</a> - [[/if]] - - [[if gender==1||gender==3]] - [[if _item.genderCover==1||_item.genderCover==3]] - <a href="javascript:;" class="btn btn-default btn-metro info" data-i="1">男封</a> - [[else]] - <a href="javascript:;" class="btn btn-default btn-metro" data-i="1">男封</a> - [[/if]] - [[/if]] - - [[if gender==2||gender==3]] - [[if _item.genderCover==2||_item.genderCover==3]] - <a href="javascript:;" class="btn btn-default btn-metro info" data-i="2">女封</a> - [[else]] - <a href="javascript:;" class="btn btn-default btn-metro" data-i="2">女封</a> - [[/if]] - [[/if]] - </div> - </li> - [[/each]] - <li class="cover-image-item fileinput-button"> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);">+</a> - <input type="file" class="goods-img-upload fenmianfile" name="fenmianfile" data-index=[[index]]> - </div> - </li> - </ul> - </div> - <div class="form-group"> - <div class="fm-side col-sm-2">商品封面:</div> - <div class="cover-goods col-sm-10"> - [[if item.isDefault=="Y"]] - <a href="javascript:;" class="btn-goods-cover btn btn-default info" data-index=[[index]]>设置默认</a> - [[else]] - <a href="javascript:;" class="btn-goods-cover btn btn-default" data-index=[[index]]>设置默认</a> - [[/if]] - <a href="javascript:;" class="btn-use-img btn btn-default" data-productSkc="[[item.productSkc]]" data-index="[[index]]">调用图片</a> - </div> - </div> -[[/each]] -</script> diff --git a/server/views/goods/netsale/__partail/goods_description.html b/server/views/goods/netsale/__partail/goods_description.html deleted file mode 100644 index b745546..0000000 --- a/server/views/goods/netsale/__partail/goods_description.html +++ /dev/null @@ -1,18 +0,0 @@ -<div class="panel panel-default"> - <form action="" class="form-horizontal form-bordered"> - <div class="panel-heading"> - <a class="netsale-position" href="javascript:;" name="position4"></a> - <div class="panel-btns" style="display: none;"> - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a> - </div> - <h2 class="panel-title">商品描述</h2> - </div> - <div id="descriptionerWrap" class="panel-body nopadding"> - <script id="edit-descriptioner" type="text/plain" style="width:100%;height:500px;"></script> - <input id="productDesc" type="hidden" required placeholder="商品描述"> - </div> - <div class="panel-footer"> - <a href="javascript:;" class="btn btn-primary" id="btn-descriptioner">保存描述</a> - </div> - </form> -</div> \ No newline at end of file diff --git a/server/views/goods/netsale/__partail/goods_params.html b/server/views/goods/netsale/__partail/goods_params.html deleted file mode 100644 index a84d0f1..0000000 --- a/server/views/goods/netsale/__partail/goods_params.html +++ /dev/null @@ -1,104 +0,0 @@ -<div class="panel panel-default" id="taoyu1"> - <div class="panel-heading"> - <a class="netsale-position" href="javascript:;" name="position6"></a> - <div class="panel-btns" style="display: none;"> - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a> - </div> - <h2 class="panel-title">商品参数</h2> - </div> - <div class="panel-body"> - <div id="attributeTable" class="panel-body nopadding"> - </div> - <div id="goodsParamWrap" class="panel-body nopadding"> - </div> - <div id="goodsParamWrap2" class="panel-body nopadding"> - </div> - </div> - - <div class="panel-footer" id="goodsParams-footer"> - <a href="javascript:;" class="btn btn-primary" id="propertySave">保存</a> - </div> -</div> - -<!-- <script type="text/template" id="material-params"> - <label class="col-sm-2 control-label">材质</label> - <div class="col-sm-8 height40"> - [[each data as item index]] - <label style="cursor: pointer;"><input type="checkbox" name="material" class="material" value=[[item.id]]>[[item.text]]</label> - [[/each]] - </div> - <input type="hidden" id="material" value="{material}" for="checkbox"> - -</script> - -<script type="text/template" id="washTip-params"> - <label class="col-sm-2 control-label">洗涤提示</label> - <div class="col-sm-8 height40"> - [[each data as item index]] - <label style="cursor: pointer;"><input type="checkbox" name="washTips" class="washTips" value=[[item.id]]>[[item.text]]</label> - [[/each]] - </div> - <input type="hidden" id="washTips" value="{washTips}" for="checkbox"> -</script> --> - -<!-- <script type="text/template" id="goodsParamTemp"> - [[each data as b index]] - [[if b.idNameList && b.idNameList.length>0]] - <div class="goods-param-group form-group"> - <label>[[b.attributeName]]:</label> - [[if b.inputType=='select']] - <div style="display: inline-block;width: 280px;"> - <select class="form-control" id="[[b.attributeId]]" value="[[b.selectedValues||'']]"> - [[each b.idNameList as c index]] - <option value="[[c.id]]">[[c.text]]</option> - [[/each]] - </select> - </div> - [[else]] - <span> - [[each b.idNameList as c index]] - <label style="cursor: pointer;"><input name="[[b.attributeId]]" type="[[b.inputType]]" value="[[c.id]]">[[c.text]]</label> - [[/each]] - </span> - <input id="[[b.attributeId]]" type="hidden" for="[[b.inputType]]" value="[[b.selectedValues||'']]" placeholder="[[b.attributeName]]" required> - [[/if]] - </div> - [[/if]] - [[/each]] -</script> --> - -<script type="text/template" id="template33"> -<div class="form-group"> -[[if inputType=='checkbox']] - [[each idNameList as item index ]] -<label class="radio-inline"> - <input type="checkbox" name="[[__name]]_attr_[[__index]]" data-index=[[__index]] class="attr_checkobx_class" value="[[item.id]]">[[item.text]]</label> - [[/each]] - <input type="hidden" id="[[__name]]_attr_[[__index]]" value="[[__val||'']]" [[required]] for="checkbox" placeholder="[[attributeName]]"/> -[[/if]] - -[[if inputType=='radio']] -[[each idNameList as item index ]] -<label class="radio-inline"> - <input type="radio" name="[[__name]]_attr_[[__index]]" data-index=[[__index]] class="attr_input" value="[[item.id]]">[[item.text]]</label> -[[/each]] -<input type="hidden" id="[[__name]]_attr_[[__index]]" data-index='[[__index]]' value="[[__val||'']]" [[required]] for="radio" placeholder="[[attributeName]]" /> -[[/if]] - -[[if inputType=='select']] -<select class="form-control attr_input" style="width: 280px" data-index='[[__index]]' value="[[__val||'']]" [[required]]> - <option value="">请选择[[attributeName]]</option> -[[each idNameList as item index ]] - <option value="[[item.id]]">[[item.text]]</option> -[[/each]] -</select> -[[/if]] - -[[if inputType=='text']] -<input type="text" class="form-control attr_input" style="width: 280px" data-index='[[__index]]' value="[[val||'']]" [[required]] maxlength='[[maxValueLen]]' placeholder="[[attributeName]]"/> -[[/if]] -[[if inputType=='textarea']] -<textarea class="form-control attr_input" data-index='[[__index]]' [[required]] maxlength='[[maxValueLen]]' placeholder="[[attributeName]]">[[val||'']]</textarea> -[[/if]] -</div> -</script> \ No newline at end of file diff --git a/server/views/goods/netsale/__partail/goods_sort.html b/server/views/goods/netsale/__partail/goods_sort.html deleted file mode 100644 index 9f6e7a7..0000000 --- a/server/views/goods/netsale/__partail/goods_sort.html +++ /dev/null @@ -1,30 +0,0 @@ -<div class="panel panel-default"> - - <div class="panel-heading"> - <a class="netsale-position" href="javascript:;" name="position7"></a> - <div class="panel-btns" style="display: none;"> - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a> - </div> - <h2 class="panel-title">商品排序设置</h2> - </div> - <div class="panel-body nopadding" id="goods-sort"> - <div class="form-group"> - <label class="col-sm-1 control-label" for="sort0">品牌</label> - <div class="col-sm-2"> - <input type="text" class="form-control" id="sort0" value="0" required /> - </div> - <label class="col-sm-1 control-label" for="sort1">奥莱</label> - <div class="col-sm-2"> - <input type="text" class="form-control" id="sort1" value="0" required /> - </div> - <label class="col-sm-1 control-label" for="sort2">搜索</label> - <div class="col-sm-2"> - <input type="text" class="form-control" id="sort2" value="0" required /> - </div> - </div> - <div class="col-sm-12" style="color: red;"><div class="col-sm-1"></div>提示:商品在品牌商品列表中的排序,数字越大越靠前</div> - </div> - <div class="panel-footer"> - <button class="btn btn-primary" id="sort-save">保存</button> - </div> -</div> \ No newline at end of file diff --git a/server/views/goods/netsale/__partail/model.html b/server/views/goods/netsale/__partail/model.html deleted file mode 100644 index f0aa4ee..0000000 --- a/server/views/goods/netsale/__partail/model.html +++ /dev/null @@ -1,18 +0,0 @@ -<div class="panel panel-default"> - <form action="" class="form-horizontal form-bordered"> - <div class="panel-heading"> - <a class="netsale-position" href="javascript:;" name="position10"></a> - <div class="panel-btns" style="display: none;"> - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a> - </div> - <h2 class="panel-title">模特</h2> - </div> - <div class="panel-body"> - <h4>模特卡</h4> - <div id="model-card"></div> - <h4>试穿模特</h4> - <div id="model-try"></div> - <h4>尺码规范:</h4> - </div> - </form> -</div> \ No newline at end of file diff --git a/server/views/goods/netsale/__partail/size_info.html b/server/views/goods/netsale/__partail/size_info.html deleted file mode 100644 index b0392f5..0000000 --- a/server/views/goods/netsale/__partail/size_info.html +++ /dev/null @@ -1,16 +0,0 @@ -<div class="panel panel-default"> - <div class="panel-heading"> - <a class="netsale-position" href="javascript:;" name="position5"></a> - <div class="panel-btns" style="display: none;"> - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a> - </div> - <h2 class="panel-title">尺码信息</h2> - </div> - <div class="panel-body " id="add-list"> - <input type="hidden" id="noMeasureIds" for="checkbox"> - <div id="content-list"></div> - <div id="add-saveArea"> - <a class="btn btn-primary" id="add-saveBtn" href="">保存</a> - </div> - </div> -</div> \ No newline at end of file diff --git a/server/views/goods/price/BrandCooperation.html b/server/views/goods/price/BrandCooperation.html deleted file mode 100644 index 8631d47..0000000 --- a/server/views/goods/price/BrandCooperation.html +++ /dev/null @@ -1,71 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div class="panel panel-default" id="priceChangeSearch" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select name="brand" id="brand" tabindex="-1" title="" class="form-control"> - <option value="-1">请选择品牌</option> - </select> - </div> - <div class="panel-col"> - <select name="brandCooperation" id="brandCooperation" tabindex="-1" title="" class="form-control"> - <option value="-1">合作模式</option> - <option value="1">代销</option> - <option value="2">经销</option> - <option value="3">自主</option> - </select> - </div> - <div class="panel-col"> - <select name="brandCooperationSet" id="brandCooperationSet" tabindex="-1" title="" class="form-control"> - <option value="0">未设置</option> - <option value="-1">全部</option> - <option value="1">已设置</option> - </select> - </div> - - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="javascript:;" class="btn btn-info">全部</a> - </div> - - <div class="panel-col" style="margin: 0 0 0 -5px;"> - <a id="import-btn" href="javascript:;" class="btn btn-primary">批量导入</a> - </div> - </div> - </div> - </div> - <div class="panel"> - <div class="dataTables_wrapper no-footer" id="basicTable"></div> - - <div class="panel bulk-import"> - <a id="return-btn" href="javascript:;" class="btn btn-info" style="margin-bottom: 10px">返回列表</a> - - <div class="import-hd" style="padding: 10px 20px; border: 1px solid #cccccc"> - <span class="excel-upload-wrap"> - <label>选择文件</label> - <input id="upload-input" name="file" class="btn btn-default excel-upload" type="file"> - </span> - - <a class="excel-model" href="/ajax/link/brandCooperation">表头下载</a> - <input id="sure-change" class="btn btn-primary" type="button" value="确定变价"> - </div> - - <ol id="error-msg" class="error-msg" style="color: red"></ol> - <div class="priceTable-wrap"> - - <div class="panel panel-warning" style="margin: 0;"> - <div class="panel-heading">SKN变价<a id="delete-all" class="btn btn-danger" style="margin-left: 50px;" href="javascript:;">全部删除</a></div> - - </div> - <div class="dataTables_wrapper no-footer" id="priceTable"></div> - </div> - <div class="success-wrap" style="display: none;"> - <a class="btn btn-info" href="">返回变价列表</a> - <a id="download-btn" class="btn btn-success" data-domain="{{domain}}" href="javascript:;">下载导入结果</a> - </div> - </div> -</div> -</div> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/price/PriceChange.html b/server/views/goods/price/PriceChange.html deleted file mode 100644 index 341ed67..0000000 --- a/server/views/goods/price/PriceChange.html +++ /dev/null @@ -1,250 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" id="priceChangeSearch" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input id="skn" class="form-control panel-input height40" type="text" placeholder="请输入SKN" onkeyup="this.value=this.value.replace(/\D/gi,'')"> - </div> - - <div class="panel-col"> - <select name="shop" id="shop" tabindex="-1" title="" class="form-control"> - <option value="-1">请选择店铺</option> - </select> - </div> - - <div class="panel-col"> - <select name="brand" id="brand" tabindex="-1" title="" class="form-control"> - <option value="-1">请选择品牌</option> - </select> - </div> - - <div class="panel-col"> - <select name="supplier" id="supplier" tabindex="-1" title="" class="form-control"> - <option value="-1">请选择供应商</option> - </select> - </div> - - <div class="panel-col"> - <select name="jit" id="jit" tabindex="-1" title="" class="form-control"> - <option value="-1">是否JIT商品</option> - <option value="Y">是</option> - <option value="N">否</option> - </select> - </div> - - <div class="panel-col"> - <select name="status" id="status" tabindex="-1" title="" class="form-control"> - <option value="-1">上架状态</option> - <option value="200">上架</option> - <option value="0">下架</option> - </select> - </div> - - <div class="panel-col"> - <select name="stock" id="stock" tabindex="-1" title="" class="form-control"> - <option value="-1">库存情况</option> - <option value="1">有库存</option> - <option value="0">无库存</option> - </select> - </div> - - <div class="panel-col"> - <select name="sex" id="sex" tabindex="-1" title="" class="form-control"> - <option value="-1">选择性别</option> - <option value="1">男</option> - <option value="2">女</option> - <option value="3">通用</option> - </select> - </div> - - <div class="panel-col2"> - <div id="sortTree"></div> - </div> - - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="javascript:;" class="btn btn-info">全部</a> - </div> - - <div class="panel-col" style="margin: 0 0 0 -5px;"> - <a id="import-btn" href="javascript:;" class="btn btn-primary">批量导入</a> - </div> - </div> - </div> - </div> - <div class="panel"> - <div class="dataTables_wrapper no-footer" id="basicTable"></div> - <div class="panel bulk-import" id="priceChange_import"> - <a id="return-btn" href="javascript:;" class="btn btn-info">返回列表</a> - <a id="download-btn" href="javascript:;" class="btn btn-success" style="display: none"> - <span class="glyphicon glyphicon-arrow-down"></span> 下载导入结果 - </a> - - <table class="table table-bordered" style="border:1px solid #ddd; margin-top: 10px"> - <tr> - <td width="120px" style="line-height: 37px"><b>上传EXCEL:</b></td> - <td style="position: relative;"> - <input id="priceChangeUpload" name="file" type="file" style="cursor: pointer; height: 37px; top: 8px;"> - <div class="file-name btn btn-primary">请选择文件</div> - </td> - </tr> - <tr> - <td width="120px"><b>说明:</b></td> - <td> - 1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br> - 2、Excel表头为:<span style="color: #67D267;">SKN、吊牌价、销售价、VIP折扣类型、VIP价、白金价、金卡价、银卡价</span><br> - 3、第一行为表头内容,第二行开始为正式内容<br> - 4、每个文件控制在2500行以内<br> - 5、<a href="/ajax/link/batchUpdatePrice" style="margin: 0; text-decoration: underline">下载样例.xlsx</a> - </td> - </tr> - </table> - - <div id="priceChangeImportMessage"> - <b>批量上传结果:</b> - <span id="detailMassage"></span> - <div class="clearfix"></div> - </div> - - <div id="priceChangeImportResultSet"> - <div class="title"> - <span>生效时间设置:</span> - <div class="clearfix"></div> - </div> - <div class="form-inline"> - <label>价格生效时间:</label> - <div class="form-group"> - <input id="importStartDate" jsaction="date:end:importEndDate" type="text" class="form-control" placeholder="开始日期" style="width: 150px"> - ~ - <input id="importEndDate" jsaction="date:start:importStartDate" type="text" class="form-control" placeholder="结束日期" style="width: 150px"> - </div> - <div class="form-group"> - <a href="javascript:;" class="btn btn-success btn-submit-priceChange">确定提交</a> - </div> - </div> - </div> - - <div id="priceChangeImportResult"> - <div class="title"> - <span>批量变价列表:(成功导入的变价)</span> - <a id="deleteAllImport" href="javascript:;" class="btn btn-xs btn-danger" style="float: right;padding-right: 10px">全部删除</a> - <div class="clearfix"></div> - </div> - <div id="importResultTable"></div> - </div> - </div> - </div> -</div> - -<script id="template" type="text/template"> - <td colspan="15" style="padding: 0"> - <table class="table table-striped table-bordered" style="margin: 0;border: 0"> - <tr> - <th style="border-top: 0; border-left: 0">销售价</th> - <th style="border-top: 0">VIP折扣类型</th> - <th style="border-top: 0">VIP价</th> - <th style="border-top: 0">白金价</th> - <th style="border-top: 0">金卡价</th> - <th style="border-top: 0">银卡价</th> - <th style="border-top: 0">价格生效时间</th> - <th style="border-top: 0">进货价</th> - <th style="border-top: 0">进货折扣</th> - <th style="border-top: 0">成本</th> - <th style="border-top: 0; border-right: 0">操作</th> - </tr> - <tr> - <td style="border-bottom: 0; border-left: 0"> - <input class="sale-price form-control" type="text" value="{sales_price}" onkeyup="this.value=this.value.replace(/\D/gi,'')"> - </td> - <td style="border-bottom: 0"> - <select class="discount-select form-control" style="width: 110px"> - <option value="1">正常折扣</option> - <option value="2">统一折扣</option> - <option value="3">无折扣</option> - <option value="4">固定折扣</option> - <option value="5">自定义折扣</option> - </select> - </td> - <td style="border-bottom: 0"> - <input class="vip-price form-control" type="text" value="{vip_price}" onkeyup="this.value=this.value.replace(/\D/gi,'')"> - </td> - <td style="border-bottom: 0"> - <input class="vip3-price form-control" type="text" value="{vip3_price}" disabled> - </td> - <td style="border-bottom: 0"> - <input class="vip2-price form-control" type="text" value="{vip2_price}" disabled> - </td> - <td style="border-bottom: 0"> - <input class="vip1-price form-control" type="text" value="{vip1_price}" disabled> - </td> - <td class="form-inline" style="border-bottom: 0"> - <input id="start_{product_skn}" jsaction="date:end:end_{product_skn}" class="startDate form-control" type="text" value="{cgpriceStartTime}" placeholder="开始日期" style='background-color:#fff'> - <label> ~ </label> - <input id="end_{product_skn}" jsaction="date:start:start_{product_skn}" class="endDate form-control" type="text" value="{cgpriceEndTime}" placeholder="结束日期" style='background-color:#fff'> - </td> - <td style="border-bottom: 0">{purchase_price}</td> - <td style="border-bottom: 0">{purchase_discount}</td> - <td style="border-bottom: 0">{cost_price}</td> - <td style="border-bottom: 0; border-right: 0"> - <a href="javascript:;" class="btn btn-success btn-xs sure-modify">保存</a> - </td> - </tr> - </table> - </td> -</script> -<script id="template2" type="text/template"> - <div class="productInfo"> - <table class="table table-striped table-bordered"> - <thead> - <tr align="center"> - <th>SKN</th> - <th>商品名称</th> - <th>品牌</th> - <th>类目</th> - </tr> - </thead> - <tbody> - <tr> - <td>[[productSkn]]</td> - <td>[[goodsName]]</td> - <td>[[brandName]]</td> - <td> - [[maxSortName]] - [[if midleSortName]] > [[midleSortName]][[/if]] - [[if smallSortName]] > [[smallSortName]][[/if]] - </td> - </tr> - </tbody> - </table> - </div> - <h2 style="color: #999; font-family: 'Microsoft YaHei'; font-size: 14px;">—— 变价记录表 ——</h2> - <div class="historyList"> - <table class="table table-striped table-bordered"> - <thead> - <tr> - <th>吊牌价</th> - <th>销售价</th> - <th>价格生效时间</th> - <th>变价时间</th> - <th>变价人</th> - </tr> - </thead> - <tbody> - [[each list as item index]] - <tr> - <td>[[item.retailPrice]]</td> - <td>[[item.salesPrice]]</td> - <td>[[item.effectiveTime]]</td> - <td>[[item.createTime]]</td> - <td>[[item.founderName]]</td> - </tr> - [[/each]] - </tbody> - </table> - </div> -</script> - -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/specialgoods/Index.html b/server/views/goods/specialgoods/Index.html deleted file mode 100644 index 3928ba0..0000000 --- a/server/views/goods/specialgoods/Index.html +++ /dev/null @@ -1,46 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div> - <ul class="nav nav-pills"> - <li> - <a class="hand " href="/goods/cod/goods/index" style="font-size: 14px;padding:20px;color: black">货到付款</a> - </li> - <li> - <a class="tag active" href="javascript:void(0)" style="font-size: 14px;padding:20px;color: #428bca">特殊商品</a> - </li> - </ul> - </div> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select id="productSkn" class="form-control"> - <option value="-1">SKN</option> - </select> - </div> - <div class="panel-col"> - <select id="brandId" class="form-control"> - <option value="-1">请选择品牌</option> - </select> - </div> - <div class="panel-col"> - <select id="isRefundExchange" class="form-control"> - <option value="-1">是否特殊商品</option> - <option value="1">否</option> - <option value="0">是</option> - </select> - </div> - <div class="panel-col-3"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="export-btn" href="" class="btn btn-info">导出</a> - <a id="btn-input" href="/goods/cod/upload" class="btn btn-info">批量导入</a> - </div> - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div class="dataTab_wrapper" id="basicTable" ></div> - </div> -</div> -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/yohoCoin/Audit.html b/server/views/goods/yohoCoin/Audit.html deleted file mode 100644 index e1df736..0000000 --- a/server/views/goods/yohoCoin/Audit.html +++ /dev/null @@ -1,74 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> -<div class="contentpanel"> - <div id="yohoCoinSearch" class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input id="skn" class="form-control panel-input height40" type="text" placeholder="请输入SKN" onkeyup="this.value=this.value.replace(/\D/gi,'')"> - </div> - - <div class="panel-col"> - <select name="shop" id="shop" tabindex="-1" title="" class="form-control"> - <option value="-1">请选择店铺</option> - </select> - </div> - - <div class="panel-col"> - <select name="brand" id="brand" tabindex="-1" title="" class="form-control"> - <option value="-1">请选择品牌</option> - </select> - </div> - - <div class="panel-col"> - <select name="supplier" id="supplier" tabindex="-1" title="" class="form-control"> - <option value="-1">请选择供应商</option> - </select> - </div> - - <div class="panel-col"> - <select name="gender" id="gender" tabindex="-1" title="" class="form-control"> - <option value="-1">选择性别</option> - <option value="1">男</option> - <option value="2">女</option> - <option value="3">通用</option> - </select> - </div> - - <div class="panel-col"> - <select name="auditor" id="auditor" tabindex="-1" title="" class="form-control"> - <option value="">请选择审核人</option> - <option value="2965">Tracy</option> - <option value="10235">David Wong</option> - </select> - </div> - - <div class="panel-col2"> - <div id="sortTree"></div> - </div> - - <div class="panel-col" style="width: auto"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="javascript:;" class="btn btn-info">全部</a> - </div> - - <div id="checkOperation" class="panel-col" style="width: auto;"> - <a id="all-checkOk" href="javascript:;" class="btn btn-success">批量通过</a> - <a id="all-checkNo" href="javascript:;" class="btn btn-danger">批量驳回</a> - </div> - </div> - </div> - </div> - - <div class="panel"> - <ul id="yohoCoinNav" class="nav nav-pills" style="margin-bottom: 10px"> - <li data-status="1" class="active"><a href="#">待审核</a></li> - <li data-status="2"><a href="#">通过</a></li> - <li data-status="3"><a href="#">驳回</a></li> - <li data-status=""><a href="#">全部</a></li> - </ul> - <div class="dataTables_wrapper no-footer" id="yohoCoinAudit_table"></div> - </div> -</div> - -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/goods/yohoCoin/Index.html b/server/views/goods/yohoCoin/Index.html deleted file mode 100644 index 299ff0c..0000000 --- a/server/views/goods/yohoCoin/Index.html +++ /dev/null @@ -1,284 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div id="yohoCoinSearch" class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input id="skn" class="form-control panel-input height40" type="text" placeholder="请输入SKN" onkeyup="this.value=this.value.replace(/\D/gi,'')"> - </div> - <div class="panel-col"> - <select name="shop" id="shop" tabindex="-1" class="form-control"> - <option value="-1">请选择店铺</option> - </select> - </div> - <div class="panel-col"> - <select name="brand" id="brand" tabindex="-1" class="form-control"> - <option value="-1">请选择品牌</option> - </select> - </div> - <div class="panel-col"> - <select name="supplier" id="supplier" tabindex="-1" class="form-control"> - <option value="-1">请选择供应商</option> - </select> - </div> - <div class="panel-col"> - <select name="gender" id="gender" tabindex="-1" class="form-control"> - <option value="-1">选择性别</option> - <option value="1">男</option> - <option value="2">女</option> - <option value="3">通用</option> - </select> - </div> - <div class="panel-col"> - <select name="auditStatus" id="auditStatus" tabindex="-1" class="form-control"> - <option value="-1">选择审核状态</option> - <option value="0">未设置</option> - <option value="1">待审核</option> - <option value="2">通过</option> - <option value="3">驳回</option> - </select> - </div> - <div class="panel-col"> - <input id="returnMoney" class="form-control panel-input height40" type="text" placeholder="返币金额"> - </div> - <div class="clearfix"></div> - - <div class="panel-col2"> - <div id="sortTree"></div> - </div> - - <div class="panel-col" style="width: auto"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="javascript:;" class="btn btn-info">全部</a> - </div> - - <div class="panel-col" style="width: auto"> - <a id="import-btn" href="javascript:;" class="btn btn-primary">批量导入</a> - <a id="export-btn" href="javascript:;" class="btn btn-primary">导出</a> - </div> - </div> - </div> - </div> - - <div class="panel"> - <div class="dataTables_wrapper no-footer" id="yohoCoin_table"></div> - - <div class="panel bulk-import" id="yohoCoin_import"> - <a id="return-btn" href="javascript:;" class="btn btn-info">返回列表</a> - - <table class="table table-bordered" style="border:1px solid #ddd; margin-top: 10px"> - <tr> - <td width="120px" style="line-height: 37px"><b>上传EXCEL:</b></td> - <td style="position: relative;"> - <input id="yohoCoinUpload" name="file" type="file" style="cursor: pointer; height: 37px; top: 8px;"> - <div class="file-name btn btn-primary">请选择文件</div> - </td> - </tr> - <tr> - <td width="120px"><b>说明:</b></td> - <td> - 1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br> - 2、Excel表头为:<span style="color: #67D267;">SKN、品牌、吊牌价、返币金额(大于零,最多俩位小数)</span><br> - 3、第一行为表头内容,第二行开始为正式内容<br> - 4、每个文件控制在2500行以内<br> - 5、<a href="/ajax/link/yohoCoin" style="margin: 0; text-decoration: underline">下载样例.xlsx</a> - </td> - </tr> - </table> - - <div id="yohoCoinImportMessage"> - <b>批量上传结果:</b> - <span id="detailMassage"></span> - <div class="clearfix"></div> - </div> - - <div id="yohoCoinImportResultSet"> - <div class="title">返还方式设置:</div> - <div class="form-inline" style="display: none"> - <label style="width: 80px">反币时间:</label> - <div class="form-group"> - <input type="radio" name="returnCoinTime" value="1"> - <label>长期</label> - </div> - <div class="form-group"> - <input type="radio" name="returnCoinTime" value="2"> - <input type="text" class="form-control" style="width: 150px"> ~ <input type="text" class="form-control" style="width: 150px"> - </div> - </div> - <div class="form-inline"> - <div class="form-group"> - <label style="width: 80px">审核人:</label> - <select id="importAuditor" class="form-control" style="width: 150px"> - <option value="">-- 请选择审核人 --</option> - <option value="2965">Tracy</option> - <option value="10235">David Wong</option> - </select> - <span style="color: #ff0000; margin-left: 20px">提示:返回金额大于等于销售价20%时必须填写审核人。</span> - </div> - <div class="form-group"> - <a href="javascript:;" class="btn btn-success btn-submit-yohoCoin">确定</a> - </div> - </div> - </div> - - <div id="yohoCoinImportResult"> - <div class="title">返币列表:</div> - <div id="importResultTable"></div> - </div> - </div> - </div> -</div> - -<input type="hidden" id="gridurl" value="<%gridurl%>"> - -<script id="coinListHead" type="text/template"> - <div class="coinListHead dataForShow"> - <table><tbody> - <tr> - <td style="width: 10%">SKN</td> - <td style="width: 24%">商品信息</td> - <td style="width: 20%">供应商 / 店铺</td> - <td style="width: 5%">性别</td> - <td style="width: 5%">吊牌价</td> - <td style="width: 5%">销售价</td> - <td style="width: 6%">返币金额</td> - <td style="width: 8%">状态</td> - <td style="width: 12%">操作信息</td> - <td style="width: 5%">操作</td> - </tr> - </tbody></table> - </div> -</script> - -<script id="coinList" type="text/template"> - <div class="dataForShow _[[productSkn]]" data-skn="[[productSkn]]"> - <table><tbody> - <tr> - <td rowspan="2" span="2" style="width: 10%">[[productSkn]]</td> - <td class="left" style="width: 24%"> - <p>名称:[[productName]]</p> - <p>品牌:[[brandName]]</p> - <div> - 类目:[[if maxSortName]][[maxSortName]][[/if]] - [[if middleSortName]] > [[middleSortName]][[/if]] - [[if smallSortName]] > [[smallSortName]][[/if]] - </div> - </td> - <td class="left" style="width: 20%"> - [[if supplierName]][[supplierName]][[/if]] - [[if shopName]] / [[shopName]][[/if]] - </td> - <td style="width: 5%">[[genderName]]</td> - <td class="retailPrice" style="width: 5%">[[retailPrice]]</td> - <td class="salesPrice" style="width: 5%">[[salesPrice]]</td> - <td class="returnYohoCoin" style="width: 6%">[[productPrice.returnCoinMoney]]</td> - <td class="coinStatus" style="width: 8%"> - [[statusName]]<br> - [[if productPrice.coinStatus == 3]] - <a class="noCheckReason" href="javascript:" data-text="[[productPrice.comment]]" style="color: #ec971f;text-decoration: underline">驳回理由</a> - [[/if]] - </td> - <td class="left OperatInfo" style="width: 12%"> - [[if productPrice.founderName]]<p>操作人:[[productPrice.founderName]]</p>[[/if]] - [[if productPrice.coinStatus == 1 && productPrice.auditorId]]<p>审核金额:[[productPrice.needAuditCoin]]</p><p>审核人:[[auditorName]]</p>[[/if]] - [[if productPrice.auditDt]]<div style="color: #999; font-size: 12px;">[[updateTime]]</div>[[/if]] - </td> - <td class="operation" style="width: 5%"> - [[if productPrice.coinStatus == 0]] - <button type="button" name="设置" class="btn btn-primary btn-sm btn-modify">设置</button> - [[/if]] - [[if productPrice.coinStatus == 2 || productPrice.coinStatus == 3]] - <button type="button" name="修改" class="btn btn-info btn-sm btn-modify">修改</button> - [[/if]] - </td> - </tr> - - <tr class="dataForEditor"> - <td colspan="9" style="padding: 0; border-left: 1px solid #ddd"> - <table> - <tr> - <!--td width="50%"><b>反币时间</b></td--> - <td width="40%"><b>反币金额</b></td> - <td width="40%"><b>审核人</b></td> - <td width="20%"><b>操作</b></td> - </tr> - <tr> - <!--td> - <div class="radio" style="margin-top: 0"> - <label><input type="radio" name="returnCoinTime" value="option1" checked>永久</label> - </div> - <div class="radio" style="margin-bottom: 0"> - <label> - <input type="radio" name="returnCoinTime" value="option1" checked> - <form class="form-inline"> - <div class="form-group" style="margin-right: 0"><input type="text" class="form-control"></div> ~ - <div class="form-group" style="margin-right: 0"><input type="text" class="form-control"></div> - </form> - </label> - </div> - </td--> - <td> - <input type="text" class="form-control center editor-yohoCoin" placeholder="反币金额" value="[[productPrice.returnCoinMoney]]" style="width: 100px"> - </td> - <td> - <select class="form-control center editor-auditor" style="width: 150px"> - <option value="">-- 请选择审核人 --</option> - <option value="2965">Tracy</option> - <option value="10235">David Wong</option> - </select> - </td> - <td> - <button type="submit" class="btn btn-success btn-sm btn-save" data-productskn="[[productSkn]]">保存</button> - </td> - </tr> - <tr> - <td class="left editorTip" colspan="3">* 提示:若返币金额 <b>大于等于</b> 销售价的20%,审核人必须填写,审核通过后才能进入该状态。</td> - </tr> - </table> - </td> - </tr> - </tbody></table> - </div> -</script> - -<script id="yohoCoinImportResultTable" type="text/template"> - <table class="table table-striped table-bordered" align="center"> - <thead> - <tr> - <th>SKN</th> - <th>品牌</th> - <th>吊牌价</th> - <th>反币金额</th> - <th>操作</th> - </tr> - </thead> - <tbody> - [[if successList.length > 0]] - [[each successList as item _index]] - <tr> - <td>[[item.productSkn]]</td> - <td>[[item.brandName]]</td> - <td>[[item.retailPrice]]</td> - <td> - [[if item.needAuditCoin >= item.retailPrice * 0.2]] - <font color="#ff0000">[[item.needAuditCoin]]</font><br> - [[else]] - [[item.needAuditCoin]]<br> - [[/if]] - <font color="#999999">[ [[item.returnCoinMoney]] ]</font> - </td> - <td><a href="javascript:;" class="btn btn-xs btn-danger btn-delete-yohoCoin" data-index="[[_index]]">删除</a></td> - </tr> - [[/each]] - [[else]] - <tr> - <td colspan="5">无数据!</td> - </tr> - [[/if]] - </tbody> - </table> -</script> - -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/guang/articleCategory/Index.html b/server/views/guang/articleCategory/Index.html deleted file mode 100644 index ecfbda2..0000000 --- a/server/views/guang/articleCategory/Index.html +++ /dev/null @@ -1,55 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div style="margin-bottom: 20px"> - <a class="btn btn-success" id="add"><i class="fa fa-plus"></i> 添加文章分类</a> - </div> - <div class="panel"> - <div class="panel-body nopadding"> - <div id="list" class="dataTables_wrapper no-footer"></div> - </div> - </div> -</div> - -<script type="text/template" id="template"> - <div class="form-group" id="maxsord"> - <label for="parentId" class="col-sm-2 control-label">一级分类名:</label> - <div class="col-sm-10"> - <input type="hidden" name="" value="[[id]]" id="id" class="form-control" pattern="" title=""> - <select id="parentId" value="[[parentId]]" class="form-control"> - <option value="0">请选择分类</option> - </select> - </div> - </div> - - <div class="form-group"> - <label for="name" class="col-sm-2 control-label">分类名:</label> - <div class="col-sm-10"> - <input type="text" value="[[name]]" name="content" id="name" placeholder="分类名" required="required" class="form-control"> - </div> - </div> - - <div class="form-group"> - <label for="orderBy" class="col-sm-2 control-label">排序:</label> - <div class="col-sm-10"> - <input type="number" value="[[orderBy||0]]" name="content" id="orderBy" placeholder="排序" required="required" class="form-control"> - </div> - </div> - - <div class="form-group"> - <label for="advertCode" class="col-sm-2 control-label">广告码:</label> - <div class="col-sm-10"> - <input type="text" value="[[advertCode]]" name="content" id="advertCode" placeholder="广告码" required="required" class="form-control"> - </div> - </div> - - <div class="form-group"> - <label for="status" class="col-sm-2 control-label" style="margin-top: 10px">是否启用:</label> - <div class="col-sm-10 radio"> - <label><input type="radio" value="1" name="status" kl_vkbd_parsed="true">开启</label> - <label><input type="radio" value="0" name="status" kl_vkbd_parsed="true" checked>关闭</label> - </div> - <input id="status" type="hidden" value="[[status]]" for="radio" kl_vkbd_parsed="true"> - </div> -</script> \ No newline at end of file diff --git a/server/views/guang/author/Index.html b/server/views/guang/author/Index.html deleted file mode 100644 index 62910b6..0000000 --- a/server/views/guang/author/Index.html +++ /dev/null @@ -1,39 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div style="margin-bottom: 20px"> - <a class="btn btn-success" id="add-btn" ><i class="fa fa-plus"></i> 添加作者</a> - </div> - <div class="panel"> - <div class="panel-body nopadding"> - <div id="color-list" class="color dataTables_wrapper no-footer"></div> - </div> - </div> -</div> - - -<script type="text/template" id="template"> - <div class="form-group"> - <input type="hidden" name="" value="[[uid]]" id="uid" class="form-control" pattern="" title=""> - <label for="username" class="col-sm-2 control-label">作者名称:</label> - <div class="col-sm-10"> - <input type="text" value="[[username]]" name="content" id="username" placeholder="作者名称" required="required" class="form-control"> - </div> - </div> - - <div class="form-group"> - <label for="authorDesc" class="col-sm-2 control-label">作者描述:</label> - <div class="col-sm-10"> - <input type="text" value="[[authorDesc]]" name="content" id="authorDesc" placeholder="作者描述" required="required" class="form-control"> - </div> - </div> - - <div class="form-group"> - <label for="avatar" class="col-sm-2 control-label">作者头像:</label> - <div class="col-sm-8" id="colorUrlBox"> - <input type="file" id="avatar" name="colorValue" value="[[avatar]]"> - </div> - </div> -</script> - diff --git a/server/views/guang/brandConcern/Index.html b/server/views/guang/brandConcern/Index.html deleted file mode 100644 index 8443151..0000000 --- a/server/views/guang/brandConcern/Index.html +++ /dev/null @@ -1,129 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body" style="padding-bottom: 0"> - <a id="add-btn" href="javascript:;" class="btn btn-success"><i class="fa fa-plus"></i> 添加品牌关系</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select id="g-brandId" class="form-control"> - <option value="-1">全部品牌</option> - </select> - </div> - - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div id="basicTable_wrapper" class="dataTables_wrapper no-footer"> - <div class="dataTables_length" id="basicTable"> - </div> - <nav> - <ul id="pagination" class="pagination pagination-lg"></ul> - </nav> - </div> - </div> -</div> - - -<script type="text/template" id="template"> - - <div id="templete-top"> - <input type="hidden" name="" value="[[id]]" id="id" class="form-control" pattern="" title=""> - <div class="form-group"> - <label for="brandId" class="col-sm-2 control-label">品牌名称<font color="#ff0000"> *</font>:</label> - - <div class="col-sm-10"> - <select required="required" id="brandId" value="[[brandId]]" class="form-control"> - <option value="[[brandId||-1]]">[[brandName||"请选择"]]</option> - </select> - </div> - </div> - - - <div class="form-group"> - <label class="col-sm-2 control-label">类型 <span style="color: #ff0000" class="asterisk"> *</span>:</label> - <div class="col-sm-9"> - <input for="radio" type="hidden" id="brandType" value="[[brandType]]"/> - <div class="rdio rdio-primary"> - <input type="radio" id="int_new" value="1" name="brandType" required=""> - <label for="int_new">新品</label> - </div><!-- rdio --> - <div class="rdio rdio-primary"> - <input type="radio" value="2" id="int_sale" name="brandType"> - <label for="int_sale">折扣</label> - <select class="form-control" name="discount" id="discount" value="[[discount]]" style="display:none;margin-left: 10px"> - <option value="0">请选择</option> - <option value="1">1折</option> - <option value="2">2折</option> - <option value="3">3折</option> - <option value="4">4折</option> - <option value="5">5折</option> - <option value="6">6折</option> - <option value="7">7折</option> - <option value="8">8折</option> - <option value="9">9折</option> - </select> - </div><!-- rdio --> - - <div class="rdio rdio-primary"> - <input type="radio" value="3" id="int_recommend" name="brandType"> - <label for="int_recommend">推荐</label> - </div><!-- rdio --> - - <div class="rdio rdio-primary"> - <input type="radio" value="4" id="int_activity" name="brandType"> - <label for="int_activity">活动</label> - </div><!-- rdio --> - <label id="genderError" class="error"></label> - </div> - - </div> - - <div class="form-group" id="activity-name" style=""> - <label class="col-sm-2 control-label">活动名称<span style="color: #ff0000" class="asterisk"> *</span>:</label> - <div class="col-sm-9"> - <input type="text" id="activityName" name="activityName" value="[[activityName]]" class="form-control" placeholder="请填写活动名称" value=""> - - </div> - </div> - </div> - - <div id="activity"> - <div class="form-group" style="" id="activity_url"> - <label class="col-sm-2 control-label">活动图片<span style="color: #ff0000" class="asterisk"> *</span>:</label> - <div class="col-sm-9"> - <ul class="cover-image-list col-sm-10" id="addPic" style="padding: 0;margin: 0;"> - <!-- 修改时不存在 --> - <li class="cover-image-item fileinput-button"> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);">+</a> - <input type="file" class="goods-img-upload picfile" id="picfile" name="picfile"> - </div> - </li> - </ul> - </div> - </div> - </div> -</script> - -<script type="text/template" id="imgeUpload"> - [[each pictureBoList as _item _index]] - <li class="cover-image-item image-list" data-index=[[_index]]> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);"> - <img src="[[_item.replace(/(gif|png|jpg|jpeg)\?[^"]*/g,'$1')]]"> - </a> - <i class="remove-item-btn remove1 glyphicon glyphicon-remove-circle" data-index="[[_index]]"></i> - </div> - </li> - [[/each]] -</script> \ No newline at end of file diff --git a/server/views/guang/comment/Index.html b/server/views/guang/comment/Index.html deleted file mode 100644 index 08a46f8..0000000 --- a/server/views/guang/comment/Index.html +++ /dev/null @@ -1,46 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col2"> - <a id="batch-pass-btn" href="javascript:;" class="btn btn-success">批量通过</a> - <a id="mask-btn" href="javascript:;" class="btn btn-danger">批量屏蔽</a> - </div> - </div> - - <div class="row"> - <div class="panel-col2"> - <a id="check-btn" href="javascript:;" class="btn btn-primary">待审核</a> - <a id="pass-btn" href="javascript:;" class="btn btn-success">已审核</a> - <a id="all-btn" href="javascript:;" class="btn btn-info">全部</a> - </div> - </div> - - <div class="row" id="filter-div" hidden="true"> - <div class="panel-col"> - <select id="condNum" class="form-control" style="width: 100%"> - <option value="-1">关键字类型</option> - </select> - </div> - <div class="panel-col2"> - <input type="text" id="condContent" class="form-control" placeholder="输入关键字" style="height: 39px;"/> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a> - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div id="basicTable_wrapper" class="dataTables_wrapper no-footer"> - <div class="dataTables_length" id="basicTable"> - </div> - <nav> - <ul id="pagination" class="pagination pagination-lg"></ul> - </nav> - </div> - </div> -</div> - - diff --git a/server/views/guang/info/Edit.html b/server/views/guang/info/Edit.html deleted file mode 100644 index e29363e..0000000 --- a/server/views/guang/info/Edit.html +++ /dev/null @@ -1,634 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="rows"> - <div class="col-md-12"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title">添加文章</h4> - </div> - <div class="panel-body form-horizontal" id="panel-body" action="<%action%>"> - - </div> - <div class="panel-footer"> - <div class="row"> - <div class="col-sm-9 col-sm-offset-3"> - <input type="button" id="submit" class="btn btn-primary mr5" value="保存"/> - </div> - </div> - </div> - </div> - </div> - </div> -</div> - -<script type="text/template" id="tempalte1"> - <div class="row" id="baseform"> - <div class="form-group"> - <label class="col-sm-2 control-label">文章标题:</label> - - <div class="col-sm-8"> - <input type="text" id="articleTitle" maxlength="80" class="form-control" placeholder="文章标题" required - value="[[articleTitle]]"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">文章分类:</label> - <!--文章分类--> - <div class="col-sm-2"> - <select class="form-control" id="maxSortId" required> - <option value="[[maxSortId||'-1']]">[[maxSortName||'请选择一级分类']]</option> - </select> - </div> - <div class="col-sm-2"> - <select class="form-control" id="minSortId"> - <option value="[[minSortId||'-1']]">[[minSortName||'请选择二级分类']]</option> - </select> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">性别:</label> - - <div class="col-sm-8" style="padding-top: 6px"> - <input type="radio" value="1" name="articleGender"> - <label>男</label> - <input type="radio" value="2" name="articleGender"> - <label>女</label> - <input type="radio" value="3" name="articleGender" checked> - <label>通用</label> - <input type="hidden" value="[[articleGender||3]]" id="articleGender" for="radio" required/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">选择作者:</label> - - <div class="col-sm-8"> - <select class="form-control" id="authorId" required> - <option value="[[authorId||'']]">[[authorName||'请选择']]</option> - </select> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">文章摘要:</label> - - <div class="col-sm-8"> - <textarea rows="2" id="articleSummary" class="form-control" placeholder="文章摘要" required maxlength="85">[[articleSummary]]</textarea> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">封面图:<span class="red">*</span> </label> - - <div class="col-sm-8"> - <input type="file" name="coverImage" id="coverImage" value="[[coverImage]]" required placeholder="封面图"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">图片类型:</label> - - <div class="col-sm-8" style="padding-top: 6px"> - <input type="radio" value="1" name="coverImageType"> - <label>方形</label> - <input type="radio" value="2" name="coverImageType"> - <label>长形</label> - <input type="hidden" id="coverImageType" value="[[coverImageType]]" for="radio"/> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">文章类型:</label> - - <div class="col-sm-8"> - <select class="form-control" value="[[articleType]]" id="articleType"> - <option value="1">普通文章</option> - <option value="2">广告</option> - </select> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">广告尺寸:</label> - - <div class="col-sm-8"> - <select class="form-control" value="[[adsImgSize]]" id="adsImgSize"> - <option value="">请选择广告图片尺寸</option> - <option value="10881088">1088X1088</option> - <option value="1088680">1088X680</option> - <option value="1088340">1088X340</option> - </select> - </div> - </div> - - </div> - <div class="row"> - - <div class="form-group"> - <label class="col-sm-2 control-label">链接:</label> - - <div class="col-sm-7"> - - <input type="text" name="url" id="url" value='[[url]]' class="form-control" placeholder="请输入内容链接" - readonly="true"> - - <p style="color:#999">注:链接中不能有英文单引号</p> - </div> - <div class="col-sm-1"> - <button type="button" class="btn btn-info" id="addUrl">添加链接</button> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">文章内容:</label> - - <div class="col-sm-6"> - <div id="base-form"> - <div class="source-content" id="source-m"> - <!-- left --> - <div class="content-left" id="contentLeft"> - <h4 class="title" data-type="title" style="text-align: center">文章内容</h4> - <ul class="add-box showContain ui-sortable" id="add-content"> - </ul> - <nav> - <em><i></i></em> - <ul class="contents" id="content_btns"> - - </ul> - </nav> - </div> - </div> - </div> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">添加品牌:</label> - - <div class="col-sm-8"> - <ul class="cover-image-list col-sm-10" id="addPic" style="padding: 0;margin: 0;"> - <li class="cover-image-item fileinput-button"> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);" id="addBrands">+</a> - </div> - </li> - </ul> - </div> - - </div> - <div class="form-group"> - <div class="col-sm-2"> - - </div> - <div class="col-sm-8"> - <button class="btn btn-info" type="button" id="brandAutoBtn">自动获取品牌</button> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">选择标签:</label> - - <div class="col-sm-6"> - <div id="taglist" class="tagwrap"> - - </div> - </div> - <div class="col-sm-1"> - <button class="btn btn-info" type="button" id="TagsSelectBtn">选择标签</button> - </div> - </div> - </div> -</script> - -<script type="text/template" id="template2"> - <div class="rows"> - <div class="form-group"> - <label class="col-sm-2 control-label">选择跳转目的地:</label> - - <div class="col-sm-8"> - <select name="goTo" id="goTo" class="form-control"> - [[layout template_default_1]] - </select> - - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">跳转地址:</label> - - <div class="col-sm-8"> - <textarea rows="2" id="goToUrl" class="form-control" placeholder="跳转地址"></textarea> - </div> - - </div> - </div> -</script> - -<script type="text/template" id="template3"> - [[each Brands as brand index]] - <li class="cover-image-item image-list" data-index="2"> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);"> - <img src="[[brand.brandIco]]"> - </a> - <i class="remove-item-btn remove1 glyphicon glyphicon-remove-circle" data-index="[[index]]"></i> - </div> - </li> - [[/each]] -</script> - -<script type="text/template" id="template4"> - [[each tags as tag __index]] - <span class="tag"><span>[[tag]]</span><a href="#" title="Removing tag" data-index='[[__index]]'>x</a></span> - [[/each]] -</script> - -<script type="text/template" id="template5"> - <div class="row" id="brandForm"> - - <div class="form-group"> - [[each Brands as brand index]] - <a class="btn brand-index" href="#[[brand.name]]">[[brand.name]]</a> - [[/each]] - <input type="text" class="form-control" placeholder="搜索" id="brandsearch"/> - </div> - - <div class="form-group brand-wrap" style="height: 400px;overflow: auto;"> - [[each Brands as brand index]] - <div class="form-group" name="[[brand.name]]"> - [[each brand.items as item __index ]] - <a class="btn"> - <input type="checkbox" value="[[item.id]]" name="brandCheckBox"> - <label>[[item.brand_name]]</label> - </a> - [[/each]] - </div> - [[/each]] - <div class="form-group" id="brandsearchwrap" name="brandsearch"> - </div> - </div> - <input type="hidden" id="brandCheckBox" for="checkbox" value="[[Brdata]]"/> - </div> -</script> -<!--文章内容--按钮--> -<script type="text/template" id="template_content_btns"> - [[each btns as btn index]] - <li><a href="javascript:void(0)" name="text" class="add_btn" data-index="[[index]]">[[btn.template_intro]]</a></li> - [[/each]] - <div class="clearfix"></div> -</script> - -<!--文章内容--内容--> -<script type="text/template" id="template_content"> - [[each modules as module index]] - <li class="form-group custom-group dragItem dragItem1" data-index="[[index]]" style="width: 100%"> - [[if module.contentData.template_name=='text']] - <div class="col-sm-12"><h3>[[module.contentData.data.text]]</h3></div> - [[else if module.contentData.template_name=='singleImage']] - <div class="col-sm-12"> - <img src="[[module.contentData.data[0].src]]" title="[[module.contentData.data[0].title]]"> - </div> - [[else if module.contentData.template_name=='smallPic']] - [[each module.contentData.data as item i]] - <div class="col-sm-6"> - <img src="[[item.src]]" title="[[item.title]]"> - </div> - [[/each]] - [[else if module.contentData.template_name=='goods']] - [[each module.contentData.data as item i]] - <div class="col-sm-6"> - <img src="[[item.src]]" title="[[item.title]]"> - </div> - [[/each]] - [[else if module.contentData.template_name=='link']] - <div class="col-sm-12"> - <h3>添加链接</h3> - </div> - [[else if module.contentData.template_name=='goodsGroup']] - <div class="form-group"> - [[each module.contentData.data as items i]] - <div class="col-sm-3"> - <img src="[[items.cover.cover]]"> - </div> - [[/each]] - </div> - - [[each module.contentData.data[0].list as item index]] - <div class="col-sm-6"> - <img src="[[item.src]]" title="[[item.id]]"> - </div> - [[/each]] - - [[/if]] - <div class="actions-box"> - <div class="actions-wrap"> - <span class="edit" data-index="[[index]]">编辑</span> - <span class="del" data-index="[[index]]">删除</span> - </div> - </div> - </li> - [[/each]] -</script> - -<!-- 文本弹层 --> -<script type="text/template" id="template_dialog_text" > - <div class="rows"> - <script id="baidueditor" style="width: 100%;" name="content" type="text/plain"></script> - </div> -</script> - -<!-- 一张图片 --> -<script type="text/template" id="template_dialog_grid"> - <div class="rows"> - <div id="grid-baseFrom"> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <thead> - <tr> - <th>序号</th> - <th>资源位</th> - <th>地址</th> - </tr> - </thead> - <tbody> - [[each contentData.data as item index]] - <tr> - <td>[[index+1]]</td> - <!-- multiple="true" --> - <td><input type="file" name="file" id="src-[[index]]" value="[[item.src]]" - data-field="[[index]].src" data-index="[[index]]"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select class="form-control observe" data-field="[[index]].url.action" - value='[[item.url.action]]'> - [[layout template_default_1]] - </select> - </div> - </div> - - <div class="form-group"> - <div class="col-sm-10"> - <textarea rows="2" class="form-control observe" placeholder="跳转地址" - data-field="[[index]].url.url">[[item.url.url]]</textarea> - </div> - </div> - - - <div class="form-group"> - <div class="col-sm-10"> - <input class="form-control observe" value="[[item.alt]]" placeholder="图片描述" - data-field='[[index]].alt'/> - </div> - </div> - - - </td> - </tr> - [[/each]] - </tbody> - </table> - </div> - <div class="form-group"> - <div class="col-sm-2"> - <button class="btn btn-info" type="button" id="imgsSelectBtn">上传多张图片</button> - </div> - </div> - </div> -</script> -<script type="text/template" id="template_dialog_imgmodule"> - <div class="rows" id="moduleimgs"> - <div class="form-group"> - [[each datas as item index]] - <div class="col-sm-2"> - <img src="[[ item ]]" width="100%" height="100%"> - </div> - [[/each]] - <div class="col-sm-2"> - <input type="file" multiple="true" name="file" id="filemodelimgs"/> - </div> - </div> - </div> -</script> - -<!-- 选择商品 --> -<script type="text/template" id="template_dialog_goods"> - <div class="rows"> - <div class="form-group"> - <div class="col-sm-12"> - <ul class="cover-image-list col-sm-10 imagegroup" id="goodspic"> - [[each contentData.data as item index]] - <li class="cover-image-item image-list dragItem dragItem2" > - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);"> - <img src="[[item.src]]"> - </a> - <i class="remove-item-btn removepic glyphicon glyphicon-remove-circle" - data-index="[[index]]"></i> - </div> - </li> - [[/each]] - </ul> - </div> - - </div> - <div class="form-group"> - <div class="col-sm-1"> - <button class="btn btn-info" type="button" id="goodsSelectBtn">选择标签</button> - </div> - </div> - </div> -</script> - -<script type="text/template" id="template_dialog_goodsimgs"> - [[each datas as data index]] - <li class="cover-image-item image-list dragItem dragItem2"> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);"> - <img src="[[data.src]]"> - </a> - <i class="remove-item-btn removepic glyphicon glyphicon-remove-circle" data-index="[[index]]"></i> - </div> - </li> - [[/each]] -</script> - -<!--添加商品/商品组--选择标签界面模板--> -<script type="text/template" id="template_dialog_goodsgird"> - <div class="rows"> - <div class="form-group"> - <div class="panel-col2"> - <input class="form-control" id="skns" placeholder="输入SKN(多个skn以逗号分隔)或产品名称"/> - </div> - <div class="panel-col"> - <input type="number" id="beginPrice" name="begin_price" class="form-control" - placeholder="起始价" value=""> - </div> - - <div class="panel-col"> - <input type="number" id="endPrice" name="end_price" class="form-control" - placeholder="结束价" value=""> - </div> - <div class="col-sm-1"> - <input type="button" id="search" class="btn btn-primary mr5" value="搜索"/> - </div> - </div> - <div class="form-group"> - <div class="gird" id="goodsgird"> - <div class="row"> - <div class="form-group"> - <div class="col-sm-12"> - <i class="col-sm-1 fa fa-star" style="text-align: right"></i> - <p class="col-sm-10">请在搜索框内输入SKN(多个skn以逗号分隔)或产品名称,然后点击搜索按钮</p> - </div> - </div> - </div> - </div> - </div> - </div> -</script> - -<!-- 推荐商品 --> -<script type="text/tempalte" id="template_dialog_remgoods"> - <div class="rows" id="groupsgoods"> - [[layout template_dialog_remgoodsgroup]] - </div> - <div class="rows"> - <div class="form-group"> - <div class="col-sm-1"> - <button class="btn btn-info" type="button" id="goodsaddBtn">添加组</button> - </div> - </div> - </div> - - - -</script> - -<script type="text/template" id="template_dialog_remgoodsgroup"> - [[each contentData.data as items i]] - <div class="form-group"> - <div class="col-sm-10"> - <ul class="cover-image-list col-sm-10 imagegroup" data-i="[[i]]"> - [[each items.list as item index]] - <li class="cover-image-item image-list dragItem dragItem2" data-index="2"> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);"> - <img src="[[item.src]]"> - </a> - <i class="remove-item-btn removepic glyphicon glyphicon-remove-circle" - data-index="[[index]]"></i> - </div> - </li> - [[/each]] - </ul> - </div> - <div class="col-sm-2"> - <button class="btn btn-info goodsSelectBtn" type="button" data-index="[[i]]">选择标签</button> - </div> - </div> - [[/each]] -</script> -<!-- 一个连接 --> -<script type="text/template" id="template_dialog_link"> - <div class="rows"> - <div class="form-group"> - <label class="col-sm-2 control-label">选择跳转目的地:</label> - - <div class="col-sm-8"> - <select class="form-control observe" data-field="0.url.action" - value='[[contentData.data[0].url.action]]'> - [[layout template_default_1]] - </select> - - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">跳转地址:</label> - - <div class="col-sm-8"> - <textarea rows="2" class="form-control observe" placeholder="跳转地址" data-field="0.url.url">[[contentData.data[0].url.url]]</textarea> - </div> - - </div> - </div> -</script> - -<script type="text/template" id="template_default_1"> - <option value="" selected="selected">选择跳转目的</option> - <option value="go.brand">品牌列表页</option> - <option value="go.productDetail">商品详情页</option> - <option value="go.coupon">优惠券页</option> - <option value="go.fav">收藏列表页</option> - <option value="go.mine">我的页面</option> - <option value="go.list">列表或搜索页</option> - <option value="go.attention">关注页</option> - <option value="go.plus">plus页</option> - <option value="go.star">star页</option> - <option value="go.new">新品到着页</option> - <option value="go.sale">折扣页</option> - <option value="go.h5">h5网页</option> - <option value="go.guangchannel">逛频道</option> - <option value="go.gender">男女首页</option> - <option value="go.activity">app活动页</option> - <option value="go.home">频道首页</option> - <option value="go.yohood">YOHOOD</option> - <option value="go.top100">热销排行</option> - <option value="go.activitytemplate">活动模板</option> - <option value="go.globalpurchase">全球购</option> - <option value="go.subchannel">二级频道</option> - <option value="go.guangchannel">逛频道或SHOW晒单页</option> - <option value="go.showgoods">去晒单</option> - <option value="go.limitpurchase">尖货频道</option> - <option value="go.vippro">会员商品</option> - <option value="go.shortsize">断码页</option> - <option value="go.discountmarket">折扣专区</option> - <option value="go.discountmarketpro">折扣专区详情页</option> -</script> -<script type="text/template" id="sorts-template"> - <div class="form-group"> - 颜色: - [[each colors as item index]] - <input type="checkbox" name="color" data-index="[[index]]" value="[[item.id]]">[[item.colorName]] - [[/each]] - <input type="hidden" id="colors1" for="checkbox"> - - </div> - <div class="form-group"> - 风格: - [[each styles as item index]] - <input type="checkbox" name="style" value="[[item.stylename]]">[[item.stylename]] - [[/each]] - <input type="hidden" for="checkbox" id="styles1"> - </div> - <div class="form-group"> - 品类: - [[each types as item index]] - <input type="checkbox" name="type" value="[[item.id]]">[[item.sortName]] - [[/each]] - <input type="hidden" for="checkbox" id="types1"> - </div> - <div class="form-group"> - 品牌: - [[each brands as item index]] - [[each item.items as _item _index]] - <input type="checkbox" name="brand" value="[[_item.id]]">[[_item.brand_name]] - [[/each]] - [[/each]] - <input type="hidden" for="checkbox" id="brands1"> - </div> - <div class="form-group"> - 性别: - [[each genders as item index]] - <input type="checkbox" name="gender" value="[[item.id]]">[[item.gendername]] - [[/each]] - <input type="hidden" for="checkbox" id="genders1"> - </div> -</script> -<script type="text/template" id="tag-template"> - <div class="form-group"> - 所有标签: - [[each sorts as item index]] - <input type="checkbox" name="color" value="[[item.id]]">[[item.id]] - [[/each]] - <input type="hidden" id="sorts1" for="checkbox"> - </div> - -</script> - - diff --git a/server/views/guang/info/Index.html b/server/views/guang/info/Index.html deleted file mode 100644 index bf14b97..0000000 --- a/server/views/guang/info/Index.html +++ /dev/null @@ -1,98 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body" style="padding-bottom: 0"> - <a href="/guang/article/contentAdd" class="btn btn-success"><i class="fa fa-plus"></i> 添加资讯</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input type="text" id="articleTitle" class="form-control" placeholder="输入关键字" - style="height: 39px;"/> - </div> - - <div class="panel-col"> - <select id="articleGender" class="form-control"> - <option value="-1">请选择性别</option> - <option value="1">男</option> - <option value="2">女</option> - <option value="3">通用</option> - </select> - </div> - - <div class="panel-col"> - <select id="authorId" class="form-control"> - <option value="-1">请选择作者</option> - </select> - </div> - <div class="panel-col"> - <select id="maxSortId" class="form-control"> - <option value="-1">请选择分类</option> - </select> - </div> - <div class="panel-col"> - <select id="status" class="form-control"> - <option value="">请选择状态</option> - <option value="1">已发布</option> - <option value="0">未发布</option> - <option value="-1">已关闭</option> - - </select> - </div> - - <div class="panel-col"> - <select id="orderBy" class="form-control"> - <option value="-1">请选择时间方式</option> - <option value="create_time">添加时间</option> - <option value="publish_time">发布时间</option> - </select> - </div> - - <div class="panel-col"> - <input type="text" id="starttime" class="form-control panel-input hasDatepicker" name="start_time" - placeholder="开始时间" value="" kl_vkbd_parsed="true"> - </div> - - <div class="panel-col"> - <input type="text" id="endtime" class="form-control panel-input hasDatepicker" name="end_time" - placeholder="结束时间" value="" kl_vkbd_parsed="true"> - </div> - - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div id="basicTable_wrapper" class="dataTables_wrapper no-footer"> - <div class="dataTables_length" id="basicTable"> - </div> - <nav> - <ul id="pagination" class="pagination pagination-lg"></ul> - </nav> - </div> - </div> -</div> - -<script type="text/template" id="template"> - <div class="form-group"> - <label class="col-sm-3 control-label">标题</label> - - <div class="col-sm-9"> - <p id="title">[[articleTitle]]</p> - </div> - </div> - <div class="form-group"> - <label class="col-sm-3 control-label">定时发布时间</label> - - <div class="col-sm-9"> - <input type="text" readonly="true" class="form-control hasDatepicker" name="publish_time" - value="[[publishTime]]" - style="width:180px;" id="datepicker" required="required"> - </div> - </div> -</script> diff --git a/server/views/guang/plusStar/Index.html b/server/views/guang/plusStar/Index.html deleted file mode 100644 index 72a1517..0000000 --- a/server/views/guang/plusStar/Index.html +++ /dev/null @@ -1,157 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body" style="padding-bottom: 0"> - <a id="add-btn" href="javascript:;" class="btn btn-success"><i class="fa fa-plus"></i> 添加Plus/star</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select id="g-brandType" class="form-control"> - <option value="-1">请选择频道</option> - </select> - </div> - - <div class="panel-col"> - <select id="g-status" class="form-control"> - <option value="-1">选择品牌状态</option> - <option value="1">可用</option> - <option value="2">不可用</option> - </select> - </div> - - - <div class="panel-col"> - <select id="g-brandId" class="form-control"> - <option value="-1">全部品牌</option> - </select> - </div> - - <div class="panel-col"> - <select id="g-gender" class="form-control"> - <option value="-1">性别</option> - <option value="1">男</option> - <option value="2">女</option> - <option value="3">通用</option> - - </select> - </div> - - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div id="basicTable_wrapper" class="dataTables_wrapper no-footer"> - <div class="dataTables_length" id="basicTable"> - </div> - <nav> - <ul id="pagination" class="pagination pagination-lg"></ul> - </nav> - </div> - </div> - <input type="hidden" id="url-copy"/> -</div> - - -<script type="text/template" id="template"> - - <div id="templete-top"> - <div class="form-group"> - <label for="brandType" class="col-sm-2 control-label">频道类别:</label> - <div class="col-sm-8"> - <input type="hidden" name="" value="[[id]]" id="id" class="form-control" pattern="" title=""> - <select id="brandType" value="[[brandType]]" class="form-control"> - <option value="[[brandType||-1]]">[[categoryName||"请选择"]]</option> - </select> - </div> - </div> - - <div class="form-group"> - <label for="brandId" class="col-sm-2 control-label">品牌名称:</label> - <div class="col-sm-8"> - <select id="brandId" value="[[brandId]]" class="form-control"> - <option value="[[brandId||-1]]">[[brandName||"请选择"]]</option> - </select> - </div> - </div> - - <div class="form-group"> - <label for="bannerTitle" class="col-sm-2 control-label">品牌banner标题:</label> - <div class="col-sm-8"> - <input type="text" value="[[bannerTitle]]" name="content" id="bannerTitle" placeholder="品牌banner标题" required="required" class="form-control"> - </div> - </div> - - <div class="form-group"> - <label for="orderBy" class="col-sm-2 control-label">排序:</label> - <div class="col-sm-8"> - <input type="number" value="[[orderBy]]" name="content" id="orderBy" placeholder="排序" required="required" class="form-control"> - </div> - </div> - - <div class="form-group"> - <label for="gender" class="col-sm-2 control-label" style="margin-top: 10px">性别:</label> - <div class="radio col-sm-8"> - <label><input type="radio" value="1" name="gender" kl_vkbd_parsed="true">男</label> - <label><input type="radio" value="2" name="gender" kl_vkbd_parsed="true">女</label> - <label><input type="radio" value="3" name="gender" kl_vkbd_parsed="true">通用</label> - </div> - <input id="gender" type="hidden" value="[[gender]]" for="radio" required="required" kl_vkbd_parsed="true"> - </div> - - <div class="form-group"> - <label for="status" class="col-sm-2 control-label" style="margin-top: 10px">是否可用:</label> - <div class="radio col-sm-8"> - <label><input type="radio" value="1" name="status" kl_vkbd_parsed="true">可用</label> - <label><input type="radio" value="2" name="status" kl_vkbd_parsed="true">不可用</label> - </div> - <input id="status" type="hidden" value="[[status]]" for="radio" required="required" kl_vkbd_parsed="true"> - </div> - - <div class="form-group"> - <label for="coverImg" class="col-sm-2 control-label">上传封面图:</label> - <div class="col-sm-8" id="colorUrlBox"> - <input type="file" id="coverImg" name="coverImg" required="required" value="[[coverImg]]"> - </div> - </div> - </div> - - <div id="mutil-image"> - <div class="form-group"> - <label for="brandType" class="col-sm-2 control-label">上传banner图:</label> - <div class="col-sm-10"> - <p>最多上传2张(只有明星潮品需上传2张)</p> - <ul class="cover-image-list col-sm-10" id="addPic" style="padding: 0;margin: 0;"> - <!-- 修改时不存在 --> - <li class="cover-image-item fileinput-button"> - <div class="goods-img" style="margin: 10px 0"> - <a class="fileinput-button-icon" href="javascript:void(0);">+</a> - <input type="file" class="goods-img-upload picfile" required="required" id="picfile" name="picfile"> - </div> - </li> - </ul> - </div> - </div> - </div> -</script> - - -<script type="text/template" id="imgeUpload"> - [[each pictureBoList as _item _index]] - <li class="cover-image-item image-list" data-index=[[_index]]> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);"> - <img src="[[_item]]"> - </a> - <i class="remove-item-btn remove1 glyphicon glyphicon-remove-circle" data-index="[[_index]]"></i> - </div> - </li> - [[/each]] -</script> diff --git a/server/views/guang/plusStarCategory/Index.html b/server/views/guang/plusStarCategory/Index.html deleted file mode 100644 index d6142dc..0000000 --- a/server/views/guang/plusStarCategory/Index.html +++ /dev/null @@ -1,67 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body" style="padding-bottom: 0"> - <a id="add-btn" href="javascript:;" class="btn btn-success"><i class="fa fa-plus"></i> 添加Plus/star分类</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select id="g-status" class="form-control"> - <option value="-1">选择状态</option> - <option value="0">关闭</option> - <option value="1">开启</option> - - </select> - </div> - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div id="basicTable_wrapper" class="dataTables_wrapper no-footer"> - <div class="dataTables_length" id="basicTable"> - </div> - <nav> - <ul id="pagination" class="pagination pagination-lg"></ul> - </nav> - </div> - </div> -</div> - - -<script type="text/template" id="template"> - - <div class="form-group"> - <label for="categoryName" class="col-sm-2 control-label">分类名称:</label> - <div class="col-sm-10"> - <input type="text" name="" id="id" value="[[id]]" hidden="true"/> - <input type="text" name="" id="status" value="[[status]]" hidden="true"/> - <input type="text" value="[[categoryName]]" name="content" id="categoryName" placeholder="分类名称" required="required" class="form-control"> - <p style="color:#ff0000">注:分类名称必填</p> - </div> - - </div> - - <div class="form-group"> - <label for="contentCode" class="col-sm-2 control-label">资源位码(head):</label> - <div class="col-sm-10"> - <input value="[[contentCode]]" name="contentCode" id="contentCode" placeholder="资源位码(head)" required="required" class="form-control"> - </div> - </div> - - <div class="form-group"> - <label for="contentCodeFoot" class="col-sm-2 control-label">资源位码(foot):</label> - <div class="col-sm-10"> - <input value="[[contentCodeFoot]]" name="contentCodeFoot" id="contentCodeFoot" placeholder="资源位码(foot)" required="required" class="form-control"> - </div> - </div> - - -</script> diff --git a/server/views/guang/tag/Index.html b/server/views/guang/tag/Index.html deleted file mode 100644 index 1e2e9a7..0000000 --- a/server/views/guang/tag/Index.html +++ /dev/null @@ -1,105 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body" style="padding-bottom: 0"> - <a id="add-btn" href="javascript:;" class="btn btn-success"><i class="fa fa-plus"></i> 添加标签</a> - </div> - <div class="panel-body"> - - <div class="row"> - <div class="panel-col"> - <input type="text" id="articleTitle" class="form-control" placeholder="输入标签名称" /> - </div> - - <div class="panel-col"> - <select id="sort" class="form-control" > - <option value="-1">请选择分类</option> - </select> - </div> - - <div class="panel-col"> - <select id="isArticleHot" class="form-control"> - <option value="-1">是否热门</option> - <option value="1">是</option> - <option value="0">否</option> - </select> - </div> - - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div id="basicTable_wrapper" class="dataTables_wrapper no-footer"> - <div class="dataTables_length" id="basicTable"> - </div> - <nav> - <ul id="pagination" class="pagination pagination-lg"></ul> - </nav> - </div> - </div> -</div> - - -<script type="text/template" id="template"> - <div class="form-horizontal tagInfo"> - <input type="hidden" value="[[id]]" id="id" class="form-control"> - - <div class="form-group"> - <label for="tagName" class="col-sm-2 control-label">标签名称:</label> - <div class="col-sm-offset-1 col-sm-5"> - <input type="text" value="[[tagName]]" id="tagName" placeholder="标签名称" required="required" class="form-control"> - </div> - <div class="col-sm-2"><label style="color: #ff0000; line-height: 40px"> * 必填</label></div> - </div> - - <div class="form-group" id="maxsord"> - <label for="classifyId" class="col-sm-2 control-label">标签分类:</label> - <div class="col-sm-offset-1 col-sm-5"> - <select id="classifyId" value="[[classifyId]]" required="required" class="form-control"> - <option value="[[classifyId || -1]]">[[classifyName || "请选择分类"]]</option> - </select> - </div> - <div class="col-sm-2"><label style="color: #ff0000; line-height: 40px"> * 必选</label></div> - </div> - - <div class="form-group"> - <label for="orderBy" class="col-sm-2 control-label">排序:</label> - <div class="col-sm-offset-1 col-sm-5"> - <input type="number" value="[[orderBy || 0]]" id="orderBy" placeholder="排序" required="required" class="form-control"> - </div> - </div> - - <div class="form-group"> - <label for="isHot" class="col-sm-2 control-label">是否热门:</label> - <div class="col-sm-offset-1 col-sm-5"> - <label class="radio-inline"><input type="radio" value="1" name="isHot" kl_vkbd_parsed="true">是</label> - <label class="radio-inline"><input type="radio" value="0" name="isHot" kl_vkbd_parsed="true" checked>否</label> - </div> - <input id="isHot" type="hidden" value="[[isHot]]" for="radio" kl_vkbd_parsed="true"> - </div> - - <div class="form-group"> - <label for="status" class="col-sm-2 control-label">是否启用:</label> - <div class="col-sm-offset-1 col-sm-5"> - <label class="radio-inline"><input type="radio" value="1" name="status" kl_vkbd_parsed="true">是</label> - <label class="radio-inline"><input type="radio" value="0" name="status" kl_vkbd_parsed="true" checked>否</label> - </div> - <input id="status" type="hidden" value="[[status]]" for="radio" kl_vkbd_parsed="true"> - </div> - - <div class="form-group" style="margin-bottom: 0"> - <label class="col-sm-2 control-label">上传图片:</label> - <div class="col-sm-offset-1 col-sm-9"> - <div><input type="file" name="cover" value="[[cover || '']]" id="cover"></div> - <label style="color: #ff0000; padding-top: 5px; display: block; clear: both"> 提示:【新潮教室】中图片将用作明星头像,建议上传方形图片。</label> - </div> - </div> - </div> -</script> diff --git a/server/views/guang/tagCategory/Index.html b/server/views/guang/tagCategory/Index.html deleted file mode 100644 index 0079881..0000000 --- a/server/views/guang/tagCategory/Index.html +++ /dev/null @@ -1,39 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div style="margin-bottom: 20px"> - <a class="btn btn-success" id="add"><i class="fa fa-plus"></i> 添加标签分类</a> - </div> - <div class="panel"> - <div class="panel-body nopadding"> - <div id="list" class="dataTables_wrapper no-footer"></div> - </div> - </div> -</div> - -<script type="text/template" id="template"> - <div class="form-group"> - <input type="hidden" name="" value="[[id]]" id="id" class="form-control" pattern="" title=""> - <label for="classifyName" class="col-sm-2 control-label">分类名称:</label> - <div class="col-sm-10"> - <input type="text" value="[[classifyName]]" name="content" id="classifyName" requeired placeholder="分类名称" required="required" class="form-control"> - </div> - </div> - - <div class="form-group"> - <label for="orderBy" class="col-sm-2 control-label">排序:</label> - <div class="col-sm-10"> - <input type="number" value="[[orderBy]]" name="content" id="orderBy" placeholder="排序" required="required" class="form-control"> - </div> - </div> - - <div class="form-group"> - <label for="status" class="col-sm-2 control-label" style="margin-top: 10px">是否启用:</label> - <div class="radio col-sm-10"> - <label><input type="radio" value="1" name="status" kl_vkbd_parsed="true">开启</label> - <label><input type="radio" value="0" name="status" kl_vkbd_parsed="true" checked="checked">关闭</label> - </div> - <input id="status" type="hidden" value="[[status]]" for="radio" kl_vkbd_parsed="true"> - </div> -</script> \ No newline at end of file diff --git a/server/views/help/Category.html b/server/views/help/Category.html deleted file mode 100644 index e4df57d..0000000 --- a/server/views/help/Category.html +++ /dev/null @@ -1,49 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div style="margin-bottom: 20px"> - <a class="btn btn-success" id="add-category"><i class="fa fa-plus"></i> 添加帮助分类</a> - </div> - <div class="panel"> - <div class="panel-body nopadding"> - <div class="dataTables_wrapper no-footer" id="help_list"></div> - </div> - </div> -</div> - -<script type="text/template" id="template"> -<div class="rows" id="baseform"> - <div class="form-group"> - <label for="categoryName" class="col-sm-2 control-label">分类名称:</label> - <div class="col-sm-10"> - <input type="hidden" value="{id}" id="id" /> - <input type="text" style="width: 280px;" value="{categoryName}" id="categoryName" class="form-control" required="required" /> - <label style="color: #ff0000; margin-top: 5px">注:分类名称必填</label> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">一级分类:</label> - <div class="col-sm-10"> - <select id="parentId" style="width: 280px;" value="{parentId}" name="{parentId}"> - <option value="{parentId}">请选择</option> - </select> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">品牌风格:</label> - <div class="col-sm-10"> - <label style="cursor: pointer;"><input type="checkbox" name="platform" value="iphone">IOS手机</label> - <label style="cursor: pointer;"><input type="checkbox" name="platform" value="ipad">IOS Pad</label> - <label style="cursor: pointer;"><input type="checkbox" name="platform" value="android">安卓手机</label> - <label style="cursor: pointer;"><input type="checkbox" name="platform" value="androidpad">安卓Pad</label> - <label style="cursor: pointer;"><input type="checkbox" name="platform" value="h5">手机网站</label> - <label style="cursor: pointer;"><input type="checkbox" name="platform" value="web">网站</label> - <label style="cursor: pointer;"><input type="checkbox" name="platform" value="platform">平台</label> - </div> - <input type="hidden" id="platform" value="{platform}" for="checkbox"> - </div> - </div> -</script> - -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/help/Content.html b/server/views/help/Content.html deleted file mode 100644 index f2f86d5..0000000 --- a/server/views/help/Content.html +++ /dev/null @@ -1,87 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default"> - <div class="panel-body" style="padding-bottom: 0"> - <a class="btn btn-success " id="add-content"><i class="fa fa-plus"></i> 添加内容</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select value="{categoryId}" name="categoryId" id="help-categoryId" tabindex="-1" title="" - class="select2-offscreen brandBtn-group"> - <option value="-1">选择分类</option> - </select> - </div> - <div class="panel-col"> - <select name="platform" id="help-platform" tabindex="-1" title="" - class="select2-offscreen brandBtn-group"> - <option value="" selected="">选择显示平台</option> - <option value="iphone">IOS手机</option> - <option value="ipad">IOS Pad</option> - <option value="android">安卓手机</option> - <option value="androidpad">安卓Pad</option> - <option value="h5">手机网站</option> - <option value="web">网站</option> - <option value="platform">平台</option> - </select> - </div> - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="filter-all" href="/operations/helpcontent/index" class="btn btn-info">全部</a> - </div> - </div> - </div> - </div> - - <div class="panel"> - <div class="panel-body nopadding"> - <div class="dataTables_wrapper no-footer" id="content-list"></div> - </div> - </div> -</div> - - -<script type="text/template" id="template"> - <div class="rows" id="baseform"> - <div class="form-group"> - <label class="col-sm-2 control-label" for="title">标题:</label> - <input type="hidden" value="{id}" id="id"/> - <div class="col-sm-10"> - <input type="text" style="width: 280px;" value="{title}" class="form-control" id="title" required="required"/> - <label style="color: #ff0000; margin-top: 5px">注:标题必填</label> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label" for="content">帮助内容:</label> - <div class="col-sm-10"> - <input type="text" style="width: 280px;" value="{content}" class="form-control" id="content" required="required"/> - <label style="color: #ff0000; margin-top: 5px">注:帮助内容必填</label> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label" for="categoryId">分类:</label> - <div class="col-sm-10"> - <select id="categoryId" style="width: 280px;" value="{categoryId}"> - <option value="{categoryId}">请选择分类</option> - </select> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">显示平台:</label> - <div class="col-sm-10"> - <label style="cursor: pointer;"><input type="checkbox" name="platform" value="iphone">IOS手机</label> - <label style="cursor: pointer;"><input type="checkbox" name="platform" value="ipad">IOS Pad</label> - <label style="cursor: pointer;"><input type="checkbox" name="platform" value="android">安卓手机</label> - <label style="cursor: pointer;"><input type="checkbox" name="platform" value="androidpad">安卓Pad</label> - <label style="cursor: pointer;"><input type="checkbox" name="platform" value="h5">手机网站</label> - <label style="cursor: pointer;"><input type="checkbox" name="platform" value="web">网站</label> - <label style="cursor: pointer;"><input type="checkbox" name="platform" value="platform">平台</label> - </div> - <input type="hidden" id="platform" value="{platform}" for="checkbox"> - </div> - </div> -</script> - -<%include '../common/__ui/footer'%>F \ No newline at end of file diff --git a/server/views/marketing/BrandCoupon/Index.html b/server/views/marketing/BrandCoupon/Index.html deleted file mode 100644 index 253be05..0000000 --- a/server/views/marketing/BrandCoupon/Index.html +++ /dev/null @@ -1,77 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <a id="add-btn" href="javascript:;" class="btn btn-info">添加优惠券</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select id="sel-brandName" class="form-control" > - <option value="-1">选择品牌名称</option> - </select> - </div> - - <div class="panel-col"> - <select id="sel-status" class="form-control"> - <option value="-1">是否生效</option> - <option value="1">失效</option> - <option value="2">有效</option> - </select> - </div> - - <div class="panel-col"> - <input type="number" id="sel-couponsId" class="form-control" placeholder="输入优惠券ID" style="height: 39px;"/> - </div> - - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div id="basicTable_wrapper" class="dataTables_wrapper no-footer"> - <div class="dataTables_length" id="basicTable"> - </div> - <nav> - <ul id="pagination" class="pagination pagination-lg"></ul> - </nav> - </div> - </div> -</div> - -<script type="text/template" id="template"> - <div class="form-group"> - <label class="col-sm-2 control-label">优惠券ID<span style="color: red;"> *</span></label> - <div class="col-sm-10"> - <input type="text" match="numbers" value="[[couponsId]]" class="form-control observe" placeholder="优惠券ID" required="required" data-field="couponsId"> - </div> - </div> - - <div class="form-group" id="maxsord"> - <label for="brandId" class="col-sm-2 control-label">品牌<span style="color: red;"> *</span></label> - <div class="col-sm-10"> - <input type="hidden" name="" value="[[id]]" id="id" class="form-control observe" data-field="brandId"> - <select id="brandId" value="[[brandId]]" class="form-control observe" data-field="brandId"> - <option value="[[brandId||-1]]">[[brandName||"请选择品牌"]]</option> - </select> - </div> - </div> - - <div class="form-group"> - <label for="status" class="col-sm-2 control-label">是否生效<span style="color: red;"> *</span></label> - <div class="radio"> - <label><input type="radio" value="1" class=" observe" name="status" kl_vkbd_parsed="true" data-field="status" checked>失效</label> - <label><input type="radio" value="2" class=" observe" name="status" kl_vkbd_parsed="true" data-field="status">有效</label> - </div> - <input id="status" type="hidden" required="required" class="form-control observe" value="[[status||'1']]" for="radio" kl_vkbd_parsed="true" data-field="status"> - </div> -</script> - -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/marketing/CouponList/AddOrUpdate.html b/server/views/marketing/CouponList/AddOrUpdate.html deleted file mode 100644 index 422ee0a..0000000 --- a/server/views/marketing/CouponList/AddOrUpdate.html +++ /dev/null @@ -1,367 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="row"> - <div class="col-md-12"> - <div id="basicForm" role="<%type%>" data-action="<%action%>" class="form-horizontal form-bordered"> - - </div> - </div> - </div> -</div> -<script type="text/template" id="template5"> - <div class="row" id="brandForm"> - <div class="form-group"> - [[each Brands as brand index]] - <a class="btn brand-index" href="#[[brand.name]]">[[brand.name]]</a> - [[/each]] - <input type="text" class="form-control" placeholder="搜索" id="brandsearch"/> - </div> - - <div class="form-group brand-wrap" style="height: 400px;overflow: auto;"> - [[each Brands as brand index]] - <div class="form-group" name="[[brand.name]]"> - [[each brand.items as item __index ]] - <a class="btn"> - <input type="checkbox" value="[[item.id]]" data-name="[[item.brand_name]]" name="brandCheckBox"> - <label>[[item.brand_name]]</label> - </a> - [[/each]] - </div> - [[/each]] - <div class="form-group" id="brandsearchwrap" name="brandsearch"> - </div> - </div> - <input type="hidden" id="brandCheckBox" for="checkbox" value="[[Brdata]]"/> - </div> -</script> -<script type="text/template" id="couponListAdd-template"> - <div class="panel panel-default"> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">类型 <span class="red">*</span></label> - - <div class="col-sm-8"> - <select id="filter-couponType" tabindex="-1" class="select2-offscreen brandBtn-group observe" - value="[[couponType]]" data-field="couponType" required> - <option value="-1">优惠券类型</option> - <option value="1">A券</option> - <option value="2">B券</option> - <option value="3">公开券</option> - <option value="4">生日券</option> - </select> - </div> - </div> - </div> - </div> - <div class="panel-heading"> - <h4 class="panel-title">基本信息</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">名称 <span class="red">*</span></label> - - <div class="col-sm-8"> - <input type="text" placeholder="名称建议30字以内" prompt="名称" class="form-control observe" - data-field="couponName" required maxlength="30" value="[[couponName]]"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">数量<i class="red">*</i></label> - - <div class="col-sm-8"> - <input type="text" placeholder="数量" prompt="数量" class="form-control observe number" - data-field="couponNum" - required value="[[couponNum]]"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">使用次数<i class="red">*</i></label> - - <div class="col-sm-8"> - <input type="text" placeholder="使用次数" class="form-control observe number" data-field="useNum" - required value="[[useNum]]"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">申请部门<i class="red">*</i></label> - - <div class="col-sm-8"> - <select id="filter-department" placeholder="申请部门" tabindex="-1" - class="select2-offscreen brandBtn-group observe" - value="[[department]]" data-field="department" required> - <option value="-1">申请部门</option> - <option value="20"> 资源发展部</option> - <option value="21"> 广告部</option> - <option value="22"> 招商部</option> - <option value="23"> 男生媒体部</option> - <option value="24"> 女生媒体部</option> - <option value="25"> 流程运营部</option> - <option value="26"> 发行设计部</option> - <option value="27"> 设计部</option> - <option value="28"> 商品一部(羊头+轻奢)</option> - <option value="29"> 商品二部(男装)</option> - <option value="30"> 商品三部(女装)</option> - <option value="31"> 商品四部(户外运动)</option> - <option value="32"> 商品五部(自主)</option> - <option value="33"> 商品六部(明星/KOL)</option> - <option value="34"> 商品七部(童装)</option> - <option value="35"> 商品八部(创意生活+玩具)</option> - <option value="36"> 商品九部(彩妆)</option> - <option value="37"> 商品十部(全球购)</option> - <option value="38"> 运营支持部</option> - <option value="39"> 类目及活动运营部</option> - <option value="40"> 内容运营部</option> - <option value="41"> 营销策划部</option> - <option value="42"> 设计部</option> - <option value="43"> 售后服务部</option> - <option value="44"> 客户关系部</option> - <option value="45"> 运营部</option> - <option value="46"> 泛渠道部</option> - <option value="47"> 运营统筹部</option> - <option value="48"> 南京艾尚店</option> - <option value="49"> 仓储部</option> - <option value="50"> 物流部</option> - <option value="51"> 运营部</option> - <option value="52"> 公关部</option> - <option value="53"> 运营部</option> - <option value="54"> 生产部</option> - <option value="55"> 商品部</option> - <option value="56"> 销售部</option> - <option value="57"> 市场部</option> - <option value="58"> 运营部</option> - <option value="59"> 人事部</option> - <option value="60"> 财务部</option> - <option value="61"> 陈列部</option> - <option value="62"> 会员数据部</option> - <option value="63"> 会员营销部</option> - <option value="64"> 会员运营部</option> - <option value="65"> 品牌营销部</option> - <option value="66"> 效果营销部</option> - <option value="67"> PR营销部</option> - <option value="68"> 设计部</option> - <option value="69"> 零售产品部</option> - <option value="70"> 媒体产品部</option> - <option value="71"> 设计部</option> - <option value="72"> 前端系统部</option> - <option value="73"> 核心系统部</option> - <option value="74"> 后台系统部</option> - <option value="75"> 测试部</option> - <option value="76"> 研究发展部</option> - <option value="77"> 大数据部</option> - <option value="78"> 运维部</option> - <option value="79"> 财务部</option> - <option value="80"> 内审部</option> - <option value="81"> 行政部</option> - <option value="82"> 数据部</option> - <option value="83"> 公共关系部</option> - <option value="84"> 人力资源部</option> - <option value="85"> 总裁办</option> - <option value="86"> 火星项目部</option> - - <option value="1">渠道二部</option> - <option value="2">渠道一部</option> - <option value="3">零售部</option> - <option value="4">品牌资源部</option> - <option value="5">店铺运营部</option> - <option value="6">类目运营部</option> - <option value="7">营销部</option> - <option value="8">市场部</option> - <option value="9">会员部</option> - <option value="10">客服部</option> - <option value="11">内容营销部</option> - </select> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">使用期限<span class="red">*</span></label> - - <div class="col-sm-6"> - <div class="col-sm-4"> - <input type="text" class="form-control observe" data-field="startTime" id="startTime" - placeholder="开始时间" value="[[startTime]]" readonly required> - </div> - <div class="col-sm-1"> - <label class="control-label">到</label> - </div> - <div class="col-sm-4"> - <input type="text" class="form-control observe" data-field="endTime" id="endTime" - placeholder="结束时间" value="[[endTime]]" readonly required> - </div> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">优惠券说明</label> - - <div class="col-sm-8"> - <textarea class="form-control observe" prompt="优惠券说明" data-field="explains" maxlength="100" - placeholder="优惠券使用条件简介" style="resize: none">[[explains]]</textarea> - </div> - </div> - </div> - </div> - - <div class="panel-heading"> - <h4 class="panel-title">使用条件</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">优惠条件<i class="red">*</i></label>  - <select value="[[useLimitType]]" id="useLimitType" class="form-control input-form observe" - data-field="useLimitType"> - <option value="0">无限制</option> - <option value="1">件数</option> - <option value="2">金额</option> - </select>   - [[if useLimitType=='2']] - <label class="control-label">金额满</label> - <input value="[[useLimit]]" id="useLimit" class="form-control input-form observe number" - data-field="useLimit"> - [[/if]] - [[if useLimitType=='1']] - <label class="control-label">件数满</label> - <input value="[[useLimit]]" class="form-control input-form observe number" data-field="useLimit"> - [[/if]] - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">优惠结果<i class="red">*</i></label> - - <div class="col-sm-4"> - <label class="col-sm-2 control-label">面额</label> - - <div class="col-sm-4"> - <input type="text" match="numbers" class="form-control observe " data-field="couponAmount" - value="[[couponAmount]]" required placeholder="面额"> - </div> - <label class="col-sm-1 control-label">元</label> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">适用范围</label> - - <div class="col-sm-4"> - <div class="col-sm-10"> - <select id="useRange" class="form-control input-form" value="[[useRange]]"> - <option value="0">分类</option> - <option value="1">品牌</option> - </select>   - [[if useRange==1]] - <a class="btn btn-primary btn-xs" href="javascript:;" id="addBrands">添加品牌</a> - [[else]] - <a class="btn btn-primary btn-xs" href="javascript:;" id="addSorts">添加分类</a> - [[/if]] - </div> - </div> - </div> - [[if brandList]] - <div class="form-group"> - <label class="col-sm-2 control-label">品牌限制</label> - <div class="col-sm-8"> - <p class="form-control" style="border: 0px">[[brandList]]</p> - </div> - </div> - [[/if]] - [[if sortsList]] - <div class="form-group"> - <label class="col-sm-2 control-label">分类限制</label> - - <div class="col-sm-8"> - <p class="form-control" style="border: 0px">[[sortsList]]</p> - </div> - </div> - [[/if]] - </div> - </div> - <div> - - </div> - - <div class="panel-heading"> - <h4 class="panel-title">领券条件</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">会员身份</label> - - <div class="col-sm-10"> - <label class="checkbox-inline"> - <input type="checkbox" value="1" name="customType" class="custom-1"> 新客户 (注册未购买) - </label> - <label class="checkbox-inline"> - <input type="checkbox" value="5" name="customType" class="custom-5"> 普通会员 (不包含新客户) - </label> - <label class="checkbox-inline"> - <input type="checkbox" value="2" name="customType" class="custom-2"> 银卡会员 - </label> - <label class="checkbox-inline"> - <input type="checkbox" value="3" name="customType" class="custom-3"> 金卡会员 - </label> - <label class="checkbox-inline"> - <input type="checkbox" value="4" name="customType" class="custom-4"> 白金会员 - </label> - </div> - - <input type="hidden" value="[[customType]]" id="customType" for="checkbox" - placeholder="会员身份"> - </div> - </div> - </div> - <div class="panel-footer"> - <div class="row"> - <div class="col-sm-4 col-sm-offset-4"> - - <button id="save_brand" type="button" class="btn btn-primary">提交</button> - <a href="javascript:;" onclick="history.go(-1);" class="btn btn-default">取消</a> - </div> - </div> - </div> - </div> -</script> -<script type="text/template" id="editTemp"> - <div class="panel"> - <div class="panel-body nopadding"> - <form id="basicForm1" role="form" class="form-horizontal form-bordered"> - <div class="form-group" style="margin-bottom: 40px"> - <label class="col-sm-2 control-label">分类关联:</label> - <div class="col-sm-8 sort-wrap"> - <div class="row"> - <div class="col-sm-10"> - <div class="sortTree"></div> - </div> - <div class="col-sm-2 height40"> - <a class="btn btn-danger btn-xs del-sort-btn" href="javascript:;">-</a> - <a class="btn btn-info btn-xs add-sort-btn" href="javascript:;">+</a> - </div> - </div> - </div> - </div> - </form> - </div> - </div> -</script> -<script type="text/template" id="sortWrap"> - <div class="row"> - <div class="col-sm-10"> - <div class="sortTree"></div> - </div> - <div class="col-sm-2 height40"> - <a class="btn btn-danger btn-xs del-sort-btn" href="javascript:;">-</a> - <a class="btn btn-info btn-xs add-sort-btn" href="javascript:;">+</a> - </div> - </div> -</script> -<%include '../../common/__ui/footer'%> - diff --git a/server/views/marketing/CouponList/Index.html b/server/views/marketing/CouponList/Index.html deleted file mode 100644 index 90b5bc7..0000000 --- a/server/views/marketing/CouponList/Index.html +++ /dev/null @@ -1,266 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-heading"> - <a id="add-btn" href="/market/couponList/add" class="btn btn-success "><i class="fa fa-plus"></i> 添加</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col" id="couponsIds"> - - </div> - <div class="panel-col"> - <input id="filter-couponName" class="form-control panel-input" type="text" placeholder="名称"> - </div> - <div class="panel-col"> - <select id="filter-dep" name="filter-dep" tabindex="-1" title="" - class="select2-offscreen brandBtn-group"> - <option value="-1">申请部门</option> - <option value="20"> 资源发展部 </option> - <option value="21"> 广告部 </option> - <option value="22"> 招商部 </option> - <option value="23"> 男生媒体部 </option> - <option value="24"> 女生媒体部 </option> - <option value="25"> 流程运营部 </option> - <option value="26"> 发行设计部 </option> - <option value="27"> 设计部 </option> - <option value="28"> 商品一部(羊头+轻奢) </option> - <option value="29"> 商品二部(男装) </option> - <option value="30"> 商品三部(女装) </option> - <option value="31"> 商品四部(户外运动) </option> - <option value="32"> 商品五部(自主) </option> - <option value="33"> 商品六部(明星/KOL) </option> - <option value="34"> 商品七部(童装) </option> - <option value="35"> 商品八部(创意生活+玩具) </option> - <option value="36"> 商品九部(彩妆) </option> - <option value="37"> 商品十部(全球购) </option> - <option value="38"> 运营支持部 </option> - <option value="39"> 类目及活动运营部 </option> - <option value="40"> 内容运营部 </option> - <option value="41"> 营销策划部 </option> - <option value="42"> 设计部 </option> - <option value="43"> 售后服务部 </option> - <option value="44"> 客户关系部 </option> - <option value="45"> 运营部 </option> - <option value="46"> 泛渠道部 </option> - <option value="47"> 运营统筹部 </option> - <option value="48"> 南京艾尚店 </option> - <option value="49"> 仓储部 </option> - <option value="50"> 物流部 </option> - <option value="51"> 运营部 </option> - <option value="52"> 公关部 </option> - <option value="53"> 运营部 </option> - <option value="54"> 生产部 </option> - <option value="55"> 商品部 </option> - <option value="56"> 销售部 </option> - <option value="57"> 市场部 </option> - <option value="58"> 运营部 </option> - <option value="59"> 人事部 </option> - <option value="60"> 财务部 </option> - <option value="61"> 陈列部 </option> - <option value="62"> 会员数据部 </option> - <option value="63"> 会员营销部 </option> - <option value="64"> 会员运营部 </option> - <option value="65"> 品牌营销部 </option> - <option value="66"> 效果营销部 </option> - <option value="67"> PR营销部 </option> - <option value="68"> 设计部 </option> - <option value="69"> 零售产品部 </option> - <option value="70"> 媒体产品部 </option> - <option value="71"> 设计部 </option> - <option value="72"> 前端系统部 </option> - <option value="73"> 核心系统部 </option> - <option value="74"> 后台系统部 </option> - <option value="75"> 测试部 </option> - <option value="76"> 研究发展部 </option> - <option value="77"> 大数据部 </option> - <option value="78"> 运维部 </option> - <option value="79"> 财务部 </option> - <option value="80"> 内审部 </option> - <option value="81"> 行政部 </option> - <option value="82"> 数据部 </option> - <option value="83"> 公共关系部 </option> - <option value="84"> 人力资源部 </option> - <option value="85"> 总裁办 </option> - <option value="86"> 火星项目部 </option> - - <option value="1">渠道二部</option> - <option value="2">渠道一部</option> - <option value="3">零售部</option> - <option value="4">品牌资源部</option> - <option value="5">店铺运营部</option> - <option value="6">类目运营部</option> - <option value="7">营销部</option> - <option value="8">市场部</option> - <option value="9">会员部</option> - <option value="10">客服部</option> - <option value="11">内容营销部</option> - </select> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="/market/couponList/index" class="btn btn-info">全部</a> - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div class="dataTab_wrapper" id="basicTab"> - </div> - <div class="basicTable_wrapper" id="basicTable"> - </div> - </div> -</div> - -<script type="text/template" id="template"> - <p>[[name]]</p> - <label class="col-sm-3 control-label"><i class="red">*请填写原因</i></label> - <input id="reason" type="text" class="form-control" name="agreement-code" style="width:280px;"> -</script> - -<script type="text/template" id="search-coupon"> - <select id="choose-coupon" title="" class=" select2-offscreen form-control"> - <option value="">选择优惠券ID</option> - [[each data as item index]] - <option value="[[item.id]]">[[item.id]]</option> - [[/each]] - </select> -</script> -<script type="text/template" id="templateInfo"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title">优惠券ID:[[id]]</h4> - <h4 class="panel-title">申请时间:[[createTime]]</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">类型</label> - <div class="col-sm-8"> - <p> [[couponType]]</p> - </div> - </div> - </div> - </div> - <div class="panel-heading"> - <h4 class="panel-title">基本信息</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">名称 </label> - - <div class="col-sm-8"> - <p>[[couponName]]</p> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">数量</label> - - <div class="col-sm-8"> - <p>[[couponNum]]</p> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">申请部门</label> - - <div class="col-sm-8"> - <p>[[department]]</p> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">使用期限</label> - <div class="col-sm-3"> - <p>[[startTime]]</p> - </div> - <div class="col-sm-1"> - <p>到</p> - </div> - <div class="col-sm-3"> - <p>[[endTime]]</p> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">优惠券说明</label> - - <div class="col-sm-8"> - <p>[[explains]]</p> - </div> - </div> - </div> - </div> - <div class="panel-heading"> - <h4 class="panel-title">使用条件</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">优惠类型</label> - - <div class="col-sm-8"> - <p>[[useLimitType]]</p> - </div> - </div> - [[if useLimitType!='无限制']] - <div class="form-group"> - <label class="col-sm-2 control-label">优惠条件</label> - [[if useLimitType=='货物件数限制']] - <div class="col-sm-4"> - <p>件数满 [[useLimit]]件</p> - </div> - [[/if]] - [[if useLimitType=='订单金额限制']] - <div class="col-sm-4"> - <p>金额满 [[useLimit]]元</p> - </div> - [[/if]] - </div> - [[/if]] - <div class="form-group"> - <label class="col-sm-2 control-label">优惠结果</label> - - <div class="col-sm-4"> - <p>面额 [[couponAmount]]元</p> - </div> - </div> - [[if brandsList]] - <div class="form-group"> - <label class="col-sm-2 control-label">品牌限制</label> - - <div class="col-sm-10"> - <p>[[brandsList]]</p> - </div> - </div> - [[/if]] - [[if sortsList]] - <div class="form-group"> - <label class="col-sm-2 control-label">分类限制</label> - - <div class="col-sm-10"> - <p>[[sortsList]]</p> - </div> - </div> - [[/if]] - </div> - </div> - <div class="panel-heading"> - <h4 class="panel-title">领券条件</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">会员身份</label> - - <div class="col-sm-8"> - <p>[[customType]]</p> - </div> - </div> - </div> - </div> - - </div> -</script> -<%include '../../common/__ui/footer'%> - - diff --git a/server/views/marketing/CouponSend/Index.html b/server/views/marketing/CouponSend/Index.html deleted file mode 100644 index 93cd304..0000000 --- a/server/views/marketing/CouponSend/Index.html +++ /dev/null @@ -1,126 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select id="filter-department" tabindex="-1" class="select2-offscreen brandBtn-group"> - <option value="-1">申请部门</option> - <option value="20"> 资源发展部</option> - <option value="21"> 广告部</option> - <option value="22"> 招商部</option> - <option value="23"> 男生媒体部</option> - <option value="24"> 女生媒体部</option> - <option value="25"> 流程运营部</option> - <option value="26"> 发行设计部</option> - <option value="27"> 设计部</option> - <option value="28"> 商品一部(羊头+轻奢)</option> - <option value="29"> 商品二部(男装)</option> - <option value="30"> 商品三部(女装)</option> - <option value="31"> 商品四部(户外运动)</option> - <option value="32"> 商品五部(自主)</option> - <option value="33"> 商品六部(明星/KOL)</option> - <option value="34"> 商品七部(童装)</option> - <option value="35"> 商品八部(创意生活+玩具)</option> - <option value="36"> 商品九部(彩妆)</option> - <option value="37"> 商品十部(全球购)</option> - <option value="38"> 运营支持部</option> - <option value="39"> 类目及活动运营部</option> - <option value="40"> 内容运营部</option> - <option value="41"> 营销策划部</option> - <option value="42"> 设计部</option> - <option value="43"> 售后服务部</option> - <option value="44"> 客户关系部</option> - <option value="45"> 运营部</option> - <option value="46"> 泛渠道部</option> - <option value="47"> 运营统筹部</option> - <option value="48"> 南京艾尚店</option> - <option value="49"> 仓储部</option> - <option value="50"> 物流部</option> - <option value="51"> 运营部</option> - <option value="52"> 公关部</option> - <option value="53"> 运营部</option> - <option value="54"> 生产部</option> - <option value="55"> 商品部</option> - <option value="56"> 销售部</option> - <option value="57"> 市场部</option> - <option value="58"> 运营部</option> - <option value="59"> 人事部</option> - <option value="60"> 财务部</option> - <option value="61"> 陈列部</option> - <option value="62"> 会员数据部</option> - <option value="63"> 会员营销部</option> - <option value="64"> 会员运营部</option> - <option value="65"> 品牌营销部</option> - <option value="66"> 效果营销部</option> - <option value="67"> PR营销部</option> - <option value="68"> 设计部</option> - <option value="69"> 零售产品部</option> - <option value="70"> 媒体产品部</option> - <option value="71"> 设计部</option> - <option value="72"> 前端系统部</option> - <option value="73"> 核心系统部</option> - <option value="74"> 后台系统部</option> - <option value="75"> 测试部</option> - <option value="76"> 研究发展部</option> - <option value="77"> 大数据部</option> - <option value="78"> 运维部</option> - <option value="79"> 财务部</option> - <option value="80"> 内审部</option> - <option value="81"> 行政部</option> - <option value="82"> 数据部</option> - <option value="83"> 公共关系部</option> - <option value="84"> 人力资源部</option> - <option value="85"> 总裁办</option> - <option value="86"> 火星项目部</option> - - <option value="1">渠道二部</option> - <option value="2">渠道一部</option> - <option value="3">零售部</option> - <option value="4">品牌资源部</option> - <option value="5">店铺运营部</option> - <option value="6">类目运营部</option> - <option value="7">营销部</option> - <option value="8">市场部</option> - <option value="9">会员部</option> - <option value="10">客服部</option> - <option value="11">内容营销部</option> - </select> - </div> - <div class="panel-col"> - <select id="filter-couponType" tabindex="-1" class="select2-offscreen brandBtn-group"> - <option value="-1">优惠券类型</option> - <option value="1">A券</option> - <option value="2">B券</option> - <option value="3">公开券</option> - <option value="4">生日券</option> - <option value="5">免邮券</option> - </select> - </div> - <div class="panel-col"> - <input id="filter-couponName" class="form-control panel-input" type="text" placeholder="优惠券名称"> - </div> - <div class="panel-col"> - <input id="filter-couponId" class="form-control panel-input" type="text" placeholder="优惠券ID"> - </div> - <div class="panel-col"> - <input id="filter-startTimeStr" class="form-control panel-input" type="text" placeholder="开始时间"> - </div> - <div class="panel-col"> - <input id="filter-endTimeStr" class="form-control panel-input" type="text" placeholder="结束时间"> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div class="basicTable_wrapper" id="basicTable"> - </div> - </div> -</div> - -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/marketing/CouponSend/PublicCoupon.html b/server/views/marketing/CouponSend/PublicCoupon.html deleted file mode 100644 index d367831..0000000 --- a/server/views/marketing/CouponSend/PublicCoupon.html +++ /dev/null @@ -1,32 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select id="filter-status" tabindex="-1" class="select2-offscreen brandBtn-group"> - <option value="-1">状态</option> - <option value="Y">已发放</option> - <option value="N">未发放</option> - </select> - </div> - <div class="panel-col"> - <input type="text" class="btn btn-info col-sm-5" id="filter-btn" value="筛选"> - <input type="text" class="btn btn-info col-sm-5 col-sm-offset-1" id="export-btn" value="导出"> - </div> - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div class="basicTable_wrapper" id="content-list"> - </div> - <div class="col-sm-12"> - <label>总数:<span id="count"></span></label> - </div> - </div> -</div> - -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/marketing/CouponSend/Send.html b/server/views/marketing/CouponSend/Send.html deleted file mode 100644 index 11930b3..0000000 --- a/server/views/marketing/CouponSend/Send.html +++ /dev/null @@ -1,59 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> -<div class="panel-body form-bordered" id="basicInfo"> - <div class="row"> - <div class="form-group"> - <h3>优惠券名称:<span id="title"></span></h3> - </div> - - <div class="form-group"> - <h4>手工发放</h4> - <div class="col-sm-6"> - <label>UID:</label> - <textarea id="handworkSend" rows="6" class="form-control" placeholder="请输入UID,英文输入法下用逗号分隔,批量导入则手输无效" style="resize: none"></textarea> - <span class="red">单次限制输入50个UID</span> - <br><a class="btn btn-primary btn-xs" id="sendCoupon">发放</a> - </div> - </div> - - <div class="form-group"> - <h4>批量发放</h4> - <a class="btn btn-primary" href="javascript:void(0);" id="batch-import">上传文件</a> - <input type="file" class="picfile" name="picfile" required="required" id="picfile"><br> - <span class="red">TXT文本文件,每行一个用户id号,文件编码为UTF-8.结尾不要有空行</span> - </div><br> - <div id="list-content"> - - </div> - </div> -</div> - -<script type="text/template" id="template-list"> - <table class="table table-hover table-bordered responsive dataTable no-footer" align="center"> - <thead> - <tr> - <td>文件URL</td> - <td>发券状态</td> - <td>操作</td> - </tr> - </thead> - <tbody> - [[each data as item index]] - <tr> - <td>[[item.fileUrl]]</td> - [[if item.status == 0]] - <td>未开始发放</td> - [[else if item.status == 1]] - <td>正在发放</td> - [[else if item.status == 2]] - <td>已发放</td> - [[/if]] - <td><a class="btn btn-primary btn-xs reSend" data-index="[[item.id]]">重发</a></td> - </tr> - [[/each]] - </tbody> - </table> -</script> - -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/marketing/CouponSend/SendHistory.html b/server/views/marketing/CouponSend/SendHistory.html deleted file mode 100644 index 382b7f6..0000000 --- a/server/views/marketing/CouponSend/SendHistory.html +++ /dev/null @@ -1,27 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select name="isSent" id="isSent" tabindex="-1" class="form-control select2-offscreen brandBtn-group"> - <option value="1" selected="">已发放</option> - <option value="2">发放失败</option> - </select> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a class="btn btn-info" id="export-btn">导出</a> - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div class="basicTable_wrapper row" id="content-list" style="margin-left: 0;margin-right: 0"> - </div> - <label>总数:<span id="count"></span></label> - </div> -</div> - -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/marketing/CouponSend/UseHistory.html b/server/views/marketing/CouponSend/UseHistory.html deleted file mode 100644 index 72d99ba..0000000 --- a/server/views/marketing/CouponSend/UseHistory.html +++ /dev/null @@ -1,42 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input type="text" class="form-control" id="filter-couponCode" placeholder="单券号"> - <input type="hidden" id="filter-couponId" value=""> - </div> - <div class="panel-col"> - <input type="text" class="form-control number" id="filter-uid" placeholder="用户ID"> - </div> - <div class="panel-col"> - <input type="text" class="form-control number" id="filter-orderCode" placeholder="订单号"> - </div> - <div class="panel-col"> - <select id="filter-status" tabindex="-1" class="select2-offscreen brandBtn-group"> - <option value="-1">状态</option> - <option value="1">已使用</option> - <option value="0">未使用</option> - </select> - </div> - <div class="panel-col"> - <input type="text" class="btn btn-info col-sm-5" id="filter-btn" value="筛选"> - <input type="text" class="btn btn-info col-sm-5 col-sm-offset-1" id="export-btn" value="导出"> - </div> - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div class="basicTable_wrapper" id="content-list"> - </div> - <div class="col-sm-12"> - <label>总数:<span id="count"></span></label> - </div> - </div> -</div> - -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/marketing/LimitCode/Edit.html b/server/views/marketing/LimitCode/Edit.html deleted file mode 100644 index 0d11071..0000000 --- a/server/views/marketing/LimitCode/Edit.html +++ /dev/null @@ -1,128 +0,0 @@ -<%include '../../common/__ui/header'%> - -<div class="contentpanel"> - <div class="row"> - <div class="col-md-12"> - <div id="basicForm" role="<%type%>" data-action="<%action%>" class="form-horizontal form-bordered"> - - </div> - </div> - </div> -</div> - -<script type="text/template" id="limitcodeEdit-template"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title">基本信息</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">名称 <span class="red">*</span></label> - <div class="col-sm-8"> - <input type="text" placeholder="名称建议30字以内" prompt="名称" class="form-control observe noEdit" data-field="name" required maxlength="30" value="[[name]]"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">数量<i class="red">*</i></label> - <div class="col-sm-8"> - <input type="text" placeholder="数量" class="form-control observe noEdit number" data-field="limitTimes" required value="[[limitTimes]]"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">申请部门</label> - <div class="col-sm-3"> - <select value="[[reqDepartment[0] ]]" class="form-control observe noEdit" data-field="reqDepartment[0]"> - <option value="零售部">零售部</option> - <option value="市场部">市场部</option> - <option value="会员部">会员部</option> - <option value="品牌合作部">品牌合作部</option> - <option value="潮流资源部">潮流资源部</option> - <option value="其他">其他</option> - </select> - </div> - <div class="col-sm-3"> - <select value="[[reqDepartment[1] ]]" class="form-control observe noEdit" data-field="reqDepartment[1]"> - <option value="营销策划">营销策划</option> - <option value="类目运营">类目运营</option> - <option value="店铺运营">店铺运营</option> - </select> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">使用期限<span class="red">*</span></label> - <div class="col-sm-6"> - <div class="col-sm-6"> - <input type="text" class="form-control observe" data-field="limitDateFrom" id="limitDateFrom" placeholder="开始时间" value="[[limitDateFrom]]" readonly required> - </div> - <div class="col-sm-6"> - <input type="text" class="form-control observe" data-field="limitDateTo" id="limitDateTo" placeholder="结束时间" value="[[limitDateTo]]" readonly required> - </div> - </div> - <input type="hidden" jsaction="time" id="limitDateCurr" value="[[currTime]]" readonly> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">限购码说明<i class="red">*</i></label> - <div class="col-sm-8"> - <textarea class="form-control observe" prompt="限购码说明" data-field="describe" maxlength="100" placeholder="限购码使用条件简介,最多100个字" required>[[describe]]</textarea> - </div> - </div> - </div> - </div> - - <div class="panel-heading"> - <h4 class="panel-title">使用条件</h4> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">指定商品<i class="red">*</i></label> - <div class="col-sm-4"> - <div class="col-sm-10"> - <input type="radio" class="limitProduct" value="N" name="skn_sku" checked />SKN - <input type="radio" class="limitProduct" value="U" name="skn_sku" />SKU - <input type="hidden" id="skn_sku" for="radio" value="[[limitCodeType]]"/><br> - </div> - <label class="col-sm-3 control-label">SKN值:</label> - <div class="col-sm-4"> - <input id="limitSkn" type="text" maxlength="8" placeholder="SKN" class="form-control observe number" data-field="limitSkn" value="[[limitSkn]]" [[limitCodeType=="N"?'':'required']]> - </div><br> - <div id="skus" class="col-sm-10" [[limitCodeType=="U"?"":"hidden"]]> - <table class="table table-bordered responsive dataTable no-footer"> - [[each skusInfo as item index]] - <tr> - <td><input type="text" class="form-control observe skus number noEdit" placeholder="sku值" data-field="skusInfo.[[index]].sku" value="[[item.sku]]" [[limitCodeType=="N"?"":"required"]]></td> - <td><input type="text" class="form-control observe number noEdit" prompt="sku数量" placeholder="数量" data-field="skusInfo.[[index]].skuTimes" value="[[item.skuTimes]]" [[limitCodeType=="N"?"":"required"]]></td> - <td><a href="javascript:;" class="btn btn-danger btn-xs delSku noEdit" data-index="[[index]]">删除</a></td> - </tr> - [[/each]] - <tr> - <td>sku</td> - <td>数量</td> - <td><a href="javascript:;" class="btn btn-info btn-xs addSku" disabled>添加</a></td> - </tr> - </table> - </div> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">申请人</label> - <div class="col-sm-8"> - <label class="form-label control-label" id="creatorName"><%_locals.session.user.name%></label> - </div> - </div> - <div class="panel-footer"> - <div class="row"> - <div class="col-sm-8 col-sm-offset-2"> - <a href="javascript:;" onclick="history.go(-1);" class="btn btn-default">取消</a> - <button id="save_brand" type="button" data-loading-text="保存中..." class="btn btn-primary">保存</button> - </div> - </div> - </div> - </div> - <input id="auth_id" type="hidden" value="<%_locals.session.user.id%>"> - <input id="auth_name" type="hidden" value="<%_locals.session.user.name%>"> -</script> -<%include '../../common/__ui/footer'%> diff --git a/server/views/marketing/LimitCode/Index.html b/server/views/marketing/LimitCode/Index.html deleted file mode 100644 index a938434..0000000 --- a/server/views/marketing/LimitCode/Index.html +++ /dev/null @@ -1,57 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-heading"> - <a href="/market/limitcode/add" id="add-btn" class="btn btn-success add-btn"><i class="fa fa-plus"></i> 添加</a> - </div> - - <div class="panel-body"> - <div class="row"> - <div class="panel-col2"> - <input id="filter-id" class="form-control panel-input" type="text" placeholder="请输入批次号"> - </div> - <div class="panel-col"> - <input id="filter-name" class="form-control panel-input" type="text" placeholder="请输入名称"> - </div> - <div class="panel-col"> - <select id="filter-dep" name="filter-dep" tabindex="-1" title="" class="select2-offscreen brandBtn-group"> - <option value="-1">全部</option> - <option value="市场部">市场部</option> - <option value="会员部">会员部</option> - <option value="零售部">零售部</option> - <option value="品牌合作部">品牌合作部</option> - <option value="潮流资源部">潮流资源部</option> - <option value="其他">其他</option> - </select> - </div> - <div class="panel-col"> - <input id="filter-skn" class="form-control panel-input" type="text" placeholder="请输skn"> - </div> - <div class="panel-col"> - <input id="filter-sku" class="form-control panel-input" type="text" placeholder="请输sku"> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div class="dataTab_wrapper" id="basicTab"> - </div> - <div class="basicTable_wrapper" id="basicTable"> - </div> - </div> -</div> - - -<script type="text/template" id="template"> - <p>{name}</p> - <label class="col-sm-3 control-label">*请填写原因</label> - <input id="reason" type="text" class="form-control" name="agreement-code" style="width:280px;"> -</script> - -<%include '../../common/__ui/footer'%> - diff --git a/server/views/marketing/LimitCode/Info.html b/server/views/marketing/LimitCode/Info.html deleted file mode 100644 index 065c17c..0000000 --- a/server/views/marketing/LimitCode/Info.html +++ /dev/null @@ -1,55 +0,0 @@ -<%include '../../common/__ui/header'%> -<div class="container"> - <div class="row"> - <div class="col-md-offset-1 col-xs-10 col-sm-10 col-md-10 col-lg-10"> - <div class="page-header"> - <h4>查看限购码</h4> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">批次号 :</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><% data.batchNo %></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">名称 :</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.name%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">数量 :</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.limitTimes%></div> - </div> - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">申请部门 :</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.reqDepartment%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">使用期限 :</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.limitDateFrom%>至<%data.limitDateTo%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">限购码说明 :</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.describe%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">指定商品 :</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.limitSkn%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">sku :</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.skus%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">sku数量 :</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.skuTimes%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">申请人 :</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.creatorName%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">申请时间 :</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.createTime%></div> - </div> - </div> - </div> -</div> diff --git a/server/views/marketing/ProductPool/Index.html b/server/views/marketing/ProductPool/Index.html deleted file mode 100644 index db93ee2..0000000 --- a/server/views/marketing/ProductPool/Index.html +++ /dev/null @@ -1,84 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body" style="padding-bottom: 0"> - <a class="btn btn-success " id="addPool"><i class="fa fa-plus"></i> 添加商品池</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input type="text" class="form-control" id="search-id" placeholder="输入编号" onkeyup="this.value=this.value.replace(/\D/gi,'')" /> - </div> - <div class="panel-col"> - <input type="text" class="form-control" id="search-name" placeholder="输入名称" /> - </div> - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="filter-all" href="/market/productPool/index" class="btn btn-info">全部</a> - </div> - </div> - </div> - </div> - <div class="panel"> - <div class="panel-body nopadding"> - <div id="product-pool"></div> - </div> - </div> -</div> - -<script type="text/template" id="template"> - <div class="form-horizontal" id="productEdit"> - <input type="hidden" value="[[id]]" id="id" /> - - <div class="form-group"> - <label for="poolName" class="col-sm-3 control-label">商品池名称:</label> - <div class="col-sm-5"> - <input type="text" id="poolName" value="[[poolName]]" class="form-control" /> - </div> - <div class="col-sm-2"><label style="color: #ff0000; line-height: 40px"> * 必填</label></div> - </div> - - <div class="form-group"> - <label for="comment" class="col-sm-3 control-label">说明:</label> - <div class="col-sm-5"> - <input type="text" id="comment" value="[[comment]]" class="form-control" /> - </div> - </div> - - <div class="form-group"> - <label for="producttype" class="col-sm-3 control-label">商品:</label> - <div class="col-sm-5"> - <select id="producttype" class="form-control" > - <option value="-1">-- 请选择添加商品类型 --</option> - <option value="1">SKN</option> - <option value="2" disabled>SKU(暂不支持)</option> - <option value="3" disabled>SKC(暂不支持)</option> - </select> - </div> - <div class="col-sm-4"><label style="color: #ff0000; line-height: 40px"> * 必选(当前只支持SKN)</label></div> - </div> - - <div class="form-group"> - <label class="col-sm-3 control-label">上传:</label> - <div class="col-sm-9"> - <div class="row"> - <div class="col-sm-7"> - <input id="path" class="form-control" type="text" disabled="disabled" style="cursor:default; width: 218px"> - </div> - <div class="col-sm-4" style="position: relative; padding-left: 0;"> - <input id="productSkn" name="productSkn" class="btn btn-default excel-upload" type="file" style="position: absolute; top: 0;left: 10px; height:37px"> - <div class="file-name btn btn-info">请选择文件</div> - <input type="hidden" id="sknVal" /> - </div> - </div> - <div style="margin: 10px 0 0; color:#f0ad4e"> - * 要导入的数据类型必须和所选类型相同。<br> - EXCEL文件只有一列。 - </div> - </div> - </div> - </div> -</script> \ No newline at end of file diff --git a/server/views/marketing/PromotionCode/Edit.html b/server/views/marketing/PromotionCode/Edit.html deleted file mode 100644 index b3ca348..0000000 --- a/server/views/marketing/PromotionCode/Edit.html +++ /dev/null @@ -1,225 +0,0 @@ -<%include '../../common/__ui/header'%> -<div id="basicForm" role="<%type%>" data-action="<%action%>" class="form-horizontal form-bordered"> -</div> -<script type="text/template" id="promotionCode-template"> - <div class="contentpanel"> - <div class="row"> - <div class="col-md-12"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title">基本信息</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">名称 <span class="red">*</span></label> - <div class="col-sm-8"> - <input type="text" id="name" placeholder="名称" class="form-control observe" - required maxlength="15" value="[[name]]" data-field="name"> - </div> - </div> - - <div class="form-group"> - <label for="limitTimes" class="col-sm-2 control-label">次数</label> - <div class="col-sm-8"> - <input type="text" id="limitTimes" placeholder="0 表示不限制" - class="form-control observe" - required pattern="^[0-9]+$" value="[[limitTimes]]" data-field="limitTimes"> - </div> - </div> - - <div class="form-group"> - <label for="code" class="col-sm-2 control-label">码值<i class="red">*</i></label> - <div class="col-sm-8"> - <input type="text" id="code" placeholder="仅限数字,字母(不区分大小写),30字符内,多码值用英文逗号分隔" - value='[[code]]' - class="form-control observe" pattern="^[A-Za-z0-9]+$" maxlength="30" required - data-field="code"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">店铺类型</label> - <div class="col-sm-3"> - <select id="department1" class="form-control observe" data-field="department1"> - <option value="零售部">零售部</option> - <option value="市场部">市场部</option> - <option value="会员部">会员部</option> - <option value="品牌合作部">品牌合作部</option> - <option value="潮流资源部">潮流资源部</option> - <option value="其他">其他</option> - </select> - </div> - <div class="col-sm-3"> - <select id="department2" class="form-control observe" data-field="department2"> - <option value="营销策划">营销策划</option> - <option value="类目运营">类目运营</option> - <option value="店铺运营">店铺运营</option> - </select> - </div> - <input type="hidden" class="observe" id="reqDepartment" value="[[reqDepartment]]" - required data-field="reqDepartment"> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">营业期限<span class="red">*</span></label> - <div class="col-sm-3"> - <input type="text" class="form-control observe" jsaction="time:end:limitDateTo" - id="limitDateFrom" - placeholder="优惠开始时间" value="[[limitDateFrom]]" readonly required - data-field="limitDateFrom"> - </div> - <div class="col-sm-3"> - <input type="text" class="form-control observe" jsaction="time:start:limitDateFrom" - id="limitDateTo" - placeholder="优惠结束时间" value="[[limitDateTo]]" readonly required - data-field="limitDateTo"> - </div> - </div> - - <div class="form-group"> - <label for="name" class="col-sm-2 control-label">优惠码说明<i class="red">*</i></label> - <div class="col-sm-8"> - <textarea class="form-control observe" id="describe" placeholder="优惠码使用条件简介" - data-field="describe" required>[[describe]]</textarea> - </div> - </div> - </div> - </div> - - - <div class="panel-heading"> - <h4 class="panel-title">优惠详情</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">优惠类型<i class="red">*</i></label> - <div class="col-sm-8 "> - <input type="radio" name="promotionInfotype" class="observe" data-field="promotionInfotype" value="1">折扣(吊牌价) - <input type="radio" name="promotionInfotype" class="observe" data-field="promotionInfotype" value="2">折扣(销售价) - <input type="radio" name="promotionInfotype" class="observe" data-field="promotionInfotype" value="3">满减 - </div> - <input type="hidden" id="promotionInfotype" value="[[promotionInfotype]]" for="radio" class="observe" data-field="promotionInfotype" - placeholder="优惠类型" required/> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">优惠条件<i class="red">*</i></label> - <div class="col-sm-8"> - <div class="form-inline"> - <div class="form-group"> - >= - <input type="text" class="form-control observe" - id="promotionInfo-condition-amount_at_least" - placeholder="0.00" value="[[amount_at_least]]" required pattern="^[0-9]+(.\d{1,2})?$" - data-field="amount_at_least"> - 元, - </div> - <div class="form-group"> - >= - <input type="text" class="form-control observe" - id="promotionInfo-condition-count_at_least" - placeholder="1" value="[[count_at_least]]" required pattern="^[1-9]+$" - data-field="count_at_least"> - 件 - </div> - </div> - </div> - - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">优惠结果<i class="red">*</i></label> - <div class="col-sm-8"> - - <div class="form-inline"> - <div class="form-group" id="resultdiscount"> - 打 - <input type="text" class="form-control observe" placeholder="0.00" - id="discount" - value="[[discount]]" required pattern="^0(.\d{1,2})?$" - data-field="discount"> - 折, - </div> - <div class="form-group"> - 最高减 - <input type="text" class="form-control observe" placeholder="0" - id="discount_at_most" - value="[[discount_at_most]]" - required pattern="^[0-9]+(.\d{1,2})?$" - data-field="discount_at_most"> - 元 - </div> - </div> - </div> - </div> - - <input type="hidden" id="promotionInfo" value="[[promotionInfo]]"> - </div> - </div> - - <div class="panel-heading"> - <h4 class="panel-title">使用条件</h4> - </div> - <div class="form-group"> - <label for="userSourceLimit" class="col-sm-2 control-label">用户来源<i class="red">*</i></label> - <div class="col-sm-8"> - <label class="checkbox-inline"> - <input type="checkbox" class="custom-1" value="1" name="userSourceLimit"> IOS - </label> - <label class="checkbox-inline"> - <input type="checkbox" class="custom-2" value="2" name="userSourceLimit"> 安卓 - </label> - </div> - <input type="hidden" value="[[userSourceLimit]]" id="userSourceLimit" for="checkbox" required> - </div> - - <div class="form-group"> - <label for="name" class="col-sm-2 control-label">用户身份<i class="red">*</i></label> - <div class="col-sm-8"> - <label class="checkbox-inline"> - <input type="checkbox" value="1" name="userTypeLimit" - data-field="userTypeLimit"> 新注册 - </label> - <label class="checkbox-inline"> - <input type="checkbox" value="2" name="userTypeLimit" - data-field="userTypeLimit"> 注册未购买 - </label> - </div> - <input type="hidden" value="[[userTypeLimit]]" id="userTypeLimit" for="checkbox" required> - </div> - - <div class="form-group"> - <label for="name" class="col-sm-2 control-label">限制次数<i class="red">*</i></label> - <div class="col-sm-8"> - <input type="text" id="userUseLimit" placeholder="限制次数" - class="form-control observe" value="[[userUseLimit]]" required pattern="^[1-9]+$" - data-field="userUseLimit"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">申请人</label> - <div class="col-sm-8"> - <input style="border: 0px" class="form-control observe" value="[[staff]]" id="staff" - readonly data-field="staff"> - </div> - </div> - - <input type="hidden" value="[[id]]" id="id"> - <input type="hidden" value="[[status]]" id="status"> - <div class="panel-footer"> - <div class="row"> - <div class="col-sm-8 col-sm-offset-2"> - <a href="javascript:;" onclick="history.go(-1);" class="btn btn-default">取消</a> - <button id="save_brand" type="submit" data-loading-text="保存中..." - class="btn btn-primary">保存 - </button> - </div> - </div> - </div> - </div> - </div> - </div> - </div> -</script> \ No newline at end of file diff --git a/server/views/marketing/PromotionCode/Index.html b/server/views/marketing/PromotionCode/Index.html deleted file mode 100644 index 35c2c05..0000000 --- a/server/views/marketing/PromotionCode/Index.html +++ /dev/null @@ -1,47 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-heading"> - <a href="<%createUrl%>" id="add-btn" class="btn btn-success add-btn"><i class="fa fa-plus"></i> 添加</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col2"> - <input id="filter-id" class="form-control panel-input" type="text" placeholder="请输入批次号"> - </div> - <div class="panel-col"> - <input id="filter-name" class="form-control panel-input" type="text" placeholder="请输入名称"> - </div> - <div class="panel-col"> - <select id="filter-dep" name="filter-dep" tabindex="-1" title="" class="select2-offscreen brandBtn-group"> - <option value="-1">全部</option> - <option value="市场部">市场部</option> - <option value="会员部">会员部</option> - <option value="零售部">零售部</option> - <option value="品牌合作部">品牌合作部</option> - <option value="潮流资源部">潮流资源部</option> - <option value="其他">其他</option> - </select> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div class="dataTab_wrapper" id="basicTab"> - </div> - <div class="basicTable_wrapper" id="basicTable"> - </div> - </div> -</div> - -<script type="text/template" id="template"> - <p>[[name]]</p> - <label class="col-sm-3 control-label">*请填写原因</label> - <input id="reason" type="text" class="form-control" name="agreement-code" style="width:280px;"> -</script> - diff --git a/server/views/marketing/QueryCoupon/Index.html b/server/views/marketing/QueryCoupon/Index.html deleted file mode 100644 index a8a6055..0000000 --- a/server/views/marketing/QueryCoupon/Index.html +++ /dev/null @@ -1,52 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input type="text" class="form-control" id="filter-couponCode" placeholder="单券号"> - </div> - <div class="panel-col"> - <input type="text" class="form-control number" id="filter-uid" placeholder="用户ID"> - </div> - <div class="panel-col"> - <input type="text" class="form-control number" id="filter-orderCode" placeholder="订单号"> - </div> - <div class="panel-col"> - <input type="text" class="form-control" id="filter-couponName" placeholder="优惠券名称"> - </div> - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - </div> - </div> - </div> - </div> - <div class="panel panel-primary-head"> - <div class="basicTable_wrapper" id="content-list"> - </div> - </div> -</div> - -<script type="text/template" id="template-delay"> - <div class="form-group"> - <label>用户ID:</label> - <label>[[uid]]</label> - </div> - <div class="form-group"> - <label>优惠券号:</label> - <label>[[couponCode]]</label> - </div> - <div class="form-group"> - <label>当前有效期:</label> - <label>[[endTimeStr]]</label> - </div> - <div class="form-group"> - <label>延长期:</label> - <input type="text" id="delayTime" class="input-form form-control" readonly required placeholder="延长期"> - </div> -</script> - -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/marketing/Vip/Add.html b/server/views/marketing/Vip/Add.html deleted file mode 100644 index 9b1be3b..0000000 --- a/server/views/marketing/Vip/Add.html +++ /dev/null @@ -1,66 +0,0 @@ -<%include '../../common/__ui/header'%> -<div class="contentpanel"> - <form id="basicForm" class="form-horizontal form-bordered" method="get" action="/market/vipamount/save"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title">活动创建</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label for="title" class="col-sm-2 control-label">促销活动名称<i class="red">*</i></label> - <div class="col-sm-8"> - <input type="text" id="title" placeholder="促销活动名称,支持中英文、数字,建议20个字以内" class="form-control" required maxlength="20" value="<%name%>"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">促销活动类型</label> - <div class="col-sm-3"> - <select id="type1" class="form-control"> - <option value="1">vip累计金额翻倍</option> - </select> - </div> - - <input type="hidden" id="type" value="1" required> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">倍数设置</label> - <div class="col-sm-3"> - <select id="num1" class="form-control"> - <option value="1">1</option> - <option value="2">2</option> - <option value="3">3</option> - <option value="4">4</option> - <option value="5">5</option> - <option value="6">6</option> - <option value="7">7</option> - <option value="8">8</option> - <option value="9">9</option> - <option value="10">10</option> - </select> - </div> - - <input type="hidden" id="num" value="1" required> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">活动时间设置<span class="red">*</span></label> - <div class="col-sm-3"> - <input type="text" class="form-control" jsaction="time:end:endTime" id="startTime" placeholder="活动开始时间" value="" readonly required> - </div> - <div class="col-sm-3"> - <input type="text" class="form-control" jsaction="time:start:startTime" id="endTime" placeholder="活动结束时间" value="" readonly required> - </div> - </div> - </div> - </div> - <div class="panel-footer"> - <div class="row"> - <div class="col-sm-8 col-sm-offset-2"> - <a href="javascript:;" onclick="history.go(-1);" class="btn btn-default">取消</a> - <button id="save_brand" type="submit" data-loading-text="保存中..." class="btn btn-primary">保存</button> - </div> - </div> - </div> - </div> - </form> -</div> diff --git a/server/views/marketing/Vip/Index.html b/server/views/marketing/Vip/Index.html deleted file mode 100644 index 8a9712b..0000000 --- a/server/views/marketing/Vip/Index.html +++ /dev/null @@ -1,20 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-heading"> - <a href="/market/vipamount/add" id="add-btn" class="btn btn-success add-btn"> - <i class="fa fa-plus"></i> 添加</a> - </div> - </div> - <div class="panel panel-primary-head"> - <div class="dataTab_wrapper" id="basicTab"> - </div> - <div class="basicTable_wrapper" id="basicTable"> - </div> - </div> -</div> - - diff --git a/server/views/operations/category/Edit.html b/server/views/operations/category/Edit.html deleted file mode 100644 index 032f387..0000000 --- a/server/views/operations/category/Edit.html +++ /dev/null @@ -1,199 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="row"> - <div class="col-md-12"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title"><%pageName%></h4> - </div><!-- panel-heading --> - <div id="info-content" class="panel-body" action="<%action%>" type="<%type%>"> - - </div><!-- panel-body --> - <div class="panel-footer"> - <div class="row"> - <div class="col-sm-9 col-sm-offset-3"> - <a id="saveBtn" class="btn btn-primary mr5">添加</a> - <a href="/operations/category/index" class="btn btn-primary mr5">取消</a> - </div> - - </div> - </div><!-- panel-footer --> - </div><!-- panel --> - </div> - </div> -</div> - -<script type="text/template" id="content-template"> - <div class="row form-bordered"> - <div class="form-group"> - <label class="col-sm-1 control-label">分类名称</label> - <div class="col-sm-9"> - <input type="text" value="[[sortName]]" class="form-control observe" data-field="sortName" placeholder="分类名称" required> - <p style="color:#999">注:分类名称必填</p> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-1 control-label">英文名称</label> - <div class="col-sm-9"> - <input type="text" value="[[sortNameEn]]" class="form-control observe" data-field="sortNameEn" placeholder="英文名称" required> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-1 control-label">色值</label> - <div class="col-sm-2"> - <input type="text" value="[[sortNameColor]]" data-field="sortNameColor" class="form-control observe" prompt="色值"> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-1 control-label">上级分类</label> - <div class="col-sm-9" id="categories-content"> - - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-1 control-label">分类图标</label> - <div class="col-sm-9"> - <input type="file" name="file" prompt="分类图标" value="[[sortIco]]" class="observe" data-field="sortIco"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-1 control-label">分类大图标</label> - <div class="col-sm-9"> - <input type="file" name="file" prompt="分类大图标" value="[[sortIcoBig]]" class="observe" data-field="sortIcoBig"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-1 control-label">跳转方式</label> - <div class="col-sm-9"> - <input type="radio" name="isNewPage" style="width:18px;height:18px;" value="N"> 当前页面打开 - <input type="radio" style="width:18px;height:18px;" name="isNewPage" value="Y" checked> 新页面打开 - </div> - <input type="hidden" id="isNewPage" for="radio" value="[[isNewPage]]"> - </div> - - <div class="form-group"> - <label class="col-sm-1 control-label">跳转链接</label> - <div class="col-sm-9"> - <input type="text" id="sortUrl" value='[[sortUrl]]' class="form-control" placeholder="跳转链接" required readonly style="cursor: not-allowed;"> - <a class="btn btn-info" id="addUrl">添加链接</a> - <p style="color:#999">注:必填,链接中不能有英文单引号</p> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-1 control-label">分隔符</label> - <div class="col-sm-9"> - <input type="radio" name="separativeSign" style="width:18px;height:18px;" value="Y"> 是 - <input type="radio" style="width:18px;height:18px;" name="separativeSign" value="N" checked> 否 - </div> - <input type="hidden" id="separativeSign" for="radio" value="[[separativeSign]]"> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-1 control-label">是否新品</label> - <div class="col-sm-9"> - <input type="radio" name="isNew" style="width:18px;height:18px;" value="Y"> 是 - <input type="radio" style="width:18px;height:18px;" name="isNew" value="N" checked> 否 - </div> - <input type="hidden" id="isNew" for="radio" value="[[isNew]]"> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-1 control-label">是否热门</label> - <div class="col-sm-9"> - <input type="radio" name="isHot" style="width:18px;height:18px;" value="Y"> 是 - <input type="radio" style="width:18px;height:18px;" name="isHot" value="N" checked> 否 - </div> - <input type="hidden" id="isHot" for="radio" value="[[isHot]]"> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-1 control-label">位置码</label> - <div class="col-sm-4"> - <input type="text" data-field="contentCode" value="[[contentCode]]" class="form-control observe" placeholder="资源位位置码"> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-1 control-label">显示平台</label> - <div class="col-sm-8"> - <input type="checkbox" value="iphone" style="width:18px;height:18px;margin-left:5px;" name="platform"> IOS手机 - <input type="checkbox" value="ipad" style="width:18px;height:18px;margin-left:5px;" name="platform"> IOS Pad - <input type="checkbox" value="android" style="width:18px;height:18px;margin-left:5px;" name="platform"> 安卓手机 - <input type="checkbox" value="androidpad" style="width:18px;height:18px;margin-left:5px;" name="platform"> 安卓Pad - <input type="checkbox" value="h5" style="width:18px;height:18px;margin-left:5px;" name="platform"> 手机网站 - <input type="checkbox" value="web" style="width:18px;height:18px;margin-left:5px;" name="platform"> 网站 - <input type="checkbox" value="platform" style="width:18px;height:18px;margin-left:5px;" name="platform"> 平台 - </div> - <input type="hidden" id="platform" for="checkbox" value="[[platform]]"> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-1 control-label">排序</label> - <div class="col-sm-9"> - <input type="text" value="[[orderBy]]" data-field="orderBy" class="form-control observe" placeholder="排序" required> - </div> - </div><!-- form-group --> - </div><!-- row --> -</script> - -<script type="text/template" id="template2"> - <div id="action-row" class="rows"> - <div class="form-group"> - <label class="col-sm-2 control-label">选择跳转目的地:</label> - - <div class="col-sm-8"> - <select name="goTo" id="goTo" class="form-control" value="[[action]]"> - [[layout action_template]] - </select> - - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">跳转地址:</label> - - <div class="col-sm-8"> - <textarea rows="2" id="goToUrl" class="form-control" placeholder="跳转地址">[[url]]</textarea> - </div> - - </div> - </div> -</script> - -<script type="text/template" id="categories-template"> - <select id="firstSortId" value="[[firstSortId]]" data-field="firstSortId" style="width:150px;" tabindex="-1" title="" class="select2-offscreen observe"> - <option value="">请选择根分类</option> - [[each categories as item index]] - <option value="[[item.id]]">[[item.sort_name]]</option> - [[/each]] - </select> - <select id="secondSortId" value="[[secondSortId]]" data-field="secondSortId" style="width:150px;margin-left:10px;" tabindex="-1" class="select2-offscreen observe"> - <option value="">请选择二级分类</option> - [[if firstSortId]] - [[each categories as item index]] - [[if item.id == firstSortId && !!item.sub]] - [[each item.sub as item1 index1]] - <option value="[[item1.id]]">[[item1.sort_name]]</option> - [[/each]] - [[/if]] - [[/each]] - [[/if]] - </select> - <select id="threadSortId" value="[[threadSortId]]" data-field="threadSortId" style="width:150px;margin-left:10px;" tabindex="-1" title="" class="select2-offscreen observe"> - <option value="">请选择三级分类</option> - [[if firstSortId]] - [[each categories as item index]] - [[if item.id == firstSortId && !!item.sub]] - [[each item.sub as item1 index1]] - [[if item1.id == secondSortId && !!item1.sub]] - [[each item1.sub as item2 index2]] - <option value="[[item2.id]]">[[item2.sort_name]]</option> - [[/each]] - [[/if]] - [[/each]] - [[/if]] - [[/each]] - [[/if]] - </select> -</script> - -<%include '../../resource/__partail/actions'%> \ No newline at end of file diff --git a/server/views/operations/category/Index.html b/server/views/operations/category/Index.html deleted file mode 100644 index dd8bdbe..0000000 --- a/server/views/operations/category/Index.html +++ /dev/null @@ -1,151 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-heading"> - <a href="/operations/category/add" class="btn btn-info btn-xs">添加分类</a> - </div><!-- panel-heading --> - <div class="panel-body"> - <div class="panel-col"> - <select name="status" id="status" tabindex="-1" title="" class="form-control select2-offscreen brandBtn-group"> - <option value="">选择状态</option> - <option value="0">关闭</option> - <option value="1">开启</option> - </select> - </div> - <div class="panel-col"> - <select name="platform" id="platform" tabindex="-1" title="" class="form-control select2-offscreen brandBtn-group"> - <option value="" selected="">选择显示平台</option> - <option value="iphone">IOS手机</option> - <option value="ipad">IOS Pad</option> - <option value="android">安卓手机</option> - <option value="androidpad">安卓Pad</option> - <option value="h5">手机网站</option> - <option value="web">网站</option> - <option value="platform">平台</option> - </select> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> -</div> - -<div class="panel panel-primary-head"> - <div class="basicTable_wrapper" id="basicTable"> - </div> -</div> - -<script type="text/template" id="grid-template"> - <div class="dd" id="nestable" style="width:100%;"> - <ol class="dd-list"> - [[each data as item index]] - <li class="dd-item dd3-item" data-id="[[item.id]]"> - <div class="dd3-content"> - <table class="table table-striped table-bordered" style="width:95%;padding:0px;margin:0px;"> - <tr> - <td><b>[[item.sort_name]]</b></td> - <td>[[item.sort_name_en ? item.sort_name_en : " "]]</td> - <td width="100px"> - [[if !!item.sort_ico]] - <img src="[[item.sort_ico.replace('{mode}', '1').replace('{width}', '32').replace('{height}', '32')]]" width="32px"/> - [[/if]] - </td> - <td>[[item.platform]]</td> - <td>第[[!!!item.sort_level ? '' : item.sort_level]]级</td> - <td class="sorting_1">[[item.status == 1 ? '已开启' : '已关闭']]</td> - <td> - <a href="/operations/category/edit/[[item.id]]" class="btn btn-primary btn-xs">编辑</a> - <a href="JavaScript:;" data-status="[[1-item.status]]" data-id="[[item.id]]" class="btn [[item.status == 1 ? 'btn-danger' : 'btn-info']] btn-xs updateStatus">[[item.status == 1 ? '关闭分类' : '开启分类']]</a> - </td> - </tr> - </table> - </div> - [[if item.sub]] - <ol class="dd-list"> - [[each item.sub as item1 index]] - <li class="dd-item dd3-item" data-id="[[item1.id]]"> - <div class="dd3-content" data-toggle="category"> - <table class="table table-striped table-bordered" style="width:95%;padding:0px;margin:0px;"> - <tr> - <td><b>[[item1.sort_name]]</b></td> - <td>[[item1.sort_name_en ? item1.sort_name_en : " "]]</td> - <td width="100"> - [[if !!item1.sort_ico]] - <img src="[[item1.sort_ico.replace('{mode}', '1').replace('{width}', '32').replace('{height}', '32')]]" width="32px"/> - [[/if]] - </td> - <td>[[item1.platform]]</td> - <td>第[[!!!item1.sort_level ? '' : item1.sort_level]]级</td> - <td class="sorting_1">[[item1.status == 1 ? '已开启' : '已关闭']]</td> - <td> - <a href="/operations/category/edit/[[item1.id]]" class="btn btn-primary btn-xs">编辑</a> - <a href="JavaScript:;" data-status="[[1-item1.status]]" data-id="[[item1.id]]" class="btn [[item1.status == 1 ? 'btn-danger' : 'btn-info']] btn-xs updateStatus">[[item1.status == 1 ? '关闭分类' : '开启分类']]</a> - </td> - </tr> - </table> - </div> - [[if item1.sub]] - <ol class="dd-list"> - [[each item1.sub as item2 index]] - <li class="dd-item dd3-item" data-id="[[item2.id]]"> - <div class="dd3-content" data-toggle="category"> - <table class="table table-striped table-bordered" style="width:95%;padding:0px;margin:0px;"> - <tr> - <td><b>[[item2.sort_name]]</b></td> - <td>[[item2.sort_name_en ? item2.sort_name_en : " "]]</td> - <td width="100"> - [[if !!item2.sort_ico]] - <img src="[[item2.sort_ico.replace('{mode}', '1').replace('{width}', '32').replace('{height}', '32')]]" width="32px"/> - [[/if]] - </td> - <td>[[item2.platform]]</td> - <td>第[[!!!item2.sort_level ? '' : item2.sort_level]]级</td> - <td class="sorting_1">[[item2.status == 1 ? '已开启' : '已关闭']]</td> - <td> - <a href="/operations/category/edit/[[item2.id]]" class="btn btn-primary btn-xs">编辑</a> - <a href="JavaScript:;" data-status="[[1-item2.status]]" data-id="[[item2.id]]" class="btn [[item2.status == 1 ? 'btn-danger' : 'btn-info']] btn-xs updateStatus">[[item2.status == 1 ? '关闭分类' : '开启分类']]</a> - </td> - </tr> - </table> - </div> - [[if item2.sub]] - <ol class="dd-list"> - [[each item2.sub as item3 index]] - <li class="dd-item dd3-item" data-id="[[item3.id]]"> - <div class="dd3-content" data-toggle="category"> - <table class="table table-striped table-bordered" style="width:95%;padding:0px;margin:0px;"> - <tr> - <td><b>[[item3.sort_name]]</b></td> - <td>[[item3.sort_name_en ? item3.sort_name_en : " "]]</td> - <td width="100"> - [[if !!item3.sort_ico]] - <img src="[[item3.sort_ico.replace('{mode}', '1').replace('{width}', '32').replace('{height}', '32')]]" width="32px"/> - [[/if]] - </td> - <td>[[item3.platform]]</td> - <td>第[[!!!item3.sort_level ? '' : item3.sort_level]]级</td> - <td class="sorting_1">[[item3.status == 1 ? '已开启' : '已关闭']]</td> - <td> - <a href="/operations/category/edit/[[item3.id]]" class="btn btn-primary btn-xs">编辑</a> - <a href="JavaScript:;" data-status="[[1-item3.status]]" data-id="[[item3.id]]" class="btn [[item3.status == 1 ? 'btn-danger' : 'btn-info']] btn-xs updateStatus">[[item3.status == 1 ? '关闭分类' : '开启分类']]</a> - </td> - </tr> - </table> - </div> - </li> - [[/each]] - </ol> - [[/if]] - </li> - [[/each]] - </ol> - [[/if]] - </li> - [[/each]] - </ol> - [[/if]] - </li> - [[/each]] - </ol> - </div> -</script> \ No newline at end of file diff --git a/server/views/operations/couponActivity/Add.html b/server/views/operations/couponActivity/Add.html deleted file mode 100644 index 8a44e24..0000000 --- a/server/views/operations/couponActivity/Add.html +++ /dev/null @@ -1,156 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="row"> - <div class="col-md-12"> - <div id="basicForm" class="form-horizontal form-bordered"> - - </div> - </div> - </div> -</div> -<script type="text/template" id="couponListAdd-template"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title">添加活动</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">活动名称 <span class="red">*</span></label> - - <div class="col-sm-8"> - <input type="text" placeholder="活动名称" prompt="活动名称" class="form-control observe" - data-field="actName" required maxlength="30" value="[[actName]]"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">活动类型 </label> - - <div class="col-sm-8"> - <select id="filter-activityType" tabindex="-1" class="select2-offscreen brandBtn-group observe" - value="[[activityType]]" data-field="activityType" > - <option value="-1">活动类型</option> - <option value="1">普通活动</option> - <option value="2">APP活动</option> - </select> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">活动地址</label> - - <div class="col-sm-8"> - <input type="text" placeholder="活动地址" class="form-control observe number" data-field="actUrl" - value="[[actUrl]]"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">活动时间</label> - - <div class="col-sm-6"> - <div class="col-sm-6"> - <input type="text" class="form-control observe" data-field="startTime" id="startTime" - placeholder="开始时间" value="[[startTime]]" readonly > - </div> - <div class="col-sm-6"> - <input type="text" class="form-control observe" data-field="endTime" id="endTime" - placeholder="结束时间" value="[[endTime]]" readonly > - </div> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">背景图片</label> - <div class="col-sm-8"> - <input type="file" bucket="couponBgImg" placeholder="背景图片" class="form-control" - data-field="bgImageUrl" value="[[bgImageUrl]]" name="couponBgImg"> - <p>图片不是必选项 ,活动类型为APP活动时添加</p> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">分享标题</label> - - <div class="col-sm-8"> - <input type="text" placeholder="分享标题" prompt="名称" class="form-control observe" - data-field="shareTitle" maxlength="30" value="[[shareTitle]]"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">分享描述</label> - - <div class="col-sm-8"> - <textarea class="form-control observe" prompt="分享描述" data-field="shareDescribe" maxlength="100" - placeholder="分享描述" style="resize: none">[[shareDescribe]]</textarea> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">分享图片</label> - <div class="col-sm-8"> - <input type="file" bucket="couponImage" class="form-control" - data-field="sharePic" value="[[sharePic]]" name="couponImage"> - <p>支持jpg/png/gif,建议尺寸:640 x 1038,图片不是必选项</p> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">分享地址</label> - - <div class="col-sm-8"> - <input type="text" placeholder="分享地址" class="form-control observe number" data-field="shareUrl" - value="[[shareUrl]]"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">是否授权</label> - - <div class="col-sm-8"> - <label style="cursor: pointer;"><input type="radio" name="isVerify" value="Y" class="observe" data-field="isVerify">是</label> - <label style="cursor: pointer;"><input type="radio" name="isVerify" value="N" class="observe" data-field="isVerify">否</label> - </div> - <input type="hidden" id="isVerify" value="[[isVerify]]" for="radio" data-field="isVerify"> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">活动说明</label> - - <div class="col-sm-8"> - <textarea class="form-control observe" prompt="分享描述" data-field="instructions" maxlength="100" - placeholder="分享描述" style="resize: none">[[instructions]]</textarea> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">限制新老客户</label> - - <div class="col-sm-8"> - <label style="cursor: pointer;"><input type="radio" name="isNewUser" value="0" class="observe" data-field="isNewUser">不限制</label> - <label style="cursor: pointer;"><input type="radio" name="isNewUser" value="1" class="observe" data-field="isNewUser">限制新用户</label> - </div> - <input type="hidden" id="isNewUser" value="[[isNewUser]]" for="radio" data-field="isNewUser"> - </div> - [[each couponIds as item index]] - <div class="form-group"> - <label class="col-sm-2 control-label">优惠券</label> - <div class="col-sm-2"> - <input type="text" id="couponId" class="form-control observe" value="[[item.id]]" - placeholder="ID" data-field="couponIds.[[index]].id"> - </div> - <div class="col-sm-2"> - <a class="col-sm-4 btn btn-primary addBtn" data-index="[[index]]">+</a> - <a class="col-sm-4 col-sm-offset-2 btn btn-danger delBtn" data-index="[[index]]">-</a> - </div> - </div> - [[/each]] - </div> - </div> - <div class="panel-footer"> - <div class="row"> - <div class="col-sm-8 col-sm-offset-2"> - <a href="javascript:;" onclick="history.go(-1);" class="btn btn-default">取消</a> - <button id="save_brand" type="button" data-loading-text="保存中..." class="btn btn-primary">保存</button> - </div> - </div> - </div> - </div> -</script> - - - diff --git a/server/views/operations/couponActivity/Edit.html b/server/views/operations/couponActivity/Edit.html deleted file mode 100644 index 1369550..0000000 --- a/server/views/operations/couponActivity/Edit.html +++ /dev/null @@ -1,155 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="row"> - <div class="col-md-12"> - <div id="basicForm" class="form-horizontal form-bordered"> - - </div> - </div> - </div> -</div> -<script type="text/template" id="couponListAdd-template"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title">添加活动</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">活动名称 <span class="red">*</span></label> - - <div class="col-sm-8"> - <input type="text" placeholder="活动名称" prompt="活动名称" class="form-control observe" - data-field="actName" required maxlength="30" value="[[actName]]"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">活动类型 </label> - - <div class="col-sm-8"> - <select id="filter-activityType" tabindex="-1" class="select2-offscreen brandBtn-group observe" - value="[[activityType]]" data-field="activityType" > - <option value="-1">活动类型</option> - <option value="1">普通活动</option> - <option value="2">APP活动</option> - </select> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">活动地址</label> - - <div class="col-sm-8"> - <input type="text" placeholder="活动地址" class="form-control observe number" data-field="actUrl" - value="[[actUrl]]"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">活动时间</label> - - <div class="col-sm-6"> - <div class="col-sm-6"> - <input type="text" class="form-control observe" data-field="startTime" id="startTime" - placeholder="开始时间" value="[[startTime]]" readonly > - </div> - <div class="col-sm-6"> - <input type="text" class="form-control observe" data-field="endTime" id="endTime" - placeholder="结束时间" value="[[endTime]]" readonly > - </div> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">背景图片</label> - <div class="col-sm-8"> - <input type="file" bucket="couponBgImg" placeholder="背景图片" class="form-control observe" - data-field="bgImageUrl" value="[[bgImageUrl]]" name="couponBgImg"> - <p>图片不是必选项 ,活动类型为APP活动时添加</p> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">分享标题</label> - - <div class="col-sm-8"> - <input type="text" placeholder="分享标题" prompt="名称" class="form-control observe" - data-field="shareTitle" maxlength="30" value="[[shareTitle]]"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">分享描述</label> - - <div class="col-sm-8"> - <textarea class="form-control observe" prompt="分享描述" data-field="shareDescribe" maxlength="100" - placeholder="分享描述" style="resize: none">[[shareDescribe]]</textarea> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">分享图片</label> - <div class="col-sm-8"> - <input type="file" bucket="couponImage" class="form-control observe" - data-field="sharePic" value="[[sharePic]]" name="couponImage"> - <p>支持jpg/png/gif,建议尺寸:640 x 1038,图片不是必选项</p> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">分享地址</label> - - <div class="col-sm-8"> - <input type="text" placeholder="分享地址" class="form-control observe number" data-field="shareUrl" - value="[[shareUrl]]"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">是否授权</label> - - <div class="col-sm-8"> - <label style="cursor: pointer;"><input type="radio" name="isVerify" value="Y" class="observe" data-field="isVerify">是</label> - <label style="cursor: pointer;"><input type="radio" name="isVerify" value="N" class="observe" data-field="isVerify">否</label> - </div> - <input type="hidden" id="isVerify" value="[[isVerify]]" for="radio" data-field="isVerify"> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">活动说明</label> - - <div class="col-sm-8"> - <textarea class="form-control observe" prompt="分享描述" data-field="instructions" maxlength="100" - placeholder="分享描述" style="resize: none">[[instructions]]</textarea> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">限制新老客户</label> - - <div class="col-sm-8"> - <label style="cursor: pointer;"><input type="radio" name="isNewUser" value="0" class="observe" data-field="isNewUser">不限制</label> - <label style="cursor: pointer;"><input type="radio" name="isNewUser" value="1" class="observe" data-field="isNewUser">限制新用户</label> - </div> - <input type="hidden" id="isNewUser" value="[[isNewUser]]" for="radio" data-field="isNewUser"> - </div> - [[each couponIds as item index]] - <div class="form-group"> - <label class="col-sm-2 control-label">优惠券</label> - <div class="col-sm-2"> - <input type="text" id="couponId" class="form-control observe" value="[[item.id]]" - placeholder="ID" data-field="couponIds.[[index]].id"> - </div> - <div class="col-sm-2"> - <a class="col-sm-4 btn btn-primary addBtn" data-index="[[index]]">+</a> - <a class="col-sm-4 col-sm-offset-2 btn btn-danger delBtn" data-index="[[index]]">-</a> - </div> - </div> - [[/each]] - </div> - </div> - <div class="panel-footer"> - <div class="row"> - <div class="col-sm-8 col-sm-offset-2"> - <a href="javascript:;" onclick="history.go(-1);" class="btn btn-default">取消</a> - <button id="save_brand" type="button" data-loading-text="保存中..." class="btn btn-primary">保存</button> - </div> - </div> - </div> - </div> -</script> - - - diff --git a/server/views/operations/couponActivity/Index.html b/server/views/operations/couponActivity/Index.html deleted file mode 100644 index 049879a..0000000 --- a/server/views/operations/couponActivity/Index.html +++ /dev/null @@ -1,13 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <a id="add-btn" href="/couponActivity/index/add" class="btn btn-info">添加活动</a> - </div> - <div id="content-list"> - - </div> - </div> -</div> diff --git a/server/views/operations/couponSend/Index.html b/server/views/operations/couponSend/Index.html deleted file mode 100644 index 7fca559..0000000 --- a/server/views/operations/couponSend/Index.html +++ /dev/null @@ -1,56 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="..."> - <div class="panel-heading"> - <a class="btn btn-success " id="add-content"><i class="fa fa-plus"></i> 添加</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col2"> - <input type="text" value="" name="modelName" id="name-filter" placeholder="请输入发券关键字" - class="form-control"> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a> - <a id="filter-all" href="/couponSendManager/queryList" class="btn btn-info">全部</a> - <a class="btn pull-right" id="token" href="javascript:;" style="color: red">查看token使用方法>></a> - </div> - </div> - </div> - <div id="content-list"></div> -</div> -<!--编辑模态--> -<script type="text/template" id="template"> - <div class="rows" id="baseform"> - <div class="form-group"> - <label class="col-sm-2 control-label">发券名称<i class="red">*</i></label> - - <div class="col-sm-10"> - <input type="text" value="[[name]]" class="form-control observe" data-field="name" placeholder="发券名称" - required="required"/> - </div> - </div> - [[each couponsIds as item index]] - <div class="form-group"> - <label class="col-sm-2 control-label">优惠券ID<i class="red">*</i></label> - - <div class="col-sm-7"> - <select name="couponsIds" class="col-sm-10 observe select2-offscreen couponsIds" - data-field="couponsIds.[[index]].id" data-index="[[index]]"> - <option value='[[item.id]]'>[[item.text||item.id||'请选择优惠券ID']]</option> - </select> - </div> - <div class="col-sm-2"> - <a class="col-sm-4 btn btn-primary addBtn" data-index="[[index]]">+</a> - [[if index==0]] - <a class="col-sm-4 col-sm-offset-2 btn btn-danger delBtn" data-index="[[index]]">-</a> - [[else]] - <a class="col-sm-4 col-sm-offset-2 btn btn-danger delBtn" data-index="[[index]]">-</a> - [[/if]] - </div> - - </div> - [[/each]] - </div> -</script> \ No newline at end of file diff --git a/server/views/operations/entrance/Index.html b/server/views/operations/entrance/Index.html deleted file mode 100644 index 35a690d..0000000 --- a/server/views/operations/entrance/Index.html +++ /dev/null @@ -1,111 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-heading"> - <a class="btn btn-success " id="add-entry"><i class="fa fa-plus"></i> 添加信息</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select id="entrance-status" tabindex="-1" title="" class="select2-offscreen brandBtn-group"> - <option value="">请选择状态</option> - <option value="0">关闭</option> - <option value="1">开启</option> - </select> - </div> - <div class="panel-col"> - <select id="entrance-platform" title="" class="select2-offscreen brandBtn-group"> - <option value="" selected="">请选择类别</option> - <option value="1">手机</option> - <option value="2">ipad</option> - </select> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="filter-all" href="/operations/entrance/index" class="btn btn-info">全部</a> - </div> - </div> - <div id="entrance-list"></div> -</div> - -<script type="text/template" id="template-add"> - <div class="row" id="base-form"> - <div class="form-group"> - <label class="col-sm-2 control-label">入口名称</label> - <div class="col-sm-8"> - <input type="hidden" id="id" value="[[id]]" /> - <input type="text" data-field="entryName" value="[[entryName]]" class="form-control observe" placeholder="入口名称" required="required"> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-2 control-label">点击前图片名</label> - <div class="col-sm-8"> - <input type="text" value="[[clickBeforeImg]]" data-field="clickBeforeImg" placeholder="点击前的图片名称" class="form-control observe" required="required"/> - <p style="color:#999">注:图片文件的文件名。如:123.png</p> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">点击后图片名</label> - <div class="col-sm-8"> - <input type="text" value="[[clickAfterImg]]" data-field="clickAfterImg" placeholder="点击后的图片名称" class="form-control observe" required="required"/> - <p style="color:#999">注:图片文件的文件名。如:123.png</p> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">上传</label> - <div class="col-sm-8"> - <input id="zipUrl" value="[[zipUrl]]" class="form-control" type="text" disabled="disabled" style="cursor:default"> - <div class="col-sm-4" style="position: relative"> - <input id="zip" name="zip" extend="zip" type="file" style="position: absolute; top: 0;left: 0;"> - <div class="file-name btn btn-default">请选择文件</div> - </div> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">url地址</label> - <div class="col-sm-4"> - <select id="intent" name="goTo" class="form-control"> - [[layout action_template]] - </select> - </div> - <div class="col-sm-4"> - <input id="url" value="[[url]]" class="form-control" placeholder="URL地址" required="required" /> - <p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">类别</label> - <div class="col-sm-8"> - <select value="[[platform]]" data-field="platform" id="platform" style="width: 177px" tabindex="-1" class="observe"> - <option value="1">手机</option> - <option value="2">ipad</option> - </select> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-2 control-label">排序</label> - <div class="col-sm-4"> - <input type="text" value="[[orderBy]]" data-field="orderBy" class="form-control observe number" placeholder="排序"/> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-2 control-label">频道ID</label> - <div class="col-sm-4"> - <input data-field="channelId" class="form-control observe number" type="text" placeholder="频道ID" value="[[channelId]]"/> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-2 control-label">性别</label> - <div class="col-sm-4"> - <select value="[[gender]]" data-field="gender" style="width: 177px" id="gender" tabindex="-1" title="" class="select2-offscreen observe"> - <option value="1,3">男</option> - <option value="2,3">女</option> - <option value="1,2,3">通用</option> - </select> - </div> - </div><!-- form-group --> - </div> -</script> - -<%include '../../resource/__partail/actions'%> \ No newline at end of file diff --git a/server/views/operations/generateLinks/Index.html b/server/views/operations/generateLinks/Index.html deleted file mode 100644 index f01ab69..0000000 --- a/server/views/operations/generateLinks/Index.html +++ /dev/null @@ -1,85 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div id="wrap-content" class="contentpanel" role="<%type%>" url="<%url%>"> - <div class="row"> - <div class="col-md-12"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title">生成链接</h4> - </div><!-- panel-heading --> - <div class="panel-body" id="generate-content"> - - </div><!-- panel-body --> - <div class="panel-footer"> - <div class="row"> - <div class="col-sm-9 col-sm-offset-3"> - <a class="btn btn-primary mr5" id="submitsearch">生成</a> - <a class="btn btn-primary mr5" id="exportsearch">导出</a> - </div> - - </div> - </div><!-- panel-footer --> - </div><!-- panel --> - </div> - </div> -</div> - -<script type="text/template" id="content-template"> - <div class="row"> - <div class="form-group"> - <label>选择导出类型</label> - <%if notSingle%> - <select class="form-control input-form observe" data-field="channelId" value="[[channelId]]"> - <option value="1">SKN</option> - <option value="2">品牌</option> - </select> - <%/if%> - <%if isSingle%> - <select class="form-control input-form observe" data-field="action" value="[[action]]" required> - [[layout action_template]] - </select> - <%/if%> - </div><!-- form-group --> - <div class="form-group"> - <%if notSingle%> - <label>要转换的内容</label> - <textarea rows="3" cols="4" style="vertical-align: middle;width: 300px;" data-field="content" class="form-control input-form observe" placeholder="请输入SKN或者品牌ID,需要用英文,分隔" required>[[content]]</textarea> - <%/if%> - <%if isSingle%> - <label>要转换的内容</label> - <input type="text" class="form-control observe input-form" data-field="link" placeholder="输入要转换的链接" required style="width:350px;" value="[[link.replace(/"/g,""")]]"> - <%/if%> - </div><!-- form-group --> - <div class="form-group"> - <label>生成链接</label>   - <label class="radio-inline"><input type="radio" name="linkType" value="app">APP链接</label> - <label class="radio-inline"><input type="radio" name="linkType" value="h5">H5链接</label> - <input type="hidden" value="[[linkType]]" id="linkType" for="radio" required> - </div> - <div class="form-group"> - <label>跳转链接</label>   - <%if notSingle%> - [[if data]] - [[each data as item index]] - [[if index != 0]] -        - [[/if]] - <i style="margin-right:10px;">[[item.id]]</i> - <input type="text" class="form-control input-form link-area" style="margin-top: 5px;width:70%;display: inline;cursor: text" id="link[[item.id]]" value="[[item.url.replace(/"/g,""")]]" readonly> - <a href="javascript:void(0);" class="copy btn" data-link="link[[item.id]]">复制</a> - <br> - [[/each]] - [[/if]] - <%/if%> - <%if isSingle%> - [[if data]] - <input type="text" class="form-control input-form link-area" style="margin-top: 5px;width:70%;display: inline;cursor: text" id="link[[item.id]]" value="[[data.replace(/"/g,""")]]" readonly> - <a href="javascript:void(0);" class="copy btn" data-link="link[[item.id]]">复制</a> - [[/if]] - <%/if%> - </div><!-- form-group --> - </div><!-- row --> -</script> - -<%include '../../resource/__partail/actions'%> \ No newline at end of file diff --git a/server/views/operations/hotRankTag/Index.html b/server/views/operations/hotRankTag/Index.html deleted file mode 100644 index 4b3691d..0000000 --- a/server/views/operations/hotRankTag/Index.html +++ /dev/null @@ -1,106 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="..."> - <div class="panel-body"> - <a id="add-btn" href="javascript:;" class="btn btn-info">添加</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select id="status-filter" class="select2-offscreen form-control"> - <option value="">选择状态</option> - <option value="0">关闭</option> - <option value="1">开启</option> - </select> - </div> - <div class="panel-col"> - <select id="platform-filter" class="select2-offscreen form-control"> - <option value="">选择平台</option> - <option value="iphone">IOS手机</option> - <option value="ipad">IOS Pad</option> - <option value="android">安卓手机</option> - <option value="androidpad">安卓Pad</option> - <option value="h5">手机网站</option> - <option value="web">网站</option> - <option value="platform">平台</option> - </select> - </div> - <div class="panel-col"> - <select id="channel-filter" class="select2-offscreen form-control"> - <option value="">选择频道</option> - <option value="1">男生</option> - <option value="2">女生</option> - <option value=" 3"> 潮童</option> - <option value="4">创意家居</option> - </select> - </div> - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a> - <a id="filter-all" href="/hotRankTag/index" class="btn btn-info">全部</a> - </div> - </div> - </div> - </div> - <div id="content-list"></div> -</div> - -<!--编辑模态--> -<script type="text/template" id="template"> - <div class="rows" id="baseform"> - <div class="form-group"> - <label class="col-sm-2 control-label">标签名称<i class="red">*</i></label> - - <div class="col-sm-10"> - <input type="text" value="[[tagName]]" class="form-control observe" data-field="tagName" - placeholder="标签名称" required="required"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">分类ID</label> - - <div class="col-sm-10"> - <input type="text" value="[[categoryId]]" class="form-control observe" data-field="categoryId" - placeholder="分类ID"/> - <p class="red">注:多个ID用“,”隔开</p> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">显示平台<i class="red">*</i></label> - - <div class="col-sm-10"> - <input type="checkbox" name="platform" data-field="platform" value="iphone"/>IOS手机 - <input type="checkbox" name="platform" data-field="platform" value="ipad"/>IOS Pad - <input type="checkbox" name="platform" data-field="platform" value="android"/>安卓手机 - <input type="checkbox" name="platform" data-field="platform" value="androidpad"/>安卓Pad - <input type="checkbox" name="platform" data-field="platform" value="h5"/>手机网站 - <input type="checkbox" name="platform" data-field="platform" value="web"/>网站 - <input type="checkbox" name="platform" data-field="platform" value="platform"/>平台 - </div> - <input type="hidden" id="platform" class="observe" value="[[platform]]" for="checkbox" data-field="platform" - placeholder="显示平台"> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">显示频道<i class="red">*</i></label> - <div class="col-sm-8 "> - <input type="radio" name="channel" class="observe" data-field="channel" value="1">男生 - <input type="radio" name="channel" class="observe" data-field="channel" value="2">女生 - <input type="radio" name="channel" class="observe" data-field="channel" value="3">潮童 - <input type="radio" name="channel" class="observe" data-field="channel" value="4">创意家居 - - </div> - <input type="hidden" id="channel" value="[[channel]]" for="radio" class="observe" data-field="channel" - placeholder="显示频道" required/> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">排序</label> - - <div class="col-sm-10"> - <input type="text" value="[[orderBy]]" class="form-control observe" data-field="orderBy" - placeholder="排序" required/> - </div> - </div> - </div> -</script> - diff --git a/server/views/operations/hotsuggest/Index.html b/server/views/operations/hotsuggest/Index.html deleted file mode 100644 index 425b65e..0000000 --- a/server/views/operations/hotsuggest/Index.html +++ /dev/null @@ -1,112 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="..."> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input type="text" id="startTime" jsaction="time:end:endTime" class="form-control panel-input hasDatepicker " name="start_time" placeholder="开始时间"/> - </div> - <div class="panel-col"> - <input type="text" id="endTime" jsaction="time:start:startTime" class="form-control panel-input hasDatepicker" name="end_time" placeholder="结束时间"/> - </div> - <div class="panel-col"> - <select name="status" id="status-filter" tabindex="-1" title="" class="form-control"> - <option value="-1">选择状态</option> - <option value="0">未编辑</option> - <option value="1">已编辑</option> - <option value="2">已发布</option> - </select> - </div> - <div class="panel-col"> - <select name="clientType" id="clientType-filter" tabindex="-1" title="" class="form-control"> - <option value="">来源</option> - <option value="iphone">iPhone</option> - <option value="android">Android</option> - <option value="h5">h5</option> - <option value="custom">自定义</option> - </select> - </div> - </div> - <div class="row" id="radios-select"> - <div class="panel-col"> - <label class="radio-inline"><input type="radio" name="hasImage" value="0">无图</label> - <label class="radio-inline"><input type="radio" name="hasImage" value="1">有图</label> - <input type="hidden" id="hasImage" for="radio"> - </div> - <div class="panel-col"> - <label class="radio-inline"><input type="radio" name="isReliable" value="0">不靠谱</label> - <label class="radio-inline"><input type="radio" name="isReliable" value="1">靠谱</label> - <input type="hidden" id="isReliable" for="radio"> - </div> - </div> - <div class="row"> - <a href="/suggest/hotsuggest/index" class="btn btn-info pull-right"><i class="fa fa-list"></i> 全部</a> - <a class="btn btn-info pull-right" style="margin-right: 5px!important" id="filter-info"><i class="fa fa-search"></i> 查询</a> - </div> - </div> - </div> - <div id="quick"> - - </div> - <div id="content-list"></div> -</div> - -<script type="text/template" id="status-search"> - <div class="pull-left"> - <label class="radio-inline"> - <input name="quick_select" type="radio" value="-1" [[quick_select.status=="-1"?"checked":""]]>全部 - </label> - <label class="radio-inline"> - <input name="quick_select" type="radio" value="0" [[quick_select.status=="0"?"checked":""]]>未编辑 - <span style="color:#0066CC;">[[quick_select.uneditCount]] </span> - </label> - <label class="radio-inline"> - <input name="quick_select" type="radio" value="1" [[quick_select.status=="1"?"checked":""]]>已编辑 - <span style="color:#0066CC;"> [[quick_select.editedCount]]</span> - </label> - <label class="radio-inline"> - <input name="quick_select" type="radio" value="2" [[quick_select.status=="2"?"checked":""]]>已发布 - <span style="color:#0066CC;"> [[quick_select.publishCount]]</span> - </label> - </div> - <div class="pull-right"> - <a id="batchPublish" href="javascript:;" class="btn btn-dark btn-xs pull-right">批量发布</a> - </div> -</script> - -<script type="text/template" id="edit-template"> - <div id="edit-content" class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">标题 <span class="red">*</span></label> - <div class="col-sm-8"> - <input type="text" data-field="content" value="[[content]]" class="form-control observe" placeholder="标题" required> - <label style="color: #9f9f9f;"><span style="color: indianred;">限制27个字符</span></label> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-2 control-label">封面图 </label> - <div class="col-sm-8"> - <input type="file" name="封面图" value="[[imageUrl]]" id="coverImageUrl" data-field="coverImage"> - <br> - <label style="color: #9f9f9f;">支持jpg/png/gif,尺寸:1080*523px;图片不是必选项 </label> - <br> - <button id="delImage" type="button" class="btn btn-xs btn-danger">删除</button> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">回复内容 <span class="red">*</span></label> - <div class="col-sm-8"> - <textarea rows="3" data-field="replyContent" class="form-control observe" placeholder="回复内容" required>[[replyContent]]</textarea> - <label style="color: #9f9f9f;"><span style="color: indianred;">限制80个字符</span></label> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">排序</label> - <div class="col-sm-2"> - <input type="text" value="[[orderBy]]" data-field="orderBy" class="form-control observe" placeholder="排序" required> - </div> - </div> - </div> -</script> \ No newline at end of file diff --git a/server/views/operations/limit/Edit.html b/server/views/operations/limit/Edit.html deleted file mode 100644 index f3767f4..0000000 --- a/server/views/operations/limit/Edit.html +++ /dev/null @@ -1,174 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - - <form id="limit-add-form" class="form-horizontal form-bordered" type="<%type%>" action="<%action%>"> - <div class="panel-group"> - <div class="panel-group" id="editor-group"> - <input type="hidden" id="id" value="<%data.id%>"> - <input type="hidden" id="showFlag" value="<%data.showFlag%>"> - <input type="hidden" id="status" value="<%data.status%>"> - <div class="pannel"> - <div class="panel-heading"> - <h4>限购商品基本信息</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">商品名称<span class="red">*</span>:</label> - <div class="col-sm-8"> - <input type="text" id="productName" placeholder="商品名称" class="form-control" required value="<%data.productName%>"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label"></label> - <div class="col-sm-8"> - <label class="radio-inline"><input type="radio" name="limitProductType" value="1" checked="checked">分享得限购码</label> - <label class="radio-inline"><input type="radio" name="limitProductType" value="2">排队得限购码</label> - <input type="hidden" value="<%data.limitProductType%>" id="limitProductType" for="radio"> - </div> - </div> - - <div class="form-group limitProductType" id="limitProductType_2" style="display: none;"> - <label class="col-sm-2 control-label">排队限购ID:<span class="red">*</span></label> - <div class="col-sm-8"> - <input id="activityId" type="text" class="form-control" value="<%data.activityId%>" placeholder="排队限购ID" /> - </div> - </div> - - <div class="form-group limitProductType" id="limitProductType_1"> - <label class="col-sm-2 control-label">限购码批次<span class="red">*</span>:</label> - <div class="col-sm-8"> - <input type="text" id="batchNo" placeholder="限购码批次" class="form-control" maxlength="30" value="<%data.batchNo%>" required> - </div> - </div> - - - <div class="form-group"> - <label class="col-sm-2 control-label">发售日期<span class="red">*</span>:</label> - <div class="col-sm-4"> - <input id="saleTimeStr" data-time="" value="<%data.saleTimeStr%>" type="text" class="form-control" jsaction="time" placeholder="发售日期" readonly required> - </div> - <div class="col-md-3"> - <label>是否显示日期:</label> - <label class="radio-inline"><input type="radio" name="dayFlag" value="1">是</label> - <label class="radio-inline"><input type="radio" name="dayFlag" value="0">否</label> - <input type="hidden" value="<%data.dayFlag%>" id="dayFlag" for="radio"> - </div> - </div> - </div> - </div> - </div> - - <div class="pannel"> - <div class="panel-heading"> - <h4>限购商品排序</h4> - </div> - <div class="panel-body"> - <div class="row"> - <div class="col-md-3"> - <label>是否热门:</label> - <label class="radio-inline"><input type="radio" name="hotFlag" value="1">是</label> - <label class="radio-inline"><input type="radio" name="hotFlag" value="0">否</label> - <input type="hidden" value="<%data.hotFlag%>" id="hotFlag" for="radio"> - </div> - - <div class="col-md-3 height60 order-by"> - <label>排序<span class="red" style="display: none;">*</span>:</label> - <label><input id="orderBy" value="<%data.orderBy%>" type="text" class="form-control" placeholder="排序"></label> - <p>(提示:数字越大越靠前)</p> - </div> - </div> - </div> - </div> - </div> - - <div class="pannel"> - <div class="panel-heading"> - <h4>限量详情内容</h4> - </div> - <div id="baseTable"></div> - <input type="hidden" value="<%data.attachmentContent%>" id="attachmentContent" /> - <div class="row"> - <div class="col-md-12"> - <button class="btn btn-info mr5" id="textDialog">文本</button> - <button class="btn btn-info mr5" id="picDialog">图片</button> - <button class="btn btn-info mr5" id="videoDialog">视频</button> - </div> - </div> - </div> - - - <div class="pannel"> - <div class="col-md-10"></div> - <div class="col-md-2"> - <input id="limit-add-btn" class="btn btn-success limit-add-btn" type="button" value="保存"></input> - </div> - </div> - </div> - </form> -</div> - - -<script type="text/template" id="picDialogTemp"> - <div class="row"> - <div id="upload-wrapper" class="col-md-3"> - <input id="imgfile" name="imgfile" type="file" class="btn btn-primary ml10" value="{attachUrl}"> - </div> - <div class="col-md-9"> - <div class="row"> - <label class="pull-left control-label height40">图片链接</label> - <div class="pull-left ml10"> - <input class="form-control" id="imgText" type="text" placeholder="图片链接" value="{attachUrl}" required> - </div> - - </div> - <div class="row"> - <label class="pull-left control-label height40">图片描述</label> - <div class="pull-left ml10"> - <input class="form-control" type="text" id="attachName" value="{attachName}" placeholder="图片描述"> - </div> - </div> - </div> - </div> -</script> - -<script type="text/template" id="vidioDialogTemp"> - -<!-- Mov, avi ,rmvb ,mp4 --> - <div class="row"> - <div id="upload-wrapper1" class="col-md-3"> - <input id="videofile" name="videofile" type="file" bucket="goodsvideo" extend="mp4,rmvb,avi,mov" class="btn btn-primary ml10" value="{attachUrl}"> - </div> - <div class="col-md-9"> - <div class="row"> - <label class="pull-left control-label height40">视频链接</label> - <div class="pull-left ml10"> - <input class="form-control" id="videoText" type="text" placeholder="视频链接" value="{attachUrl}" required> - </div> - - </div> - <div class="row"> - <label class="pull-left control-label height40">视频描述</label> - <div class="pull-left ml10"> - <input class="form-control" type="text" id="attachName" value="{attachName}" placeholder="视频描述"> - </div> - </div> - </div> - </div> - <div class="row"> - <div id="upload-wrapper2" class="col-md-3"> - <input id="imgfile" name="imgfile" type="file" class="btn btn-primary ml10" value="{intro}"> - </div> - <div class="col-md-9"> - <div class="row"> - <label class="pull-left control-label height40">图片链接</label> - <div class="pull-left ml10"> - <input class="form-control" id="imgText" type="text" placeholder="图片链接" value="{intro}" required> - </div> - - </div> - </div> - </div> -</script> \ No newline at end of file diff --git a/server/views/operations/limit/index.html b/server/views/operations/limit/index.html deleted file mode 100644 index 263da43..0000000 --- a/server/views/operations/limit/index.html +++ /dev/null @@ -1,51 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-heading"> - <a href="/limit/product/add" class="btn btn-success "><i class="fa fa-plus"></i> 添加</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col2"> - <input id="product-name" class="form-control panel-input" type="text" placeholder="请输入名称"> - </div> - <div class="panel-col2"> - <input id="skn" class="form-control panel-input" type="text" placeholder="请输入SKN"> - </div> - <div class="panel-col"> - <label class="control-label pull-left">是否开启:</label> - <div class="label-leading pull-left"> - <label class="radio-inline"><input type="radio" name="showFlag" value="1">是</label> - <label class="radio-inline"><input type="radio" name="showFlag" value="0">否</label> - </div> - </div> - <!-- <div class="panel-col"> - <label class="control-label pull-left">热门:</label> - <div class="label-leading pull-left"> - <label class="radio-inline"><input type="radio" name="hotFlag" value="1">是</label> - <label class="radio-inline"><input type="radio" name="hotFlag" value="0">否</label> - </div> - </div> - <div class="panel-col"> - <label class="control-label pull-left">是否发售:</label> - <div class="label-leading pull-left"> - <label class="radio-inline"><input type="radio" name="saleFlag" value="1">是</label> - <label class="radio-inline"><input type="radio" name="saleFlag" value="0">否</label> - </div> - </div> --> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - <a id="export-btn" href="javascript:;" class="btn btn-info">导出</a> - </div> - </div> - </div> - - <div class="row"> - <div class="col-md-12 mt20"> - <div class="dataTab_wrapper" id="basicTab"></div> - <div id="limit-table-box" class="table-responsive"></div> - </div> - </div> -</div> diff --git a/server/views/operations/notice/Index.html b/server/views/operations/notice/Index.html deleted file mode 100644 index 22f728e..0000000 --- a/server/views/operations/notice/Index.html +++ /dev/null @@ -1,110 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-heading"> - <a class="btn btn-success " id="add-notice"><i class="fa fa-plus"></i> 创建公告</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input type="text" placeholder="公告标题" id="notice-title" class="form-control" /> - </div> - <div class="panel-col"> - <select name="position" id="notice-position" tabindex="-1" title="" class="select2-offscreen brandBtn-group"> - <option value="" selected="">位置</option> - <option value="1">首页</option> - <option value="2">个人中心</option> - </select> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="filter-all" href="/operations/notice/index" class="btn btn-info">全部</a> - </div> - </div> - <div id="notice-list"></div> -</div> - -<script type="text/template" id="template"> -<div class="rows" id="baseform"> - <div class="form-group"> - <label class="col-sm-2 control-label" for="title">公告标题</label> - <input type="hidden" value="{id}" id="id" /> - <div class="col-sm-10"> - <input type="text" value="{title}" class="form-control" id="title" required="required" placeholder="公告标题" required="required" /> - <p style="color:#999;margin-top: 5px;">注:请控制在15个字之内,多余15个字,5s等手机屏幕前台会显示不全。</p> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label" for="position">公告位置</label> - <div class="col-sm-5"> - <select name="position" id="position" tabindex="-1" title="" class="select2-offscreen brandBtn-group" value="{position}" required="required"> - <option value="" selected="">请选择</option> - <option value="1">首页</option> - <option value="2">个人中心</option> - </select> - </div> - <div id="showchannel" class="col-sm-5"> - <label style="cursor: pointer;"><input type="checkbox" name="showChannels" value="1">男首</label> - <label style="cursor: pointer;"><input type="checkbox" name="showChannels" value="2">女首</label> - <label style="cursor: pointer;"><input type="checkbox" name="showChannels" value="3">潮童</label> - <label style="cursor: pointer;"><input type="checkbox" name="showChannels" value="4">创意生活</label> - </div> - <input type="hidden" id="showChannels" value="{showChannels}" for="checkbox"> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">url地址</label> - <div class="col-sm-4"> - <select id="intent" name="goTo" class="form-control" > - <option value="">选择跳转目的</option> - <option value="brand">品牌列表页</option> - <option value="productDetail">商品详情页</option> - <option value="coupon">优惠券页</option> - <option value="fav">收藏列表页</option> - <option value="mine">我的页面</option> - <option value="list">列表或搜索页</option> - <option value="attention">关注页</option> - <option value="plus">plus页</option> - <option value="star">star页</option> - <option value="new">新品到着页</option> - <option value="sale">折扣页</option> - <option value="h5">h5网页</option> - <option value="guangchannel">逛频道</option> - <option value="gender">男女首页</option> - <option value="activity">app活动页</option> - <option value="home">频道首页</option> - <option value="yohood">YOHOOD</option> - <option value="top100">热销排行</option> - <option value="activitytemplate">活动模板</option> - <option value="globalpurchase">全球购</option> - <option value="subchannel">二级频道</option> - <option value="guangchannel">逛频道或SHOW晒单页</option> - <option value="showgoods">去晒单</option> - <option value="limitpurchase">尖货频道</option> - <option value="vippro">会员商品</option> - <option value="shortsize">断码页</option> - <option value="discountmarket">折扣专区</option> - <option value="discountmarketpro">折扣专区详情页</option> - </select> - </div> - <div class="col-sm-4"> - <input id="url" value="{url}" class="form-control" placeholder="URL地址" /> - <p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">图片</label> - <div class="col-sm-10"> - <input type="file" id="img" name="img" value="{img}" /> - </div> - </div> - <div class="form-group col-sm-100"> - <label class="col-sm-2 control-label">活动时间</label> - <div class="panel-col1 col-sm-4"> - <input type="text" id="startTime" jsaction="time:end:endTime" readonly class="form-control panel-input hasDatepicker " name="start_time" placeholder="开始时间" value="{startTime}"> - </div> - <div class="panel-col1 col-sm-4"> - <input type="text" id="endTime" jsaction="time:start:startTime" readonly class="form-control panel-input hasDatepicker" name="end_time" placeholder="结束时间" value="{endTime}"> - </div> - </div> -</div> -</script> \ No newline at end of file diff --git a/server/views/operations/salecategory/TagMgmt.html b/server/views/operations/salecategory/TagMgmt.html deleted file mode 100644 index ca7fdb1..0000000 --- a/server/views/operations/salecategory/TagMgmt.html +++ /dev/null @@ -1,30 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - - <div class="panel panel-default"> - <div class="panel-body nopadding"> - <div class="state-select" style="position: relative"> - <strong>状态:</strong> - <label><input type="radio" name="state" value="">全部</label> - <label class="current"><input type="radio" name="state" value="1">开启</label> - <label><input type="radio" name="state" value="0">关闭</label> - <button type="button" class="btn btn-primary" onclick="location.href='/sale/category/index'" style="position: absolute; top: 2px; right: 20px"> 返回 </button> - </div> - </div> - </div> - - <div class="panel"> - <div class="panel-body nopadding"> - <div class="dataTables_wrapper no-footer" id="basicTable"></div> - <%if data%> - <input id="categoryId" type="hidden" value="<%categoryId%>"> - <%/if%> - </div> - </div> - - -</div> - - diff --git a/server/views/operations/salecategory/edit.html b/server/views/operations/salecategory/edit.html deleted file mode 100644 index b154b1c..0000000 --- a/server/views/operations/salecategory/edit.html +++ /dev/null @@ -1,80 +0,0 @@ -<div class="pageheader"> - <div class="media"> - <div class="pageicon pull-left"> - <i class="fa fa-th-list"></i> - </div> - <div class="media-body"> - <ul class="breadcrumb"> - <li><a href="#"><i class="glyphicon glyphicon-home"></i></a></li> - <li><a href="#">运营管理</a></li> - <li>销售类目管理</li> - </ul> - <h4>销售类目编辑</h4> - </div> - </div> -</div> -<div class="contentpanel"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h2 class="panel-title">销售类目编辑</h2> - </div> - - <div class="panel-body"> - <form id="basicForm" role="form" action="{{action}}" class="form-horizontal form-bordered"> - {{# data}} - {{#unless addRootCategory}} - <div class="form-group"> - <label class="col-sm-2 control-label">父分类</label> - <div class="col-sm-8 height40">{{# parentSC}}{{categoryName}}{{# items}}-{{categoryName}}{{/ items}}{{/ parentSC}}</div> - </div> - {{/unless}} - - <div class="form-group"> - <label class="col-sm-2 control-label">分类名称</label> - <div class="col-sm-8"><input type="text" id="categoryName" name="categoryName" class="form-control" placeholder="分类名称" value="{{categoryName}}"></div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">分类图标</label> - <div class="col-sm-8"><input type="file" id="icon" name="icon" value="{{icon}}" placeholder="分别图标"></div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">物理类目关联</label> - <div class="col-sm-8 sort-wrap"> - <div class="row"> - <div class="col-sm-4"> - <div class="sortTree"></div> - </div> - <div class="col-sm-2 height40"> - <a class="btn btn-danger btn-xs del-sort-btn" style="display: none;" href="javascript:;">-</a> - <a class="btn btn-info btn-xs add-sort-btn" href="javascript:;">+</a> - </div> - </div> - </div> - </div> - <input id="parentId" type="hidden" value="{{parentId}}"> - {{/ data}} - </form> - </div> - - <div class="panel-footer"> - <div class="col-sm-8 col-sm-offset-2"> - <a id="save_brand" data-loading-text="保存中..." class="btn btn-primary" href="javascript:;">保存</a> - <a href="javascript:;" onclick="history.go(-1);" class="btn btn-danger">取消</a> - - </div> - </div> - </div> -</div> - - -<script type="text/template" id="sortWrap"> -<div class="row"> - <div class="col-sm-6"> - <div class="sortTree"></div> - </div> - <div class="col-sm-2 height40"> - <a class="btn btn-danger btn-xs del-sort-btn" href="javascript:;">-</a> - <a class="btn btn-info btn-xs add-sort-btn" href="javascript:;">+</a> - </div> -</div> -</script> \ No newline at end of file diff --git a/server/views/operations/salecategory/index.html b/server/views/operations/salecategory/index.html deleted file mode 100644 index 972429a..0000000 --- a/server/views/operations/salecategory/index.html +++ /dev/null @@ -1,216 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - - <div class="panel panel-default" style="margin:10px 0; display: none"> - <div class="panel-body nopadding"> - <div class="state-select"> - <strong>状态:</strong> - <label><input type="radio" name="state" value="">全部</label> - <label class="current"><input type="radio" name="state" value="1">开启</label> - <label><input type="radio" name="state" value="0">关闭</label> - </div> - </div> - </div> - - <a href="javascript:;" id="add-root-category" class="btn btn-success" style="margin:10px 0;"><i class="fa fa-plus"></i> 添加根分类</a> - - <div class="panel"> - <div class="panel-body nopadding"> - - <div class="sale-category-table dataTables_wrapper no-footer" id="basicTable"></div> - </div> - </div> - - -</div> - -<input type="hidden" id="gridurl" value="<%gridurl%>"> - -<script type="text/template" id="editTemp"> - <div class="panel"> - <div class="panel-body nopadding"> - <form id="basicForm" role="form" action="[[action]]" class="form-horizontal form-bordered"> - <div class="form-group" style="padding-top: 0"> - <label class="col-sm-2 control-label">父分类:</label> - <div class="col-sm-8 height40">[[parentName]]</div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">分类名称:</label> - <div class="col-sm-8"> - <div class="form-inline"> - <input type="text" id="categoryName" name="categoryName" class="form-control" placeholder="分类名称" value="[[categoryName]]" style="width: 450px"> - <label style="color: #ff0000; line-height: 40px; margin-left: 15px"> * 必填</label> - </div> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">分类图标:</label> - <div class="col-sm-8"><input type="file" id="icon" name="icon" value="[[icon]]" placeholder="分别图标"></div> - </div> - <div class="form-group" style="margin-bottom: 40px"> - <label class="col-sm-2 control-label">物理类目关联:</label> - <div class="col-sm-8 sort-wrap"> - <div class="row"> - <div class="col-sm-10"> - <div class="sortTree"></div> - </div> - <div class="col-sm-2 height40"> - <a class="btn btn-danger btn-xs del-sort-btn" href="javascript:;">-</a> - <a class="btn btn-info btn-xs add-sort-btn" href="javascript:;">+</a> - </div> - </div> - </div> - </div> - <input id="categoryId" type="hidden" value="[[categoryId]]"> - <input id="parentId" type="hidden" value="[[parentId]]"> - <input id="orderBy" type="hidden" value="[[orderBy]]"> - </form> - </div> - </div> -</script> - -<script type="text/template" id="sortWrap"> - <div class="row"> - <div class="col-sm-10"> - <div class="sortTree"></div> - </div> - <div class="col-sm-2 height40"> - <a class="btn btn-danger btn-xs del-sort-btn" href="javascript:;">-</a> - <a class="btn btn-info btn-xs add-sort-btn" href="javascript:;">+</a> - </div> - </div> -</script> - -<script type="text/template" id="tableHdTemp"> - <div class="level-hd clearfix"> - <span class="folder"></span> - <span style="width: 5%">ID</span> - <span style="width: 20%">品类名称</span> - <span>所属分类</span> - <span>分类图标</span> - <span class="orderby">排序</span> - <span class="status">状态</span> - <span class="operate">操作</span> - </div> -</script> -<script type="text/template" id="tableTemp"> - - <div class="level-1-wrap"> - <div class="level-wrap clearfix"> - <span class="folder"></span> - <span>[[categoryId]]</span> - <span>[[categoryName]]</span> - <span>一级分类</span> - <span><img src="[[icon]]" alt=""></span> - <span class="orderby"> <input type="text" class="form-control saleCategoryNumInput" value="[[orderBy]]" categoryId="[[categoryId]]" /></span> - <span class="status"> - [[if state=="1"]] - 开启 - [[/if]] - [[if state=="0"]] - 关闭 - [[/if]] - </span> - <span class="operate" data-id="[[categoryId]]" data-name="[[categoryName]]"> - <a class="btn btn-info btn-xs edit-btn" href="javascript:;">编辑</a> - <a class="btn btn-success btn-xs tagmgmt-btn" href="/sale/category/tag/[[categoryId]]">标签管理</a> - <a class="btn btn-info btn-xs add-sub-category" href="javascript:;">添加子分类</a> - [[if state=="1"]] - <a class="btn btn-danger btn-xs close-category" href="javascript:;">关闭</a> - [[/if]] - [[if state=="0"]] - <a class="btn btn-warning btn-xs open-category" href="javascript:;">开启</a> - [[/if]] - </span> - [[if items]] - <div class="level-2-wrap"> - [[each items as a index]] - <div class="level-wrap clearfix"> - <span class="folder"></span> - <span>[[a.categoryId]]</span> - <span>[[a.categoryName]]</span> - <span>二级分类</span> - <span><img src="[[a.icon]]" alt=""></span> - <span class="orderby"><input type="text" class="form-control saleCategoryNumInput" value="[[a.orderBy]]" categoryId="[[a.categoryId]]" /></span> - <span class="status"> - [[if a.state=="1"]] - 开启 - [[/if]] - [[if a.state=="0"]] - 关闭 - [[/if]] - </span> - <span class="operate" data-id="[[a.categoryId]]" data-name="[[a.categoryName]]"> - <a class="btn btn-info btn-xs edit-btn" href="javascript:;">编辑</a> - <a class="btn btn-success btn-xs tagmgmt-btn" href="/sale/category/tag/[[a.categoryId]]">标签管理</a> - <a class="btn btn-info btn-xs add-sub-category" href="javascript:;">添加子分类</a> - [[if a.state=="1"]] - <a class="btn btn-danger btn-xs close-category" href="javascript:;">关闭</a> - [[/if]] - [[if a.state=="0"]] - <a class="btn btn-warning btn-xs open-category" href="javascript:;">开启</a> - [[/if]] - </span> - [[if a.items]] - <div class="level-3-wrap"> - [[each a.items as b index]] - <div class="level-wrap clearfix"> - <span class="folder"></span> - <span>[[b.categoryId]]</span> - <span>[[b.categoryName]]</span> - <span>三级分类</span> - <span><img src="[[b.icon]]" alt=""></span> - <span class="orderby"><input type="text" class="form-control saleCategoryNumInput" value="[[b.orderBy]]" categoryId="[[b.categoryId]]" /></span> - <span class="status"> - [[if b.state=="1"]] - 开启 - [[/if]] - [[if b.state=="0"]] - 关闭 - [[/if]] - </span> - <span class="operate" data-id="[[b.categoryId]]" data-name="[[b.categoryName]]"> - <a class="btn btn-info btn-xs edit-btn" href="javascript:;">编辑</a> - <a class="btn btn-success btn-xs tagmgmt-btn" href="/sale/category/tag/[[b.categoryId]]">标签管理</a> - <a class="btn btn-info btn-xs add-sub-category" href="javascript:;">添加子分类</a> - [[if b.state=="1"]] - <a class="btn btn-danger btn-xs close-category" href="javascript:;">关闭</a> - [[/if]] - [[if b.state=="0"]] - <a class="btn btn-warning btn-xs open-category" href="javascript:;">开启</a> - [[/if]] - </span> - </div> - [[/each]] - </div> - [[/if]] - </div> - - [[/each]] - </div> - [[/if]] - </div> - - </div> -</script> - -<script type="text/template" id="tableTemp2"> - <span class="folder"></span> - <span style="width: 5%">[[categoryId]]</span> - <span style="width: 20%">[[categoryName]]</span> - <span>[[levelNumber]]级分类</span> - <span><img src="[[icon]]" alt=""></span> - <span class="orderby"> <input type="text" class="form-control saleCategoryNumInput" value="[[orderBy]]" categoryId="[[categoryId]]" /></span> - <span class="status">[[if state=="1"]]<b style="color: #449d44">开启</b>[[/if]][[if state=="0"]]<b style="color: #d9534f">关闭</b>[[/if]]</span> - <span class="operate" data-id="[[categoryId]]" data-name="[[categoryName]]"> - <a class="btn btn-info btn-xs edit-btn" href="javascript:;">编辑</a> - <a class="btn btn-success btn-xs tagmgmt-btn" href="/sale/category/tag/[[categoryId]]">标签管理</a> - <a class="btn btn-primary btn-xs add-sub-category" href="javascript:;">添加子分类</a> - <b class="openAndClose" data-id="[[categoryId]]" data-name="[[categoryName]]"> - [[if state=="1"]]<a class="btn btn-danger btn-xs close-category" href="javascript:;">关闭</a>[[/if]] - [[if state=="0"]]<a class="btn btn-warning btn-xs open-category" href="javascript:;">开启</a>[[/if]] - </b> - </span> -</script> diff --git a/server/views/operations/shopsVersionUpdate/Index.html b/server/views/operations/shopsVersionUpdate/Index.html deleted file mode 100644 index 767db44..0000000 --- a/server/views/operations/shopsVersionUpdate/Index.html +++ /dev/null @@ -1,72 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-heading"> - <a class="btn btn-success " id="addAppVersion"><i class="fa fa-plus"></i> 添加</a> - </div> - <div class="panel-body"> - <div class="panel-col"> - <input type="text" id="appVersion" class="form-control" placeholder="app版本"> - </div> - <div class="panel-col"> - <select name="platform" id="clientType" tabindex="-1" class="form-control select2-offscreen brandBtn-group"> - <option value="" selected="">安装包类型</option> - <option value="iphone">IOS手机</option> - <option value="ipad">IOS Pad</option> - <option value="android">安卓手机</option> - </select> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - <div id="list-content"></div> -</div> - -<script type="text/template" id="template"> - <div class="row" id="base-form"> - <div class="form-group"> - <label class="col-sm-2 control-label">app版本</label> - <div class="col-sm-8"> - <input type="text" value="[[appVersion]]" class="form-control observe" data-field="appVersion" prompt="app版本" placeholder="请填写版本" required> - </div> - </div><!-- form-group --> - - <div class="form-group"> - <label class="col-sm-2 control-label">安装包类型</label> - <div class="col-sm-8"> - <select name="platform" id="types" tabindex="-1" class="form-control select2-offscreen brandBtn-group observe" data-field="clientType" value="[[clientType]]" required> - <option value="" selected="">请选择类型</option> - <option value="iphone">IOS手机</option> - <option value="ipad">IOS Pad</option> - <option value="android">安卓手机</option> - </select> - </div> - </div><!-- form-group --> - - <div class="form-group"> - <label class="col-sm-2 control-label">url地址</label> - <div class="col-sm-6"> - <input id="url" class="form-control" value="[[url]]" type="text" disabled="disabled" style="cursor:default" required prompt="app文件"> - </div> - <div class="col-sm-4" style="position: relative"> - <input id="appFile" name="appFile" class="btn btn-default excel-upload" type="file" style="position: absolute; top: 0;left: 0;"> - <div id="fileBtn" class="file-name btn btn-default">请选择文件</div> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">提醒内容</label> - <div class="col-sm-8"> - <textarea name="content" class="form-control observe" data-field="content" required prompt="提醒内容">[[content]]</textarea> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-2 control-label">状态</label> - <div class="col-sm-8"> - <label style="cursor: pointer;"><input style="width: 15px;height: 15px" type="radio" name="status" value="0" checked>关闭</label> - <label style="cursor: pointer;"><input style="width: 15px;height: 15px" type="radio" name="status" value="1">开启</label> - </div> - <input type="hidden" id="status" value="[[status||0]]" for="radio" /> - </div><!-- form-group --> - </div> -</script> \ No newline at end of file diff --git a/server/views/operations/staticFile/Index.html b/server/views/operations/staticFile/Index.html deleted file mode 100644 index 569707f..0000000 --- a/server/views/operations/staticFile/Index.html +++ /dev/null @@ -1,94 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="form-inline"> - - <div class="form-group"> - <select id="sel-type" class="form-control" style="width:120px"> - <option value="">选择类型</option> - <option value="1">频道</option> - <option value="2">专题</option> - <option value="3">邮件</option> - <option value="4">推广</option> - </select> - </div> - - <div class="form-group"> - <input type="text" id="beginTime" class="form-control panel-input hasDatepicker" name="start_time" - placeholder="开始时间" value="" kl_vkbd_parsed="true"> - </div> - - <div class="form-group"> - <input type="text" id="endTime" class="form-control panel-input hasDatepicker" name="end_time" - placeholder="结束时间" value="" kl_vkbd_parsed="true"> - </div> - - <button type="submit" id="filter" class="btn btn-info">查询</button> - <a type="submit" href="" id="all" class="btn btn-info">全部</a> - <button type="submit" id="add" class="btn btn-info">新增</button> - </div> - - - </div> - </div> - <div class="panel panel-primary-head"> - <div id="basicTable_wrapper" class="dataTables_wrapper no-footer"> - <div class="dataTables_length" id="basicTable"> - </div> - <nav> - <ul id="pagination" class="pagination pagination-lg"></ul> - </nav> - </div> - </div> -</div> - -<script type="text/template" id="template"> - - <input type="text" hidden="true" id="id" value="[[id]]"/> - <div class="form-group"> - <label for="fileType" class="col-sm-2 control-label">静态文件类型:</label> - - <div class="col-sm-8"> - <select class="form-control" value="[[fileType]]" id="fileType"> - <option value="">选择类型</option> - <option value="1">频道</option> - <option value="2">专题</option> - <option value="3">邮件</option> - <option value="4">推广</option> - </select> - </div> - </div> - - <div class="form-group"> - <label for="pageTitle" class="col-sm-2 control-label">页面标题:</label> - <div class="col-sm-10"> - <input type="text" value="[[pageTitle]]" name="pageTitle" id="pageTitle" placeholder="页面标题" required="required" class="form-control"> - </div> - </div> - - <div class="form-group"> - <label for="keyWord" class="col-sm-2 control-label">页面关键词:</label> - <div class="col-sm-10"> - <input type="text" value="[[keyWord]]" name="keyWord" id="keyWord" placeholder="页面关键词" required="required" class="form-control"> - </div> - </div> - - <div class="form-group"> - <label for="pageDesc" class="col-sm-2 control-label">页面介绍:</label> - <div class="col-sm-10"> - <input type="text" value="[[pageDesc]]" name="pageDesc" id="pageDesc" placeholder="页面介绍" required="required" class="form-control"> - </div> - </div> - - <div class="rows"> - <label for="content" class="col-sm-2 control-label">内容:</label> - <script id="content" style="width: 100%;" name="content" type="text/plain"></script> - </div> - - -</script> - - diff --git a/server/views/operations/subject/Index.html b/server/views/operations/subject/Index.html deleted file mode 100644 index 2d8ba86..0000000 --- a/server/views/operations/subject/Index.html +++ /dev/null @@ -1,192 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-heading"> - <a class="btn btn-success " id="add-subject"><i class="fa fa-plus"></i> 添加专题</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select name="sort" id="subject-type" tabindex="-1" title="" class="select2-offscreen brandBtn-group"> - <option value="" selected="">类型</option> - <option value="1">奥莱</option> - <option value="2">SALE</option> - </select> - </div> - <div class="panel-col"> - <select name="paltform" id="subject-paltform" tabindex="-1" title="" - class="select2-offscreen brandBtn-group"> - <option value="" selected="">平台</option> - <option value="1">WEB</option> - <option value="2">APP</option> - <option value="3">WAP</option> - <option value="4">IPAD</option> - </select> - </div> - <div class="panel-col"> - <select name="status" id="subject-status" tabindex="-1" title="" - class="select2-offscreen brandBtn-group"> - <option value="" selected="">状态</option> - <option value="1">未定时</option> - <option value="2">未发布</option> - <option value="3">已发布</option> - <option value="4">已结束</option> - </select> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="filter-all" href="/runManage/subjectManage/index" class="btn btn-info">全部</a> - </div> - </div> -</div> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom: 10px"> - <input type="hidden" id="url" value="/runManage/subjectManage/subjectList"/> - <div id="subject-manage"></div> - </div> -</div> - -<script type="text/template" id="template2"> - <input type="text" name="sort" size="1" placeholder="排序"/> - <input type="button" class="btn btn-xs btn-info sortsave" id="save" value="保存"/> - <input type="button" class="btn btn-xs btn-info sortcancel" id="cancel" value="取消"/> -</script> - -<script type="text/template" id="template"> - <div class="rows" id="baseform"> - <div class="form-group"> - <label class="col-sm-2 control-label">分类<font color="#f00">*</font></label> - <input type="hidden" value="{id}" id="id"/> - <div class="col-sm-10"> - <input name="sort" type="radio" value="1"/>奥莱 - <input name="sort" type="radio" value="2"/>SALE - </div> - <input type="hidden" id="sort" value="{sort}" for="radio"/> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label" for="title">标题<font color="#f00">*</font></label> - <div class="col-sm-8"> - <input type="text" value="{title}" class="form-control" id="title" required="required"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">平台</label> - <div class="col-sm-8"> - <label style="cursor: pointer;"><input type="checkbox" name="plateform" value="1">WEB</label> - <label style="cursor: pointer;"><input type="checkbox" name="plateform" value="2">APP</label> - <label style="cursor: pointer;"><input type="checkbox" name="plateform" value="3">WAP</label> - <label style="cursor: pointer;"><input type="checkbox" name="plateform" value="4">IPAD</label> - </div> - <input type="hidden" id="plateform" value="{plateform}" for="checkbox"> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">频道</label> - <div class="col-sm-8"> - <label style="cursor: pointer;"><input type="checkbox" name="yhChannel" value="1">男生</label> - <label style="cursor: pointer;"><input type="checkbox" name="yhChannel" value="2">女生</label> - <label style="cursor: pointer;"><input type="checkbox" name="yhChannel" value="3">儿童</label> - <label style="cursor: pointer;"><input type="checkbox" name="yhChannel" value="4">创意生活</label> - </div> - <input type="hidden" id="yhChannel" value="{yhChannel}" for="checkbox"> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">促销形式</label> - <div class="col-sm-10"> - <input id="promotion1" name="promotionName" type="radio" value="1"/> - - <input class="smalltxt" type="text" id="promotionName1"/>折起 - - - <input id="promotion2" name="promotionName" type="radio" value="2"/><input class="smalltxt" type="text" - id="promotionName2"/>~<input - class="smalltxt" type="text" id="promotionName3"/>折 - - <input id="promotion4" name="promotionName" type="radio" value="4"/><input class="smalltxt" type="text" - id="promotionName4"/>元起 - - <input id="promotion5" name="promotionName" type="radio" value="5"/><input class="smalltxt" type="text" - id="promotionName5"/>%Off(大图折扣) - </div> - </div> - <div class="form-group col-sm-100"> - <label class="col-sm-2 control-label">活动时间</label> - <div class="panel-col1 col-sm-4"> - <input type="text" id="startTime" jsaction="time:end:endTime" - class="form-control panel-input hasDatepicker " readonly name="start_time" placeholder="开始时间" - value="{startTime}"> - </div> - <div class="panel-col1 col-sm-4"> - <input type="text" id="endTime" jsaction="time:start:startTime" - class="form-control panel-input hasDatepicker" readonly name="end_time" placeholder="结束时间" - value="{endTime}"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-lalbel" for="orderNum">排序</label> - <div class="col-sm-8"> - <input type="text" id="orderNum" value="{orderNum}" class="form-control"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">手机端封面图</label> - <div class="col-sm-10"> - <input type="file" id="coverUrl" name="coverUrl" value="{coverUrl}"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">WEB logo图</label> - <div class="col-sm-10"> - <input type="file" id="logoUrl" name="logoUrl" value="{logoUrl}"/><!----> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">web封面图</label> - <div class="col-sm-10"> - <input type="file" id="webCoverUrl" name="webCoverUrl" value="{webCoverUrl}"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">web列表页图</label> - <div class="col-sm-10"> - <input type="file" id="webUrl" name="webUrl" value="{webUrl}"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">添加商品<font color="#f00">*</font></label> - <div class="col-sm-10"> - <select id="productPoolId" style="width: 280px;" value="{productPoolId}"> - <option value="{productPoolId}">请选择商品池</option> - </select> - </div> - </div> - </div> -</script> - -<script type="text/template" id="links-template"> - <table class="table no-footer"> - <tbody> - [[if linkWeb]] - <tr> - <td align="right">WEB链接</td> - <td width="80%"><textarea readonly class="link-area" id="linkWeb[[id]]">[[linkWeb]]</textarea></td> - <td><a class="btn btn-primary copy" data-link="linkWeb[[id]]">复制</a></td> - </tr> - [[/if]] - [[if linkWap]] - <tr> - <td align="right">WAP链接</td> - <td width="80%"><textarea readonly class="link-area" id="linkWap[[id]]">[[linkWap]]</textarea></td> - <td><a class="btn btn-primary copy" data-link="linkWap[[id]]">复制</a></td> - </tr> - [[/if]] - [[if linkApp]] - <tr> - <td align="right">APP链接</td> - <td width="80%"><textarea readonly class="link-area" id="linkApp[[id]]">[[linkApp]]</textarea></td> - <td><a class="btn btn-primary copy" data-link="linkApp[[id]]">复制</a></td> - </tr> - [[/if]] - </tbody> - </table> -</script> \ No newline at end of file diff --git a/server/views/operations/suggest/Index.html b/server/views/operations/suggest/Index.html deleted file mode 100644 index e12577d..0000000 --- a/server/views/operations/suggest/Index.html +++ /dev/null @@ -1,120 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<!--反馈管理界面--> -<div class="contentpanel"> - <div class="panel panel-default" style="..."> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input type="text" value="" id="uid-filter" placeholder="UID" - class="form-control"> - </div> - <div class="panel-col"> - <input type="text" id="startTime" class="form-control panel-input hasDatepicker" name="start_time" - placeholder="开始时间" value="" kl_vkbd_parsed="true"> - </div> - - <div class="panel-col"> - <input type="text" id="endTime" class="form-control panel-input hasDatepicker" name="end_time" - placeholder="结束时间" value="" kl_vkbd_parsed="true"> - </div> - <div class="panel-col"> - <select id="isHot-filter" class="form-control"> - <option value="-1">是否热门</option> - <option value="0">不热门</option> - <option value="1">热门</option> - </select> - </div> - <div class="panel-col"> - <select id="status-filter" class="form-control"> - <option value="-1">选择状态</option> - <option value="0">未回复</option> - <option value="1">已回复</option> - <option value="2">已发送</option> - </select> - </div> - <div class="panel-col"> - <select id="clientType-filter" class="form-control"> - <option value="-1">选择来源</option> - <option value="iphone">iphone</option> - <option value="android">android</option> - </select> - </div> - <div class="panel-col" id="appVersion-content"> - - </div> - <div class="panel-col" id="replyPersonName-content"> - - </div> - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a> - <a id="filter-all" href="/suggest/suggest/index" class="btn btn-info">全部</a> - </div> - </div> - </div> - </div> - <div id="quick"> - - </div> - <div id="content-list"></div> -</div> -<!--回复内容--> -<script type="text/template" id="replyTemplate"> - <div class="form-group"> - <label class="col-sm-2 control-label">回复内容</label> - - <div class="col-sm-10"> - <textarea style="resize: none;height:90px;width:90%;overflow: auto" rows="6" id="replyContent" - val="[[replyContent]]">[[replyContent]]</textarea> - </div> - </div> -</script> - -<script type="text/template" id="search-appVersion"> - <select id="choose-appVersion" title="" class=" select2-offscreen form-control"> - <option value="">选择版本号</option> - [[each data as item index]] - <option value="[[item.id]]">[[item.text]]</option> - [[/each]] - </select> -</script> -<script type="text/template" id="search-replyPersonName"> - <select id="choose-replyPersonName" title="" class="select2-offscreen form-control"> - <option value="">选择回复人</option> - [[each data as item index]] - <option value="[[item.id]]">[[item.text]]</option> - [[/each]] - </select> -</script> -<script type="text/template" id="quick-search"> - <div class="pull-left"> - <label class="radio-inline"> - [[if quick_select.status=='-1']] - <input name="quick_select" type="radio" value="-1" checked="checked">全部 - [[else]] - <input name="quick_select" type="radio" value="-1">全部 - [[/if]] - </label> - <label class="radio-inline"> - [[if quick_select.status=='0']] - <input name="quick_select" type="radio" value="0" checked="checked">未回复 - [[else]] - <input name="quick_select" type="radio" value="0">未回复 - [[/if]] - <span style="color:#0066CC;">[[quick_select.unReplyTotal]] </span> - </label> - <label class="radio-inline"> - [[if quick_select.status=='1']] - <input name="quick_select" type="radio" value="1" checked="checked">已回复 - [[else]] - <input name="quick_select" type="radio" value="1" >已回复 - [[/if]] - <span style="color:#0066CC;"> [[quick_select.replyTotal]]</span> - </label> - </div> - <div class="pull-right"> - <a id="batchExport" href="javascript:;" class="btn btn-dark">批量导出</a> - <a id="batchPublish" href="javascript:;" class="btn btn-dark">批量发送</a> - </div> -</script> diff --git a/server/views/operations/version/Index.html b/server/views/operations/version/Index.html deleted file mode 100644 index 4ce955c..0000000 --- a/server/views/operations/version/Index.html +++ /dev/null @@ -1,44 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-heading"> - <a class="btn btn-success " id="addAppVersion"><i class="fa fa-plus"></i> 添加</a> - </div> - <div id="appVersionList"></div> -</div> - -<script type="text/template" id="template"> - <div class="row" id="base-form"> - <div class="form-group"> - <label class="col-sm-2 control-label">版本号</label> - <div class="col-sm-8"> - <input type="text" id="version" value="[[version]]" class="form-control"> - <input type="hidden" id="id" value="[[id]]" class="form-control"> - </div> - </div><!-- form-group --> - - <div class="form-group"> - <label class="col-sm-2 control-label">提醒内容</label> - <div class="col-sm-8"> - <textarea id="content" name="content" class="form-control">[[content]]</textarea> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-2 control-label">链接</label> - <div class="col-sm-8"> - <input type="text" id="url" class="form-control" value="[[url]]" required="required"> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-2 control-label">客户端类型</label> - <div class="col-sm-8"> - <label style="cursor: pointer;"><input type="checkbox" name="clientType" value="iphone">IOS手机</label> - <label style="cursor: pointer;"><input type="checkbox" name="clientType" value="ipad">IOS Pad</label> - <label style="cursor: pointer;"><input type="checkbox" name="clientType" value="android">安卓手机</label> - <label style="cursor: pointer;"><input type="checkbox" name="clientType" value="androidpad">安卓Pad</label> - </div> - <input type="hidden" id="clientType" value="[[clientType]]" for="checkbox" /> - </div><!-- form-group --> - </div> -</script> \ No newline at end of file diff --git a/server/views/resource/__partail/actions.html b/server/views/resource/__partail/actions.html deleted file mode 100644 index 603101b..0000000 --- a/server/views/resource/__partail/actions.html +++ /dev/null @@ -1,7 +0,0 @@ -<!--select选项--> -<script type="text/template" id="action_template"> - <option value="">请选择跳转列表</option> - <%each data as item index%> - <option value="<%item.enName%>"><%item.chName%></option> - <%/each%> -</script> \ No newline at end of file diff --git a/server/views/resource/__partail/jiangming.html b/server/views/resource/__partail/jiangming.html deleted file mode 100644 index c0c075a..0000000 --- a/server/views/resource/__partail/jiangming.html +++ /dev/null @@ -1,394 +0,0 @@ -<!-- 添加图标、楼层 --> -<script type="text/template" id="icon-template"> - [[if contentData.template_name=='appIconList']] - <div class="panel-body"> - <div class="form-group"> - <label class="col-sm-2">图标类型</label> - - <div class="col-sm-10"> - <label style="cursor: pointer;"> - <input type="radio" name="number" class="icon-number" value="4">一行4个 - </label> - <label style="cursor: pointer;"> - <input type="radio" name="number" class="icon-number" value="5">一行5个 - </label> - <input type="hidden" id="number" value="[[contentData.number]]" for="radio"/> - </div> - </div> - </div> - [[/if]] - <div class="panel-body"> - <div> - <ul class="draggable" data-array="data"> - [[each contentData.data as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center"> - [[index+1]] - </td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="[[index]].src"/> - </td> - <td> - <div class="form-group "> - <select name="goTo" class="form-control observe" value="[[item.url.action]]" - data-field="[[index]].url.action"> - [[layout action_template]] - </select> - </div> - <div class="form-group "> - <input value="[[item.url.url]]" class="form-control observe" required="required" - data-field="[[index]].url.url" placeholder="图片链接"/> - - <p style="color:#999;margin-top: 5px;">链接中不能有英文单引号</p> - </div> - <div class="form-group "> - <input value="[[item.alt]]" class="form-control observe" - data-field="[[index]].alt" placeholder="图片描述"/> - - </div> - [[if contentData.template_name=='addfloor']] - <div class="form-group "> - <input value="[[item.altEn]]" class="form-control observe" - data-field="[[index]].altEn" placeholder="英文描述"/> - </div> - [[/if]] - </td> - <td> - <a class="btn btn-danger delBtn" data-event="icon.data" data-index="[[index]]">删除</a> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - </div> - <a href="JavaScript:;" data-event="icon.data" class="btn btn-primary btn-xs addBtn">添加一个</a> - </div> -</script> -<!-- 推荐品牌--> -<script type="text/template" id="brands-template"> - <div class="panel-body"> - [[if contentData.template_name=='appHotBrands']] - <div class="form-group"> - <div class="col-sm-10"> - <label>标题</label> - <input class="form-control observe input-form" type="text" value="[[contentData.data.title.title]]" data-field="title.title" placeholder="推荐品牌"> -     <label>显示名称</label> - <label style="cursor: pointer;"><input type="radio" name="is_show_name_brand" class="is_show_name_brand" value="Y">是</label> - <label style="cursor: pointer;"><input type="radio" name="is_show_name_brand" class="is_show_name_brand" value="N">否</label> - <input type="hidden" id="is_show_name_brand" value="[[contentData.data.is_show_name]]" for="radio"/> - </div> - </div> - [[/if]] - [[if contentData.template_name=='customBrands']] - <div class="form-group"> - <div class="col-sm-6"> - <label>标题</label>     - <input class="form-control observe input-form" type="text" value="[[contentData.data.title.title]]" data-field="title.title" placeholder="自定义品牌"> - </div> - </div> - <div class="form-group"> - <div class="col-sm-6"> - <label>附加参数</label>   - <select class="form-control observe input-form" value="[[contentData.data.title.param]]" data-field="title.param"> - [[layout parm1_template]] - </select> - </div> - <div class="col-sm-6"> - <label>附加参数值</label>  - <input class="form-control observe input-form" type="text" value="[[contentData.data.title.param_value]]" data-field="title.param_value" placeholder="附加参数值"> - </div> - </div> - [[/if]] - [[if contentData.template_name=='kidsBrands']] - <div class="form-group"> - <div class="col-sm-6"> - <label>标题</label>     - <input class="form-control observe input-form" required type="text" value="[[contentData.data.params.title]]" data-field="params.title" placeholder="请输入标题" prompt="标题"> - </div> - </div> - <div class="form-group"> - <div class="col-sm-6"> - <label>分类</label>     - <select class="form-control observe input-form" value="[[contentData.data.params.param]]" data-field="params.param"> - [[layout parm2_template]] - </select> - </div> - <div class="col-sm-6"> - <label>附加参数值</label>  - <input class="form-control observe input-form" type="text" value="[[contentData.data.params.paramValue]]" data-field="params.paramValue" placeholder="附加参数值"> - </div> - </div> - <div class="form-group "> - <div class="col-sm-6"> - <label>更多名称</label>   - <input class="form-control observe input-form" type="text" value="[[contentData.data.params.more]]" data-field="params.more" placeholder="更多名称"> - </div> - </div> - <div class="form-group "> - <div class="col-sm-6"> - <label>跳转目的</label>   - <select name="goTo" class="form-control observe input-form" value="[[contentData.data.params.more_url.action]]" - data-field="params.more_url.action"> - [[layout action_template]] - </select> - </div> - <div class="col-sm-6"> - <label>链接</label>     - <input placeholder="url" value="[[contentData.data.params.more_url.url]]" class="form-control observe input-form" - data-field="params.more_url.url"/> - <br>       - <label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label> - </div> - </div> - [[/if]] - </div> - <div class="panel-body"> - <div class="form-group"> - <a href="JavaScript:;" id="addBrands" class="btn btn-primary btn-xs">添加品牌</a> - </div> - <div> - <ul class="draggable" data-array="data.list"> - [[each contentData.data.list as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center"> - <input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/> - </td> - <td align="center"> - <div class="form-group"> - [[if contentData.template_name=='kidsBrands']] - <input class="form-control observe" type="text" value="[[item.title]]" data-field="list.[[index]].title"> - [[else]] - <input class="form-control observe" type="text" value="[[item.name]]" data-field="list.[[index]].name"> - [[/if]] - </div> - </td> - <td> - <a class="btn btn-danger delBtn" data-event="brands.list" data-index="[[index]]">删除</a> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - </div> - - </div> - <div id="brandLists"> - - </div> - <div class="panel-body"> - [[if contentData.template_name=='appHotBrands']] - <div class="form-group"> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <thead> - <tr> - <th>图片</th> - <th>选项</th> - </tr> - </thead> - <tbody> - <tr> - <td> - <input type="file" name="file" value="[[contentData.data.image.src]]" - class="observe" required="required" - data-field="image.src"/> - </td> - <td> - <div class="form-group "> - <select name="goTo" class="form-control observe" - value="[[contentData.data.image.url.action]]" - data-field="image.url.action"> - [[layout action_template]] - </select> - </div> - <div class="form-group "> - <input value="[[contentData.data.image.url.url]]" - class="form-control observe" - data-field="image.url.url" placeholder="图片链接"/> - - <p style="color:#999;margin-top: 5px;">链接中不能有英文单引号</p> - </div> - <div class="form-group "> - <input value="[[contentData.data.image.alt]]" - class="form-control observe" - data-field="image.alt" placeholder="图片描述"/> - </div> - </td> - </tr> - </tbody> - </table> - </div> - [[/if]] - </div> - -</script> -<!--品牌选择模态--> -<script type="text/template" id="template5"> - <div class="row" id="brandForm"> - <div class="form-group"> - [[each Brands as brand index]] - <a class="btn brand-index" href="#[[brand.name]]">[[brand.name]]</a> - [[/each]] - </div> - <div class="form-group brand-wrap" style="height: 400px;overflow: auto;"> - [[each Brands as brand index]] - <div class="form-group" name="[[brand.name]]"> - [[each brand.items as item __index ]] - <a class="btn"> - <input type="checkbox" value="[[item.id]]" name="brandCheckBox"> - <label>[[item.brand_name]]</label> - </a> - [[/each]] - </div> - [[/each]] - </div> - <input type="hidden" id="brandCheckBox" for="checkbox" value="[[Brdata]]"/> - </div> -</script> -<!--自定义品牌附加参数--> -<script type="text/template" id="parm1_template"> - <option value="">请选择附加参数</option> - <option value="msort">大分类</option> -</script> -<!--kids品牌分类参数--> -<script type="text/template" id="parm2_template"> - <option value="promotion">促销id</option> - <option value="msort">大分类ID</option> -</script> -<!-- 9-1 标题标签 --> -<script type="text/template" id="title-template"> - <div class="rows"> - <div class="form-group "> - <div class="col-sm-6"> - <label>标题名称</label>   - <input class="form-control observe input-form" placeholder="标题名称" type="text" value="[[contentData.data.title_name]]" data-field="title_name" required> - </div> - <div class="col-sm-6"> - <label>更多名称</label>   - <input class="form-control observe input-form" type="text" placeholder="更多名称" value="[[contentData.data.more_name]]" data-field="more_name"> - </div> - </div> - <div class="form-group "> - <div class="col-sm-6"> - <label>跳转目的</label>   - <select name="goTo" class="form-control observe input-form" value="[[contentData.data.more_link.action]]" data-field="more_link.action"> - [[layout action_template]] - </select> - </div> - <div class="col-sm-6"> - <label>链接</label>     - <input value="[[contentData.data.more_link.url]]" class="form-control observe input-form" data-field="more_link.url" placeholder="url"/> - <p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p> - </div> - </div> - </div> - <div class="panel-body"> - <div> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <thead> - <tr> - <td align="center"><strong>序号</strong></td> - <td align="center"><strong>标签名称</strong></td> - <td align="center"><strong>导航链接</strong></td> - </tr> - </thead> - <tbody> - [[each contentData.data.nav as item index]] - <tr> - <td align="center"> - [[index+1]] - </td> - <td align="center"> - <div class="form-group"> - <div class="col-sm-10"> - <input value="[[item.name]]" class="form-control observe" required="required" data-field="nav.[[index]].name" placeholder="标签名称"/> - </div> - </div> - - </td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="form-control observe" value="[[item.url.action]]" - data-field="nav.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input value="[[item.url.url]]" class=" form-control observe" required="required" - data-field="nav.[[index]].url.url" placeholder="链接"/> - - <p style="color:#999;margin-top: 5px;">链接中不能有英文单引号</p> - </div> - </div> - </td> - </tr> - [[/each]] - </tbody> - </table> - </div> - <a href="JavaScript:;" data-event="title.nav" class="btn btn-primary btn-xs addBtn">添加一个</a> - </div> -</script> -<!-- 领券频道 --> -<script type="text/template" id="getCoupon-template"> - <div class="panel-body"> - <div> - <ul class="draggable" data-array="data"> - [[each contentData.data as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center"> - [[index+1]] - </td> - <td align="center"> - <div class="form-group"> - <div class="col-sm-10"> - <input type="file" name="file" value="[[item.image.src]]" class="form-control observe" data-field="[[index]].image.src" required placeholder="图片"/> - </div> - </div> - </td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <input value="[[item.couponID]]" id="couponID" class="form-control observe" required="required" data-field="[[index]].couponID" placeholder="领券码"/> - <p style="color:#999;margin-top: 5px;">多个领券码以英文逗号隔开</p> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="form-control observe" value="[[item.image.url.action]]" data-field="[[index]].image.url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input value="[[item.image.url.url]]" class="form-control observe" required="required" data-field="[[index]].image.url.url" placeholder="图片链接" type="text"/> - <p style="color:#999;margin-top: 5px;">链接中不能有英文单引号</p> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - </div> - <a href="JavaScript:;" id="coupon-addOne" data-event="getCoupon.data" class="btn btn-primary btn-xs addBtn">添加一个</a> - </div> -</script> - diff --git a/server/views/resource/__partail/taoyu.html b/server/views/resource/__partail/taoyu.html deleted file mode 100644 index 2fc06b7..0000000 --- a/server/views/resource/__partail/taoyu.html +++ /dev/null @@ -1,1590 +0,0 @@ -<!-- NL2R --> -<script type="text/template" id="NL2R-template"> - <div class="form-group"> - <label>左侧图</label> - </div> - <p><input type="button" id="batchAddImage" class="btn btn-info btn-xs" value="批量添加左侧图" style="margin:10px;"></p> - [[if contentData.data.left.length]] - <ul class="draggable" data-array="data.left"> - [[each contentData.data.left as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="left.[[index]].src" required/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="left.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="left.[[index]].url.url"/> - </div> - </div> - </td> - <td><button class="btn btn-danger btn-sm delBtn" data-event="NL2R.left" type="button" data-index="[[index]]">删除</button></td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - [[/if]] - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="继续添加" style="margin:10px;" data-event="NL2R.left"></p> - <div class="form-group"> - <label>右侧图</label> - </div> - <ul class="draggable" data-array="data.right"> - [[each contentData.data.right as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="right.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="right.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="right.[[index]].url.url"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> -</script> -<!-- 奥莱专用-人气品牌(产品表示暂时不用) --> -<script type="text/template" id="outletsHotBrands-template"> - <div class="form-group"> - <label>标题:</label> - <input type="text" class="form-control input-form observe" value="[[contentData.data.title.title]]" data-field="title.title"> - </div> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="批量选择品牌" style="margin:10px;"><span class="grey">注:此操作会覆盖已有选择</span></p> - -</script> -<!-- 三张图片 --> -<script type="text/template" id="threePicture-template"> - <ul class="draggable" data-array="data"> - [[each contentData.data as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="[[index]].src" required/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="[[index]].url.url"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> -</script> -<!-- 品类推荐 --> -<script type="text/template" id="recommendCategory-template"> - <div class="form-group"> - <label>标题</label> - <input type="text" class="form-control input-form observe" data-field="title" value="[[contentData.data.title]]"> - </div> - <ul class="draggable" data-array="data.categoryList"> - [[each contentData.data.categoryList as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td> - <div class="form-group"> - <label class="col-sm-2">导航名称(PC):</label> - <div class="col-sm-5"> - <input type="text" value="[[item.navigateNamePC]]" class="form-control observe" data-field="categoryList.[[index]].navigateNamePC"> - </div> - <label class="col-sm-2">导航图片(APP)</label> - <input type="file" name="file" value="[[item.navigateImageSrcApp]]" class="observe" data-field="categoryList.[[index]].navigateImageSrcApp"/> - </div> - <div class="form-group"> - <label class="col-sm-2">跳转目的</label> - <div class="col-sm-4"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="categoryList.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - <label class="col-sm-2">跳转地址</label> - <div class="col-sm-4"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="categoryList.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2">落地页图片</label> - <div class="col-sm-10"> - <input type="file" name="file" value="[[item.bannerImage]]" class="observe" data-field="categoryList.[[index]].bannerImage"/> - </div> - </div> - </td> - <td><button class="btn btn-danger btn-sm delBtn" data-event="recommendCategory.categoryList" type="button" data-index="[[index]]">删除</button></td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加品类" style="margin:10px;" data-event="recommendCategory.categoryList"></p> -</script> -<!-- 品类导航 --> -<script type="text/template" id="categoryNavigation-template"> - <ul class="draggable" data-array="data"> - [[each contentData.data as item index]] - <li> - <div class="form-group"> - <label>品类名称:</label> - <input type="text" placeholder="品类名称" value="[[item.categoryName]]" class="observe" data-field="[[index]].categoryName" required> - <select name="goTo" class="observe" value="[[item.url.action]]" data-field="[[index]].url.action"> - [[layout action_template]] - </select> - <input type="text" placeholder="url" value="[[item.url.url]]" data-field="[[index]].url.url" class="observe"/> - <a type="button" class="btn btn-danger btn-xs delBtn" data-event="textNav.data" data-index="[[index]]">删除</a> - </div> - </li> - [[/each]] - </ul> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加品类" style="margin:10px;" data-event="categoryNavigation.data"></p> -</script> -<!-- 折扣专场 --> -<script type="text/template" id="discountActivity-template"> - <div class="form-group"> - <div class="col-sm-6"> - <label>标题:</label>   - <input type="text" class="form-control input-form observe" placeholder="标题" value="[[contentData.data.title.name]]" data-field="title.name"> - </div> - <div class="col-sm-6"> - <label>更多名称:</label> - <input type="text" class="form-control input-form observe" placeholder="更多名称" value="[[contentData.data.title.more_name]]" data-field="title.more_name"> - </div> - </div> - <div class="form-group"> - <div class="col-sm-6"> - <label>跳转目的:</label> - <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action"> - [[layout action_template]] - </select> - </div> - <div class="col-sm-6"> - <label>跳转地址:</label> - <input type="text" class="form-control input-form observe" placeholder="跳转地址" value="[[contentData.data.title.more_url.url]]" data-field="title.more_url.url"> - </div> - </div> - <ul class="draggable" data-array="data.list"> - [[each contentData.data.list as item index]] - <li> - <div class="form-group"> - <label>专题ID:</label> - <input type="text" placeholder="专区ID" value="[[item.id]]" class="observe" data-field="list.[[index]].id" required="required"> - <a type="button" class="btn btn-danger btn-xs delBtn" data-event="discountActivity.list" data-index="[[index]]">删除</a> - </div> - </li> - [[/each]] - </ul> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加一个" style="margin:10px;" data-event="discountActivity.list"></p> -</script> -<!-- 会员专享 --> -<script type="text/template" id="vipFloor-template"> - <div class="form-group"> - <div class="col-sm-6"> - <label>标题:</label>   - <input type="text" class="form-control input-form observe" placeholder="标题" value="[[contentData.data.title.name]]" data-field="title.name"> - </div> - <div class="col-sm-6"> - <label>更多名称:</label> - <input type="text" class="form-control input-form observe" placeholder="更多名称" value="[[contentData.data.title.more_name]]" data-field="title.more_name"> - </div> - </div> - <div class="form-group"> - <div class="col-sm-6"> - <label>跳转目的:</label> - <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action"> - [[layout action_template]] - </select> - </div> - <div class="col-sm-6"> - <label>跳转地址:</label> - <input type="text" class="form-control input-form observe" placeholder="跳转地址" value="[[contentData.data.title.more_url.url]]" data-field="title.more_url.url"> - </div> - </div> - <div class="form-group"> - <div class="col-sm-6"> - <label>商品池ID:</label> - <input type="text" class="form-control input-form observe" placeholder="商品池ID" value="[[contentData.data.title.productPoolId]]" data-field="title.productPoolId"> - </div> - </div> - <ul class="draggable" data-array="data.image"> - [[each contentData.data.image as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="image.[[index]].src" required/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="image.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="image.[[index]].url.url"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> -</script> -<!-- 断码区 --> -<script type="text/template" id="offCodeArea-template"> - <div class="form-group"> - <div class="col-sm-6"> - <label>标题:</label>   - <input type="text" class="form-control input-form observe" placeholder="标题" value="[[contentData.data.title.name]]" data-field="title.name"> - </div> - <div class="col-sm-6"> - <label>更多名称:</label> - <input type="text" class="form-control input-form observe" placeholder="更多名称" value="[[contentData.data.title.more_name]]" data-field="title.more_name"> - </div> - </div> - <div class="form-group"> - <div class="col-sm-6"> - <label>跳转目的:</label> - <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action"> - [[layout action_template]] - </select> - </div> - <div class="col-sm-6"> - <label>跳转地址:</label> - <input type="text" class="form-control input-form observe" placeholder="跳转地址" value="[[contentData.data.title.more_url.url]]" data-field="title.more_url.url"> - </div> - </div> - <ul class="draggable" data-array="data.list"> - [[each contentData.data.list as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src" required/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="list.[[index]].url.url"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> -</script> - -<!-- 标题图片 --> -<script type="text/template" id="titleImage-template"> - <div class="panel-body" id="titleImage-baseFrom"> - <div class="form-group"> - <div class="col-sm-6"> - <label>标题</label>     - <input type="text" class="form-control observe input-form" placeholder="标题" data-field="title" value="[[contentData.data.title]]" required="required"> - </div> - <div class="col-sm-6"> - <label>更多名称</label>   - <input type="text" data-field="more_name" placeholder="更多名称" value="[[contentData.data.more_name]]" class="form-control observe input-form"> - </div> - </div> - <div class="form-group"> - <div class="col-sm-6"> - <label>跳转目的</label>   - <select name="goTo" class="form-control observe input-form" data-field="more_url.action" value="[[contentData.data.more_url.action]]" > - [[layout action_template]] - </select> - </div> - <div class="col-sm-6"> - <label>跳转地址</label>   - <input value="[[contentData.data.more_url.url]]" placeholder="url" data-field="more_url.url" class="form-control observe input-form" /> - <br>      <label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label> - </div> - </div> - <div> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <thead> - <tr> - <td align="center"><strong>序号</strong></td> - <td align="center"><strong>资源位</strong></td> - <td align="center"><strong>选项</strong></td> - </tr> - </thead> - <tbody> - <tr> - <td align="center">1</td> - <td align="center"><input type="file" name="file" placeholder="图片" value="[[contentData.data.image.src]]" data-field="image.src" class="observe" required="required"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="form-control observe" data-field="image.url.action" value="[[contentData.data.image.url.action]]" > - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" value="[[contentData.data.image.url.url]]" placeholder="url" class="form-control observe" data-field="image.url.url" required="required" /> - <label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </div> - </div> -</script> -<!--多标签图片--> -<script type="text/template" id="multiLabelImage-template"> - [[each contentData.data.label as item index]] - <div class="form-group"> - <div class="col-sm-12"> - <label>标签[[index+1]]:</label> - <input type="text" class="observe form-control" placeholder="名称" value="[[item.title]]" data-field="label.[[index]].title" required="required" style="display:inline-block;width: 100px"> - - <label>跳转目的</label> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="label.[[index]].url.action" style="display:inline-block;width: 160px"> - [[layout action_template]] - </select> - <label>跳转地址</label> - <input type="text" class="observe form-control" placeholder="跳转地址" value="[[item.url.url]]" data-field="label.[[index]].url.url" style="display:inline-block;width: 160px" /> - </div> - </div> - [[/each]] - <a href="JavaScript:;" class="btn btn-primary btn-xs addBtn" data-event="multiLabelImage.label">添加标签</a> - <div> - <ul class="draggable" data-array="data.image"> - [[each contentData.data.image as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" data-field="image.[[index]].src" class="observe" required="required"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="form-control observe" data-field="image.[[index]].url.action" value="[[item.url.action]]" > - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" data-field="image.[[index]].url.url" required="required" /> - <label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - </div> - <a href="JavaScript:;" class="btn btn-primary btn-xs addBtn" data-event="multiLabelImage.image">添加图片</a> -</script> -<!--搭配(2T-nF)--> -<script type="text/template" id="matchImage-template"> - <div class="panel-body" id="matchImage-baseFrom"> - <div class="form-group"> - <div class="col-sm-6"> - <label>标题</label>     - <input type="text" placeholder="标题" class="form-control observe input-form" data-field="title.name" value="[[contentData.data.title.name]]" required="required" > - </div> - <div class="col-sm-6"> - <label>更多名称</label>   - <input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" data-field="title.more_name" class="form-control observe input-form" > - </div> - </div> - <div class="form-group"> - <div class="col-sm-6"> - <label>跳转目的</label>   - <select name="goTo" class="form-control observe input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action" > - [[layout action_template]] - </select> - </div> - <div class="col-sm-6"> - <label>跳转地址</label>   - <input value="[[contentData.data.title.more_url.url]]" placeholder="url" class="form-control observe input-form" required="required" data-field="title.more_url.url" /> - <br>      <label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label> - </div> - </div> - <div> - <h4>2T</h4> - <ul class="draggable" data-array="data.top_image"> - [[each contentData.data.top_image as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" data-field="top_image.[[index]].src" class="observe" required="required"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="form-control observe" data-field="top_image.[[index]].url.action" value="[[item.url.action]]" > - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" data-field="top_image.[[index]].url.url" required="required" /> - <p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - <h4>nF</h4> - <ul class="draggable" data-array="data.list"> - [[each contentData.data.list as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" data-field="list.[[index]].src" class="observe" required="required"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="form-control observe" data-field="list.[[index]].url.action" value="[[item.url.action]]" > - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" data-field="list.[[index]].url.url" required="required" /> - <p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - </div> - <a href="JavaScript:;" class="btn btn-primary btn-xs addBtn" data-event="matchImage.list">添加一个</a> - </div> -</script> - -<!--推荐(1T-1L-4R) --> -<script type="text/template" id="recommendContentOne-template"> - <div class="form-group"> - <div class="col-sm-6"> - <label>标题</label>     - <input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title.name]]" required="required" data-field="title.name"> - </div> - <div class="col-sm-6"> - <label>更多名称</label>   - <input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" class="form-control observe input-form" data-field="title.more_name"> - </div> - </div> - <div class="form-group"> - <div class="col-sm-6"> - <label>跳转目的</label>   - <select name="goTo" class="form-control observe input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action"> - [[layout action_template]] - </select> - </div> - <div class="col-sm-6"> - <label>跳转地址</label>   - <input type="text" placeholder="url" value="[[contentData.data.title.more_url.url]]" class="form-control observe input-form" data-field="title.more_url.url"/> - <br>      <label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label> - </div> - </div> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加大图" style="margin:10px;" data-event="recommendContentOne.big_image"></p> - <ul class="draggable" data-array="data.big_image"> - [[each contentData.data.big_image as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="big_image.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="big_image.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="big_image.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="big_image.[[index]].title"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加小图" style="margin:10px;" data-event="recommendContentOne.list"></p> - <ul class="draggable" data-array="data.list"> - [[each contentData.data.list as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="list.[[index]].title"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> -</script> -<!--推荐(1T-6F) --> -<script type="text/template" id="recommendContentTwo-template"> - <div class="form-group"> - <div class="col-sm-6"> - <label>标题</label>     - <input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title.name]]" required="required" data-field="title.name"> - </div> - <div class="col-sm-6"> - <label>更多名称</label>   - <input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" class="form-control observe input-form" data-field="title.more_name"> - </div> - </div> - <div class="form-group"> - <div class="col-sm-6"> - <label>跳转目的</label>   - <select name="goTo" class="form-control observe input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action"> - [[layout action_template]] - </select> - </div> - <div class="col-sm-6"> - <label>跳转地址</label>   - <input type="text" placeholder="url" value="[[contentData.data.title.more_url.url]]" class="form-control observe input-form" data-field="title.more_url.url"/> - <br>      <label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label> - </div> - </div> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加大图" style="margin:10px;" data-event="recommendContentTwo.big_image"></p> - <ul class="draggable" data-array="data.big_image"> - [[each contentData.data.big_image as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="big_image.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="big_image.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="big_image.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="big_image.[[index]].title"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加小图" style="margin:10px;" data-event="recommendContentTwo.list"></p> - <ul class="draggable" data-array="data.list"> - [[each contentData.data.list as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="list.[[index]].title"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> -</script> -<!--推荐(1T-12F) --> -<script type="text/template" id="recommendContentThree-template"> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加大图" style="margin:10px;" data-event="recommendContentThree.big_image"></p> - <ul class="draggable" data-array="data.big_image"> - [[each contentData.data.big_image as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="big_image.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="big_image.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="big_image.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="big_image.[[index]].title"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加小图" style="margin:10px;" data-event="recommendContentThree.list"></p> - <ul class="draggable" data-array="data.list"> - [[each contentData.data.list as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="list.[[index]].title"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> -</script> -<!--推荐(L1-RT1-RF2)--> -<script type="text/template" id="recommendContentFour-template"> - <div class="form-group"> - <div class="col-sm-10"> - <label>左边图片标题</label>  - <input type="text" placeholder="左边图片标题" class="observe form-control input-form" data-field="left.title" value="[[contentData.data.left.title]]" required="required"> - </div> - </div> - <ul class="draggable" data-array="data.left.list"> - [[each contentData.data.left.list as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="left.list.[[index]].src" required/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="left.list.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input value="[[item.url.url]]" class="form-control observe" data-field="left.list.[[index]].url.url" placeholder="url"/> - <p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input value="[[item.alt]]" class="form-control observe" data-field="left.list.[[index]].alt" placeholder="图片描述"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - <div class="form-group"> - <div class="col-sm-10"> - <label>右边图片标题:</label> - <input type="text" class="observe form-control input-form" placeholder="右边图片标题" data-field="right.title" value="[[contentData.data.right.title]]" required="required"> - </div> - </div> - <ul class="draggable" data-array="data.right.list"> - [[each contentData.data.right.list as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="right.list.[[index]].src" required/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="right.list.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input value="[[item.url.url]]" class="form-control observe" data-field="right.list.[[index]].url.url" placeholder="url"/> - <p style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</p> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input value="[[item.alt]]" class="form-control observe" data-field="right.list.[[index]].alt" placeholder="图片描述"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> -</script> -<!--推荐(标题 + 12张图) --> -<script type="text/template" id="recommendContentFive-template"> - <div class="form-group"> - <div class="col-sm-10"> - <label>标题</label>    - <input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title.title]]" required="required" data-field="title.title"> - <label>   - 是否显示<input type="checkbox" name="is_show" value="1" id="recommendContentFive-is_show" [[contentData.data.title.is_show==1?'checked':'']]> - </label> - </div> - </div> - <ul class="draggable" data-array="data.list"> - [[each contentData.data.list as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="list.[[index]].title"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加一张" style="margin:10px;" data-event="recommendContentFive.list"></p> -</script> - -<!--图片广告--> -<script type="text/template" id="imageGroup-template"> - <div class="form-group"> - <div class="col-sm-12"> - <label>标题设置</label> - <input name="title" type="text" class="observe form-control input-form" placeholder="标题" value="[[contentData.data.title]]" data-field="title" required> - <label>更多设置</label> - <input type="text" placeholder="更多" prompt="更多设置" class="observe form-control input-form" style="width:120px;" value="[[contentData.data.more]]" data-field="more"> - </div> - </div> - <div class="form-group"> - <div class="col-sm-6"> - <label>更多链接</label> - <input type="text" placeholder="更多链接" value="[[contentData.data.more_url]]" class="observe form-control input-form" data-field="more_url" /> - </div> - </div> - <div class="form-group"> - <div class="col-sm-12"> - <label>样式设置</label> - <select name="image_style" value="[[contentData.data.image_style]]" data-field="image_style" class="observe form-control input-form"> - <option value="default">默认(一张图片)</option> - <option value="T1F2">T1+F2</option> - <option value="L1R2">L1+R2</option> - <option value="imageList" selected="selected">图片列表</option> - </select> - <label>每行显示数量</label> - <select name="show_num" value="[[contentData.data.show_num]]" data-element="imageGroup" data-field="show_num" class="observe form-control input-form"> - <option value="0" selected="selected">一行显示</option> - <option value="1">一行一个</option> - <option value="2">一行两个</option> - <option value="4">一行四个</option> - <option value="6">一行六个</option> - </select><i color="#999">注:只有图片列表是选择才会有效</i> - </div> - </div> - <ul class="draggable" data-array="data.list"> - [[each contentData.data.list as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" data-field="list.[[index]].src" class="observe"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="list.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input value="[[item.url.url]]" placeholder="url" class="form-control observe" required="required" data-field="list.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="图片描述" value="[[item.title]]" data-field="list.[[index]].title" class="form-control observe" /> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - <a href="JavaScript:;" class="btn btn-primary btn-xs addBtn" data-event="imageGroup.list">添加图片</a> -</script> -<!--自定义参数--> -<script type="text/template" id="paramsGroup-template"> - <div class="form-group"> - <div class="col-sm-6"> - <label>标题设置</label>   - <input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title]]" required="required" data-field="title"> - </div> - <div class="col-sm-6"> - <label>更多设置</label>   - <input type="text" placeholder="更多" value="[[contentData.data.more]]" class="form-control observe input-form" data-field="more"> - </div> - </div> - <div class="form-group"> - <div class="col-sm-12"> - <label>跳转地址</label>   - <input type="text" placeholder="url" value="[[contentData.data.more_url.url]]" class="form-control observe input-form" data-field="more_url.url"/> - <br>      <label style="color:#999;margin-top: 5px;">注:链接中不能有英文单引号</label> - </div> - </div> - <div id="paramsGroup-bottom"> - <ul class="draggable sortable" data-array="data.list" style="margin:10px;width:100%;"> - [[each contentData.data.list as item index]] - <li class="dragItem"> - <table style="width:100%;z-index:-1;"> - <tbody> - <tr> - <td width="100px">标题:<input type="text" placeholder="标题" required style="width: 60px;" class="observe" value="[[item.title]]" data-field="list.[[index]].title"></td> - <td>参数:<input type="text" placeholder="参数" style="width:300px;" class="observe" value="[[item.params]]" data-field="list.[[index]].params"></td> - <td><button class="btn btn-danger btn-sm delBtn" data-event="paramsGroup.list" type="button" data-index="[[index]]">删除</button></td> - </tr> - </tbody> - </table> - <p style="color:#999">如:http://list.yohobuy.com/?gender=1,3&msort=1,3 参数为:gender=1,3&msort=1,3</p> - </li> - [[/each]] - </ul> - <button type="button" class="btn btn-sm addBtn" data-event="paramsGroup.list">添加一个</button> - </div> -</script> -<!--新人专享--> -<script type="text/template" id="newUserFloor-template"> - <div class="form-group"> - <div class="col-sm-6"> - <label>标题</label>     - <input type="text" placeholder="标题" value="[[contentData.data.title.name]]" class="observe form-control input-form" data-field="title.name" required> - </div> - <div class="col-sm-6"> - <label>更多名称</label>   - <input type="text" placeholder="更多名称" value="[[contentData.data.title.more_name]]" style="width:100px;" class="observe form-control input-form" data-field="title.more_name"> - </div> - </div> - <div class="form-group"> - <div class="col-sm-12"> - <label>更多链接</label>   - <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action"> - [[layout action_template]] - </select> - <input type="text" placeholder="更多链接" value="[[contentData.data.title.more_url.url]]" class="observe form-control input-form" data-field="title.more_url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <label>活动ID</label>    - <input type="text" placeholder="活动id" class="observe form-control input-form" value="[[contentData.data.title.active_id]]" data-field="title.active_id"> - </div> - </div> - <p><input type="button" class="btn btn-info btn-xs addBtn" value="添加banner" style="margin:10px;" data-event="newUserFloor.banner_image"></p> - <div id="newUserFloor-bottom"> - <ul class="draggable" data-array="data.banner_image"> - [[each contentData.data.banner_image as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="banner_image.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="form-control observe" value="[[item.url.action]]" data-field="banner_image.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="form-control observe" required="required" data-field="banner_image.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="图片描述" value="[[item.title]]" class="form-control observe" data-field="banner_image.[[index]].title"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - </div> -</script> -<!--有序焦点--> -<script type="text/template" id="debrisSlider-template"> - <div class="panel-body" id="debrisSlider-baseFrom"> - <div class="debris_slider"> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加左图" style="margin:10px;" data-event="debrisSlider.left"></p> - <ul class="draggable" data-array="data.left"> - [[each contentData.data.left as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="left.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="left.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="left.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="left.[[index]].title"/> - </div> - </div> - </td> - <td><button class="btn btn-danger btn-sm delBtn" data-event="debrisSlider.left" type="button" data-index="[[index]]">删除</button></td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加中间图" style="margin:10px;" data-event="debrisSlider.big_image"></p> - <ul class="draggable" data-array="data.big_image"> - [[each contentData.data.big_image as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="big_image.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="big_image.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="big_image.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="big_image.[[index]].title"/> - </div> - </div> - </td> - <td><button class="btn btn-danger btn-sm delBtn" data-event="debrisSlider.big_image" type="button" data-index="[[index]]">删除</button></td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加右图" style="margin:10px;" data-event="debrisSlider.right"></p> - <ul class="draggable" data-array="data.right"> - [[each contentData.data.right as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="right.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="right.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" data-field="right.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="right.[[index]].title"/> - </div> - </div> - </td> - <td><button class="btn btn-danger btn-sm delBtn" data-event="debrisSlider.right" type="button" data-index="[[index]]">删除</button></td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - </div> - </div> -</script> -<!--编辑推荐--> -<script type="text/template" id="editorTalk-template"> - <div class="form-group"> - <div class="col-sm-10"> - <label>标题</label>     - <input type="text" placeholder="标题" class="form-control observe input-form" value="[[contentData.data.title.title]]" required="required" data-field="title.title"> -    - <label>是否显示 - <input type="checkbox" name="editorTalkIs_show" value="1" id="editorTalk-is_show" [[contentData.data.title.is_show==1?'checked':'']]> - <input type="hidden" id="editorTalkIs_show" for="checkbox" value="[[contentData.data.title.is_show]]" /> - </label> - </div> - </div> - <p><input type="button" class="btn btn-info btn-xs addBtn" value="添加标签" style="margin:10px;" data-event="editorTalk.list"></p> - [[if contentData.data.list.length]] - <ul class="draggable" data-array="data.list"> - [[each contentData.data.list as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="标签名称" value="[[item.title]]" class="observe form-control" required="required" data-field="list.[[index]].title"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/> - </div> - </div> - </td> - <td><button class="btn btn-danger btn-sm delBtn" data-event="editorTalk.list" type="button" data-index="[[index]]">删除</button></td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - [[/if]] -</script> -<!--热门品类--> -<script type="text/template" id="hotCategory-template"> - <div class="hotCategory"> - <div class="form-group"> - <div class="col-sm-12"> - <label>标题</label>     - <input type="text" placeholder="标题" class="observe form-control input-form" data-field="title.name" value="[[contentData.data.title.name]]" required> - <label>更多名称</label>   - <input type="text" placeholder="更多名称" class="observe form-control input-form" data-field="title.more_name" value="[[contentData.data.title.more_name]]" style="width:100px;"><br> - </div> - </div> - <div class="form-group"> - <div class="col-sm-12"> - <label>跳转目的</label>   - <select name="goTo" class="observe form-control input-form" value="[[contentData.data.title.more_url.action]]" data-field="title.more_url.action"> - [[layout action_template]] - </select> - <label>跳转url</label>    - <input type="text" value="[[contentData.data.title.more_url.url]]" placeholder="url" class="observe form-control input-form" data-field="title.more_url.url"/> - </div> - </div> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加左上图片" style="margin:10px;" data-event="hotCategory.blocks"></p> - [[if contentData.data.blocks.length]] - <ul class="draggable" data-array="data.blocks"> - [[each contentData.data.blocks as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="blocks.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="blocks.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="blocks.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="blocks.[[index]].title"/> - </div> - </div> - </td> - <td><button class="btn btn-danger btn-sm delBtn" data-event="hotCategory.blocks" type="button" data-index="[[index]]">删除</button></td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - [[/if]] - <div class="form-group"> - <label>添加左下导航:</label> - </div> - [[each contentData.data.list as item index]] - <div class="form-group"> - <div class="col-sm-2"> - <label>导航名称:</label> - </div> - <div class="col-sm-3"> - <input type="text" placeholder="导航名称" class="observe form-control" value="[[item.name]]" data-field="list.[[index]].name"> - </div> - <div class="col-sm-3"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - <div class="col-sm-4"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/> - </div> - </div> - [[/each]] - <p> - <input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加右侧图片" style="margin:10px;" data-event="hotCategory.imgs"> - </p> - <ul class="draggable" data-array="data.imgs"> - [[each contentData.data.imgs as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="imgs.[[index]].src"/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="imgs.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="imgs.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="imgs.[[index]].title"/> - </div> - </div> - </td> - <td><button class="btn btn-danger btn-sm delBtn" data-event="hotCategory.imgs" type="button" data-index="[[index]]">删除</button></td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - </div> -</script> -<!--图片列表--> -<script type="text/template" id="imageList-template"> - <div class="form-group"> - <div class="col-sm-12"> - <label>标题:</label> - <input type="text" placeholder="标题" class="observe form-control input-form" data-field="title.title" value="[[contentData.data.title.title]]" style="width:100px;"> -   - <label>显示名称: </label> - <input type="radio" name="is_show_name" class="is_show_name" value="Y" [[contentData.data.title.is_show_name=="Y"?"checked":""]]> 是 - <input type="radio" name="is_show_name" class="is_show_name" value="N" [[contentData.data.title.is_show_name=="N"?"checked":""]]> 否   - <input type="hidden" id="is_show_name" for="radio" value="[[contentData.data.title.is_show_name]]" /> - <label>每行显示:</label> - <input style="width:60px;" type="text" data-field="title.column_num" class="observe number form-control input-form" value="[[contentData.data.title.column_num]]"> 张图片 - </div> - </div> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="添加图片" style="margin:10px;" data-event="imageList.list"></p> - [[if contentData.data.list.length]] - <ul class="draggable" data-array="data.list"> - [[each contentData.data.list as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src" required/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="list.[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="list.[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="图片描述" value="[[item.title]]" class="observe form-control" data-field="list.[[index]].title"/> - </div> - </div> - </td> - <td><button class="btn btn-danger btn-sm delBtn" data-event="imageList.list" type="button" data-index="[[index]]">删除</button></td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - [[/if]] -</script> -<!--文本导航--> -<script type="text/template" id="textNav-template"> - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" data-limit="10" value="添加一个" style="margin:10px;" data-event="textNav.data"></p> - [[each contentData.data as item index]] - <p> - 导航名称:<input type="text" placeholder="导航名称" value="[[item.name]]" class="observe" data-field="[[index]].name" required="required"> - <select name="goTo" class="observe" value="[[item.url.action]]" data-field="[[index]].url.action"> - [[layout action_template]] - </select> - <input type="text" placeholder="url" value="[[item.url.url]]" data-field="[[index]].url.url" class="observe" required="required"/> - <a type="button" class="btn btn-danger btn-xs delBtn" data-event="textNav.data" data-index="[[index]]">删除</a> - </p> - [[/each]] -</script> -<!--轮播banner--> -<script type="text/template" id="carouselBanner-template"> - <div class="form-group"> - <div class="col-sm-10"> - <input type="button" name="select-pic" value="添加图片" class="btn btn-info btn-xs addBtn" style="margin:10px;" data-event="carouselBanner.list"> - <label>轮播速度:</label> - <input type="text" placeholder="轮播速度" class="observe form-control input-form" data-field="speed" value="[[contentData.data.speed]]">秒 - </div> - </div> - <ul class="draggable" data-array="data.list"> - [[each contentData.data.list as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="list.[[index]].src"/></td> - <td align="center"><button class="btn btn-danger btn-sm delBtn" type="button" data-event="carouselBanner.list" data-index="[[index]]">删除</button></td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> -</script> -<!--添加促销--> -<script type="text/template" id="promotion-template"> - <div class="form-group"> - <div class="col-sm-6"> - <label>添加促销id:</label> - <input type="text" placeholder="促销id" class="observe form-control input-form" value="[[contentData.data.promotionId]]" data-field="promotionId"> - </div> - </div> -</script> -<!--标题广告--> -<script type="text/template" id="singleNameImage-template"> - <div class="form-group"> - <label class="control-label col-sm-2">添加标题:</label> - <div class="col-sm-4"> - <input type="text" placeholder="标题" class=" form-control observe" value="[[contentData.data.title]]" data-field="title"> - </div> - </div> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <thead> - <tr> - <th>序号</th> - <th>资源位</th> - <th>选项</th> - </tr> - </thead> - <tbody> - <tr> - <td align="center">1</td> - <td align="center"><input type="file" name="file" value="[[contentData.data.src]]" class="observe" data-field="src" required/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[contentData.data.url.action]]" data-field="url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[contentData.data.url.url]]" class="observe form-control" required="required" data-field="url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="图片描述" value="[[contentData.data.alt]]" class="observe form-control" data-field="alt"/> - </div> - </div> - </td> - </tr> - </tbody> - </table> -</script> -<!--焦点图--> -<script type="text/template" id="focus-template"> - <input type="button" class="btn btn-info btn-xs addBtn" data-event="focus.data" value="添加图片" style="margin:10px;"><br> - <div class="form-group"> - <div class="col-sm-10"> - <label>焦点图类型:</label> - <select class="form-control input-form" id="focus-select" value="[[contentData.focus_type]]"> - <option value="1">通栏</option> - <option value="2">左右滑动</option> - <option value="3">手风琴</option> - </select> - </div> - </div> - <ul class="draggable" data-array="data"> - [[each contentData.data as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"><input type="file" name="file" value="[[item.src]]" class="observe" data-field="[[index]].src" required/></td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select name="goTo" class="observe form-control" value="[[item.url.action]]" data-field="[[index]].url.action"> - [[layout action_template]] - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="url" value="[[item.url.url]]" class="observe form-control" required="required" data-field="[[index]].url.url"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="图片描述" value="[[item.alt]]" class="observe form-control" data-field="[[index]].alt"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input type="text" placeholder="通栏背景色" value="[[item.bgColor]]" class="observe form-control" data-field="[[index]].bgColor"/> - </div> - </div> - </td> - <td><button class="btn btn-danger btn-sm delBtn" data-event="focus.data" type="button" data-index="[[index]]">删除</button></td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> -</script> -<script type="text/template" id="noEdit-template"> - <div>固定内容,暂时无法编辑!</div> -</script> - -<script type="text/template" id="template-batchAddImage"> - <div class="rows" id="moduleimgs"> - <div class="form-group"> - [[each datas as item index]] - <div class="col-sm-2"> - <img src="[[ item ]]" width="100%" height="100%"> - </div> - [[/each]] - <div class="col-sm-2"> - <input type="file" multiple="true" name="file" id="filemodelimgs"/> - </div> - </div> - </div> -</script> \ No newline at end of file diff --git a/server/views/resource/__partail/taoyu2.html b/server/views/resource/__partail/taoyu2.html deleted file mode 100644 index 90ede0a..0000000 --- a/server/views/resource/__partail/taoyu2.html +++ /dev/null @@ -1,434 +0,0 @@ -[[else if module.contentData.template_name=='focus']] -<div class="focus"> - <div class="focus-pic-list"> - <img src="[[module.contentData.data[0].src]]"> - </div> -</div> -[[else if module.contentData.template_name=='appIconList']] -<div class="custom-pic"> - <ul class="custom-pic clearfix image-list-box resource-row li[[module.contentData.number]]"> - [[each module.contentData.data as item index]] - <li><img src="[[item.src]]" class="custom-pic-img" style="margin:2px;"></li> - [[/each]] - </ul> -[[else if module.contentData.template_name=='recommendContentOne']] -<div class="recommend_content_one"> - <div class="recommend-info"> - <p class="title">[[module.contentData.data.title.name]]<a class="more" href="#">[[module.contentData.data.title.more_name]]</a> - </p> - - <p class="big-pic"><img src="[[module.contentData.data.big_image[0].src]]"></p> - <ul class="small-pic"> - [[each module.contentData.data.list as item index]] - <li class="li_[[index]]"><img src="[[item.src]]"></li> - [[/each]] - </ul> - </div> -</div> -[[else if module.contentData.template_name=='recommendContentTwo']] -<div class="recommend_content_two"> - <div class="recommend-info"> - <p class="title">[[module.contentData.data.title.name]]<a class="more" href="#">[[module.contentData.data.title.more_name]]</a> - </p> - - <p class="big-pic"><img src="[[module.contentData.data.big_image[0].src]]"></p> - <ul class="small-pic"> - [[each module.contentData.data.list as item index]] - <li class="li_[[index]]"><img src="[[item.src]]"></li> - [[/each]] - </ul> - </div> -</div> -[[else if module.contentData.template_name=='singleNameImage']] -<div class="single_name_image"> - <div class="single-info"> - <span class="title" - style="min-height:50px; display:block; border-radius:5px; border:1px solid #ccc; margin-top:10px;">[[module.contentData.data.title]]</span> - <img src="[[module.contentData.data.src]]" style="width:100%"> - </div> -</div> -[[else if module.contentData.template_name=='recommendContentThree']] -<div class="recommend_content_three"> - <div class="recommend-info"> - <p class="big-pic"><img src="[[module.contentData.data.big_image[0].src]]"></p> - <ul class="small-pic"> - [[each module.contentData.data.list as item index]] - <li class="li_[[index]]"><img src="[[item.src]]"></li> - [[/each]] - </ul> - </div> -</div> -[[else if module.contentData.template_name=='recommendContentThree']] -<div class="recommend_content_three"> - <div class="recommend-info"> - <p class="big-pic"><img src="[[module.contentData.data.big_image[0].src]]"></p> - <ul class="small-pic"> - [[each module.contentData.data.list as item index]] - <li class="li_[[index]]"><img src="[[item.src]]"></li> - [[/each]] - </ul> - </div> -</div> -[[else if module.contentData.template_name=='trendsetterCollocation']] -<div class="big-pic"> - <div class="wordText"> - <span>潮人搭配</span> - </div> -</div> -[[else if module.contentData.template_name=='trendgoodsTopic']] -<div class="big-pic"> - <div class="wordText"> - <span>潮品话题</span> - </div> -</div> -[[else if module.contentData.template_name=='appHotBrands']] -<div class="form-group"> - <div class="row title"> - [[module.contentData.data.title.title]] - </div> - <div class="col-sm-12"> - <ul class="custom-pic clearfix"> - [[each module.contentData.data.list as item index]] - <li> - <img src="[[item.src]]" class="custom-pic-img" style="margin:2px;"> - </li> - [[/each]] - [[if module.contentData.data.image.src!='']] - <li> - <img src="[[module.contentData.data.image.src]]" class="custom-pic-img" style="margin:2px;"> - </li> - [[/if]] - </ul> - </div> -</div> -[[else if module.contentData.template_name=='customBrands']] -<div class="custom-pic"> - <div class="custom-brand-title row title">[[module.contentData.data.title.title]]</div> - <ul class="custom-pic clearfix"> - [[each module.contentData.data.list as item index]] - <li><img src="[[item.src]]" class="custom-pic-img" style="margin:2px;"></li> - [[/each]] - </ul> -</div> -[[else if module.contentData.template_name=='promotion']] -<div class="link"> - <div class="wordText"> - <span>促销专区</span> - </div> - -</div> -[[else if module.contentData.template_name=='carouselBanner']] -<div class="focus"> - <div class="focus-pic-list"><img src="[[module.contentData.data.list[0].src]]"></div> -</div> -[[else if module.contentData.template_name=='kidsBrands']] -<div class="hot-brand-list"> - <div class="hot-brand-title row title">kids推荐品牌</div> - <ul class="hot-brand-list"> - [[each module.contentData.data.list as item index]] - <li data-toggle="brands"><img src="[[item.src]]"></li> - [[/each]] - </ul> -</div> -[[else if module.contentData.template_name=='recommendContentFour']] -<div class="recommend_content_four"> - <div class="recommend-info"> - <div class="left" style="width:50%;float:left"> - <img src="[[module.contentData.data.left.list[0].src]]" width="100%" height="200"> - - <p class="left_title">[[module.contentData.data.left.title]]</p> - </div> - <div class="right" style="width:50%;float:left"> - <ul class="right-pic"> - [[each module.contentData.data.right.list as item index]] - <li class="li_[[index]]"><img src="[[item.src]]"></li> - [[/each]] - </ul> - <p class="right_title">[[module.contentData.data.right.title]]</p> - </div> - </div> -</div> -[[else if module.contentData.template_name=='addfloor']] -<div class="app_icon_list"> - <ul class="icon-list clearfix"> - [[each module.contentData.data as item index]] - <li style="width:75px; float:left;margin-left:5px;"><img src="[[item.src]]"></li> - [[/each]] - </ul> -</div> -[[else if module.contentData.template_name=='recommendContentFive']] -<div class="recommend_content_five"> - <div class="recommend-info"> - <span class="title" - style="min-height:50px; display:block; border-radius:5px; border:1px solid #ccc; margin-top:10px;">[[module.contentData.data.title.title]]</span> - <ul class="small-pic"> - [[each module.contentData.data.list as item index]] - <li class="li_[[index]]"><img src="[[item.src]]"></li> - [[/each]] - </ul> - </div> -</div> -[[else if module.contentData.template_name=='textNav']] -<div class="textNav"> - <div class="wordText"> - <span>文本导航</span> - </div> -</div> -[[else if module.contentData.template_name=='imageList']] -<div class="custom-pic"> - <div class="hot-brand-title" style="margin:0px auto; text-align:center;">[[module.contentData.data.title.title]] - </div> - <ul class="custom-pic clearfix image-list-box resource-row li[[module.contentData.data.title.column_num]]"> - [[each module.contentData.data.list as item index]] - <li><img src="[[item.src]]"></li> - [[/each]] - </ul> -</div> -[[else if module.contentData.template_name=='title']] -<div class="custom-pic"> - <div class="wordText"> - <span>标题标签</span> - </div> -</div> -[[else if module.contentData.template_name=='editorTalk']] -<div class="editorTalk_content"> - <div class="editor-info"> - <span class="title" - style="min-height:50px; display:block; border-radius:5px; border:1px solid #ccc; margin-top:10px;">[[module.contentData.data.title.title]]</span> - <ul class="nav nav-tabs"> - [[each module.contentData.data.list as item index]] - <li class="li_[[index]]"> - <a href="javascript:void(0);" data-toggle="tab"></a> - </li> - [[/each]] - </ul> - <div class="tab-content"> - [[each module.contentData.data.list as item index]] - <div class="tab-pane fade tab_[[index]]"> - <img src="[[item.src]]" style="width:23%"> - </div> - [[/each]] - </div> - </div> -</div> -[[else if module.contentData.template_name=='hotCategory']] -<div class="hotCategory-info"> - <div style="width:100%;height:100%;background-color: #fff;padding-top:3px" ;=""> - <div style="margin:0 auto;border:1px solid #000;width:40%;font-size:1px;text-align:center;margin-bottom:10px;">[[module.contentData.data.title.name]]</div> - <div style="margin-right:10px;float:right;width:40px;margin-top:-27px;font-size:1px;">[[module.contentData.data.title.more_name]]</div> - <div style="clear:both;"></div> - <div style="width:150px;float:right;"> - [[each module.contentData.data.imgs as item index]] - [[if (index != 0 && module.contentData.data.imgs.length == 7) || (index % 4 != 0 && module.contentData.data.imgs.length == 8)]] - <img style="width:45px;height:90px;margin-left:5px;margin-bottom:10px;float:left;" src="[[item.src]]"> - [[/if]] - [[/each]] - <div style="clear:both"></div> - </div> - <div style="width:5px;height:100%;float:right;"> - - </div> - <div style="width:100px;height:100%;float:right;"> - [[each module.contentData.data.imgs as item index]] - [[if (index == 0 && module.contentData.data.imgs.length == 7) || (index % 4 == 0 && module.contentData.data.imgs.length == 8)]] - <img style="width:100px;height:100%;" src="[[module.contentData.data.imgs[index].src]]"> - [[/if]] - [[/each]] - </div> - <div style="width:5px;height:100%;float:right;"> - - </div> - <div style="width:70px;float:left;"> - <div style="height:70px;width:100%"> - [[each module.contentData.data.blocks as item index]] - <img style="height:22px;width:100%;margin-bottom:2px;" src="[[item.src]]"> - [[/each]] - </div> - <div style="height:70px;width:100%"> - [[each module.contentData.data.list as item index]] - <div style="height:22px;width:50%;margin-bottom:2px;font-size:1px;float:left">[[item.name.length>2?item.name.substring(0,2):item.name]]</div> - [[/each]] - <div style="clear:both"></div> - </div> - </div> - <div style="clear:both"></div> - </div> -</div> -[[else if module.contentData.template_name=='debrisSlider']] -<div class="debris_slider"> - <div class="debris-info"> - <ul style="float:left;width:80px;"> - [[each module.contentData.data.left as item index]] - <li><img width="80px" height="76px" src="[[item.src]]"></li> - [[/each]] - </ul> - <div style="float:left;width:160px;"> - <img width="160px" height="180px" src="[[module.contentData.data.big_image[0].src]]"> - </div> - <ul style="float:left;width:80px;"> - [[each module.contentData.data.right as item index]] - <li><img width="80px" height="76px" src="[[item.src]]"></li> - [[/each]] - </ul> - </div> -</div> -[[else if module.contentData.template_name=='newUserFloor']] -<div class="new_user_floor"> - <div class="user_floor"> - <p class="title">[[module.contentData.data.title.name]]<a class="more" href="#">[[module.contentData.data.title.more_name]]</a> - </p> - - <p class="banner-pic"><img src="[[module.contentData.data.banner_image[0].src]]" width="96%"></p> - </div> -</div> -[[else if module.contentData.template_name=='imageGroup']] -<div class="custom-pic"> - <ul class="custom-pic clearfix image-list-box resource-row li[[module.contentData.data.show_num]]"> - [[each module.contentData.data.list as item index]] - <li><img src="[[item.src]]" class="custom-pic-img" style="margin:2px;"></li> - [[/each]] - </ul> -</div> -[[else if module.contentData.template_name=='paramsGroup']] -<div class="custom-group-list"> - <div class="wordText"> - <span>自定义参数</span> - </div> -</div> -[[else if module.contentData.template_name=='自定义参数图片']] -<div class="custom-group-list"> -</div> -[[else if module.contentData.template_name=='announcement']] -<div class="custom-group-list"> - <div class="wordText"> - <span>站内公告</span> - </div> -</div> -[[else if module.contentData.template_name=='titleImage']] -<div class="editorTalk_content"> - <div class="editor-info"> - <span class="title" - style="min-height:50px; display:block; border-radius:5px; border:1px solid #ccc; margin-top:10px;">[[module.contentData.data.title]]</span> - <img src="[[module.contentData.data.image.src]]" style="width:99%"> - </div> -</div> -[[else if module.contentData.template_name=='multiLabelImage']] -<div class="editorTalk_content"> - <div class="editor-info"> - [[each module.contentData.data.label as item index]] - <span class="title">[[item.title]]</span> - [[/each]] - <img src="[[module.contentData.data.image[0].src]]" style="width:99%"> - </div> -</div> -[[else if module.contentData.template_name=='matchImage']] -<div class="match_image"> - <div class='row title'>[[module.contentData.data.title.name]]</div> - <div class='row'> - [[each module.contentData.data.top_image as item index]] - <div class='col-sm-6 matchImage'><img src="[[item.src]]"></div> - [[/each]] - </div> - <div class='row'> - [[each module.contentData.data.list as item index]] - <div class='col-sm-4 matchImage'><img src="[[item.src]]"></div> - [[/each]] - </div> -</div> -[[else if module.contentData.template_name=='getCoupon']] -<div class="getCoupon"> - <div class='row title'>[[module.contentData.template_intro]]</div> - <div class='row'> - [[each module.contentData.data as item index]] - <div class='col-sm-6 matchImage'><img src="[[item.image.src]]"></div> - [[/each]] - </div> -</div> -[[else if module.contentData.template_name=='NL2R']] -<div class="NL2R"> - <div class="row"> - <div class="col-sm-8 matchImage" style="margin-bottom: 0;padding: 0"> - <img src="[[module.contentData.data.left.length ? module.contentData.data.left[0].src : '']]"> - <p class="clearfix" style="position: absolute;bottom: -10px;right: 10px;"> - [[each module.contentData.data.left as item index]] - <a style="box-sizing: border-box;display: block;width: 5px;height: 5px;background: #f00;border-radius: 5px;float: left;margin: 3px;"></a> - [[/each]] - </p> - </div> - <div class="col-sm-4 matchImage" style="margin-bottom: 0;padding: 0"> - [[each module.contentData.data.right as item index]] - <img style="height: 50%;width: 100%" src="[[item.src]]"> - [[/each]] - </div> - </div> -</div> -[[else if module.contentData.template_name=='outletsHotBrands']] -<div class="outletsHotBrands"> -</div> -[[else if module.contentData.template_name=='threePicture']] -<div class="threePicture"> - <div class="row"> - <ul class="custom-pic clearfix image-list-box resource-row li3"> - [[each module.contentData.data as item index]] - <li><img src="[[item.src]]"></li> - [[/each]] - </ul> - </div> -</div> -[[else if module.contentData.template_name=='recommendCategory']] -<div class="custom-pic"> - <p class="title">[[module.contentData.data.title]]</p> - <div style="width:100%"> - [[each module.contentData.data.categoryList as item index]] - <div style="height:22px;width:33%;margin-bottom:2px;font-size:1px;float:left;text-align: center">[[item.navigateNamePC]]</div> - [[/each]] - <div style="clear:both"></div> - </div> -</div> -[[else if module.contentData.template_name=='categoryNavigation']] -<div class="categoryNavigation"> - [[each module.contentData.data as item index]] - <label style="background-color: white;padding: 5px">[[item.categoryName]]</label> - [[/each]] -</div> -[[else if module.contentData.template_name=='discountActivity']] -<div class="discountActivity"> - <div class="recommend-info"> - [[if module.contentData.data.title.name]] - <p class="title">[[module.contentData.data.title.name]]<a class="more" href="#">[[module.contentData.data.title.more_name]]</a></p> - [[/if]] - [[each module.activities as item index]] - <div class="col-sm-12 matchImage" style="margin-bottom: 15px"> - <img src="[[item.coverUrl]]"> - <p>[[item.promotionName]]</p> - </div> - [[/each]] - </div> -</div> -[[else if module.contentData.template_name=='vipFloor']] -<div class="vipFloor"> - <div class="recommend-info"> - [[if module.contentData.data.title.name]] - <p class="title">[[module.contentData.data.title.name]](商品池:[[module.contentData.data.title.productPoolId]])<a class="more" href="#">[[module.contentData.data.title.more_name]]</a></p> - [[/if]] - - <p class="big-pic"><img src="[[module.contentData.data.image[0].src]]"></p> - </div> -</div> -[[else if module.contentData.template_name=='offCodeArea']] -<div class="offCodeArea"> - <div class="recommend-info"> - [[if module.contentData.data.title.name]] - <p class="title">[[module.contentData.data.title.name]]<a class="more" href="#">[[module.contentData.data.title.more_name]]</a></p> - [[/if]] - - <p class="big-pic"><img src="[[module.contentData.data.list[0].src]]"></p> - <div class="col-sm-6 matchImage" style="padding-left: 3px"> - <img src="[[module.contentData.data.list[1].src]]"> - </div> - <div class="col-sm-6 matchImage"> - <img style="height: 50%;width: 100%" src="[[module.contentData.data.list[2].src]]"> - <img style="height: 50%;width: 100%" src="[[module.contentData.data.list[3].src]]"> - </div> - </div> -</div> \ No newline at end of file diff --git a/server/views/resource/__partail/weiqingting.html b/server/views/resource/__partail/weiqingting.html deleted file mode 100644 index 675128a..0000000 --- a/server/views/resource/__partail/weiqingting.html +++ /dev/null @@ -1,295 +0,0 @@ -<script type="text/template" id="template_content"> -<!-- 文本内容 --> -[[each modules as module index]] - <li class="form-group custom-group dragItem" data-index="[[index]]" style="width: 100%"> - [[if module.contentData.template_name=='text']] - <div class="col-sm-12"><h3>[[module.contentData.data.text]]</h3></div> - [[else if module.contentData.template_name=='singleImage']] - <div class="col-sm-12"> - <img src="[[module.contentData.data[0].src]]" title="[[module.contentData.data[0].title]]"> - </div> - [[else if module.contentData.template_name=='smallPic']] - [[each module.contentData.data as item i]] - <div class="col-sm-6"> - <img src="[[item.src]]" title="[[item.title]]"> - </div> - [[/each]] - [[else if module.contentData.template_name=='goods']] - [[each module.contentData.data as item i]] - <div class="col-sm-6"> - <img src="[[item.src]]" title="[[item.title]]"> - </div> - [[/each]] - [[else if module.contentData.template_name=='link']] - <div class="col-sm-12"> - <div class="wordText"> - <span>一个链接</span> - </div> - </div> - [[else if module.contentData.template_name=='goodsGroup']] - <div class="form-group"> - [[each module.contentData.data as items i]] - <div class="col-sm-3"> - <img src="[[items.cover.cover]]" > - </div> - [[/each]] - </div> - - [[each module.contentData.data[0].list as item index]] - <div class="col-sm-6"> - <img src="[[item.src]]" title="[[item.id]]"> - </div> - [[/each]] - - </div> - <%include 'taoyu2'%> - [[/if]] - <div class="actions-box"> - <div class="actions-wrap"> - <span class="edit" data-index="[[index]]">编辑</span> - <span class="del" data-index="[[index]]">删除</span> - </div> - </div> - </li> -[[/each]] - -</script> - -<!-- 文本弹层 --> -<script type="text/template" id="template_dialog_text"> - <div class="rows"> - <textarea rows="2" class="form-control observe" placeholder="文章摘要" data-field="text" style="resize: none">[[contentData.data.text]]</textarea> - </div> -</script> - -<!-- 一张图片/两张小图 --> -<script type="text/template" id="template_dialog_grid"> - <div class="rows"> - <div id="grid-baseFrom"> - <ul class="draggable" data-array="data"> - [[each contentData.data as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"> - <input type="file" name="file" id="src-[[index]]" value="[[item.src]]" - data-field="[[index]].src" data-index="[[index]]" required/> - </td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select class="form-control observe" data-field="[[index]].url.action" - value='[[item.url?item.url.action:""]]'> - [[layout action_template]] - </select> - </div> - </div> - - <div class="form-group"> - <div class="col-sm-10"> - <input class="form-control observe" placeholder="跳转地址" data-field="[[index]].url.url" - value="[[item.url?item.url.url:'']]"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input class="form-control observe" value="[[item.alt?item.alt:'']]" placeholder="图片描述" - data-field='[[index]].alt'/> - </div> - </div> - </td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - </div> - </div> -</script> -<!--多张小图--> -<script type="text/template" id="smallPic-template"> - [[if contentData.data.length]] - <ul class="draggable" data-array="data"> - [[each contentData.data as item index]] - <li> - <table class="table table-hover table-bordered responsive dataTable no-footer"> - <tbody> - <tr> - <td align="center">[[index+1]]</td> - <td align="center"> - <input type="file" name="file" id="src-[[index]]" value="[[item.src]]" - data-field="[[index]].src" data-index="[[index]]" required/> - </td> - <td> - <div class="form-group"> - <div class="col-sm-10"> - <select class="form-control observe" data-field="[[index]].url.action" - value='[[item.url?item.url.action:""]]'> - [[layout action_template]] - </select> - </div> - </div> - - <div class="form-group"> - <div class="col-sm-10"> - <input class="form-control observe" placeholder="跳转地址" data-field="[[index]].url.url" - value="[[item.url?item.url.url:'']]"/> - </div> - </div> - <div class="form-group"> - <div class="col-sm-10"> - <input class="form-control observe" value="[[item.alt?item.alt:'']]" placeholder="图片描述" - data-field='[[index]].alt'/> - </div> - </div> - </td> - <td><button class="btn btn-danger btn-sm delBtn" data-event="smallPic.data" type="button" data-index="[[index]]">删除</button></td> - </tr> - </tbody> - </table> - </li> - [[/each]] - </ul> - [[/if]] - <p><input type="button" name="select-pic" class="btn btn-info btn-xs addBtn" value="继续添加" style="margin:10px;" data-event="smallPic.data"></p> - </ul> -</script> -<!-- 选择商品 --> -<script type="text/template" id="template_dialog_goods"> - <div class="rows"> - <div class="form-group"> - <div class="col-sm-12"> - <ul class="cover-image-list col-sm-10 imagegroup" id="goodspic"> - [[each contentData.data as item index]] - <li class="cover-image-item image-list" data-index="2"> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);"> - <img src="[[item.src]]"> - </a> - <i class="remove-item-btn removepic glyphicon glyphicon-remove-circle" - data-index="[[index]]"></i> - </div> - </li> - [[/each]] - </ul> - </div> - - </div> - <div class="form-group"> - <div class="col-sm-1"> - <button class="btn btn-info" type="button" id="goodsSelectBtn">选择标签</button> - </div> - </div> - </div> -</script> - -<script type="text/template" id="template_dialog_goodsimgs"> - [[each datas as data index]] - <li class="cover-image-item image-list" data-index="2"> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);"> - <img src="[[data.src]]"> - </a> - <i class="remove-item-btn removepic glyphicon glyphicon-remove-circle" data-index="[[index]]"></i> - </div> - </li> - [[/each]] -</script> - -<!--添加商品/商品组--选择标签界面模板--> -<script type="text/template" id="template_dialog_goodsgird"> - <div class="rows"> - <div class="form-group"> - <div class="panel-col2"> - <input class="form-control" id="skns" placeholder="输入SKN(多个skn以逗号分隔)或产品名称" /> - </div> - <div class="panel-col"> - <input type="number" id="beginPrice" name="begin_price" class="form-control" - placeholder="起始价" value="" > - </div> - <div class="panel-col"> - <input type="number" id="endPrice" name="end_price" class="form-control" - placeholder="结束价" value="" > - </div> - <div class="col-sm-1"> - <input type="button" id="search" class="btn btn-primary mr5" value="搜索" /> - </div> - </div> - <div class="form-group"> - <div class="gird" id="goodsgird"> - <div class="row"> - <div class="form-group"> - <div class="col-sm-12"> - <i class="col-sm-1 fa fa-star" style="text-align: right"></i> - <p class="col-sm-10">请在搜索框内输入SKN(多个skn以逗号分隔)或产品名称,然后点击搜索按钮</p> - </div> - </div> - </div> - </div> - </div> - </div> -</script> - -<!-- 推荐商品 --> -<script type="text/tempalte" id="template_dialog_remgoods"> - <div class="rows" id="groupsgoods"> - [[layout template_dialog_remgoodsgroup]] - </div> - <div class="rows"> - <div class="form-group"> - <div class="col-sm-1"> - <button class="btn btn-info" type="button" id="goodsaddBtn">添加组</button> - </div> - </div> - </div> -</script> - -<script type="text/template" id="template_dialog_remgoodsgroup"> - [[each contentData.data as items i]] - <div class="form-group"> - <div class="col-sm-10"> - <ul class="cover-image-list col-sm-10 imagegroup" data-i="[[i]]"> - [[each items.list as item index]] - <li class="cover-image-item image-list" data-index="2"> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);"> - <img src="[[item.src]]"> - </a> - <i class="remove-item-btn removepic glyphicon glyphicon-remove-circle" - data-index="[[index]]"></i> - </div> - </li> - [[/each]] - </ul> - </div> - <div class="col-sm-2"> - <button class="btn btn-info goodsSelectBtn" type="button" data-index="[[i]]">选择标签</button> - </div> - </div> - [[/each]] -</script> -<!-- 一个连接 --> -<script type="text/template" id="template_dialog_link"> - <div class="rows"> - <div class="form-group"> - <label class="col-sm-2 control-label">选择跳转目的地:</label> - <div class="col-sm-8"> - <select class="form-control observe" data-field="0.url.action" value='[[contentData.data[0].url.action]]'> - [[layout action_template]] - </select> - - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">跳转地址:</label> - <div class="col-sm-8"> - <textarea rows="2" class="form-control observe" placeholder="跳转地址" data-field="0.url.url" style="resize: none;">[[contentData.data[0].url.url]]</textarea> - </div> - - </div> - </div> -</script> \ No newline at end of file diff --git a/server/views/resource/platformManage/Index.html b/server/views/resource/platformManage/Index.html deleted file mode 100644 index 1086967..0000000 --- a/server/views/resource/platformManage/Index.html +++ /dev/null @@ -1,48 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel-heading"> - <a class="btn btn-success " id="add-platform"><i class="fa fa-plus"></i> 添加平台</a> - </div> - - <div class="panel panel-default" style="margin-bottom: 10px"> - <div id="content-list"></div> - </div> -</div> - -<script type="text/template" id="platform-template"> - <div class="panel-body" id="base-form"> - <div class="form-group"> - <label class="col-sm-3 control-label">平台名称 <span class="asterisk">*</span></label> - <div class="col-sm-9"> - <input type="hidden" value="[[platformId]]", id="platformId" /> - <input type="text" name="platform_name" class="form-control" value="[[platformName]]" id="platformName" placeholder="请填写平台名称" required="required"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-3 control-label">平台标志</label> - <div class="col-sm-9"> - <input type="text" name="platform_flag" value="[[platformFlag]]" id="platformFlag" class="form-control"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-3 control-label">状态 <span class="asterisk">*</span></label> - <div class="col-sm-9"> - <div class="rdio rdio-primary"> - <input type="radio" id="male" value="1" name="status"> - <label for="male">开启</label> - </div><!-- rdio --> - <div class="rdio rdio-primary"> - <input type="radio" value="0" id="female" name="status"> - <label for="female">关闭</label> - </div><!-- rdio --> - <label id="genderError" class="error"></label> - </div> - <input type="hidden" value="[[status]]" id="status" for="radio" /> - </div><!-- form-group --> - - </div> -</script> \ No newline at end of file diff --git a/server/views/resource/resourceManage/ContentManage.html b/server/views/resource/resourceManage/ContentManage.html deleted file mode 100644 index b2e1898..0000000 --- a/server/views/resource/resourceManage/ContentManage.html +++ /dev/null @@ -1,67 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="allContents"> - <div id="times-list"> - - </div> - - <div class="clearfix"></div> - <div class="col-sm-10 col-sm-offset-2"> - <a href="javascript:;" id="copyTab" class="btn btn-info btn-sm">复制</a> - <a href="javascript:;" id="delTab" class="btn btn-danger btn-sm">删除</a> - <a href="javascript:;" id="saveTime" class="btn btn-info btn-sm">保存时间</a> - </div> - <div class="clearfix"></div> - - <div class="contentpanel" id="content-list"> - - </div> -</div> - -<script type="text/template" id="times-template"> - <div class="dataTab_wrapper" id="resourcePre"> - <ul class="nav" style="padding: 0; margin: 0"> - <input type="hidden" class="form-control"id="dateFromInfinity"value="1970-01-01 08:00:00"> - [[each times as item index]] - <li class="[[index==selected?'active':'']] timesLi" data-index="[[index]]"> - <input type="text" [[(item.time=="" || item.status == "进行中") ? "disabled" : (index==selected?"":"disabled")]] class="form-control preTimes" data-index="[[index]]" jsaction="time" id="dateFrom[[index]]" prompt="时间" value="[[item.time]]" readonly required> - <span style="display: block; line-height: 20px">[[item.status||"默认"]]</span> - </li> - [[/each]] - <input type="hidden" class="form-control"id="dateFromInfinity1"value="2970-01-01 08:00:00"> - </ul> - </div> -</script> - -<!--内容模板--> -<script type="text/template" id="content-template"> - <div id="base-form"> - <div class="source-content" id="source-m"> - <!-- left --> - <div class="content-left" id="contentLeft"> - <h4 class="title" data-type="title" style="text-align: center">[[resource.name]]</h4> - <ul class="add-box showContain ui-sortable" id="add-content"> - </ul> - <nav> - <em><i></i></em> - <ul class="contents clearfix"> - - </ul> - <input type="button" id="sub_btn" name="sub_btn" value="保存" style="float: right; margin:10px;"> - </nav> - </div> - </div> - </div> -</script> -<!-- 按钮 --> -<script type="text/template" id="template_content_btns"> - [[each btns as btn index]] - <li><a href="javascript:void(0)" name="text" class="add_btn" data-index="[[index]]">[[btn.button_name]]</a></li> - [[/each]] -</script> - -<%include '../__partail/actions'%> -<%include '../__partail/taoyu'%> -<%include '../__partail/weiqingting'%> -<%include '../__partail/jiangming'%> diff --git a/server/views/resource/resourceManage/Index.html b/server/views/resource/resourceManage/Index.html deleted file mode 100644 index 64133df..0000000 --- a/server/views/resource/resourceManage/Index.html +++ /dev/null @@ -1,100 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-heading"> - <a class="btn btn-success " id="add-resource"><i class="fa fa-plus"></i> 添加资源位</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input type="text" id="inputResourceId" placeholder="请输入ID" class="form-control" /> - </div> - <div class="panel-col"> - <input type="text" id="inputResourceName" placeholder="请输入资源名" class="form-control" /> - </div> - <div class="panel-col" id="category-content"> - - </div> - <div class="panel-col" id="platform-content"> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="filter-all" href="/resource/index/index" class="btn btn-info">全部</a> - </div> - </div> -</div> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom: 10px"> - <input type="hidden" id="url" value="/runManage/subjectManage/subjectList"/> - <div id="content-list"></div> - </div> -</div> - -<script type="text/template" id="search-category"> - <select id="choose-category" title="" class="select2-offscreen brandBtn-group"> - <option value="">选择分类</option> - [[each data as item index]] - <option value="[[item.sortId]]">[[item.sortName]]</option> - [[/each]] - </select> -</script> - -<script type="text/template" id="search-platform"> - <select id="choose-platform" title="" class="select2-offscreen brandBtn-group"> - <option value="">选择平台</option> - [[each data as item index]] - <option value="[[item.platformId]]">[[item.platformName]]</option> - [[/each]] - </select> -</script> - -<script type="text/template" id="edit-template"> - <div class="modal-body" id="base-form"> - <div class="form-group"> - <label class="col-sm-2 control-label">名称</label> - <div class="col-sm-8"> - <input type="text" id="name" name="name" value="[[name]]" class="form-control" required> - </div> - </div><!-- form-group --> - <div class="form-group"> - <label class="col-sm-2 control-label">分类</label> - <div class="col-sm-8"> - <select id="sortId" name="sortId" style="width: 160px;" value="[[sortId]]" required> - <option value="">请选择资源分类</option> - [[each resSorts as item index]] - <option value="[[item.sortId]]">[[item.sortName]]</option> - [[/each]] - </select> - </div> - </div><!-- form-group --> - - <div class="form-group"> - <label class="col-sm-2 control-label">平台</label> - <div class="col-sm-8"> - <select id="platformId" name="platformId" style="width: 160px;" value="[[platformId]]" required> - <option value="">请选择资源平台</option> - [[each resPlatforms as item index]] - <option value="[[item.platformId]]">[[item.platformName]]</option> - [[/each]] - </select> - </div> - </div><!-- form-group --> - - <div class="form-group" hidden id="code-content"> - <label class="col-sm-2 control-label">位置码</label> - <div class="col-sm-8"> - <input type="text" disabled="disabled" value="[[code]]" class="form-control"> - </div> - </div><!-- form-group --> - - <div class="form-group"> - <label class="col-sm-2 control-label">匹配码</label> - <div class="col-sm-8"> - <input type="text" id="matchCode" value="[[matchCode]]" class="form-control"> - </div> - </div><!-- form-group --> - - <input type="hidden" id="id" value="[[id]]"> - </div> -</script> \ No newline at end of file diff --git a/server/views/resource/resourceSortManage/Index.html b/server/views/resource/resourceSortManage/Index.html deleted file mode 100644 index 1cf2515..0000000 --- a/server/views/resource/resourceSortManage/Index.html +++ /dev/null @@ -1,53 +0,0 @@ -<%include '../../common/__ui/header'%> -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel-heading"> - <a class="btn btn-success " id="add-resource"><i class="fa fa-plus"></i> 添加资源分类</a> - </div> - - <div class="panel panel-default" style="margin-bottom: 10px"> - <div id="content-list"></div> - </div> -</div> - -<script type="text/template" id="sourceSort-template"> - <div class="panel-body" id="base-form"> - <div class="form-group"> - <label class="col-sm-3 control-label">名称 <span class="asterisk">*</span></label> - <div class="col-sm-9"> - <input type="hidden" value="[[sortId]]", id="sortId" /> - <input type="text" name="platform_name" class="form-control" value="[[sortName]]" id="sortName" placeholder="请填写平台名称" required="required"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-3 control-label">所属平台<span class="asterisk">*</span></label> - <div class="col-sm-9"> - <select class="form-control attr_input" data-index='[[__index]]' value="[[platformId||'']]" id="platformId" required> - <option value="">请选择</option> - [[each platforms as item index]] - <option value="[[item.platformId]]">[[item.platformName]]</option> - [[/each]] - </select> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-3 control-label">状态 <span class="asterisk">*</span></label> - <div class="col-sm-9"> - <div class="rdio rdio-primary"> - <input type="radio" id="male" value="1" name="status"> - <label for="male">开启</label> - </div><!-- rdio --> - <div class="rdio rdio-primary"> - <input type="radio" value="0" id="female" name="status"> - <label for="female">关闭</label> - </div><!-- rdio --> - <label id="genderError" class="error"></label> - </div> - <input type="hidden" value="[[status]]" id="status" for="radio" /> - </div><!-- form-group --> - - </div> -</script> \ No newline at end of file diff --git a/server/views/searchWords/HotBrand/Index.html b/server/views/searchWords/HotBrand/Index.html deleted file mode 100644 index 56c5050..0000000 --- a/server/views/searchWords/HotBrand/Index.html +++ /dev/null @@ -1,111 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="..."> - <div class="panel-heading"> - <a id="addHotBrand" class="btn btn-primary">添加</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col2"> - <input type="text" value="" id="brandName-filter" placeholder="品牌" - class="form-control"> - </div> - - <div class="panel-col"> - <select id="status-filter" class="form-control"> - <option value="-1">选择状态</option> - <option value="0">不可用</option> - <option value="1">可用</option> - </select> - </div> - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a> - <a id="filter-all" href="/hotSearchBrand/index" class="btn btn-info">全部</a> - </div> - </div> - </div> - </div> - <div id="content-list"></div> -</div> -<!--内容--> -<script type="text/template" id="template"> - - <div class="form-group"> - <label for="brandName" class="col-sm-2 control-label"><i class="red">*</i> 品牌名</label> - - <div class="col-sm-10"> - <input type="text" name="" value="[[brandName]]" id="brandName" class="form-control observe" - required="required" - data-field="brandName" placeholder="品牌名"> - </div> - </div> - <div class="form-group"> - <label for="orderBy" class="col-sm-2 control-label"><i class="red">*</i> 排序</label> - - <div class="col-sm-10"> - <input type="number" name="" value="[[orderBy]]" id="orderBy" data-field="orderBy" - class="form-control observe" required="required" - placeholder="排序"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label"><span class="red">*</span> 状态</label> - - <div class="col-sm-8"> - <label class="radio-inline"> - <input type="radio" name="status" class="observe" data-field="status" value="1">可用 - </label> - <label class="radio-inline"> - <input type="radio" name="status" class="observe" data-field="status" value="0">不可用 - </label> - </div> - <input type="hidden" id="status" value="[[status]]" for="radio" required="required" - class="observe" data-field="status" placeholder="状态"> - </div> - [[if _state=='update']] - [[layout template-modify]] - [[/if]] - -</script> -<!--修改页面共用部分--> -<script type="text/template" id="template-modify"> - <div class="form-group"> - <label for="creatorUsrname" class="col-sm-2 control-label">添加人</label> - - <div class="col-sm-10"> - <label id="creatorUsrname">[[creatorName]]</label> - </div> - - </div> - - <div class="form-group"> - <label for="createdTime" class="col-sm-2 control-label">添加时间</label> - - <div class="col-sm-10"> - <label id="createdTime">[[createTime]]</label> - </div> - </div> - - <div class="form-group"> - <label for="modifyUsrname" class="col-sm-2 control-label">修改人</label> - - <div class="col-sm-10"> - <label id="modifyUsrname">[[modifyName]]</label> - </div> - - </div> - - <div class="form-group"> - <label for="modifyTime" class="col-sm-2 control-label">修改时间</label> - - <div class="col-sm-10"> - <label id="modifyTime">[[modifyTime]]</label> - </div> - </div> - <input type="hidden" id="id" value="[[id]]"/> -</script> - -<%include '../../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/searchWords/SearchWords/Index.html b/server/views/searchWords/SearchWords/Index.html deleted file mode 100644 index 2ffe09d..0000000 --- a/server/views/searchWords/SearchWords/Index.html +++ /dev/null @@ -1,214 +0,0 @@ -<%include '../../common/__ui/header'%> -<div class="pageheader"> - <div class="media"> - <div class="pageicon pull-left"> - <i class="fa fa-th-list"></i> - </div> - <div class="media-body"> - - </div> - </div> -</div> -<div class="contentpanel"> - <div class="panel panel-default" style="..."> - <div class="panel-heading"> - <a id="filter-add" class="btn btn-primary">添加</a> - </div> - <div class="panel-body" id="filter"> - <div class="row"> - <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2"> - <input type="text" value="" name="content" id="content-filter" placeholder="内容" - class="form-control"> - </div> - <div class="panel-col"> - <select name="status" id="status-filter" tabindex="-1" title="" - class="select2-offscreen brandBtn-group"> - <option value="" selected="">选择状态</option> - <option value="1">关闭</option> - <option value="2">开启</option> - </select> - </div> - <div class="panel-col"> - <div id="channel-ops1"> - <select name="channel-ops" id="channel-ops" tabindex="-1" title="" - class="select2-offscreen brandBtn-group"> - <option value="" selected="">选择频道</option> - <option value="1">男生</option> - <option value="2">女生</option> - <option value="3">潮童</option> - <option value="4">创意生活</option> - </select> - </div> - </div> - <div class="panel-col2"> - <input type="text" id="starttime-filter" class="form-control panel-input hasDatepicker" - jsaction="time:end:endtime-filter" name="start_time" placeholder="开始时间" value=""> - </div> - <div class="panel-col2"> - <input type="text" id="endtime-filter" class="form-control panel-input hasDatepicker" - jsaction="time:start:starttime-filter" name="end_time" placeholder="结束时间" value=""> - </div> - <div class="panel-col2"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a> - </div> - </div> - </div> - </div> - <div id="search-words-list" class="search-words"> - - </div> -</div> - -<script type="text/template" id="template"> - <ul class="breadcrumb"> - <li><a href=""><i class="glyphicon glyphicon-home"></i></a></li> - <li><a href="">搜索词管理</a></li> - <li id="header-item">[[name1]]</li> - </ul> - - <div> - <div style="width: 30%;float: left;"> - <h4 id="header-title">[[name2]]</h4> - - </div> - </div> -</script> - -<!--添加修改模板--> -<script type="text/template" id="template-content"> - [[if _type==1]] - <div class="form-group"> - <label for="channelIds" class="col-sm-2 control-label"><i class="red">*</i> 频道</label> - - <div class="col-sm-8"> - <label style="cursor: pointer;"><input type="radio" class="observe" data-field="channelIds" name="channelIds" value="1"> 男生</label> - <label style="cursor: pointer;"><input type="radio" class="observe" data-field="channelIds" name="channelIds" value="2"> 女生</label> - <label style="cursor: pointer;"><input type="radio" class="observe" data-field="channelIds" name="channelIds" value="3"> 潮童</label> - <label style="cursor: pointer;"><input type="radio" class="observe" data-field="channelIds" name="channelIds" value="4"> 创意生活</label> - </div> - <input type="hidden" id="channelIds" value="[[channelIds]]" for="radio" class="observe" - placeholder="频道" data-field="channelIds"> - </div> - [[/if]] - <div class="form-group"> - <label for="content" class="col-sm-2 control-label"><i class="red">*</i> 内容</label> - - <div class="col-sm-10"> - <input type="text" name="" value="[[content]]" id="content" class="form-control observe" required="required" data-field="content" - placeholder="内容"> - </div> - </div> - [[if _type==1]] - <div class="form-group"> - <label for="url" class="col-sm-2 control-label"> 链接</label> - - <div class="col-sm-10"> - <input type="text" name="" value="[[url]]" id="url" class="form-control observe" data-field="url" placeholder="链接"> - </div> - </div> - <div class="form-group"> - <label for="startTime" class="col-sm-2 control-label"><i class="red">*</i> 开始时间</label> - - <div class="col-sm-10"> - <input type="text" id="startTime" class="form-control panel-input hasDatepicker observe" jsaction="time:end:endTime" - name="start_time" placeholder="开始时间" value="[[startTime]]" data-field="startTime"> - </div> - </div> - <div class="form-group"> - <label for="endTime" class="col-sm-2 control-label"><i class="red">*</i> 结束时间</label> - - <div class="col-sm-10"> - <input type="text" id="endTime" class="form-control panel-input hasDatepicker observe" jsaction="time:start:startTime" - name="start_time" placeholder="结束时间" value="[[endTime]]" data-field="endTime"> - </div> - </div> - [[/if]] - [[if _type==2]] - <div class="form-group"> - <label for="goodsNum" class="col-sm-2 control-label"><i class="red">*</i> 商品数</label> - - <div class="col-sm-10"> - <input type="text" name="" value="[[goodsNum]]" id="goodsNum" class="form-control observe" required="required" data-field="goodsNum" - placeholder="商品数"> - </div> - </div> - [[/if]] - [[if _type==2|_type==3]] - <div class="form-group"> - <label for="sort" class="col-sm-2 control-label"><i class="red">*</i> 排序</label> - - <div class="col-sm-10"> - <input type="text" name="" value="[[sort]]" id="sort" class="form-control observe" data-field="sort" required="required" - placeholder="排序"> - </div> - </div> - [[/if]] - [[if _status=='update']] - [[layout template-modify]] - [[/if]] - [[layout template-tips]] -</script> - -<!--修改页面共用部分--> -<script type="text/template" id="template-modify"> - <div class="form-group"> - <label class="col-sm-2 control-label"><span class="red">*</span> 状态</label> - - <div class="col-sm-8"> - <label class="radio-inline"> - <input type="radio" name="status" class="observe" data-field="status" value="2">开启 - </label> - <label class="radio-inline"> - <input type="radio" name="status" class="observe" data-field="status" value="1">关闭 - </label> - </div> - <input type="hidden" id="status" value="[[status]]" for="radio" required="required" class="observe" data-field="status"> - </div> - - <div class="form-group"> - <label for="creatorUsrname" class="col-sm-2 control-label">添加人</label> - - <div class="col-sm-10"> - <label id="creatorUsrname">[[creatorUsrname]]</label> - </div> - - </div> - - <div class="form-group"> - <label for="createdTime" class="col-sm-2 control-label">添加时间</label> - - <div class="col-sm-10"> - <label id="createdTime">[[createdTime]]</label> - </div> - </div> - - <div class="form-group"> - <label for="modifyUsrname" class="col-sm-2 control-label">修改人</label> - - <div class="col-sm-10"> - <label id="modifyUsrname">[[modifyUsrname]]</label> - </div> - - </div> - - <div class="form-group"> - <label for="modifyTime" class="col-sm-2 control-label">修改时间</label> - - <div class="col-sm-10"> - <label id="modifyTime">[[modifyTime]]</label> - </div> - </div> - <input type="hidden" id="id" value="[[id]]"/> -</script> - -<!--红颜色说明--> -<script type="text/template" id="template-tips"> - <div class="form-group"> - <input type="hidden" id="type" value="[[type]]"/> - <i class="red" id="i-tips">[[tips]]</i> - </div> -</script> -<%include '../../common/__ui/footer'%> - - - diff --git a/server/views/shootMeter/MeterSize/Add.html b/server/views/shootMeter/MeterSize/Add.html deleted file mode 100644 index f15f32e..0000000 --- a/server/views/shootMeter/MeterSize/Add.html +++ /dev/null @@ -1,42 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="..."> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input type="text" class="form-control" id="skuInput" placeholder="SKU"/> - </div> - <div class="panel-col"> - <input type="button" class="btn btn-info" value="搜索" id="searchSku" /> - </div> - </div> - </div> - </div> - <div id="add-list" hidden> - <input type="hidden" id="noMeasureIds" for="checkbox"> - <div id="add-head"></div> - <div id="content-list"></div> - <div id="add-saveArea"> - <a class="btn btn-success" id="add-saveBtn" href="">保存</a> - <a class="btn btn-primary" href="/meterManage/meterSize/index">取消</a> - </div> - </div> -</div> - -<script type="text/template" id="modifySize-template" style="width: 900px"> - <div id="base-form"> - <table style="width: 100%"> - <tr> - <th>SKN:[[productSkn]]</th> - <th> 名称:[[productName]]</th> - <th> 品牌:[[brandName]]</th> - <th>分类:[[productType]]</th> - <th> 性别:[[genderName]]</th> - <input type="hidden" id="productSkn" value="[[productSkn]]" /> - </tr> - </table> - </div> -</script> \ No newline at end of file diff --git a/server/views/shootMeter/MeterSize/Index.html b/server/views/shootMeter/MeterSize/Index.html deleted file mode 100644 index 1ae3f3d..0000000 --- a/server/views/shootMeter/MeterSize/Index.html +++ /dev/null @@ -1,91 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="..."> - <div class="panel-heading"> - <a class="btn btn-success " href="/meterManage/meterSize/add" id="add-sizeInfo"><i class="fa fa-plus"></i> 添加测量数据</a> - </div> - <div class="panel-body"> - <div class="row" id="filter"> - <div class="panel-col"> - <input type="text" value="" name="productSkn" id="skn-filter" placeholder="SKN" class="form-control"> - </div> - <div class="panel-col"> - <input type="text" value="" name="productSku" id="sku-filter" placeholder="SKU" class="form-control"> - </div> - <div class="panel-col"> - <select name="brandId" id="brand-filter" tabindex="-1" title="" class="form-control"> - <option value="">选择品牌</option> - </select> - </div> - <div class="panel-col"> - <div id="category-filter"></div> - </div> - <div class="panel-col"> - <select name="isMeasure" id="hasMeasure-filter" tabindex="-1" title="" class="form-control"> - <option value="">是否测量</option> - <option value="N">未测量</option> - <option value="Y">已测量</option> - </select> - </div> - <div class="panel-col"> - <input type="text" id="startTime" jsaction="time:end:endTime" class="form-control panel-input hasDatepicker " name="start_time" placeholder="开始时间"/> - </div> - <div class="panel-col"> - <input type="text" id="endTime" jsaction="time:start:startTime" class="form-control panel-input hasDatepicker" name="end_time" placeholder="结束时间"/> - </div> - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="filter-all" href="/meterManage/meterSize/index" class="btn btn-info">全部</a> - </div> - - </div> - </div> - </div> - <div id="content-list"></div> -</div> - -<script type="text/template" id="sizeinfo-template"> - [[if sizeRelationsList && sizeRelationsList.length > 0]] - <table class="table table-striped table-hover table-bordered responsive dataTable no-footer"> - <thead> - <tr> - <td>尺码</td> - <td>参考尺码([[genderName]])</td> - [[each sizeRelationsList[0].prdSizeAttributeBoList as item index]] - <td>[[item.sizeAttributeName]]</td> - [[/each]] - </tr> - </thead> - - <tbody> - [[each sizeRelationsList as item index]] - <tr> - <td>[[item.sizeName]]</td> - <td>[[item.referenceName?item.referenceName:""]]</td> - [[each item.prdSizeAttributeBoList as item1 index1]] - <td>[[item1.sizeValue]]</td> - [[/each]] - </tr> - [[/each]] - </tbody> - </table> - [[/if]] -</script> - -<script type="text/template" id="modifySize-template" style="width: 900px"> - <div id="base-form"> - <table style="width: 100%"> - <tr> - <th>SKN:[[productSkn]]</th> - <th> 名称:[[productName]]</th> - <th> 品牌:[[brandName]]</th> - <th>分类:[[productType]]</th> - <th> 性别:[[genderName]]</th> - <input type="hidden" id="productSkn" value="[[productSkn]]" /> - </tr> - </table> - </div> -</script> diff --git a/server/views/shootMeter/Model/Index.html b/server/views/shootMeter/Model/Index.html deleted file mode 100644 index 5d0c6cc..0000000 --- a/server/views/shootMeter/Model/Index.html +++ /dev/null @@ -1,152 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="..."> - <div class="panel-heading"> - <a class="btn btn-success " id="add-content"><i class="fa fa-plus"></i> 添加</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2"> - <input type="text" value="" name="modelName" id="content-filter1" placeholder="姓名" - class="form-control"> - </div> - <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2"> - <input type="text" value="" name="englishName" id="content-filter2" placeholder="英文名" - class="form-control"> - </div> - <div class="panel-col"> - <select name="status" id="status-filter" tabindex="-1" title="" - class="form-control"> - <option value="-1">全部</option> - <option value="0">禁用</option> - <option value="1">启用</option> - </select> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a> - <a id="filter-all" href="/shotManage/model/index" class="btn btn-info">全部</a> - </div> - </div> - </div> - <div id="content-list"></div> - <input type="hidden" id="aa" value="{{type}}"/> -</div> - -<script type="text/template" id="template"> - <div class="rows" id="baseform"> - <div class="form-group"> - <label class="col-sm-2 control-label" for="avatar">头像</label> - [[if avatar]] - <div class="col-sm-6"> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);"> - <img src="[[avatar]]?imageView/2/w/100/h/100"> - </a> - <i class="remove-item-btn remove1 glyphicon glyphicon-remove-circle" data-link="avatar"></i> - </div> - </div> - [[else]] - <div class="col-sm-6"> - <input type="file" bucket="modelCard" class="form-control avatar" id="avatar" name="avatar" - placeholder="头像" data-field="avatar"/> - </div> - [[/if]] - </div> - <div class="form-group"> - <label class="col-sm-2 control-label" for="modelName">姓名</label> - <div class="col-sm-3"> - <input type="text" value="[[modelName]]" class="form-control observe" id="modelName" - placeholder="姓名" data-field="modelName"/> - </div> - <label class="col-sm-2 control-label" for="englishName">英文名</label> - - <div class="col-sm-3"> - <input type="text" value="[[englishName]]" class="form-control observe" id="englishName" - placeholder="英文名" data-field="englishName"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label" for="nationality">国籍</label> - - <div class="col-sm-3"> - <input type="text" value="[[nationality]]" class="form-control observe" id="nationality" - placeholder="国籍" data-field="nationality"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label" for="height">身高</label> - - <div class="col-sm-3"> - <input type="number" value="[[height]]" class="form-control observe" id="height" - match="numbers" placeholder="身高(cm)" data-field="height"/> - </div> - <label class="col-sm-2 control-label" for="weight">体重</label> - - <div class="col-sm-3"> - <input type="number" value="[[weight]]" class="form-control observe" id="weight" - match="numbers" placeholder="体重(kg)" data-field="weight"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label" for="dressSize">穿衣尺码</label> - - <div class="col-sm-3"> - <input type="text" value="[[dressSize]]" class="form-control observe" id="dressSize" - placeholder="穿衣尺码" data-field="dressSize"/> - </div> - <label class="col-sm-2 control-label" for="shoeSize">鞋码</label> - - <div class="col-sm-3"> - <input type="text" value="[[shoeSize]]" class="form-control observe" id="shoeSize" - placeholder="鞋码" data-field="shoeSize"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">三围</label> - - <div class="col-sm-3"> - <input type="number" value="[[Bust]]" class="form-control observe" id="Bust" - match="numbers" placeholder="胸围(cm)" data-field="Bust"/> - </div> - <div class="col-sm-3"> - <input type="number" value="[[waist]]" class="form-control observe" id="waist" - match="numbers" placeholder="腰围(cm)" data-field="waist"/> - </div> - <div class="col-sm-3"> - <input type="number" value="[[hips]]" class="form-control observe" id="hips" - match="numbers" placeholder="臀围(cm)" data-field="hips"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label" for="avatar">模特卡</label> - [[if modelCard]] - <div class="col-sm-6"> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);"> - <img src="[[modelCard]]?imageView/2/w/100/h/100"> - </a> - <i class="remove-item-btn remove1 glyphicon glyphicon-remove-circle" data-link="modelCard"></i> - </div> - </div> - [[else]] - <div class="col-sm-6"> - <input type="file" bucket="modelCard" class="form-control modelCard" id="modelCard" name="modelCard" - placeholder="模特卡" data-field="modelCard"/> - </div> - [[/if]] - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">状态</label> - <div class="col-sm-8"> - <label style="cursor: pointer;"><input type="radio" name="status" class="observe" data-field="status" - checked value="1">启用</label> - <label style="cursor: pointer;"><input type="radio" name="status" class="observe" data-field="status" - value="0">禁用</label> - </div> - <input type="hidden" id="status" class="observe" value="[[status]]" for="radio" class="observe" - data-field="status"> - </div> - </div> -</script> diff --git a/server/views/shootMeter/ProPhoto/Index.html b/server/views/shootMeter/ProPhoto/Index.html deleted file mode 100644 index b5c6589..0000000 --- a/server/views/shootMeter/ProPhoto/Index.html +++ /dev/null @@ -1,81 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="..."> - <div class="panel-heading"> - <a id="upload-btn" href="javascript:;" class="btn btn-success">上传图片</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col2"> - <input type="text" id="starttime" class="form-control panel-input hasDatepicker time" name="start_time" - placeholder="开始时间" value=""> - </div> - <div class="panel-col2"> - <input type="text" id="endtime" class="form-control panel-input hasDatepicker time" name="end_time" - placeholder="结束时间" value=""> - </div> - <div class="panel-col"> - <input type="text" value="" name="productSkn" id="content-filter1" placeholder="SKN" - class="form-control"> - </div> - <div class="panel-col"> - <input type="text" value="" name="productSkc" id="content-filter2" placeholder="SKC" - class="form-control"> - </div> - <div class="panel-col"> - <input type="text" value="" name="productSku" id="content-filter3" placeholder="SKU" - class="form-control"> - </div> - <div class="panel-col2"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a> - <a id="filter-all" href="/shotManage/proPhoto/index" class="btn btn-info">全部</a> - </div> - </div> - </div> - </div> - <div id="content-list"></div> -</div> - -<!--上传图片--> -<script type="text/template" id="template1"> - <div class="rows"> - [[if __state=='update']] - <div class="form-group"> - <label class="col-sm-2">SKN</label> - - <div class="col-sm-6"> - <input type="text" value=[[productSkn]] class="form-control" disabled="disabled"> - </div> - </div> - [[/if]] - <div class="form-group"> - <label class="col-sm-2 control-label">图片</label> - <div class="cover-image-list col-sm-10"> - <ul class="cover-image-list col-sm-10" id="addPic" style="padding: 0;margin: 0;"> - <li class="cover-image-item fileinput-button"> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);">+</a> - <input type="file" class="goods-img-upload picfile" name="picfile" required="required" id="picfile" placeholder="图片" multiple="true"> - </div> - </li> - </ul> - </div> - </div> - </div> -</script> -<!--图片列表--> -<script type="text/template" id="template2"> - [[each pictureBoList as _item _index]] - <li class="cover-image-item image-list" data-index=[[_index]]> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);"> - <img src="[[_item.fileName]]?imageView/2/w/100/h/100"> - </a> - <i class="remove-item-btn remove1 glyphicon glyphicon-remove-circle" data-index="[[_index]]"></i> - </div> - </li> - [[/each]] -</script> diff --git a/server/views/shootMeter/ShootRequire/Index.html b/server/views/shootMeter/ShootRequire/Index.html deleted file mode 100644 index 34aef95..0000000 --- a/server/views/shootMeter/ShootRequire/Index.html +++ /dev/null @@ -1,58 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="..."> - <div class="panel-heading"> - <a class="btn btn-success " id="add-content"><i class="fa fa-plus"></i> 添加</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <select name="type" id="type-filter" tabindex="-1" title="" - class="form-control" required="required"> - <option value="-1">类型</option> - <option value="1">拍摄类型</option> - <option value="2">拍摄风格</option> - <option value="3">模特类型</option> - <option value="4">道具类型</option> - <option value="5">滤镜效果</option> - <option value="6">摄影场景</option> - <option value="7">背景类型</option> - </select> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a> - </div> - </div> - </div> - <div id="content-list"></div> -</div> - -<script type="text/template" id="template"> - <div class="rows" id="baseform" > - <div class="form-group"> - <label class="col-sm-2 control-label" for="type">选择类别</label> - <div class="col-sm-8"> - <select id="type" class="form-control observe" value="[[type]]" - data-field="type" placeholder="类别" required="required"> - <option value="-1">请选择 </option> - <option value="1">拍摄类型 </option> - <option value="2">拍摄风格</option> - <option value="3">模特类型</option> - <option value="4">道具类型</option> - <option value="5">滤镜效果</option> - <option value="6">摄影场景</option> - <option value="7">背景类型</option> - </select> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label" for="name">名称</label> - <div class="col-sm-8"> - <input type="text" value="[[name]]" class="form-control observe" data-field="name" id="name" placeholder="名称" required="required"/> - </div> - </div> - - </div> -</script> diff --git a/server/views/shootMeter/TryInfo/Batch.html b/server/views/shootMeter/TryInfo/Batch.html deleted file mode 100644 index 0a2bdb4..0000000 --- a/server/views/shootMeter/TryInfo/Batch.html +++ /dev/null @@ -1,39 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <table class="table table-bordered"> - <tr> - <td rowspan="2">试穿信息</td> - <td>上传EXCEL:</td> - <td> - <div class="panel-col" style="position: relative;"> - <input id="productModelTry" name="file" data-type="productModelTry" type="file" - style="cursor: pointer; height: 37px; top: 8px;"> - <div class="file-name btn btn-default">上传本地文件</div> - </div> - </td> - </tr> - <tr> - <td>说明:</td> - <td colspan="2"> - 1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br> - 2、第一行标题栏:<span style="color: red;">试穿模特ID|sku|试穿描述|试穿备注</span><br> - 3、<a href="/ajax/link/productModelTry">下载样例</a> - </td> - </tr> - </table> - </div> - <div class="panel-footer"> - <a href="/meterManage/tryInfo/index" class="btn btn-primary col-sm-1 col-sm-offset-4">返回</a> - </div> - </div> -</div> - -<div class="panel panel-primary-head"> - <div class="panel-body red" id="message"> - </div> -</div> \ No newline at end of file diff --git a/server/views/shootMeter/TryInfo/Index.html b/server/views/shootMeter/TryInfo/Index.html deleted file mode 100644 index 7b9c407..0000000 --- a/server/views/shootMeter/TryInfo/Index.html +++ /dev/null @@ -1,82 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="..."> - <div class="panel-heading"> - <a class="btn btn-success " id="add-content" href="/meterManage/tryInfo/batch"><i class="fa fa-plus"></i> - 上传excel文件</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col"> - <input type="text" value="" name="productSku" id="content-filter1" placeholder="SKU" - class="form-control"> - </div> - <div class="panel-col"> - <input type="text" value="" name="productSkn" id="content-filter2" placeholder="SKN" - class="form-control"> - </div> - <div class="panel-col"> - <input type="text" value="" name="productName" id="content-filter3" placeholder="产品名称" - class="form-control"> - </div> - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a> - <a id="filter-all" href="/meterManage/tryInfo/index" class="btn btn-info">全部</a> - </div> - - </div> - </div> - </div> - <div id="content-list"></div> -</div> - -<script type="text/template" id="template"> - <div id="baseform" > - <div> - <span class="col-sm-2">SKN: [[productSkn]]</span> - <span class="col-sm-6 pull-left">产品名称: [[productName]]</span> - <br> - </div> - <table class="table table-bordered" id="baseInfo"> - <thead> - <tr> - <th>模特名</th> - <th>试穿尺码</th> - <th>试穿描述</th> - <th>试穿备注</th> - </tr> - </thead> - <tbody> - [[each modelLists as item index]] - <tr> - <th> - <span>[[item.modelName]]</span> - </th> - <th> - <select name="fit_size" data-name="fit_size" data-index="[[index]]" title="" class="select2-offscreen brandBtn-group fit_size tryInfo1"> - <option value='[[item.tryInfo.fit_size]]'>[[item.tryInfo.fit_size||'请选择试穿尺码']]</option> - </select> - </th> - <th> - <select name="feel_id" value="[[item.tryInfo.feel_id]]" data-name="feel_id" data-index="[[index]]" title="" class="select2-offscreen brandBtn-group feel_id tryInfo1"> - <option value="-1">[['请选择试穿描述']]</option> - <option value="1">[['合适']]</option> - <option value="2">[['偏大']]</option> - <option value="3">[['偏小']]</option> - </select> - </th> - <th> - <input type="text" data-name="fit_remark" data-index="[[index]]" value="[[item.tryInfo.fit_remark]]" name="fit_remark" id="fit_remark" class="tryInfo1 " maxlength="12" - placeholder="添加备注,不超过12字"> - </th> - </tr> - [[/each]] - </tbody> - </table> - </div> -</script> - - diff --git a/server/views/shootMeter/TryModel/Index.html b/server/views/shootMeter/TryModel/Index.html deleted file mode 100644 index 643e678..0000000 --- a/server/views/shootMeter/TryModel/Index.html +++ /dev/null @@ -1,91 +0,0 @@ -<%include '../../common/__ui/header'%> - -<%include '../../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="..."> - <div class="panel-heading"> - <a class="btn btn-success " id="add-content"><i class="fa fa-plus"></i> 添加</a> - </div> - <div class="panel-body"> - <div class="row"> - <div class="panel-col2"> - <input type="text" id="beginTime" class="form-control panel-input hasDatepicker " name="begin_time" - placeholder="开始时间" value="" > - </div> - <div class="panel-col2"> - <input type="text" id="endTime" class="form-control panel-input hasDatepicker " name="end_time" - placeholder="结束时间" value="" > - </div> - <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2"> - <input type="text" value="" name="modelName" id="content-filter1" placeholder="姓名" - class="form-control"> - </div> - <a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a> - <a id="filter-all" href="/meterManage/tryModel/index" class="btn btn-info">全部</a> - </div> - </div> - </div> - <div id="content-list"></div> - <input type="hidden" id="aa" value="{{type}}"/> -</div> - -<script type="text/template" id="template"> - <div class="rows" id="baseform" > - <div class="form-group"> - <label class="col-sm-2 control-label" for="avatar">头像</label> - [[if avatar]] - <div class="col-sm-6"> - <div class="goods-img"> - <a class="fileinput-button-icon" href="javascript:void(0);"> - <img src="[[avatar]]?imageView/2/w/100/h/100"> - </a> - <i class="remove-item-btn remove1 glyphicon glyphicon-remove-circle" data-link="avatar"></i> - </div> - </div> - [[else]] - <div class="col-sm-6"> - <input type="file" bucket="modelCard" class="form-control avatar" id="avatar" name="avatar" - placeholder="头像" data-field="avatar"/> - </div> - [[/if]] - </div> - <div class="form-group"> - <label class="col-sm-2 control-label" for="modelName">姓名</label> - - <div class="col-sm-3"> - <input type="text" value="[[modelName]]" class="form-control observe" id="modelName" - placeholder="姓名" required="required" data-field="modelName"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label" for="height">身高</label> - - <div class="col-sm-3"> - <input type="text" value="[[height]]" class="form-control observe" id="height" - match="numbers" placeholder="身高(cm)" required="required" data-field="height"/> - </div> - <label class="col-sm-2 control-label" for="weight">体重</label> - <div class="col-sm-3"> - <input type="text" value="[[weight]]" class="form-control observe" id="weight" - match="numbers" placeholder="体重(kg)" required="required" data-field="weight"/> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">三围</label> - - <div class="col-sm-3"> - <input type="text" value="[[Bust]]" class="form-control observe" id="Bust" - match="numbers" placeholder="胸围(cm)" required="required" data-field="Bust"/> - </div> - <div class="col-sm-3"> - <input type="text" value="[[waist]]" class="form-control observe" id="waist" - match="numbers" placeholder="腰围(cm)" required="required" data-field="waist"/> - </div> - <div class="col-sm-3"> - <input type="text" value="[[hips]]" class="form-control observe" id="hips" - match="numbers" placeholder="臀围(cm)" required="required" data-field="hips"/> - </div> - </div> - </div> -</script> diff --git a/server/views/shop/Administrator.html b/server/views/shop/Administrator.html deleted file mode 100644 index bdc865c..0000000 --- a/server/views/shop/Administrator.html +++ /dev/null @@ -1,48 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div style="margin-bottom: 20px"> - <a class="add btn btn-success"><i class="fa fa-plus"></i> 创建店铺管理员关系</a> - </div> - <input type="hidden" id="url" value="/supplier/storeadmin/indexPage"> - <div class="panel panel-primary-head"> - <div id="basicTable_wrapper" class="dataTables_wrapper no-footer"> - <div class="dataTables_length" id="basicTable"></div> - </div> - </div> -</div> - -<script type="text/template" id="template"> - <div class="rows" style="height: 100px;"> - <div class="form-group"> - <span class="col-sm-3 control-label">店铺列表</span> - <div class="col-sm-8"> - <select name="supplier-name" id="store-name" style="width: 280px;" tabindex="-1" title="" class="select2-offscreen brandBtn-group brandBtn-group-lg" value="{{shopsId}}"> - <option value="-1">店铺列表</option> - </select> - </div> - </div> - <div class="form-group"> - <span class="col-sm-3 control-label">管理员筛选</span> - <div class="col-sm-4"> - <select name="store-type" id="identity-type" style="height: 40px;" class="form-control" value="{{identity}}"><option value="-1" selected="selected">请选择身份</option> - <option value="1" data-valid="">品牌公司</option> - <option value="2" data-valid="">品牌经销商</option> - <option value="3" data-valid="">品牌代运营商</option> - <option value="4" data-valid="">有货品牌经理</option> - <option value="5" data-valid="">有货店铺运营</option> - <option value="6" data-valid="">有货商品运营</option> - <option value="7" data-valid="">有货平台运营</option> - </select> - </div> - <div class="col-sm-4"> - <select name="time-sort" id="manager-name" tabindex="-1" title="" class="form-control" value="{{adminPid}}"> - <option value="-1">选择管理员</option> - </select> - </div> - </div> - </div> -</script> - -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/shop/Decoration.html b/server/views/shop/Decoration.html deleted file mode 100644 index be66452..0000000 --- a/server/views/shop/Decoration.html +++ /dev/null @@ -1,361 +0,0 @@ -<%include '../common/__ui/header'%> - -<div class="tabheader"> - <ul class="nav nav-tabs"> - <li data-toggle="1"><a href="javascript:">基础模板</a></li> - <li data-toggle="2"><a href="javascript:">经典模板</a></li> - </ul> -</div> - -<div class="pageheader"> - <div class="media"> - <div class="pageicon pull-left"> - <i class="fa fa-th-list"></i> - </div> - <div class="media-body"> - <ul class="breadcrumb" style="font-family: 'Microsoft YaHei'"> - <li><a href="javascript:"><i class="glyphicon glyphicon-home"></i></a></li> - <li><a href="javascript:">店铺管理</a></li> - <li>店铺装修管理</li> - </ul> - - <div style="padding-right: 60px"> - <div class="col-sm-4" style="padding-left: 0; font-family: 'Microsoft YaHei'"> - <h4 style="line-height: 30px;font-size: 24px;margin-top: 2px">装修模板</h4> - </div> - <div class="col-sm-4"> - <div class="moduleTypeView" style="text-align: center"> - <label class="radio-inline"><input type="radio" name="brandLevel" value="pc">PC端</label> - <label class="radio-inline" style="margin-left: 30px;"><input type="radio" name="brandLevel" value="app">APP端</label> - </div> - </div> - <div id="operations" class="col-sm-4"> - <div class="moduleView" style="display: none; text-align: right; margin-top: -10px"> - <input type="button" class="btn btn-default " value="返回" onclick="history.go(-1)"> - </div> - <div class="moduleSubmite" style="display: none; text-align: right; margin-top: -10px"> - <input id="saveModule" type="button" class="btn btn-success" value="暂存"> - <input id="submitModule" type="button" class="btn btn-primary" value="提交审核"> - <input type="button" class="btn btn-default " value="返回" onclick="history.go(-1)"> - </div> - <div class="moduleCheck" style="display: none; text-align: right; margin-top: -10px"> - <input id="checkOk" type="button" class="btn btn-primary" value="审核通过"> - <input id="checkNo" type="button" class="btn btn-danger" value="驳回"> - <input type="button" class="btn btn-default " value="返回" onclick="history.go(-1)"> - </div> - </div> - </div> - </div> - </div> -</div> - -<div id="main" class="contentpanel"></div> - -<!--pc端店铺基础模板--> -<script type="text/template" id="1-pc"> - - <div class="model-wrap contentpanel-pc"> - <!--banner--> - <div class="model-banner model-editor" data-toggle="editor-banner-base" data-title="顶部图片编辑"> - <img src="[[resources.shopTopBanner_base.data[0].shopSrc]]"> - [[if resources.shopTopBanner_base.data[0].isShowShopName == "Y"]] - <h1>[[shopName]]</h1> - [[/if]] - </div> - <!--main--> - <div class="model-main"> - <!--左侧main--> - <div class="model-main-left"> - <!--商品列表--> - <div class="sortList"></div> - <!--水牌--> - <div class="model-recommend model-signboard model-editor" data-toggle="editor-signboard" data-title="水牌位编辑"> - <div class="recommendDetail signboardDetail"> - <ul> - [[each resources.signboard.data as item _index]] - <li><a href="[[item.data[0].url]]"><img src="[[item.data[0].src]]"></a></li> - [[/each]] - </ul> - </div> - </div> - </div> - <!--右侧main--> - <div class="model-main-right model-main-right-default"></div> - <div class="clear"></div> - </div> - </div> -</script> - -<!--pc端店铺经典模板--> -<script type="text/template" id="2-pc"> - - <div class="model-wrap contentpanel-pc"> - <!--banner--> - <div class="model-banner model-editor" data-toggle="editor-banner" data-title="顶部图片编辑"> - <img src="[[resources.shopTopBanner.data[0].shopSrc]]"> - [[if resources.shopTopBanner.data[0].isShowShopName == "Y"]] - <h1>[[shopName]]</h1> - [[/if]] - </div> - <!--nav--> - <div class="model-nav model-editor" data-toggle="editor-nav" data-title="导航栏编辑"> - <ul> - <li><a href="javascript:">店铺首页</a></li><li><a href="javascript:">全部商品</a></li><li><a href="javascript:">人气单品</a></li><li><a href="javascript:">新品上架</a></li> - [[each resources.navigationBar.data as item _index]] - [[if item.name]] - <li><a href="[[item.url]]">[[item.name]]</a></li> - [[/if]] - [[/each]] - </ul> - </div> - - <!--main--> - <div class="model-main"> - - <!--左侧main--> - <div class="model-main-left"> - <!--商品列表--> - <div class="sortList"></div> - <!--品牌集合--> - <div class="model-recommend model-brand model-editor" style="display: none" data-toggle="editor-brand" data-title="品牌集合编辑"> - <div class="recommendTitle">品牌集合</div> - <div class="recommendDetail brandDetail"> - <ul> - [[each resources.brandBrowse.data as item _index]] - <li><a href="javascript:void(0)">[[item.brandName]]</a></li> - [[/each]] - </ul> - </div> - </div> - <!--经典推荐--> - <div class="model-recommend model-typicRecommend model-editor" data-toggle="editor-recommend" data-title="[[resources.recommend.title]]编辑"> - <div class="recommendTitle">[[resources.recommend.title]]</div> - <div class="recommendDetail typicRecommendDetail"> - <ul> - [[each resources.recommend.data as item _index]] - <li> - <div class="recommendNames"> - <a href="[[item.url]]">[[item.name]]</a> - <span>[[item.enName]]</span> - </div> - <img src="[[item.src]]"> - <div class="clear"></div> - </li> - [[/each]] - </ul> - </div> - </div> - <!--热销推荐--> - <div class="model-recommend model-hotRecommend model-editor" data-toggle="editor-hotRecommend" data-title="[[resources.hotRecommend.title]]编辑"> - [[if resources.hotRecommend.title]] - <div class="recommendTitle">[[resources.hotRecommend.title]]</div> - [[/if]] - <div class="recommendDetail hotRecommendDetail"> - <ul> - [[each resources.hotRecommend.data as item _index]] - <li><a href="[[item.url]]"><img src="[[item.src]]"></a></li> - [[/each]] - </ul> - </div> - </div> - </div> - - <!--右侧main--> - <div class="model-main-right"> - <!--资源位大图--> - <div class="model-slide model-editor" data-toggle="editor-largePic" data-title="资源位大图编辑"> - <img src="[[resources.largeSlideImg.data[0].data[0].src]]"> - </div> - <!--资源位小图--> - <div class="model-sourcePic"> - <ul class="model-editor" data-toggle="editor-smallPic" data-title="资源位小图编辑"> - [[each resources.oneRowTwoColImages.data as item _index]] - <li><img src="[[item.data[0].src]]"></li> - [[/each]] - </ul> - </div> - <div class="clear"></div> - - <!--新品上架--> - <div class="model-show"> - <div class="model-showTitle"> - <div class="showName"><span>新品上架 NEW</span></div> - <div class="showTab model-editor" data-toggle="editor-newGoodTab" data-title="新品上架标签编辑"> - <ul> - [[each resources.goodsTabBar.data.new as item _index]] - [[if item.name]] - [[if _index == 0]] - <li style="border-right: 0"><a href="[[item.url]]">[[item.name]]</a></li> - [[else]] - <li><a href="[[item.url]]">[[item.name]]</a></li> - [[/if]] - [[/if]] - [[/each]] - </ul> - </div> - <div class="clear"></div> - </div> - <div class="model-showDetail model-editor" data-toggle="editor-newProduct" data-title="新品上架商品编辑"> - <ul> - [[if resources.newProducts.data.length > 0]] - [[each resources.newProducts.data as item _index]] - <li><img src="[[item.src]]"><div class="shadow"><a href="javascript:">[[item.productName]]</a><b>¥[[item.salesPrice]]</b></div></li> - [[/each]] - [[else]] - <li> - <img src="http://img01.yohoboys.com/staticimg/2016/05/19/15/01091c21f2317a64f123f1649fbbccf7ba.png"> - <div class="shadow"><a href="javascript:">商品展示样例</a><b>¥商品价格</b></div> - </li> - [[/if]] - </ul> - <div class="clear"></div> - </div> - </div> - - <!--人气单品--> - <div class="model-show"> - <div class="model-showTitle"> - <div class="showName"><span>人气单品 NEW</span></div> - <div class="showTab model-editor" data-toggle="editor-hotGoodTab" data-title="人气单品标签编辑"> - <ul> - [[each resources.goodsTabBar.data.hot as item _index]] - [[if item.name]] - [[if _index == 0]] - <li style="border-right: 0"><a href="[[item.url]]">[[item.name]]</a></li> - [[else]] - <li><a href="[[item.url]]">[[item.name]]</a></li> - [[/if]] - [[/if]] - [[/each]] - </ul> - </div> - <div class="clear"></div> - </div> - <div class="model-showDetail model-editor" data-toggle="editor-hotProduct" data-title="人气单品商品编辑"> - <ul> - [[if resources.hotProducts.data.length > 0]] - [[each resources.hotProducts.data as item _index]] - <li><img src="[[item.src]]"><div class="shadow"><a href="javascript:">[[item.productName]]</a><b>¥[[item.salesPrice]]</b></div></li> - [[/each]] - [[else]] - <li> - <img src="http://img01.yohoboys.com/staticimg/2016/05/19/15/01091c21f2317a64f123f1649fbbccf7ba.png"> - <div class="shadow"><a href="javascript:">商品展示样例</a><b>¥商品价格</b></div> - </li> - [[/if]] - </ul> - <div class="clear"></div> - </div> - </div> - </div> - <div class="clear"></div> - </div> - </div> -</script> - -<!--app端店铺模板--> -<script type="text/template" id="2-app"> - <div class="model-wrap contentpanel-app"> - <!--banner--> - <div class="model-banner model-editor" data-toggle="editor-banner" data-title="顶部图片编辑"> - <img src="[[resources.shopTopBanner_APP.data[0].shopSrc]]"> - [[if resources.shopTopBanner_APP.data[0].isShowShopName == "Y"]] - <h1>[[shopName]]</h1> - [[/if]] - </div> - <!--nav--> - <div class="model-nav"> - <ul> - <li class="active"><a href="javascript:">首页</a></li> - <li><a href="javascript:">上新</a></li> - <li><a href="javascript:">人气</a></li> - <li style="border:0"><a href="javascript:">全部商品</a> - </li><div class="clear"></div> - </ul> - </div> - - <!--main--> - <div class="model-main"> - <!--品牌一览--> - <div class="model-brand brand-list model-editor" style="display: none;" data-toggle="editor-brand-app" data-title="品牌一览编辑"> - <span>品牌一览</span> - <ul> - [[each resources.brandBrowse.data as item _index]] - <li><a href="javascript:void(0)"><img src="[[item.brandIco]]"></a></li> - [[/each]] - <div class="clear"></div> - </ul> - </div> - <!--资源位大图--> - <div class="largePic model-editor" data-toggle="editor-largePic" data-title="资源位大图编辑"> - <img src="[[resources.largeSlideImg_APP.data[0].data[0].src]]"> - </div> - <!--资源位小图--> - <div class="model-smallPic model-editor" data-toggle="editor-smallPic" data-title="资源位小图编辑"> - <ul> - [[each resources.oneRowTwoColImages_APP.data as item _index]] - <li><img src="[[item.data[0].src]]"></li> - [[/each]] - </ul> - </div> - <div class="clear"></div> - <!--热门品类--> - <div class="sortList"> - <span>热门品类</span> - <div class="sortListDetail model-editor" data-toggle="editor-recommend" data-title="热门品类编辑"> - <ul> - [[each resources.recommend_APP.data as item _index]] - <li><img src="[[item.src]]"><a href="[[item.url]]">[[item.name]]</a></li> - [[/each]] - </ul> - <div class="clear"></div> - </div> - </div> - </div> - <!--人气单品--> - <div class="model-show"> - <div class="showTitle"> - <span>人气单品</span> - <a href="javascript:">MORE</a> - </div> - <div class="model-showDetail model-editor" data-toggle="editor-hotProduct" data-title="人气单品商品编辑"> - <ul> - [[if resources.hotProducts_APP.data.length > 0]] - [[each resources.hotProducts_APP.data as item _index]] - <li><img src="[[item.src]]"><div class="shadow"><a href="javascript:">[[item.productName]]</a><b>¥[[item.salesPrice]]</b></div></li> - [[/each]] - [[else]] - <li> - <img src="http://img01.yohoboys.com/staticimg/2016/05/19/15/01091c21f2317a64f123f1649fbbccf7ba.png"> - <div class="shadow"><a href="javascript:">商品展示样例</a><b>¥商品价格</b></div> - </li> - [[/if]] - </ul> - <div class="clear"></div> - </div> - </div> - </div> -</script> - -<!--排行前20畅销模板--> -<script type="text/template" id="top20Products"> - <div class="topList"> - <div class="topListName">畅销排行Top20</div> - <div class="topListDetail"> - <ul> - [[each data as item _index]] - <li class="topAdd" data-productId="[[item.productId]]" data-productName="[[item.productName]]" - data-productPrice="[[item.salesPrice]]" data-productSkn="[[item.productSkn]]" data-cnAlphabet="[[item.cnAlphabet]]" data-goodsId ="[[item.goodsId]]"> - <a href="javascript:"><img src="[[item.src]]"><b></b><span>top[[_index+1]]</span><i></i></a> - </li> - [[/each]] - </ul> - <div style="clear: both"></div> - </div> - <div class="topTip"> - <i>* </i><span></span> - </div> - </div> -</script> - -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/shop/DecorationList.html b/server/views/shop/DecorationList.html deleted file mode 100644 index 2805302..0000000 --- a/server/views/shop/DecorationList.html +++ /dev/null @@ -1,51 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <div class="panel-body"> - <div class="row"> - <div class="panel-col2"> - <select name="shop-name" id="shop-name" style="width: 280px;" tabindex="-1" title="" class="form-control"> - <option value="-1">选择店铺</option> - </select> - </div> - <div class="panel-col2"> - <select name="supplier-name" id="supplier-name" style="width: 280px;" tabindex="-1" title="" class="form-control"> - <option value="-1">选择供应商</option> - </select> - </div> - <div class="panel-col2"> - <select name="time-sort" id="brand-name" tabindex="-1" title="" class="form-control"> - <option value="-1">选择品牌</option> - </select> - </div> - <div class="panel-col"> - <select name="status" id="status" tabindex="-1" title="" class="form-control"> - <option value="" selected="">选择状态</option> - <option value="0">待装修</option> - <option value="100">暂存</option> - <option value="200">待审核</option> - <option value="300">审核通过</option> - <option value="900">驳回</option> - </select> - </div> - <div class="panel-col2"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - </div> - - </div> - </div> - - <div class="panel"> - <div class="panel-body nopadding"> - <input type="hidden" id="url" value="/supplier/store/indexPage"> - <div id="basicTable" class="dataTables_wrapper no-footer"></div> - </div> - </div> -</div> - -<%include '../common/__ui/footer'%> - diff --git a/server/views/shop/Edit.html b/server/views/shop/Edit.html deleted file mode 100644 index 97b4977..0000000 --- a/server/views/shop/Edit.html +++ /dev/null @@ -1,153 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<form id="storeForm" role="form" class="form-horizontal form-bordered" method="post" action="<%action%>"> - <input type="hidden" id="shopsId" value="<%data.shopsId%>"> - <div class="contentpanel"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h3 class="panel-title"><%editTitle%></h3> - </div> - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <div class="col-sm-1 control-label"> - <label>店铺名称:<span class="red">*</span></label> - </div> - <div class="col-sm-9"> - <input form="storeForm" name="shopName" id="shopName" type="text" class="form-control" - value="<%data.shopName%>" placeholder="店铺名称" required> - </div> - </div> - <div class="form-group"> - <div class="col-sm-1 control-label"> - <label>店铺类型:<span class="red">*</span></label> - </div> - <div class="col-sm-9"> - <select name="shopNature" id="shopNature" value='<%data.shopNature%>' required - class="form-control"> - <option value="-1">店铺类型</option> - <option value="1">旗舰店</option> - <option value="2">专卖店</option> - </select> - </div> - </div> - <div class="form-group"> - <div class="col-sm-1 control-label"> - <label>店铺域名:<span class="red">*</span></label> - </div> - <div class="col-sm-6"> - <div class="input-group"> - <input type="text" form="storeForm" name="shopDomain" id="shopDomain" - class="form-control" value="<%data.shopDomain%>" placeholder="店铺域名" - aria-describedby="basic-addon2" required> - <span class="input-group-addon" id="basic-addon2">.yohobuy.com</span> - </div> - </div> - </div> - <div class="form-group"> - <div class="col-sm-1 control-label"> - <label>官方网址:</label> - </div> - <div class="col-sm-9"> - <div id="websiteUrl-list" class="input-group Add col-sm-6" style="float: left;"></div> - <button type="button" data-type="0" class="btn btn-info urlAdd" style="margin-left: 8px;">新增 - </button> - </div> - - <input id="websiteUrl" type="hidden" value="<%data.websiteUrl%>"> - </div> - <div class="form-group"> - <div class="col-sm-1 control-label"> - <label>其他平台网址:</label> - </div> - <div class="col-sm-9"> - <div id="otherUrl-list" class="input-group Add col-sm-6 col-sm-6" style="float: left;"></div> - <button type="button" data-type="1" class="btn btn-info urlAdd" style="margin-left: 8px;">新增 - </button> - </div> - <input id="otherUrl" type="hidden" value="<%data.otherUrl%>"> - </div> - <div class="form-group"> - <div class="col-sm-1 control-label"> - <label>代表实体店:</label> - </div> - <div class="col-sm-9"> - <div id="shopAddress-list" class="input-group Add col-sm-6" style="float: left;"></div> - <button type="button" data-type="2" class="btn btn-info urlAdd" style="margin-left: 8px;">新增 - </button> - </div> - <input id="shopAddress" type="hidden" value="<%data.shopAddress%>"> - </div> - <div class="form-group"> - <div class="col-sm-1 control-label"> - <label>店铺Logo:</label> - </div> - <div class="col-sm-8"> - <input type="file" id="shopLogo" name="shopLogo" value="<%data.shopLogo%>"> - </div> - </div> - <div class="form-group"> - <div class="col-sm-1 control-label"> - <label>店铺简介:</label> - </div> - <div class="col-sm-7"> - <textarea class="form-control" form="storeForm" rows="10" name="shopIntro" id="shopIntro"><%data.shopIntro%></textarea> - </div> - </div> - <div class="form-group"> - <div class="col-sm-1 control-label"> - <label>店铺模式: - <span class="red">*</span> - </label> - </div> - <div class="col-sm-9"> - <select name="shopsType" id="shopsType" value='<%data.shopsType%>' class="form-control" - required> - <option value="-1">店铺模式</option> - <option value="1">单品店</option> - <option value="2">多品店</option> - </select> - </div> - </div> - - <div class="form-group"> - <div class="col-sm-1 control-label"> - <label>关联品牌:<span class="red">*</span></label> - </div> - <div class="col-sm-9"> - <button type="button" class="btn btn-info" id="modalId">添加供应商</button> - </div> - </div> - <div class="form-group"> - <div class="col-sm-8 col-sm-offset-1"> - <div id="updateBrand"></div> - </div> - <input type="hidden" id="shopRelationList" value="<%data.shopRelationList%>"/> - </div> - - <div style="text-align: center"> - <button type="button" data-oncheck='1' class="check btn btn-success">提交审核</button> - <button type="button" data-oncheck='2' class="check btn btn-info btn-cun">暂存</button> - <button onclick="history.go(-1);" type="button" class="btn btn-danger">取消</button> - </div> - </div> - </div> - </div> - </div> -</form> - -<script type="text/template" id="template"> - <div class="rows"> - <div class="form-group"> - <select name="brandname" id="brandname" style="width: 280px" tabindex="-1" class="select2-offscreen"> - <option value="-1">选择品牌</option> - </select> - </div> - <div class="form-group" style="height: 400px"> - <div id="baseTable"></div> - </div> - </div> -</script> - -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/shop/Index.html b/server/views/shop/Index.html deleted file mode 100644 index f07ce33..0000000 --- a/server/views/shop/Index.html +++ /dev/null @@ -1,71 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <%if add%> - <div class="panel-body" style="padding-bottom: 0;"> - <a href="/supplier/store/add" class="btn btn-success"><i class="fa fa-plus"></i> 添加店铺</a> - </div> - <%/if%> - - <div class="panel-body"> - <div class="row"> - <%if selectShop%> - <div class="panel-col2"> - <select name="shop-name" id="shop-name" style="width: 280px;" tabindex="-1" title="" - class="form-control"> - <option value="-1">选择店铺</option> - </select> - </div> - <%/if%> - - <%if checkStatus%> - <div class="panel-col2"> - <select name="status" id="status" style="width: 280px;" tabindex="-1" title="" class="form-control"> - <option value="" selected="">选择提交状态</option> - <option value="0">待装修</option> - <option value="100">暂存</option> - <option value="200">待审核</option> - <option value="300">审核通过</option> - <option value="900">驳回</option> - </select> - </div> - <%/if%> - - <div class="panel-col2"> - <select name="supplier-name" id="supplier-name" style="width: 280px;" tabindex="-1" title="" - class="form-control"> - <option value="-1">选择供应商</option> - </select> - </div> - <div class="panel-col2"> - <select name="time-sort" id="brand-name" tabindex="-1" title="" class="form-control"> - <option value="-1">选择品牌</option> - </select> - </div> - <div class="panel-col2"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - </div> - </div> - </div> - - <div class="panel"> - <div class="panel-body nopadding"> - <input type="hidden" id="url" value="/supplier/store/indexPage"> - <%if basicTab%> - <div id="basicTab" class="dataTables_wrapper no-footer" style="margin-bottom: 10px"></div> - <%/if%> - <div id="basicTable" class="dataTables_wrapper no-footer"> - </div> - </div> - </div> -</div> - -<input type="hidden" id="gridurl" value="<%gridurl%>"> -<input type="hidden" id="authority" value="<%authority%>" /> - -<%include '../common/__ui/footer'%> - diff --git a/server/views/shop/Info.html b/server/views/shop/Info.html deleted file mode 100644 index 40e7fce..0000000 --- a/server/views/shop/Info.html +++ /dev/null @@ -1,77 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="container" id="basicTable"> - <div class="row"> - <div class="col-md-offset-1 col-xs-10 col-sm-10 col-md-10 col-lg-10"> - <h4 style="border-bottom: 1px solid #CCCCCC;padding: 10px;font-weight: bold;font-size: 22px;">查看店铺信息</h4> - <input type="hidden" id="shopsId" value="<%data.shopsId%>" /> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">店铺名称:</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.shopName%></div> - </div> - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">店铺类型: </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"> - <input type="hidden" id="shopNature" value="<%data.shopNature%>" /> - </div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">店铺域名:</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.shopDomain%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">官网地址:</div> - <div id='otherUrlValue' class="col-xs-8 col-sm-8 col-md-8 col-lg-8"> - <input id="otherUrl" type="hidden" value="<%data.otherUrl%>"> - </div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">其他平台网址:</div> - <div id="websiteUrlValue" class="col-xs-8 col-sm-8 col-md-8 col-lg-8"> - <input id="websiteUrl" type="hidden" value="<%data.websiteUrl%>"> - </div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">代表实体店:</div> - <div id="shopAddressValue" class="col-xs-8 col-sm-8 col-md-8 col-lg-8"> - <input id="shopAddress" type="hidden" value="<%data.shopAddress%>"> - </div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">店铺logo:</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><img src="<%data.shopLogo%>" width="120" height="80"></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">店铺简介:</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.shopIntro%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">店铺状态:</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"> - <input id="checkStatus" type="hidden" value="<%data.checkStatus%>"> - </div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">店铺模式:</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"> - <input id="shopsType" type="hidden" value="<%data.shopsType%>"> - </div> - </div> - <div class="row show-grid"> - <div id="baseTable"></div> - <input type="hidden" id="shopRelationList" value="<%data.shopRelationList%>" /> - </div> - <div style="text-align: center"> - <%if btn%> - <a class="btn btn-success" id="tongguo">审核通过</a> - <a class="btn btn-danger" id="bohui">驳回</a> - <%/if%> - <button onclick="history.go(-1);" type="button" class="btn btn-info">返回</button> - </div> - </div> - </div> -</div> - -<%include '../common/__ui/footer'%> diff --git a/server/views/supplier/edit.html b/server/views/supplier/edit.html deleted file mode 100644 index bcebcd1..0000000 --- a/server/views/supplier/edit.html +++ /dev/null @@ -1,247 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="row"> - <div class="col-md-12"> - <form id="basicForm" role="form" class="form-horizontal form-bordered" method="post" action="<%action%>"> - <div class="panel panel-default"> - <div class="panel-heading"> - <h4 class="panel-title">基本信息</h4> - </div> - - <div class="panel-body"> - <div class="row"> - <div class="form-group"> - <label class="col-sm-2 control-label">公司名称 <span class="red">*</span></label> - <div class="col-sm-8"> - <input type="text" id="supplierName" placeholder="请填写公司名称" class="form-control" - required value="<%data.supplierName%>"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">营业执照号 <span class="red">*</span></label> - <div class="col-sm-8"> - <input id="supplierCode" placeholder="营业执照号" class="form-control" required - value="<%data.supplierCode%>"> - </div> - </div> - - - <div class="form-group"> - <label class="col-sm-2 control-label">成立日期 <span class="red">*</span></label> - <div class="col-sm-8"> - <input type="text" id="foundTime" jsaction="date" placeholder="成立日期" - class="form-control" readonly required value="<%data.foundTime%>"> - </div> - </div> - - - <div class="form-group"> - <label class="col-sm-2 control-label">营业期限<span class="red">*</span></label> - <div class="col-sm-3"> - <input type="text" class="form-control" jsaction="date:end:endOperateTime" - id="beginOperateTime" required placeholder="营业期限开始时间" - value="<%data.beginOperateTime%>" readonly> - </div> - <div class="col-sm-3"> - <input type="text" class="form-control" jsaction="date:start:beginOperateTime" - id="endOperateTime" required placeholder="营业期限结束时间" - value="<%data.endOperateTime%>" readonly> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">注册所在地 <span class="red">*</span></label> - <div class="col-sm-8"> - <input type="text" id="registeredAddress" placeholder="注册所在地" class="form-control" - required value="<%data.registeredAddress%>"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">法人代表姓名 <span class="red">*</span></label> - <div class="col-sm-8"> - <input type="text" id="legalPerson" placeholder="请填写法人代表姓名" class="form-control" - required value="<%data.legalPerson%>"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">法人身份证电子版<span class="red">*</span> </label> - <div class="col-sm-8"> - <input type="file" id="legalIdentityCard" name="legalIdentityCard" - value="<%data.legalIdentityCard%>" required placeholder="法人身份证电子版"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">注册资本 <span class="red">*</span></label> - <div class="col-sm-8"> - <input id="registeredCapital" placeholder="请填写注册资本" class="form-control" required - value="<%data.registeredCapital%>"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">营业执照电子版 <span class="red">*</span></label> - <div class="col-sm-8"> - <input type="file" id="businessLicense" name="businessLicense" - value="<%data.businessLicense%>" required> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">组织机构代码证<span class="red">*</span></label> - <div class="col-sm-8"> - <input type="file" id="businessLicensePic" name="businessLicensePic" - value="<%data.businessLicensePic%>" required> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">税务登记证<span class="red">*</span></label> - <div class="col-sm-8"> - <input type="file" id="taxCertificate" name="taxCertificate" - value="<%data.taxCertificate%>" required> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">开户许可证<span class="red">*</span></label> - <div class="col-sm-8"> - <input type="file" id="accountOpeningLicense" name="accountOpeningLicense" - value="<%data.accountOpeningLicense%>" required> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">纳税人资格证明</label> - <div class="col-sm-8"> - <input type="file" id="taxpayerQualificationCertificate" - name="taxpayerQualificationCertificate" - value="<%data.taxpayerQualificationCertificate%>"> - </div> - </div> - <div class="form-group"> - <label class="col-sm-2 control-label">行业许可证</label> - <div class="col-sm-8"> - <input type="file" id="industryLicense" name="industryLicense" value="<%data.industryLicense%>"> - </div> - </div> - - - <div class="form-group"> - <label class="col-sm-2 control-label">经营范围 </label> - <div class="col-sm-8"> - <input type="text" id="businessRange" placeholder="请填写经营范围" class="form-control" - value="<%data.businessRange%>"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">公司联系电话</label> - <div class="col-sm-8"> - <input type="text" maxlength="20" id="contactPhone" placeholder="请填写公司联系电话" - class="form-control" value="<%data.contactPhone%>"> - <p style="margin-top: 10px"><span class="red">注:与联系人电话至少填一个</span></p> - </div> - </div> - - - <div class="form-group"> - <label class="col-sm-2 control-label">公司联系地址 <span class="red">*</span></label> - <div class="col-sm-8"> - <input type="text" id="contactAddress" placeholder="请填写公司联系地址" class="form-control" - required value="<%data.contactAddress%>"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">联系人</label> - <div class="col-sm-8"> - <input type="text" id="linkman" placeholder="请填写联系人" class="form-control" - maxlength="20" value="<%data.linkman%>" maxlength="10"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">联系电话</label> - <div class="col-sm-8"> - <input type="text" maxlength="20" id="phone" placeholder="请填写联系电话" - class="form-control" value="<%data.phone%>"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">传真</label> - <div class="col-sm-8"> - <input type="text" id="fax" placeholder="请填写传真" class="form-control" - value="<%data.fax%>"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">邮件地址</label> - <div class="col-sm-8"> - <input type="text" id="email" placeholder="请填写邮件地址" class="form-control" - value="<%data.email%>"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">网址</label> - <div class="col-sm-8"> - <input type="text" id="url" placeholder="请填写网址" class="form-control" - value="<%data.url%>"> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">开户行<span class="red">*</span></label> - <div class="col-sm-8"> - <input type="text" id="bankName" placeholder="请填写开户行" class="form-control" - value="<%data.bankName%>" required> - </div> - </div> - - <div class="form-group"> - <label class="col-sm-2 control-label">开户账号<span class="red">*</span></label> - <div class="col-sm-8"> - <input type="text" id="bankAccount" placeholder="请填写开户账号" class="form-control" - value="<%data.bankAccount%>" required> - </div> - </div> - - <input type="hidden" id="id" value="<%data.id%>"> - <input type="hidden" id="operations" value="<%data.operations%>"> - <input type="hidden" id="status" value="<%data.status%>"> - </div> - </div> - - <div class="panel-footer"> - <div class="row"> - <div class="col-sm-8 col-sm-offset-2"> - <a href="javascript:;" class="btn btn-default" - onclick="javascript:history.go(-1);">取消</a> - <%if add%> - <button type="submit" class="btn btn-info" data-loading-text="暂存中..." id="btnTemporary">暂存</button> - <%/if%> - - <%if update%> - <button type="submit" class="btn btn-success mr5" data-loading-text="提交审核中..." id="btnReview">提交审核</button> - <%/if%> - - <%if updatecheck%> - <button type="submit" class="btn btn-success mr5" data-loading-text="提交审核中..." id="updatecheck">提交审核</button> - <%/if%> - </div> - </div> - </div> - </div> - </form> - </div> - </div> -</div> - -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/supplier/index.html b/server/views/supplier/index.html deleted file mode 100644 index 7dadd90..0000000 --- a/server/views/supplier/index.html +++ /dev/null @@ -1,67 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="contentpanel"> - <div class="panel panel-default" style="margin-bottom:10px;"> - <%if iscreate%> - <div class="panel-body" style="padding-bottom: 0"> - <a href="/supplier/add" class="btn btn-success"><i class="fa fa-plus"></i> 添加供应商</a> - </div> - <%/if%> - - <div class="panel-body"> - <div class="row"> - <%if searchStatus%> - <div class="panel-col"> - <select name="status" id="status" tabindex="-1" title="" class="select2-offscreen brandBtn-group"> - <option value="-1" selected="">选择状态</option> - <%each searchStatus as item%> - <option value="<%item.value%>"><%item.name%></option> - <%/each%> - </select> - </div> - <%/if%> - - <div class="panel-col"> - <select name="supplier-name" id="supplier-name" tabindex="-1" title="" class="select2-offscreen brandBtn-group" placeholder="供应商名称" > - <option value="-1" selected="selected">供应商名称</option> - </select> - </div> - - <%if searchSort%> - <div class="panel-col"> - <select name="time-sort" id="time-sort" tabindex="-1" title="" class="select2-offscreen brandBtn-group"> - <option value="-1" selected="">按时间排序</option> - <option value="asc">正序</option> - <option value="desc">倒序</option> - </select> - </div> - <%/if%> - - <%if searchIsfreez%> - <div class="panel-col"> - <select name="isFreeze" id="isFreeze" tabindex="-1" title="" class="select2-offscreen brandBtn-group"> - <option value="-1" selected="">生效状态</option> - <option value="N">生效中</option> - <option value="Y">已冻结</option> - </select> - </div> - <%/if%> - - <div class="panel-col"> - <a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a> - <a id="all-btn" href="" class="btn btn-info">全部</a> - </div> - </div> - </div> - </div> - - <div class="panel panel-primary-head"> - <div class="dataTables_wrapper" id="basicTable"></div> - </div> -</div> - -<input type="hidden" id="btnAuthority" value="<%bottons%>"> -<input type="hidden" id="gridurl" value="<%gridurl%>"> - -<%include '../common/__ui/footer'%> \ No newline at end of file diff --git a/server/views/supplier/info.html b/server/views/supplier/info.html deleted file mode 100644 index d88c09c..0000000 --- a/server/views/supplier/info.html +++ /dev/null @@ -1,167 +0,0 @@ -<%include '../common/__ui/header'%> -<%include '../common/__partail/ListHeader'%> - -<div class="container"> - <div class="row"> - <div class="col-md-offset-1 col-xs-10 col-sm-10 col-md-10 col-lg-10"> - <div class="page-header"> - <h4>查看供应商信息</h4> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">公司名称 :</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.supplierName%></div> - </div> - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">注册号(营业执照号):</div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.supplierCode%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">成立日期: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.foundTime%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">营业期限: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.beginOperateTime%> ~ <%data.endOperateTime%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">注册所在地: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.registeredAddress%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">法人代表姓名: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.legalPerson%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">法人身份证电子版: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><img width="60" height="60" - src="<%data.legalIdentityCard%>"/></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">注册资本: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.registeredCapital%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">营业执照电子版: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><img width="60" height="60" src="<%data.businessLicense%>"/> - </div> - </div> - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">组织机构代码证: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><img width="60" height="60" - src="<%data.businessLicensePic%>"/></div> - </div> - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">税务登记证: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><img width="60" height="60" src="<%data.taxCertificate%>"/> - </div> - </div> - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">开户许可证: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><img width="60" height="60" - src="<%data.accountOpeningLicense%>"/></div> - </div> - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">纳税人资格证明: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><img width="60" height="60" - src="<%data.taxpayerQualificationCertificate%>"/></div> - </div> - - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">行业许可证: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><img width="60" height="60" src="<%data.industryLicense%>"/> - </div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">经营范围: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.businessRange%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">公司联系电话: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.contactPhone%></div> - </div> - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">公司联系地址: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.contactAddress%></div> - </div> - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">联系人: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.linkman%></div> - </div> - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">联系电话: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.phone%></div> - </div> - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">传真: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.fax%></div> - </div> - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">邮件地址: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.email%></div> - </div> - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">网址: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.url%></div> - </div> - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">开户行: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.bankName%></div> - </div> - - <div class="row show-grid"> - <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">开户账号: - </div> - <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.bankAccount%></div> - </div> - - - <input type="hidden" id="status" value="<%data.status%>"> - <input type="hidden" id="id" value="<%data.id%>"> - <input type="hidden" id="operations" value="<%data.operations%>"> - - <div class="row show-grid"> - <%if edit%> - <button type="button" class="btn btn-success btn-submit" style="display:hidden">审核通过</button> - <button type="button" class="btn btn-danger btn-return" style="display:hidden">审核驳回</button> - <%/if%> - - <button type="button" id="return" class="btn btn-default" onclick="javascript:history.go(-1);">返回</button> - </div> - </div> - </div> -</div> - -<%include '../common/__ui/footer'%> \ No newline at end of file -- libgit2 0.24.0