Browse Source

微网站

xiaoming_global 4 years ago
parent
commit
56d8aa7cfa

+ 3 - 3
config/dev.env.js View File

@@ -2,13 +2,13 @@ module.exports = {
2 2
   NODE_ENV: '"development"',
3 3
   ENV_CONFIG: '"dev"',
4 4
   BASE_API:'"http://api.test1.sgjyun.com"',//'"http://localhost:9534"'
5
+  // BASE_API: '"http://localhost:9534"'
5 6
   // BASE_API:'"http://api.scrm.kuyicloud.com"',//'"http://localhost:9534"'
6 7
   // BASE_API:'"http://localhost:9536"',
7
-  
8
+
8 9
   //  SSO_HOST: '"http://testsso.sgjyun.com"',
9 10
   //  SRCM_HOST: '"http://test1.sgjyun.com"',
10 11
   //  XT_HOST: '"http://xt.test.sgjyun.com"',
11 12
   //  MIRCO_MALL_HOST: '"http://mall.test.sgjyun.com"',
12 13
   //  CDM_HOST: '"http://cdm.test.sgjyun.com"',
13
-}
14
-
14
+};

+ 15 - 15
config/index.js View File

@@ -1,14 +1,14 @@
1
-'use strict'
1
+"use strict";
2 2
 // Template version: 1.2.6
3 3
 // see http://vuejs-templates.github.io/webpack for documentation.
4 4
 
5
-const path = require('path')
5
+const path = require("path");
6 6
 
