From 3fb39294edcd16fb9a7c07e5dddb452c64c9cecd Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 17 Jan 2022 16:29:00 +0800
Subject: [PATCH] +活动加标题
---
src/components/mobilePopupOurAfter/index.vue | 36 +++++++++++++++++++++++++-----------
1 files changed, 25 insertions(+), 11 deletions(-)
diff --git a/src/components/mobilePopupOurAfter/index.vue b/src/components/mobilePopupOurAfter/index.vue
index 46abfb1..2209fc8 100644
--- a/src/components/mobilePopupOurAfter/index.vue
+++ b/src/components/mobilePopupOurAfter/index.vue
@@ -1,5 +1,9 @@
<template>
- <div id="mobilePopupOurAfter">
+ <div
+ class="mobilePopupOurAfter"
+ :class="{ ismBigPopupAfter: mBigPopupAfter }"
+ >
+ <!-- v-show="mBigPopupAfter" -->
<div class="m_p_a_heard">
<div><i class="el-icon-menu icon"></i></div>
<div @click="closeBigPopupAfter"><i class="el-icon-close icon"></i></div>
@@ -32,8 +36,9 @@
</template>
<script>
+import { mapGetters } from "vuex";
import { getList } from "@/api/mobile/orgnav/index"; //机构单位
-import { getChildNavList } from "@/api/mobile/public/arc"; //校园建筑
+import { getChildNavList } from "@/api/mobile/public/arc"; //社区建筑
import {
// getListlivingFacilitiesr,
// getListsupermarket,
@@ -51,6 +56,9 @@
// import { getListparking } from "@/api/mobile/stop/index"; //停车场
export default {
name: "mobilePopupOurAfter",
+ computed: {
+ ...mapGetters(["mBigPopupAfter"]),
+ },
data() {
return {
choiceValue: "",
@@ -61,7 +69,7 @@
opendata: "openData1",
},
{
- name: "校园建筑",
+ name: "社区建筑",
opendata: "openData2",
icon: "el-icon-s-management",
},
@@ -98,7 +106,7 @@
openData2: [
{ name: "行政办公", type: 1, method: getChildNavList },
{ name: "教学科研", type: 2, method: getChildNavList },
- { name: "校内场馆", type: 3, method: getChildNavList },
+ { name: "社区场馆", type: 3, method: getChildNavList },
{ name: "宿舍公寓", type: 4, method: getChildNavList },
{ name: "文化风景", type: 5, method: getChildNavList },
{ name: "家属住宅", type: 6, method: getChildNavList },
@@ -107,9 +115,9 @@
// openData3: [
// { name: "食堂餐厅", type: 1, method: getListlivingFacilitiesr },
// { name: "购物超市", type: 2, method: getListsupermarket },
- // { name: "校内医疗", type: 3, method: getListmedical },
+ // { name: "社区内医疗", type: 3, method: getListmedical },
// { name: "邮寄快递", type: 4, method: getListmail },
- // { name: "学生浴室", type: 5, method: getListbathroom },
+ // { name: "社区浴室", type: 5, method: getListbathroom },
// { name: "圈存机", type: 6, method: getListtransference },
// { name: "打字复印", type: 7, method: getListduplicate },
// { name: "AED", type: 8, method: getListaed },
@@ -121,9 +129,9 @@
openData3: [
{ name: "食堂餐厅", type: 1, method: getListLifeOnce },
{ name: "购物超市", type: 2, method: getListLifeOnce },
- { name: "校内医疗", type: 3, method: getListLifeOnce },
+ { name: "社区内医疗", type: 3, method: getListLifeOnce },
{ name: "邮寄快递", type: 4, method: getListLifeOnce },
- { name: "学生浴室", type: 5, method: getListLifeOnce },
+ { name: "社区浴室", type: 5, method: getListLifeOnce },
{ name: "圈存机", type: 6, method: getListLifeOnce },
{ name: "打字复印", type: 7, method: getListLifeOnce },
{ name: "银行网点", type: 8, method: getListLifeOnce },
@@ -158,13 +166,16 @@
align-items: center;
justify-content: center;
}
-#mobilePopupOurAfter {
+.mobilePopupOurAfter {
position: fixed;
top: 37.5%;
- left: 13.5%;
+ // left: 13.5%;
+ left: -1000px;
width: 75%;
height: 25%;
background-color: #fff;
+ box-shadow: 0px 0px 5px #29baf1;
+ transition: all 0.5s;
// background-image: linear-gradient(
// // 135deg,
// #28bbf06c 30px,
@@ -229,4 +240,7 @@
}
}
}
-</style>
\ No newline at end of file
+.ismBigPopupAfter {
+ left: 13.5%;
+}
+</style>
--
Gitblit v1.9.3