|
@@ -10,23 +10,23 @@
|
10
|
10
|
<i class="iconfont"></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"></i>
|
|
17
|
+ <i class="iconfont"></i>
|
18
|
18
|
<span>{{staffCreateTime(activitys.start_time)}}</span>
|
19
|
19
|
</p>
|
20
|
20
|
<p class="row">
|
21
|
|
- <i class="iconfont"></i>
|
|
21
|
+ <i class="iconfont"></i>
|
22
|
22
|
<span>{{activitys.address}}</span>
|
23
|
23
|
</p>
|
24
|
24
|
<p class="row">
|
25
|
|
- <i class="iconfont"></i>
|
|
25
|
+ <i class="iconfont"></i>
|
26
|
26
|
<span>{{activitys.join_num}} / {{activitys.limit_num}}</span>
|
27
|
27
|
</p>
|
28
|
28
|
<p class="row">
|
29
|
|
- <i class="iconfont"></i>
|
|
29
|
+ <i class="iconfont"></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 {
|