Browse Source

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

xiaoming_global 5 years ago
parent
commit
3bc47af88d

+ 6 - 6
src/assets/styles/iconfont.css View File

1
 @font-face {
1
 @font-face {
2
   font-family: "iconfont"; /* project id 1470572 */
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
       format("embedded-opentype"),
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
 .iconfont {
12
 .iconfont {

+ 1 - 1
src/router/index.js View File

120
   },
120
   },
121
   {
121
   {
122
     path: "/",
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 View File

10
           <i class="iconfont">&#xe629;</i>
10
           <i class="iconfont">&#xe629;</i>
11
           <span>浏览400次</span>
11
           <span>浏览400次</span>
12
         </p>
12
         </p>
13
-      </div> -->
13
+      </div>-->
14
     </div>
14
     </div>
15
     <div class="detail">
15
     <div class="detail">
16
       <p class="row">
16
       <p class="row">
17
-        <i class="iconfont">&#xe608;</i>
17
+        <i class="iconfont">&#xe614;</i>
18
         <span>{{staffCreateTime(activitys.start_time)}}</span>
18
         <span>{{staffCreateTime(activitys.start_time)}}</span>
19
       </p>
19
       </p>
20
       <p class="row">
20
       <p class="row">
21
-        <i class="iconfont">&#xe608;</i>
21
+        <i class="iconfont">&#xe668;</i>
22
         <span>{{activitys.address}}</span>
22
         <span>{{activitys.address}}</span>
23
       </p>
23
       </p>
24
       <p class="row">
24
       <p class="row">
25
-        <i class="iconfont">&#xe608;</i>
25
+        <i class="iconfont">&#xe61f;</i>
26
         <span>{{activitys.join_num}} / {{activitys.limit_num}}</span>
26
         <span>{{activitys.join_num}} / {{activitys.limit_num}}</span>
27
       </p>
27
       </p>
28
       <p class="row">
28
       <p class="row">
29
-        <i class="iconfont">&#xe608;</i>
29
+        <i class="iconfont">&#xe6a9;</i>
30
         <span>{{activitys.phone_number}}</span>
30
         <span>{{activitys.phone_number}}</span>
31
       </p>
31
       </p>
32
     </div>
32
     </div>
35
         <div class="one"></div>
35
         <div class="one"></div>
36
         <div class="dynamicTxt">报名须知</div>
36
         <div class="dynamicTxt">报名须知</div>
37
       </div>
37
       </div>
38
-      <div
39
-        class="introduceDetail"
40
-      >{{activitys.sign_up_notice}}</div>
38
+      <div class="introduceDetail">{{activitys.sign_up_notice}}</div>
41
     </div>
39
     </div>
42
     <!-- <div class="apply">我要报名</div> -->
40
     <!-- <div class="apply">我要报名</div> -->
43
   </div>
41
   </div>
44
 </template>
42
 </template>
45
  <script>
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
 <style lang="scss" scoped>
77
 <style lang="scss" scoped>
80
 .banner {
78
 .banner {
86
   }
84
   }
87
 }
85
 }
88
 .headline {
86
 .headline {
89
-  position: fixed;
87
+  position: relative;
90
   width: 20.875rem;
88
   width: 20.875rem;
91
   height: 6.5625rem;
89
   height: 6.5625rem;
92
   margin-top: -1.25rem;
90
   margin-top: -1.25rem;
114
 }
112
 }
115
 .detail {
113
 .detail {
116
   margin-left: 1.25rem;
114
   margin-left: 1.25rem;
117
-  margin-top: 5.625rem;
115
+  // margin-top: 5.625rem;
118
   .row {
116
   .row {
119
     margin: 0.625rem 0;
117
     margin: 0.625rem 0;
120
     i {
118
     i {

+ 3 - 2
src/scrm_pages/microHome/microHome.vue View File

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