index.wxml
3.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!--pages/index/index.wxml-->
<view class='content_box'>
<view class='item_box'>
<view class='list_title index'>首页</view>
<navigator class='list_img' hover-class="none" url='/pages/out/out?url={{slide.url}}'>
<image src='{{slide.image}}'></image>
</navigator>
</view>
<view>
<view class='title_box' >
<view class='laba'>
<image src='/images/laba.png'></image>
</view>
<swiper class='scroll_box' vertical="true" autoplay="true" circular="true" interval="2000">
<navigator wx:for="{{msgList1}}" wx:key='' url='/pages/index/articleDetail/articleDetail?id={{item.id}}'>
<swiper-item>
<view class='notice'>{{item.title}}</view>
</swiper-item>
</navigator>
</swiper>
</view>
<view class='list_box2' wx:if='{{myinfo.is_addtest}}'>
<view>
<view>{{myinfo.test_name}}考试日期:{{myinfo.test_data1}}</view>
<view class='title'>距离考试还有:</view>
</view>
<view>
<image class='book' src='/images/book.png'>
<view class='book_in'>
<view class='data_num'>{{myinfo.test_days}}</view>
<view class='data_unit'>天</view>
</view>
</image>
</view>
</view>
<view class='list_box' wx:else bindtap='gomy'>
<view>您还未添加考试</view>
<view class='iconfont icon-tianjiaadd73'></view>
</view>
</view>
<view class='item_box '>
<view class='list_title course'>热门课程</view>
<view class='title_box' >
<view class='laba'>
<image src='/images/laba.png'></image>
</view>
<swiper class='scroll_box' vertical="true" autoplay="true" circular="true" interval="2000">
<navigator wx:for="{{msgList2}}" wx:key='' url='/pages/communityDetail/communityDetail?id={{item.id}}'>
<swiper-item>
<view class='notice'>{{item.title}}</view>
</swiper-item>
</navigator>
</swiper>
</view>
<view class='class_box'>
<image src='/images/class1.png' bindtap='lecture'></image>
<image src='/images/class2.jpg' bindtap='article'></image>
<image src='/images/class3.jpg' bindtap='reading'></image>
<image src='/images/class4.jpg' bindtap='boy'></image>
</view>
</view>
<view class='item_box'>
<view class='list_title'>名师介绍</view>
<view class='info'>名师辅助 为您定制</view>
<view class='teacher_img'>
<image src='/images/teacher2.png'></image>
</view>
</view>
<view class='item_box'>
<view class='list_title course'>GMAT学习闭环解决方案</view>
<view class='title_box' >
<view class='laba'>
<image src='/images/laba.png'></image>
</view>
<swiper class='scroll_box' vertical="true" autoplay="true" circular="true" interval="2000">
<navigator wx:for="{{msgList3}}" wx:key='' url='/pages/lectureRoomDetail/lectureRoomDetail?id={{item.id}}'>
<swiper-item>
<view class='notice'>{{item.title}}</view>
</swiper-item>
</navigator>
</swiper>
</view>
<view>
<view class='case_list' wx:for="{{GMATlist}}" wx:key id='{{item.id}}' bindtap='gocourseDetail'>
<view class='case_content_box'>
<image src='{{item.thumb}}'></image>
<view class='case_content'>
<view class='case_title'>{{item.title}}</view>
<view class='case_point'>
<view class='point'></view>适用人群:</view>
<view>{{item.short_content}}</view>
</view>
</view>
<view class='iconfont icon-jiantouarrow487'></view>
</view>
</view>
</view>
</view>