From 95f9ea7eb339c36cade6c67d0385c49ec2d81477 Mon Sep 17 00:00:00 2001 From: 935090232@qq.com <ak473600000> Date: Wed, 14 Apr 2021 19:39:45 +0800 Subject: [PATCH] Merge branch 'score_shop' into api_score_meger --- zq-erp/src/main/resources/templates/views/admin/activity/activity-market.html | 169 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 169 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/resources/templates/views/admin/activity/activity-market.html b/zq-erp/src/main/resources/templates/views/admin/activity/activity-market.html new file mode 100644 index 0000000..ea543fc --- /dev/null +++ b/zq-erp/src/main/resources/templates/views/admin/activity/activity-market.html @@ -0,0 +1,169 @@ +<!DOCTYPE HTML> +<html xmlns:th="http://www.thymeleaf.org" xmlns:matrix="http://www.w3.org/1999/xhtml"> +<head> + <meta charset="utf-8"> + <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> + <meta name="renderer" content="webkit|ie-comp|ie-stand"> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> + <meta name="viewport" + content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/> + <meta http-equiv="Cache-Control" content="no-siteapp"/> + <!-- 本框架基本脚本和样式 --> + <script type="text/javascript" th:src="@{/js/systools/MBaseVue.js}"></script> + <link rel="stylesheet" th:href="@{/plugin/element-ui/index.css}"> + <link rel="stylesheet" th:href="@{/plugin/bootstrap-3.3.5/css/bootstrap.min.css}"> + <link th:href="@{/css/styleOne/style.min.css}" rel="stylesheet" type="text/css"/> + + <!-- 富文本编辑器 --> + <script type="text/javascript" charset="utf-8" + th:src="@{/plugin/beditor/ueditor.config.js}"></script> + <script type="text/javascript" charset="utf-8" + th:src="@{/plugin/beditor/ueditor.all.js}"> + </script> + <script type="text/javascript" charset="utf-8" + th:src="@{/plugin/beditor/lang/zh-cn/zh-cn.js}"></script> + <style> + + .button { + padding: 0; + float: right; + } + + .image { + width: 100%; + display: block; + } + + .clearfix:before, + .clearfix:after { + display: table; + content: ""; + } + + .clearfix:after { + clear: both + } + + .box-card { + padding: 5px 5px; + margin-right: 40px; + } + </style> +</head> + +<body> +<div class="panel-body" id="app" v-cloak> + <el-row> + <el-col :span="4"> + <el-card class="box-card" :body-style="{ padding: '10px 10px'}"> + <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image"> + <div style="padding: 5px;"> + <span style="padding:5px;font-size: 30px;">每日签到</span> + <div class="bottom clearfix"> + <el-button type="primary" class="button" @click="createSign()" round>马上创建</el-button> + </div> + </div> + </el-card> + </el-col> + <el-col :span="4"> + <el-card class="box-card" :body-style="{ padding: '10px 10px'}"> + <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image"> + <div style="padding: 5px;"> + <span style="padding:5px;font-size: 30px;">拼团</span> + <div class="bottom clearfix"> + <el-button type="primary" class="button" @click="openAdd(1)" round>马上创建</el-button> + </div> + </div> + </el-card> + </el-col> + <el-col :span="4"> + <el-card class="box-card" :body-style="{ padding: '10px 10px'}"> + <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image"> + <div style="padding: 5px;"> + <span style="padding:5px;font-size: 30px;">秒杀</span> + <div class="bottom clearfix"> + <el-button type="primary" class="button" @click="openSecKill()" round>马上创建</el-button> + </div> + </div> + </el-card> + </el-col> + <el-col :span="4"> + <el-card class="box-card" :body-style="{ padding: '10px 10px'}"> + <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image"> + <div style="padding: 5px;"> + <span style="padding:5px;font-size: 30px;">沙龙</span> + <div class="bottom clearfix"> + <el-button type="primary" class="button" @click="openSalon()" round>马上创建</el-button> + </div> + </div> + </el-card> + </el-col> + </el-row> + +</div> +</body> +<script type="text/javascript" th:src="@{/js/plugin/jquery-2.1.4.min.js}"></script> +<script type="text/javascript" th:src="@{/js/plugin/jquery.query.js}"></script> +<script type="text/javascript" th:src="@{/plugin/bootstrap-3.3.5/js/bootstrap.min.js}"></script> +<script type="text/javascript" th:src="@{/js/systools/AjaxProxyVue.js}"></script> +<script type="text/javascript" th:src="@{/js/plugin/vue.js}"></script> +<script type="text/javascript" th:src="@{/plugin/element-ui/index.js}"></script> +<script type="text/javascript" th:src="@{/js/systools/MJsBase.js}"></script> +<script type="text/javascript" th:src="@{/plugin/layer/layer.js}"></script> +<script type="text/javascript" th:src="@{/plugin/moment.min.js}"></script> + +<script> + var app = new Vue({ + el: '#app', + data: {}, + created: function () { + }, + methods: { + //跳转到设置签到活动 + createSign(){ + layer.full(layer.open({ + type: 2, + title: "签到管理", + maxmin: true, + area: [MUI.SIZE_L, '500px'], + content : [ basePath + '/admin/redirect/activity/activity-sign'] + })); + }, + // 打新增拼团界面 + openAdd(value) { + layer.full(layer.open({ + type : 2, + title : "新建拼团", + area : [ MUI.SIZE_L, MUI.SIZE_L ], + maxmin : true, + content : [ basePath+'/admin/redirect/shop/activities/activitiesGroupBuy-form'] + })); + }, + + // 打开新增秒杀界面 + openSecKill() { + layer.full(layer.open({ + type : 2, + title : "新建秒杀", + area : [ MUI.SIZE_L, MUI.SIZE_L ], + maxmin : true, + content : [ basePath+'/admin/redirect/shop/activities/activitiesSecKill-form'] + })); + }, + + // 打开新增沙龙界面 + openSalon() { + layer.full(layer.open({ + type : 2, + title : "新建秒杀", + area : [ MUI.SIZE_L, MUI.SIZE_L ], + maxmin : true, + content : [ basePath+'/admin/redirect/shop/activities/activitiesSalon-form'] + })); + }, + } + }) +</script> + +</body> +</html> \ No newline at end of file -- Gitblit v1.9.1