|  |  | 
 |  |  |  | 
 |  |  |         .image { | 
 |  |  |             width: 100%; | 
 |  |  |             height: 100%; | 
 |  |  |             display: block; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  | 
 |  |  |  | 
 |  |  | <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="../../../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-row style="padding:20px;"> | 
 |  |  | <!--        <el-col :span="4">--> | 
 |  |  | <!--            <el-card class="box-card" :body-style="{ padding: '10px 10px'}">--> | 
 |  |  | <!--                <img src="../../../images/sign/meiriqiandao.png" class="image">--> | 
 |  |  | <!--                <div style="padding: 5px;">--> | 
 |  |  | <!--                    <span style="padding:5px;font-size: 18px;">每日签到</span>--> | 
 |  |  | <!--                    <div class="bottom clearfix">--> | 
 |  |  | <!--                        <el-button type="primary" size="mini" 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> | 
 |  |  |                     <span style="padding:5px;font-size: 18px;">拼团</span> | 
 |  |  |                     <div class="bottom clearfix"> | 
 |  |  |                         <el-button type="primary" class="button" @click="openAdd(1)" round>马上创建</el-button> | 
 |  |  |                         <el-button type="primary" size="mini" class="button" @click="openAdd(1)" round>马上创建</el-button> | 
 |  |  |                     </div> | 
 |  |  |                 </div> | 
 |  |  |             </el-card> | 
 |  |  | 
 |  |  |             <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> | 
 |  |  |                     <span style="padding:5px;font-size: 18px;">秒杀</span> | 
 |  |  |                     <div class="bottom clearfix"> | 
 |  |  |                         <el-button type="primary" class="button" @click="openSecKill()" round>马上创建</el-button> | 
 |  |  |                         <el-button type="primary" size="mini" class="button" @click="openSecKill()" round>马上创建</el-button> | 
 |  |  |                     </div> | 
 |  |  |                 </div> | 
 |  |  |             </el-card> | 
 |  |  | 
 |  |  |             <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> | 
 |  |  |                     <span style="padding:5px;font-size: 18px;">沙龙</span> | 
 |  |  |                     <div class="bottom clearfix"> | 
 |  |  |                         <el-button type="primary" class="button" @click="openSalon()" round>马上创建</el-button> | 
 |  |  |                         <el-button type="primary" size="mini" class="button" @click="openSalon()" round>马上创建</el-button> | 
 |  |  |                     </div> | 
 |  |  |                 </div> | 
 |  |  |             </el-card> | 
 |  |  |         </el-col> | 
 |  |  |     </el-row> | 
 |  |  | <!--    <el-row style="padding:20px;">--> | 
 |  |  | <!--        <el-col :span="4">--> | 
 |  |  | <!--            <el-card class="box-card" :body-style="{ padding: '10px 10px'}">--> | 
 |  |  | <!--                <img src="../../../images/luckyDraw/zhuanpanchoujian.png" class="image">--> | 
 |  |  | <!--                <div style="padding: 5px;">--> | 
 |  |  | <!--                    <span style="padding:5px;font-size: 18px;">转盘抽奖</span>--> | 
 |  |  | <!--                    <div class="bottom clearfix">--> | 
 |  |  | <!--                        <el-button type="primary" size="mini" class="button" @click="createLuckyDraw()" round>马上创建</el-button>--> | 
 |  |  | <!--                    </div>--> | 
 |  |  | <!--                </div>--> | 
 |  |  | <!--            </el-card>--> | 
 |  |  | <!--        </el-col>--> | 
 |  |  | <!--    </el-row>--> | 
 |  |  |  | 
 |  |  | </div> | 
 |  |  | </body> | 
 |  |  | 
 |  |  |         created: function () { | 
 |  |  |         }, | 
 |  |  |         methods: { | 
 |  |  |             //跳转到设置转盘抽奖 | 
 |  |  |             createLuckyDraw(){ | 
 |  |  |                 $.AjaxProxy().invoke(basePath + "/admin/activitySignAwardSet/createLuckyDrawSet", function(loj) { | 
 |  |  |                     if (loj[0].result.status == '200') { | 
 |  |  |                         layer.full(layer.open({ | 
 |  |  |                             type: 2, | 
 |  |  |                             title: "转盘抽奖管理", | 
 |  |  |                             maxmin: true, | 
 |  |  |                             area: [MUI.SIZE_L, '500px'], | 
 |  |  |                             content : [ basePath + '/admin/redirect/activity/activity-luckyDraw'] | 
 |  |  |                         })); | 
 |  |  |                     }else{ | 
 |  |  |                         _this.$message({ | 
 |  |  |                             message: data.info, | 
 |  |  |                             type: 'success', | 
 |  |  |                         }); | 
 |  |  |                     } | 
 |  |  |                 }); | 
 |  |  |             }, | 
 |  |  |             //跳转到设置签到活动 | 
 |  |  |             createSign(){ | 
 |  |  |                 layer.full(layer.open({ | 
 |  |  |                     type: 2, | 
 |  |  |                     title: "签到管理", | 
 |  |  |                     maxmin: true, | 
 |  |  |                     area: [MUI.SIZE_L, '500px'], | 
 |  |  |                     content : [ basePath + '/admin/redirect/activity/activity-sign'] | 
 |  |  |                 })); | 
 |  |  |                 $.AjaxProxy().invoke(basePath + "/admin/activitySignAwardSet/createSignAwardSet", function(loj) { | 
 |  |  |                     if (loj[0].result.status == '200') { | 
 |  |  |                         layer.full(layer.open({ | 
 |  |  |                             type: 2, | 
 |  |  |                             title: "签到管理", | 
 |  |  |                             maxmin: true, | 
 |  |  |                             area: [MUI.SIZE_L, '500px'], | 
 |  |  |                             content : [ basePath + '/admin/redirect/activity/activity-sign'] | 
 |  |  |                         })); | 
 |  |  |                     }else{ | 
 |  |  |                         _this.$message({ | 
 |  |  |                             message: data.info, | 
 |  |  |                             type: 'success', | 
 |  |  |                         }); | 
 |  |  |                     } | 
 |  |  |                 }); | 
 |  |  |             }, | 
 |  |  |             // 打新增拼团界面 | 
 |  |  |             openAdd(value) { | 
 |  |  | 
 |  |  |             openSalon() { | 
 |  |  |                 layer.full(layer.open({ | 
 |  |  |                     type : 2, | 
 |  |  |                     title : "新建秒杀", | 
 |  |  |                     title : "新建沙龙", | 
 |  |  |                     area : [ MUI.SIZE_L, MUI.SIZE_L ], | 
 |  |  |                     maxmin : true, | 
 |  |  |                     content : [ basePath+'/admin/redirect/shop/activities/activitiesSalon-form'] |