Blame view

src/App.vue 1.94 KB
c0087cf1   夏洋涛   feat:创建项目
1
<template>
0713eff5   夏洋涛   feat:适老化
2
3
4
  <div id="app">
    <!-- <err></err> -->
    <router-view @openSchool="openSchool" />
c0087cf1   夏洋涛   feat:创建项目
5
6
7
8
9
    <van-popup
      style="background: transparent"
      get-container="body"
      v-model="showSchool"
      @close="closeSchool"
0713eff5   夏洋涛   feat:适老化
10
11
12
    >
      <school-add @closeAdd="closeAdd"></school-add>
    </van-popup>
c0087cf1   夏洋涛   feat:创建项目
13
14
15
  </div>
</template>
<script>
0713eff5   夏洋涛   feat:适老化
16
import schoolAdd from "@/views/Travel/component/schoolAdd";
c0087cf1   夏洋涛   feat:创建项目
17
import err from "@/views/502";
0713eff5   夏洋涛   feat:适老化
18
import vConsole from "vconsole";
c0087cf1   夏洋涛   feat:创建项目
19
export default {
c72c87c8   夏洋涛   feat:审核问题修改,标题栏,适老化
20
21
  data() {
    return {
2c6e2be3   夏洋涛   fix:登录逻辑问题修改
22
      showSchool: false,
274c5d5e   夏洋涛   feat:健康地址
23
24
    };
  },
2c6e2be3   夏洋涛   fix:登录逻辑问题修改
25
26
27
28
29
  mounted() {
    // if (this.$route.query.dev) {
    //   sessionStorage.setItem(
    //     "prePageQuery",
    //     JSON.stringify({ dev: this.$route.query.dev })
274c5d5e   夏洋涛   feat:健康地址
30
31
    //   );
    //   new vConsole();
2c6e2be3   夏洋涛   fix:登录逻辑问题修改
32
    // }
c72c87c8   夏洋涛   feat:审核问题修改,标题栏,适老化
33
34
  },
  methods: {
c0087cf1   夏洋涛   feat:创建项目
35
    openSchool() {
0713eff5   夏洋涛   feat:适老化
36
37
      this.showSchool = true;
    },
0713eff5   夏洋涛   feat:适老化
38
39
40
41
42
43
    closeSchool() {
      if (
        sessionStorage.getItem("schoolNames") == "undefined" ||
        !sessionStorage.getItem("schoolNames")
      ) {
        // this.showSchool = true
c72c87c8   夏洋涛   feat:审核问题修改,标题栏,适老化
44
45
      }
    },
0713eff5   夏洋涛   feat:适老化
46
47
48
49
50
51
    closeAdd() {
      this.showSchool = false;
    },
  },
  components: {
    schoolAdd,
c72c87c8   夏洋涛   feat:审核问题修改,标题栏,适老化
52
    err
f9c9bfb7   夏洋涛   fix:修
53
  },
274c5d5e   夏洋涛   feat:健康地址
54
55
};
</script>
f9c9bfb7   夏洋涛   fix:修
56
57
58
59
<style lang="stylus">
html,body,#app {
  height:100%;
}
c0087cf1   夏洋涛   feat:创建项目
60
61
html {
  font-size: 10px;
0713eff5   夏洋涛   feat:适老化
62
63
64
}

body {
c0087cf1   夏洋涛   feat:创建项目
65
  max-width: 800px;
0713eff5   夏洋涛   feat:适老化
66
  margin: auto;
c0087cf1   夏洋涛   feat:创建项目
67
68
}

0713eff5   夏洋涛   feat:适老化
69

c0087cf1   夏洋涛   feat:创建项目
70
71
72
73

.van-tabs__line {
  background-color: #1CDA89;
}
0713eff5   夏洋涛   feat:适老化
74

c0087cf1   夏洋涛   feat:创建项目
75
76
77
78
::-webkit-scrollbar {
  display: none; /* Chrome Safari */
}

0713eff5   夏洋涛   feat:适老化
79
.oh {
c0087cf1   夏洋涛   feat:创建项目
80
  overflow: hidden;
0713eff5   夏洋涛   feat:适老化
81
}
c0087cf1   夏洋涛   feat:创建项目
82
83
84
85

.fl {
  float: left;
}
f9c9bfb7   夏洋涛   fix:修
86
87

.fr {
c0087cf1   夏洋涛   feat:创建项目
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
  float: right;
}

.van-rate__icon {
  font-size: 1.2rem;
}

.releaseEvaluate {
  .van-rate__icon {
    font-size: 1.8rem;
  }
}

.evaluateDetail {
  .van-rate__icon {
    font-size: 1.8rem;
  }
}

.cardCont {
  td {
    border: 1px solid #72DAB1;
    text-align: center;
  }
}

.noMove {
  text-align: center;
  padding: 10px 0;
  clear: both;
  color: #ccc;
}

.baseDetail .cont img, .courseDetail .courseCont img {
  width: 100% !important;
}

.custom-image .van-empty__image {
  width: 90px;
  height: 90px;
}
p{
  margin:0;
}
</style>