Procházet zdrojové kódy

Merge branch 'master' of http://git.shengws.com/xmg123/micro_vue

xiaoming_global před 5 roky
rodič
revize
3bc47af88d

+ 6 - 6
src/assets/styles/iconfont.css Zobrazit soubor

@@ -1,12 +1,12 @@
1 1
 @font-face {
2 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")
3
+  src: url("//at.alicdn.com/t/font_1470572_akb6p0j0dy9.eot");
4
+  src: url("//at.alicdn.com/t/font_1470572_akb6p0j0dy9.eot?#iefix")
5 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");
6
+    url("//at.alicdn.com/t/font_1470572_akb6p0j0dy9.woff2") format("woff2"),
7
+    url("//at.alicdn.com/t/font_1470572_akb6p0j0dy9.woff") format("woff"),
8
+    url("//at.alicdn.com/t/font_1470572_akb6p0j0dy9.ttf") format("truetype"),
9
+    url("//at.alicdn.com/t/font_1470572_akb6p0j0dy9.svg#iconfont") format("svg");
10 10
 }
11 11
 
12 12
 .iconfont {

+ 1 - 1
src/router/index.js Zobrazit soubor

@@ -120,7 +120,7 @@ var _constant_router_map = [
120 120
   },
121 121
   {
122 122
     path: "/",
123
-    component: () => import("@/scrm_pages/contact/contact")
123
+    component: () => import("@/scrm_pages/news/news")
124 124
   },
125 125
 
126 126
   // 医院介绍详情路由

+ 39 - 41
src/scrm_pages/activityDetail/activityDetail.vue Zobrazit soubor

@@ -10,23 +10,23 @@
10 10
           <i class="iconfont">&#xe629;</i>
11 11
           <span>浏览400次</span>
12 12
         </p>
13
-      </div> -->
13
+      </div>-->
14 14
     </div>
15 15
     <div class="detail">
16 16
       <p class="row">
17
-        <i class="iconfont">&#xe608;</i>
17
+        <i class="iconfont">&#xe614;</i>
18 18
         <span>{{staffCreateTime(activitys.start_time)}}</span>
19 19
       </p>
20 20
       <p class="row">
21
-        <i class="iconfont">&#xe608;</i>
21
+        <i class="iconfont">&#xe668;</i>
22 22
         <span>{{activitys.address}}</span>
23 23
       </p>
24 24
       <p class="row">
25
-        <i class="iconfont">&#xe608;</i>
25
+        <i class="iconfont">&#xe61f;</i>
26 26
         <span>{{activitys.join_num}} / {{activitys.limit_num}}</span>
27 27
       </p>
28 28
       <p class="row">
29
-        <i class="iconfont">&#xe608;</i>
29
+        <i class="iconfont">&#xe6a9;</i>
30 30
         <span>{{activitys.phone_number}}</span>
31 31
       </p>
32 32
     </div>
@@ -35,46 +35,44 @@
35 35
         <div class="one"></div>
36 36
         <div class="dynamicTxt">报名须知</div>
37 37
       </div>
38
-      <div
39
-        class="introduceDetail"
40
-      >{{activitys.sign_up_notice}}</div>
38
+      <div class="introduceDetail">{{activitys.sign_up_notice}}</div>
41 39
     </div>
42 40
     <!-- <div class="apply">我要报名</div> -->
43 41
   </div>
44 42
 </template>
45 43
  <script>
46
-        import {uParseTime} from "@/utils/tools";
47
-        import { singleActivitInfo } from "@/api/micro/micro"
48
-        export default{
49
-          data(){
50
-             return{
51
-                activitys:[],
52
-             }
53
-          },
54
-          methods:{
55
-              staffCreateTime(time) {
56
-                console.log("time是多少",time)
57
-               return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");       
58
-              },
59
-            singleActivitInfo(id,orgid){
60
-               singleActivitInfo(id,orgid).then(response=>{
61
-                  if(response.data.state ==1){
62
-                  var activitys = response.data.data.activity;
63
-                  this.activitys = activitys;
64
-                  console.log("activitys",activitys)
65
-                }   
66
-               })
67
-            }
68
-          },
69
-          created(){
70
-            const id = this.$route.query.id;
71
-            const orgid = this.$route.query.orgid;
72
-            console.log("id是多少",id)
73
-            console.log("orgid是多少",orgid)
74
-            this.singleActivitInfo(id,orgid)   
75
-          }
44
+import { uParseTime } from "@/utils/tools";
45
+import { singleActivitInfo } from "@/api/micro/micro";
46
+export default {
47
+  data() {
48
+    return {
49
+      activitys: []
50
+    };
51
+  },
52
+  methods: {
53
+    staffCreateTime(time) {
54
+      console.log("time是多少", time);
55
+      return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");
56
+    },
57
+    singleActivitInfo(id, orgid) {
58
+      singleActivitInfo(id, orgid).then(response => {
59
+        if (response.data.state == 1) {
60
+          var activitys = response.data.data.activity;
61
+          this.activitys = activitys;
62
+          console.log("activitys", activitys);
76 63
         }
77
- </script>
64
+      });
65
+    }
66
+  },
67
+  created() {
68
+    const id = this.$route.query.id;
69
+    const orgid = this.$route.query.orgid;
70
+    console.log("id是多少", id);
71
+    console.log("orgid是多少", orgid);
72
+    this.singleActivitInfo(id, orgid);
73
+  }
74
+};
75
+</script>
78 76
 
79 77
 <style lang="scss" scoped>
80 78
 .banner {
@@ -86,7 +84,7 @@
86 84
   }
87 85
 }
88 86
 .headline {
89
-  position: fixed;
87
+  position: relative;
90 88
   width: 20.875rem;
91 89
   height: 6.5625rem;
92 90
   margin-top: -1.25rem;
@@ -114,7 +112,7 @@
114 112
 }
115 113
 .detail {
116 114
   margin-left: 1.25rem;
117
-  margin-top: 5.625rem;
115
+  // margin-top: 5.625rem;
118 116
   .row {
119 117
     margin: 0.625rem 0;
120 118
     i {

+ 3 - 2
src/scrm_pages/microHome/microHome.vue Zobrazit soubor

@@ -416,6 +416,7 @@ export default {
416 416
 .imgtwo {
417 417
   width: 100%;
418 418
   height: 100%;
419
+  border-radius: 0.75rem;
419 420
 }
420 421
 .btnList {
421 422
   display: flex;
@@ -570,9 +571,9 @@ export default {
570 571
     border-radius: 10px;
571 572
   }
572 573
   .commonMessage {
573
-    margin-top: 1.375rem;
574
+    // margin-top: 1.375rem;
574 575
     width: 17.75rem;
575
-    height: 15rem;
576
+    height: 14.375rem;
576 577
     font-size: 0.875rem;
577 578
     color: rgba(60, 60, 60, 1);
578 579
     line-height: 1.375rem;