7 7
 module.exports = {
8 8
   dev: {
9 9
     // Paths
10
-    assetsSubDirectory: 'static',
11
-    assetsPublicPath: '/',
10
+    assetsSubDirectory: "static",
11
+    assetsPublicPath: "/",
12 12
     proxyTable: {},
13 13
 
14 14
     // Various Dev Server settings
@@ -16,9 +16,9 @@ module.exports = {
16 16
     // can be overwritten by process.env.HOST
17 17
     // if you want dev by ip, please set host: '0.0.0.0'
18 18
 
19
-    host: 'test1.sgjyun.com',
19
+    host: "test1.sgjyun.com",
20 20
     //  host: 'microweb.kuyicloud.com',
21
-    // host: 'localhost',
21
+    // host: "localhost",
22 22
     // host: 'jk.kuyicloud.com',
23 23
     port: 8090, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
24 24
     // host: 'test1.sgjyun.com',
@@ -41,7 +41,7 @@ module.exports = {
41 41
      */
42 42
 
43 43
     // https://webpack.js.org/configuration/devtool/#development
44
-    devtool: '#cheap-source-map',
44
+    devtool: "#cheap-source-map",
45 45
 
46 46
     // If you have problems debugging vue-files in devtools,
47 47
     // set this to false - it *may* help
@@ -53,16 +53,16 @@ module.exports = {
53 53
     // (https://github.com/webpack/css-loader#sourcemaps)
54 54
     // In our experience, they generally work as expected,
55 55
     // just be aware of this issue when enabling this option.
56
-    cssSourceMap: false,
56
+    cssSourceMap: false
57 57
   },
58 58
 
59 59
   build: {
60 60
     // Template for index.html
61
-    index: path.resolve(__dirname, '../dist/index.html'),
61
+    index: path.resolve(__dirname, "../dist/index.html"),
62 62
 
63 63
     // Paths
64
-    assetsRoot: path.resolve(__dirname, '../dist'),
65
-    assetsSubDirectory: 'static',
64
+    assetsRoot: path.resolve(__dirname, "../dist"),
65
+    assetsSubDirectory: "static",
66 66
 
67 67
     /**
68 68
      * You can set by youself according to actual condition
@@ -72,21 +72,21 @@ module.exports = {
72 72
      * In most cases please use '/' !!!
73 73
      */
74 74
     // assetsPublicPath: '/vue-element-admin/', // If you are deployed on the root path, please use '/'
75
-    assetsPublicPath: './',
75
+    assetsPublicPath: "./",
76 76
 
77 77
     /**
78 78
      * Source Maps
79 79
      */
80 80
     productionSourceMap: false,
81 81
     // https://webpack.js.org/configuration/devtool/#production
82
-    devtool: '#source-map',
82
+    devtool: "#source-map",
83 83
 
84 84
     // Gzip off by default as many popular static hosts such as
85 85
     // Surge or Netlify already gzip all static assets for you.
86 86
     // Before setting to `true`, make sure to:
87 87
     // npm install --save-dev compression-webpack-plugin
88 88
     productionGzip: false,
89
-    productionGzipExtensions: ['js', 'css'],
89
+    productionGzipExtensions: ["js", "css"],
90 90
 
91 91
     // Run the build command with an extra argument to
92 92
     // View the bundle analyzer report after build finishes:
@@ -94,4 +94,4 @@ module.exports = {
94 94
     // Set to `true` or `false` to always turn it on or off
95 95
     bundleAnalyzerReport: process.env.npm_config_report
96 96
   }
97
-}
97
+};

BIN
src/assets/preview/公交.png View File


BIN
src/assets/preview/医院介绍.png View File


BIN
src/assets/preview/医院地址.png View File


BIN
src/assets/preview/名医介绍.png View File


BIN
src/assets/preview/工作时间.png View File


BIN
src/assets/preview/文章列表.png View File


BIN
src/assets/preview/活动列表.png View File


BIN
src/assets/preview/科室介绍.png View File


BIN
src/assets/preview/科室环境.png View File


BIN
src/assets/preview/联系方式.png View File


BIN
src/assets/preview/轮播图.png View File


BIN
src/assets/preview/魔方导航.png View File


+ 124 - 0
src/assets/styles/common.css View File

@@ -0,0 +1,124 @@
1
+html,
2
+body,
3
+div,
4
+span,
5
+applet,
6
+object,
7
+iframe,
8
+h1,
9
+h2,
10
+h3,
11
+h4,
12
+h5,
13
+h6,
14
+p,
15
+blockquote,
16
+pre,
17
+a,
18
+abbr,
19
+acronym,
20
+address,
21
+big,
22
+cite,
23
+code,
24
+del,
25
+dfn,
26
+em,
27
+img,
28
+ins,
29
+kbd,
30
+q,
31
+s,
32
+samp,
33
+small,
34
+strike,
35
+strong,
36
+sub,
37
+sup,
38
+tt,
39
+var,
40
+b,
41
+u,
42
+i,
43
+center,
44
+dl,
45
+dt,
46
+dd,
47
+ol,
48
+ul,
49
+li,
50
+fieldset,
51
+form,
52
+label,
53
+legend,
54
+table,
55
+caption,
56
+tbody,
57
+tfoot,
58
+thead,
59
+tr,
60
+th,
61
+td,
62
+article,
63
+aside,
64
+canvas,
65
+details,
66
+embed,
67
+figure,
68
+figcaption,
69
+footer,
70
+header,
71
+hgroup,
72
+menu,
73
+nav,
74
+output,
75
+ruby,
76
+section,
77
+summary,
78
+time,
79
+mark,
80
+audio,
81
+video {
82
+  margin: 0;
83
+  padding: 0;
84
+  border: 0;
85
+  font-size: 100%;
86
+  font: inherit;
87
+  vertical-align: baseline;
88
+}
89
+/* HTML5 display-role reset for older browsers */
90
+article,
91
+aside,
92
+details,
93
+figcaption,
94
+figure,
95
+footer,
96
+header,
97
+hgroup,
98
+menu,
99
+nav,
100
+section {
101
+  display: block;
102
+}
103
+body {
104
+  line-height: 1;
105
+}
106
+ol,
107
+ul {
108
+  list-style: none;
109
+}
110
+blockquote,
111
+q {
112
+  quotes: none;
113
+}
114
+blockquote:before,
115
+blockquote:after,
116
+q:before,
117
+q:after {
118
+  content: "";
119
+  content: none;
120
+}
121
+table {
122
+  border-collapse: collapse;
123
+  border-spacing: 0;
124
+}

+ 19 - 0
src/assets/styles/iconfont.css View File

@@ -0,0 +1,19 @@
1
+@font-face {
2
+  font-family: "iconfont"; /* project id 1470572 */
3
+  src: url("//at.alicdn.com/t/font_1470572_ccqfklrqbdb.eot");
4
+  src: url("//at.alicdn.com/t/font_1470572_ccqfklrqbdb.eot?#iefix")
5
+      format("embedded-opentype"),
6
+    url("//at.alicdn.com/t/font_1470572_ccqfklrqbdb.woff2") format("woff2"),
7
+    url("//at.alicdn.com/t/font_1470572_ccqfklrqbdb.woff") format("woff"),
8
+    url("//at.alicdn.com/t/font_1470572_ccqfklrqbdb.ttf") format("truetype"),
9
+    url("//at.alicdn.com/t/font_1470572_ccqfklrqbdb.svg#iconfont") format("svg");
10
+}
11
+
12
+.iconfont {
13
+  font-family: "iconfont" !important;
14
+  font-size: 16px;
15
+  font-style: normal;
16
+  -webkit-font-smoothing: antialiased; /*字体清除锯齿效果*/
17
+  -webkit-text-stroke-width: 0.2px; /*文本外边框大小*/
18
+  -moz-osx-font-smoothing: grayscale;
19
+}

+ 27 - 0
src/assets/styles/mixin.scss View File

@@ -0,0 +1,27 @@
1
+@mixin border-top {
2
+  position: relative;
3
+
4
+  &::before {
5
+    position: absolute;
6
+    top: 0;
7
+    left: 0;
8
+    width: 100%;
9
+    content: "";
10
+    height: 1px;
11
+    background: #e0e0e0;
12
+  }
13
+}
14
+
15
+@mixin border-bottom {
16
+  position: relative;
17
+
18
+  &::after {
19
+    position: absolute;
20
+    bottom: 0;
21
+    left: 0;
22
+    width: 100%;
23
+    content: "";
24
+    height: 1px;
25
+    background: #e0e0e0;
26
+  }
27
+}

+ 147 - 102
src/scrm_pages/site/index.vue View File

@@ -1,42 +1,61 @@
1 1
 <template>
2
-   <div class="main-contain">
3
-      <div class="position">
4
-        <bread-crumb :crumbs='crumbs'></bread-crumb>
5
-      </div>
6
-      <div class="app-container">
7
-         <el-row :gutter="20">
8
-            <el-col :span="12">
9
-              <div class="success">
10
-                <h1 class="name">欢迎来到微官网主页</h1>
11
-                <div class="tips">您可以手机扫码访问或在右侧预览</div>
12
-                <div id="qrcode" class="qrcode"></div>
13
-                <router-link to="/site/preview">
14
-                  <el-button type="primary">进入微官网后台</el-button>
15
-                </router-link>
16
-              </div>
17
-            </el-col>
18
-            <el-col :span="12">
19
-               <div class="phone">
20
-                 <div class="phonetwo">9:42</div>
21
-                 <div class="phonethree"><img src="static/images/u189.png" style="width:100%;height:100%"></div>
22
-                 <div class="phonefour"><img src="static/images/u187.png" style="width:100%;height:100%"></div>
23
-                 <div class="phonefive"><img src="static/images/u188.png" style="width:100%;height:100%"></div>
24
-                 <div class="phoneone">
25
-                   <iframe :src = this.url width="100%" height="100%" marginwidth="0" frameborder="no" scrolling="no"></iframe>
26
-                 </div>          
27
-               </div>   
28
-            </el-col>
29
-          </el-row>
30
-
31
-      </div>
32
-   </div>
2
+  <div class="main-contain">
3
+    <div class="position">
4
+      <bread-crumb :crumbs="crumbs"></bread-crumb>
5
+    </div>
6
+    <div class="app-container">
7
+      <el-row :gutter="20">
8
+        <el-col :span="12">
9
+          <div class="success">
10
+            <h1 class="name">欢迎来到微官网主页</h1>
11
+            <div class="tips">您可以手机扫码访问或在右侧预览</div>
12
+            <div id="qrcode" class="qrcode"></div>
13
+            <router-link to="/site/preview">
14
+              <el-button type="primary">进入微官网后台</el-button>
15
+            </router-link>
16
+          </div>
17
+        </el-col>
18
+        <el-col :span="12">
19
+          <div class="phone">
20
+            <div class="phonetwo">9:42</div>
21
+            <div class="phonethree">
22
+              <img src="static/images/u189.png" style="width:100%;height:100%" />
23
+            </div>
24
+            <div class="phonefour">
25
+              <img src="static/images/u187.png" style="width:100%;height:100%" />
26
+            </div>
27
+            <div class="phonefive">
28
+              <img src="static/images/u188.png" style="width:100%;height:100%" />
29
+            </div>
30
+            <div class="phoneone">
31
+              <iframe
32
+                id="myIframe"
33
+                :src="this.url"
34
+                width="100%"
35
+                height="100%"
36
+                marginwidth="0"
37
+                frameborder="no"
38
+                scrolling="no"
39
+              ></iframe>
40
+            </div>
41
+          </div>
42
+        </el-col>
43
+      </el-row>
44
+    </div>
45
+  </div>
33 46
 </template>
34 47
 
35 48
 <script>
36 49
 import BreadCrumb from "../components/bread-crumb";
50
+<<<<<<< .mine
37 51
 import QRCode from 'qrcodejs2';
38 52
 // import {GetDefaultData,GetUserOrgid} from '@/api/site/site';
39 53
 import Vue from 'vue';
54
+=======
55
+import QRCode from "qrcodejs2";
56
+import { GetDefaultData, GetUserOrgid } from "@/api/site/site";
57
+import Vue from "vue";
58
+>>>>>>> .theirs
40 59
 export default {
41 60
   name: "site",
42 61
   components: {
@@ -46,53 +65,79 @@ export default {
46 65
     return {
47 66
       crumbs: [{ path: false, name: "微网站" }],
48 67
       codeImg: require("../../assets/home/wei.jpg"),
49
-      usreOrgID:"",
68
+      usreOrgID: "",
50 69
       // url:"http://microweb.kuyicloud.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id,
70
+<<<<<<< .mine
51 71
        url:"http://jk.test.sgjyun.com/#/microHome?orgid="+this.$store.getters.xt_user.org_id,
52 72
       // url:"http://microweb.kuyicloud.com/#/microHome?orgid=3877",
73
+=======
74
+      url: "http://microweb.kuyicloud.com/#/microHome?orgid=3877"
75
+
76
+>>>>>>> .theirs
53 77
     };
54 78
   },
55
-  methods:{
56
-      qrcode () {
57
-      let qrcode = new QRCode('qrcode', {
79
+  methods: {
80
+    qrcode() {
81
+      let qrcode = new QRCode("qrcode", {
58 82
         width: 100,
59 83
         height: 100, // 高度
84
+<<<<<<< .mine
60 85
         // text: 'http://microweb.kuyicloud.com/#/microHome?orgid='+this.$store.getters.xt_user.org_id // 二维码内容
61 86
         text:'http://jk.test.sgjyun.com/#/microHome?orgid='+this.$store.getters.xt_user.org_id,// 二维码内容
87
+
88
+=======
89
+        text:
90
+          "http://microweb.kuyicloud.com/#/microHome?orgid=" +
91
+          this.$store.getters.xt_user.org_id // 二维码内容
92
+>>>>>>> .theirs
62 93
         // render: 'canvas' // 设置渲染方式(有两种方式 table和canvas,默认是canvas)
63 94
         // background: '#f0f'
64 95
         // foreground: '#ff0'
65
-      })
66
-      console.log(qrcode)
96
+      });
97
+      console.log(qrcode);
67 98
     },
68
-    GetDefaultData(){
69
-       GetDefaultData().then(response=>{
70
-         if(response.data.state == 1){
71
-           var model =  response.data.data.model;
72
-         }
73
-       }) 
99
+    GetDefaultData() {
100
+      GetDefaultData().then(response => {
101
+        if (response.data.state == 1) {
102
+          var model = response.data.data.model;
103
+        }
104
+      });
74 105
     },
75
-    GetUserOrgid(){
76
-      GetUserOrgid().then(response=>{
77
-        if(response.data.state == 1){
78
-          var usreOrgID =  response.data.data.usreOrgID;
79
-         this.usreOrgID =  response.data.data.usreOrgID;
80
-          console.log("我的世界我做主",usreOrgID)
106
+    GetUserOrgid() {
107
+      GetUserOrgid().then(response => {
108
+        if (response.data.state == 1) {
109
+          var usreOrgID = response.data.data.usreOrgID;
110
+          this.usreOrgID = response.data.data.usreOrgID;
111
+          console.log("我的世界我做主", usreOrgID);
81 112
         }
82
-      })
113
+      });
114
+    },
115
+    OK() {
116
+      // 操作iframe中内容的CSS
117
+      var iframe = document.getElementById("myIframe");
118
+      var body = iframe.contentWindow.document.body;
119
+      console.log(
120
+        "结案设计师的拉升恐龙当家哈萨克刘德华拉科技好看多了经安徽省科技的哈里数据库蝴蝶结卡时间段哈萨克京东卡SDK"
121
+      );
122
+      console.log(body);
123
+
124
+      body.style.color = "red";
125
+      // a.style.margin = 50;
83 126
     }
84
-    
85 127
   },
86
-  mounted(){
128
+  mounted() {
87 129
     this.qrcode();
130
+    this.OK();
88 131
   },
132
+<<<<<<< .mine
89 133
   // created(){
90 134
   //   // this.GetUserOrgid();
91
-    
135
+=======
136
+  created() {
137
+    // this.GetUserOrgid();
138
+>>>>>>> .theirs
92 139
   // }
93 140
 };
94
-
95
-
96 141
 </script>
97 142
 
98 143
 <style rel="stylesheet/scss" lang="scss" scoped>
@@ -108,69 +153,69 @@ export default {
108 153
     margin: 0;
109 154
     padding-bottom: 10px;
110 155
   }
111
-  .tips{
156
+  .tips {
112 157
     line-height: 30px;
113 158
     padding-bottom: 10px;
114 159
   }
115 160
   .site-code {
116 161
     width: 200px;
117 162
     padding-bottom: 10px;
118
-    img{
163
+    img {
119 164
       width: 100%;
120 165
     }
121 166
   }
122
-  .qrcode{
167
+  .qrcode {
123 168
     margin-bottom: 10px;
124 169
     width: 100px;
125 170
     height: 100px;
126 171
   }
127 172
 }
128 173
 
129
- .phone{
130
-   width: 380px;
131
-   height: 750px;
132
-   background: url(../../assets/img/phone.png) 50% no-repeat;
133
-  }
174
+.phone {
175
+  width: 380px;
176
+  height: 750px;
177
+  background: url(../../assets/img/phone.png) 50% no-repeat;
178
+}
134 179
 
135
-  .phoneone{
136
-    position: absolute;
137
-    width: 320px;
138
-    height: 660px;
139
-    // border: solid 1px red;
140
-    margin-top: 60px;
141
-    margin-left: 30px; 
142
-    text-align: center;
143
-  }
180
+.phoneone {
181
+  position: absolute;
182
+  width: 320px;
183
+  height: 660px;
184
+  // border: solid 1px red;
185
+  margin-top: 60px;
186
+  margin-left: 30px;
187
+  text-align: center;
188
+}
144 189
 
145
-  .phonetwo{
146
-    position: absolute;
147
-    width: 50px;
148
-    height: 20px;
149
-    // border:solid 1px blue;
150
-    margin-left: 55px;
151
-    margin-top: 40px;
152
-  }
190
+.phonetwo {
191
+  position: absolute;
192
+  width: 50px;
193
+  height: 20px;
194
+  // border:solid 1px blue;
195
+  margin-left: 55px;
196
+  margin-top: 40px;
197
+}
153 198
 
154
-  .phonethree{
155
-    position: absolute;
156
-    width: 20px;
157
-    height: 20px;
158
-    margin-left: 280px;
159
-    margin-top: 40px;
160
-  }
199
+.phonethree {
200
+  position: absolute;
201
+  width: 20px;
202
+  height: 20px;
203
+  margin-left: 280px;
204
+  margin-top: 40px;
205
+}
161 206
 
162
-  .phonefour{
163
-     position: absolute;
164
-    width: 20px;
165
-    height: 20px;
166
-    margin-left: 300px;
167
-    margin-top: 40px;
168
-  }
169
-   .phonefive{
170
-    position: absolute;
171
-    width: 20px;
172
-    height: 20px;
173
-    margin-left: 325px;
174
-    margin-top: 40px;
175
-  }
176
-</style>
207
+.phonefour {
208
+  position: absolute;
209
+  width: 20px;
210
+  height: 20px;
211
+  margin-left: 300px;
212
+  margin-top: 40px;
213
+}
214
+.phonefive {
215
+  position: absolute;
216
+  width: 20px;
217
+  height: 20px;
218
+  margin-left: 325px;
219
+  margin-top: 40px;
220
+}
221
+</style>

+ 13 - 6
src/scrm_pages/site/preview.vue View File

@@ -1430,7 +1430,7 @@
1430 1430
              </el-dialog>
1431 1431
 
1432 1432
               <!-- 手机模拟页面 -->
1433
-               <el-col :span="10">
1433
+               <el-col :span="10" class="one">
1434 1434
                   <div class="phone">
1435 1435
                    <div class="time">9:42</div>
1436 1436
                    <div class="xinhao"></div>
@@ -1811,7 +1811,7 @@
1811 1811
                   </div> -->
1812 1812
                </el-col>
1813 1813
 
1814
-               <el-col :span="7">
1814
+               <el-col :span="7" >
1815 1815
                  <div class="share"  v-show="navigation">
1816 1816
                   <div class="share2">
1817 1817
                     <span class="share3">导航设置</span>
@@ -5403,6 +5403,7 @@ export default {
5403 5403
     //  margin-left: -10px;
5404 5404
      margin-top: 10px;
5405 5405
 
5406
+    margin-left: 100px;
5406 5407
    }
5407 5408
 
5408 5409
    .share2{
@@ -5431,7 +5432,10 @@ export default {
5431 5432
        margin-left: 220px;
5432 5433
        margin-top: -22px;
5433 5434
      }
5434
-
5435
+.one{
5436
+  display: flex;
5437
+  justify-content: space-around;
5438
+}
5435 5439
   .phone{
5436 5440
    float: left;
5437 5441
    width: 380px;
@@ -5443,12 +5447,16 @@ export default {
5443 5447
   .macgic{
5444 5448
      @include border-top;
5445 5449
     position: absolute;
5450
+<<<<<<< .mine
5446 5451
     min-width: 316px;
5452
+=======
5453
+    width: 319px;
5454
+>>>>>>> .theirs
5447 5455
     height:60px;
5448 5456
     background-color: white;
5449 5457
     // border: solid 1px #333333;
5450
-    margin-left: 32px;
5451
-    margin-top: 650px;
5458
+    // margin-left: 32px;
5459
+    margin-top: 652px;
5452 5460
     z-index: 999;
5453 5461
     // border:solid 1px red;
5454 5462
   }
@@ -6645,7 +6653,6 @@ export default {
6645 6653
     width: 100%;
6646 6654
     height: 100%;
6647 6655
     font-size: 14px;
6648
-    // border:solid 1px red;
6649 6656
   }
6650 6657
 
6651 6658
   .activitesimages{

+ 124 - 0
src/styles/common.css View File

@@ -0,0 +1,124 @@
1
+html,
2
+body,
3
+div,
4
+span,
5
+applet,
6
+object,
7
+iframe,
8
+h1,
9
+h2,
10
+h3,
11
+h4,
12
+h5,
13
+h6,
14
+p,
15
+blockquote,
16
+pre,
17
+a,
18
+abbr,
19
+acronym,
20
+address,
21
+big,
22
+cite,
23
+code,
24
+del,
25
+dfn,
26
+em,
27
+img,
28
+ins,
29
+kbd,
30
+q,
31
+s,
32
+samp,
33
+small,
34
+strike,
35
+strong,
36
+sub,
37
+sup,
38
+tt,
39
+var,
40
+b,
41
+u,
42
+i,
43
+center,
44
+dl,
45
+dt,
46
+dd,
47
+ol,
48
+ul,
49
+li,
50
+fieldset,
51
+form,
52
+label,
53
+legend,
54
+table,
55
+caption,
56
+tbody,
57
+tfoot,
58
+thead,
59
+tr,
60
+th,
61
+td,
62
+article,
63
+aside,
64
+canvas,
65
+details,
66
+embed,
67
+figure,
68
+figcaption,
69
+footer,
70
+header,
71
+hgroup,
72
+menu,
73
+nav,
74
+output,
75
+ruby,
76
+section,
77
+summary,
78
+time,
79
+mark,
80
+audio,
81
+video {
82
+  margin: 0;
83
+  padding: 0;
84
+  border: 0;
85
+  font-size: 100%;
86
+  font: inherit;
87
+  vertical-align: baseline;
88
+}
89
+/* HTML5 display-role reset for older browsers */
90
+article,
91
+aside,
92
+details,
93
+figcaption,
94
+figure,
95
+footer,
96
+header,
97
+hgroup,
98
+menu,
99
+nav,
100
+section {
101
+  display: block;
102
+}
103
+body {
104
+  line-height: 1;
105
+}
106
+ol,
107
+ul {
108
+  list-style: none;
109
+}
110
+blockquote,
111
+q {
112
+  quotes: none;
113
+}
114
+blockquote:before,
115
+blockquote:after,
116
+q:before,
117
+q:after {
118
+  content: "";
119
+  content: none;
120
+}
121
+table {
122
+  border-collapse: collapse;
123
+  border-spacing: 0;
124
+}

+ 19 - 0
src/styles/iconfont.css View File

@@ -0,0 +1,19 @@
1
+@font-face {
2
+  font-family: "iconfont"; /* project id 1470572 */
3
+  src: url("//at.alicdn.com/t/font_1470572_ccqfklrqbdb.eot");
4
+  src: url("//at.alicdn.com/t/font_1470572_ccqfklrqbdb.eot?#iefix")
5
+      format("embedded-opentype"),
6
+    url("//at.alicdn.com/t/font_1470572_ccqfklrqbdb.woff2") format("woff2"),
7
+    url("//at.alicdn.com/t/font_1470572_ccqfklrqbdb.woff") format("woff"),
8
+    url("//at.alicdn.com/t/font_1470572_ccqfklrqbdb.ttf") format("truetype"),
9
+    url("//at.alicdn.com/t/font_1470572_ccqfklrqbdb.svg#iconfont") format("svg");
10
+}
11
+
12
+.iconfont {
13
+  font-family: "iconfont" !important;
14
+  font-size: 16px;
15
+  font-style: normal;
16
+  -webkit-font-smoothing: antialiased; /*字体清除锯齿效果*/
17
+  -webkit-text-stroke-width: 0.2px; /*文本外边框大小*/
18
+  -moz-osx-font-smoothing: grayscale;
19
+}

+ 27 - 0
src/styles/mixin.1.scss View File

@@ -0,0 +1,27 @@
1
+@mixin border-top {
2
+  position: relative;
3
+
4
+  &::before {
5
+    position: absolute;
6
+    top: 0;
7
+    left: 0;
8
+    width: 100%;
9
+    content: "";
10
+    height: 1px;
11
+    background: #e0e0e0;
12
+  }
13
+}
14
+
15
+@mixin border-bottom {
16
+  position: relative;
17
+
18
+  &::after {
19
+    position: absolute;
20
+    bottom: 0;
21
+    left: 0;
22
+    width: 100%;
23
+    content: "";
24
+    height: 1px;
25
+    background: #e0e0e0;
26
+  }
27
+}