|  |  |  | 
|---|
|  |  |  | <body> | 
|---|
|  |  |  | <div class="panel-body" id="app" v-cloak> | 
|---|
|  |  |  | <el-row> | 
|---|
|  |  |  | <el-col :span="6"> | 
|---|
|  |  |  | <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"> | 
|---|
|  |  |  | <img src="../../../images/sign/meiriqiandao.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="../../../images/sign/tiantianpingtuan.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="../../../images/sign/jisumiaosha.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="../../../images/sign/shalonghuodong.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> | 
|---|
|  |  |  | 
|---|
|  |  |  | <script> | 
|---|
|  |  |  | var app = new Vue({ | 
|---|
|  |  |  | el: '#app', | 
|---|
|  |  |  | data: {}, | 
|---|
|  |  |  | data: { | 
|---|
|  |  |  | imageUrlqd: "../../images/sign/meiriqiandao.png", | 
|---|
|  |  |  | imageUrlms: "../../images/sign/jisumiaosha.png", | 
|---|
|  |  |  | imageUrlpt: "../../images/sign/tiantianpingtuan.png", | 
|---|
|  |  |  | imageUrlsl: "../../images/sign/shalonghuodong.png", | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | created: function () { | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | methods: { | 
|---|
|  |  |  | 
|---|
|  |  |  | 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> | 
|---|