正在显示
35 个修改的文件
包含
561 行增加
和
2060 行删除
@@ -2,7 +2,6 @@ | @@ -2,7 +2,6 @@ | ||
2 | "pages": [ | 2 | "pages": [ |
3 | "pages/index/index", | 3 | "pages/index/index", |
4 | "pages/eight/eight", | 4 | "pages/eight/eight", |
5 | - "pages/sheet/sheet", | ||
6 | "pages/first/first", | 5 | "pages/first/first", |
7 | "pages/second/second", | 6 | "pages/second/second", |
8 | "pages/three/three", | 7 | "pages/three/three", |
@@ -13,11 +12,8 @@ | @@ -13,11 +12,8 @@ | ||
13 | "pages/mission/mission", | 12 | "pages/mission/mission", |
14 | "pages/question/question", | 13 | "pages/question/question", |
15 | "pages/picture/picture", | 14 | "pages/picture/picture", |
16 | - "pages/quest-3/quest-3", | ||
17 | - "pages/quest-4/quest-4", | ||
18 | - "pages/share/share", | 15 | + |
19 | "pages/partake/partake", | 16 | "pages/partake/partake", |
20 | - "pages/king/king", | ||
21 | "pages/quest-5/quest-5", | 17 | "pages/quest-5/quest-5", |
22 | "pages/means/means", | 18 | "pages/means/means", |
23 | "pages/petname/petname", | 19 | "pages/petname/petname", |
@@ -65,6 +65,12 @@ page { | @@ -65,6 +65,12 @@ page { | ||
65 | flex-wrap: wrap; | 65 | flex-wrap: wrap; |
66 | 66 | ||
67 | } | 67 | } |
68 | +.flex_center { | ||
69 | + display: flex; | ||
70 | + align-items: center; | ||
71 | + justify-content: center; | ||
72 | + | ||
73 | +} | ||
68 | .flex{ | 74 | .flex{ |
69 | display: flex; | 75 | display: flex; |
70 | align-items: center; | 76 | align-items: center; |
img/apple.png
0 → 100644
29.2 KB
img/ic_righ.png
0 → 100644
1.4 KB
pages/king/king.js
已删除
100644 → 0
1 | -// pages/09/09.js | ||
2 | -Page({ | ||
3 | - | ||
4 | - /** | ||
5 | - * 页面的初始数据 | ||
6 | - */ | ||
7 | - data: { | ||
8 | - | ||
9 | - }, | ||
10 | - gotoday(){ | ||
11 | - wx.redirectTo({ | ||
12 | - url: '/pages/share/share', | ||
13 | - }) | ||
14 | - }, | ||
15 | - /** | ||
16 | - * 生命周期函数--监听页面加载 | ||
17 | - */ | ||
18 | - onLoad: function (options) { | ||
19 | - | ||
20 | - }, | ||
21 | - | ||
22 | - /** | ||
23 | - * 生命周期函数--监听页面初次渲染完成 | ||
24 | - */ | ||
25 | - onReady: function () { | ||
26 | - | ||
27 | - }, | ||
28 | - | ||
29 | - /** | ||
30 | - * 生命周期函数--监听页面显示 | ||
31 | - */ | ||
32 | - onShow: function () { | ||
33 | - | ||
34 | - }, | ||
35 | - | ||
36 | - /** | ||
37 | - * 生命周期函数--监听页面隐藏 | ||
38 | - */ | ||
39 | - onHide: function () { | ||
40 | - | ||
41 | - }, | ||
42 | - | ||
43 | - /** | ||
44 | - * 生命周期函数--监听页面卸载 | ||
45 | - */ | ||
46 | - onUnload: function () { | ||
47 | - | ||
48 | - }, | ||
49 | - | ||
50 | - /** | ||
51 | - * 页面相关事件处理函数--监听用户下拉动作 | ||
52 | - */ | ||
53 | - onPullDownRefresh: function () { | ||
54 | - | ||
55 | - }, | ||
56 | - | ||
57 | - /** | ||
58 | - * 页面上拉触底事件的处理函数 | ||
59 | - */ | ||
60 | - onReachBottom: function () { | ||
61 | - | ||
62 | - }, | ||
63 | - | ||
64 | - /** | ||
65 | - * 用户点击右上角分享 | ||
66 | - */ | ||
67 | - onShareAppMessage: function () { | ||
68 | - | ||
69 | - } | ||
70 | -}) |
pages/king/king.json
已删除
100644 → 0
pages/king/king.wxml
已删除
100644 → 0
1 | -<view class="nav"> | ||
2 | - <image src="/img/ic_mess@2x.png"></image> | ||
3 | - <image src="/img/Frame.png"></image> | ||
4 | -</view> | ||
5 | - | ||
6 | -<view class="text"> | ||
7 | - <view> | ||
8 | - Pygmalion,King of Cyprus,was a famous sculptor.He made an ivory image of a woman so lovely that he fell in | ||
9 | - love with it.Every day he tried to make Galatea up in gold andpurple,for that was the name he had given to | ||
10 | - this mistress of his heart. | ||
11 | - </view> | ||
12 | - <view>Pygmalion,King of Cyprus,was a famous sculptor.He made an ivory image of a woman so lovely that he fell in | ||
13 | - love with it.Every day he tried to make Galatea up in gold andpurple,for that was the name he had given to | ||
14 | - this mistress of his heart. | ||
15 | - </view> | ||
16 | - | ||
17 | -</view> | ||
18 | -<view class="img"> | ||
19 | - <view class="img-0"> | ||
20 | - <image src="/img/7.jpg"></image> | ||
21 | - <view class="img-1"> | ||
22 | - <image src="/img/ic_close@2x.png"></image> | ||
23 | - </view> | ||
24 | - </view> | ||
25 | - <view class="img-0"> | ||
26 | - <image src="/img/7.jpg"></image> | ||
27 | - <view class="img-1"> | ||
28 | - <image src="/img/ic_close@2x.png"></image> | ||
29 | - </view> | ||
30 | - </view> | ||
31 | -</view> | ||
32 | - <view class="box-end" bindtap="gotoday">Next</view> |
pages/king/king.wxss
已删除
100644 → 0
1 | - | ||
2 | -.nav { | ||
3 | - display: flex; | ||
4 | - justify-content: space-between; | ||
5 | -} | ||
6 | - | ||
7 | -.nav image { | ||
8 | - margin: 32rpx 18rpx; | ||
9 | - width: 56rpx; | ||
10 | - height: 56rpx; | ||
11 | -} | ||
12 | -.img-0{ | ||
13 | - position: relative; | ||
14 | - width: 218rpx; | ||
15 | - margin-top: 64rpx; | ||
16 | - margin-left: 32rpx; | ||
17 | -} | ||
18 | -.text{ | ||
19 | - padding:0 32rpx; | ||
20 | - font-size: 28rpx; | ||
21 | - line-height: 40rpx; | ||
22 | -} | ||
23 | -.text view:last-child{ | ||
24 | - margin-top:32rpx; | ||
25 | -} | ||
26 | -.img{ | ||
27 | -display: flex; | ||
28 | -} | ||
29 | -.img image{ | ||
30 | - width: 218rpx; | ||
31 | - height:218rpx; | ||
32 | - border-radius: 14rpx; | ||
33 | - | ||
34 | -} | ||
35 | -.img-1{ | ||
36 | - position: absolute; | ||
37 | - top: 0; | ||
38 | - right: 0; | ||
39 | - width: 35rpx; | ||
40 | - height: 35rpx; | ||
41 | - line-height: 22rpx; | ||
42 | - text-align: center; | ||
43 | - background: #f8f8f8; | ||
44 | - border-radius: 0 14rpx 0 64rpx; | ||
45 | -} | ||
46 | -.img-1 image{ | ||
47 | - width: 24rpx; | ||
48 | - height: 24rpx; | ||
49 | -} | ||
50 | -.box-end { | ||
51 | - position: fixed; | ||
52 | - bottom: 20rpx; | ||
53 | - left: 50%; | ||
54 | - margin-left:-211rpx; | ||
55 | - text-align: center; | ||
56 | - width: 422rpx; | ||
57 | - height: 100rpx; | ||
58 | - line-height: 100rpx; | ||
59 | - border-radius: 32rpx; | ||
60 | - font-size: 28rpx; | ||
61 | - font-weight: 600; | ||
62 | - background: rgba(255, 200, 61, 1); | ||
63 | -} |
pages/quest-3/quest-3.js
已删除
100644 → 0
1 | -// pages/05/05.js | ||
2 | -Page({ | ||
3 | - | ||
4 | - /** | ||
5 | - * 页面的初始数据 | ||
6 | - */ | ||
7 | - data: { | ||
8 | - appd:[ | ||
9 | - { | ||
10 | - tip:'A', | ||
11 | - img:'/img/1.png', | ||
12 | - bool:false | ||
13 | - }, | ||
14 | - { | ||
15 | - tip:'B', | ||
16 | - img:'/img/1.png', | ||
17 | - bool:true, | ||
18 | - back:'rgba(255,200,61,1)' | ||
19 | - }, | ||
20 | - { | ||
21 | - tip:'C', | ||
22 | - img:'/img/1.png', | ||
23 | - bool:false | ||
24 | - }, | ||
25 | - | ||
26 | - ] | ||
27 | - }, | ||
28 | - gotoday(){ | ||
29 | - wx.redirectTo({ | ||
30 | - url: '/pages/quest-4/quest-4', | ||
31 | - }) | ||
32 | - }, | ||
33 | - /** | ||
34 | - * 生命周期函数--监听页面加载 | ||
35 | - */ | ||
36 | - onLoad: function (options) { | ||
37 | - | ||
38 | - }, | ||
39 | - | ||
40 | - /** | ||
41 | - * 生命周期函数--监听页面初次渲染完成 | ||
42 | - */ | ||
43 | - onReady: function () { | ||
44 | - | ||
45 | - }, | ||
46 | - | ||
47 | - /** | ||
48 | - * 生命周期函数--监听页面显示 | ||
49 | - */ | ||
50 | - onShow: function () { | ||
51 | - | ||
52 | - }, | ||
53 | - | ||
54 | - /** | ||
55 | - * 生命周期函数--监听页面隐藏 | ||
56 | - */ | ||
57 | - onHide: function () { | ||
58 | - | ||
59 | - }, | ||
60 | - | ||
61 | - /** | ||
62 | - * 生命周期函数--监听页面卸载 | ||
63 | - */ | ||
64 | - onUnload: function () { | ||
65 | - | ||
66 | - }, | ||
67 | - | ||
68 | - /** | ||
69 | - * 页面相关事件处理函数--监听用户下拉动作 | ||
70 | - */ | ||
71 | - onPullDownRefresh: function () { | ||
72 | - | ||
73 | - }, | ||
74 | - | ||
75 | - /** | ||
76 | - * 页面上拉触底事件的处理函数 | ||
77 | - */ | ||
78 | - onReachBottom: function () { | ||
79 | - | ||
80 | - }, | ||
81 | - | ||
82 | - /** | ||
83 | - * 用户点击右上角分享 | ||
84 | - */ | ||
85 | - onShareAppMessage: function () { | ||
86 | - | ||
87 | - } | ||
88 | -}) |
pages/quest-3/quest-3.json
已删除
100644 → 0
pages/quest-3/quest-3.wxml
已删除
100644 → 0
1 | -<view class="nav"> | ||
2 | - <view class="nav-1">剩余时间 00:42:12</view> | ||
3 | - <image src="/img/Frame.png"></image> | ||
4 | -</view> | ||
5 | -<view class="title">Which picture is apple</view> | ||
6 | -<view class="audio"> | ||
7 | - <text>00:02</text> | ||
8 | - <view class="audio-0"> | ||
9 | - <view class="audio-1"></view> | ||
10 | - </view> | ||
11 | - <text>00:20</text> | ||
12 | -</view> | ||
13 | -<view class="icon"> | ||
14 | - <image src="/img/ic_voice56@2x.png"></image> | ||
15 | -</view> | ||
16 | -<view class="appd" > | ||
17 | - <view wx:for="{{appd}}" class="appd-0"> | ||
18 | - <view class="appd-1" wx:if="{{item.bool==true}}" style="background:rgba(255,200,61,1)"> | ||
19 | - {{item.tip}} | ||
20 | - </view> | ||
21 | - <view class="appd-1" wx:elif="{{item.bool==false}}"> | ||
22 | - {{item.tip}} | ||
23 | - </view> | ||
24 | - <view class="appd-2" > | ||
25 | - <image src="{{item.img}}"></image> | ||
26 | - </view> | ||
27 | -</view> | ||
28 | -</view> | ||
29 | -<view class="button" bindtap="gotoday">下一题</view> |
pages/quest-3/quest-3.wxss
已删除
100644 → 0
1 | -.nav{ | ||
2 | - text-align: center; | ||
3 | -} | ||
4 | -.nav-1{ | ||
5 | - width: 302rpx; | ||
6 | - height: 64rpx; | ||
7 | - margin: 40rpx auto; | ||
8 | - line-height: 64rpx; | ||
9 | - border-radius: 80rpx; | ||
10 | - text-align: center; | ||
11 | - font-weight: 600; | ||
12 | - background:rgba(248,248,248,1) ; | ||
13 | -} | ||
14 | -.nav image{ | ||
15 | - position: absolute; | ||
16 | - top: 40rpx; | ||
17 | - right: 18rpx; | ||
18 | - width:56rpx; | ||
19 | - height: 56rpx; | ||
20 | - vertical-align: middle; | ||
21 | -} | ||
22 | -.title{ | ||
23 | - text-align: center; | ||
24 | - font-size: 32rpx; | ||
25 | - font-weight: 600; | ||
26 | - margin: 36rpx 0; | ||
27 | -} | ||
28 | - | ||
29 | -.audio { | ||
30 | - padding: 32rpx; | ||
31 | - display: flex; | ||
32 | - margin-top: 54rpx; | ||
33 | - justify-content: space-between; | ||
34 | -} | ||
35 | - | ||
36 | -.audio-0 { | ||
37 | - padding: 0 20rpx; | ||
38 | -} | ||
39 | - | ||
40 | -.audio-1 { | ||
41 | - width: 240px; | ||
42 | - height: 13rpx; | ||
43 | - margin-top: 10rpx; | ||
44 | - background: #f8f8f8; | ||
45 | -} | ||
46 | - | ||
47 | -.icon { | ||
48 | - text-align: center; | ||
49 | -} | ||
50 | - | ||
51 | -.icon image { | ||
52 | - width: 112rpx; | ||
53 | - height: 112rpx; | ||
54 | - border-radius: 55rpx; | ||
55 | - box-shadow: 5rpx 5rpx 5rpx rgba(0, 0, 0, .3); | ||
56 | -} | ||
57 | -.appd{ | ||
58 | - margin-top:120rpx; | ||
59 | - display: flex; | ||
60 | - flex-wrap: wrap; | ||
61 | - text-align: left; | ||
62 | - padding-left:20rpx; | ||
63 | - | ||
64 | -} | ||
65 | -.appd-0{ | ||
66 | - margin-left: 16rpx; | ||
67 | -} | ||
68 | -.appd-1 { | ||
69 | - width: 218rpx; | ||
70 | - height: 48rpx; | ||
71 | - line-height: 48rpx; | ||
72 | - font-weight: 600; | ||
73 | - text-align: center; | ||
74 | - border-radius:36rpx 36rpx 0 0; | ||
75 | - background:rgba(235,235,235,1); | ||
76 | -} | ||
77 | -.appd-2 image{ | ||
78 | - width: 218rpx; | ||
79 | - height: 218rpx; | ||
80 | -} | ||
81 | -.button{ | ||
82 | - position: fixed; | ||
83 | - bottom: 20rpx; | ||
84 | - left: 50%; | ||
85 | - margin-left: -211rpx; | ||
86 | - width: 422rpx; | ||
87 | - height: 100rpx; | ||
88 | - line-height: 100rpx; | ||
89 | - text-align: center; | ||
90 | - font-size:32rpx; | ||
91 | - font-weight: 600; | ||
92 | - border-radius: 96rpx; | ||
93 | - background: rgba(255,200,61,1); | ||
94 | - } |
pages/quest-4/quest-4.js
已删除
100644 → 0
1 | -// pages/05/05.js | ||
2 | -Page({ | ||
3 | - | ||
4 | - /** | ||
5 | - * 页面的初始数据 | ||
6 | - */ | ||
7 | - data: { | ||
8 | - appd: [], | ||
9 | - listlenth: 0, | ||
10 | - appd:[ | ||
11 | - { | ||
12 | - tip:'A', | ||
13 | - img:'/img/1.png', | ||
14 | - bool:false | ||
15 | - }, | ||
16 | - { | ||
17 | - tip:'B', | ||
18 | - img:'/img/1.png', | ||
19 | - bool:true, | ||
20 | - back:'rgba(255,200,61,1)' | ||
21 | - }, | ||
22 | - | ||
23 | - | ||
24 | - ], | ||
25 | - appd1: [{ | ||
26 | - tip: 'A', | ||
27 | - img: '/img/1.png', | ||
28 | - bool: false, | ||
29 | - Text: '此选项意思是桃子' | ||
30 | - }, | ||
31 | - { | ||
32 | - tip: 'B', | ||
33 | - img: '/img/maoyijinrong_img.png', | ||
34 | - bool: true, | ||
35 | - Text: '此选项意思是香蕉', | ||
36 | - back: 'rgba(255,200,61,1)' | ||
37 | - }, | ||
38 | - { | ||
39 | - tip: 'C', | ||
40 | - img: '/img/1.png', | ||
41 | - bool: false, | ||
42 | - Text: '此选项意思是葡萄', | ||
43 | - back: 'rgba(255,200,61,1)' | ||
44 | - }, | ||
45 | - | ||
46 | - ], | ||
47 | - appd2: [{ | ||
48 | - tip: 'A', | ||
49 | - img: '/img/1.png', | ||
50 | - bool: false, | ||
51 | - Text: '此选项意思是桃子' | ||
52 | - }, | ||
53 | - { | ||
54 | - tip: 'B', | ||
55 | - img: '/img/1.png', | ||
56 | - bool: true, | ||
57 | - Text: '此选项意思是香蕉', | ||
58 | - back: 'rgba(255,200,61,1)' | ||
59 | - }, | ||
60 | - { | ||
61 | - tip: 'C', | ||
62 | - img: '/img/1.png', | ||
63 | - bool: false, | ||
64 | - Text: '此选项意思是葡萄', | ||
65 | - back: 'rgba(255,200,61,1)' | ||
66 | - }, | ||
67 | - { | ||
68 | - tip: 'D', | ||
69 | - img: '/img/1.png', | ||
70 | - bool: false, | ||
71 | - Text: '此选项意思是葡萄', | ||
72 | - back: 'rgba(255,200,61,1)' | ||
73 | - }, | ||
74 | - | ||
75 | - ] | ||
76 | - }, | ||
77 | - nextolick() { | ||
78 | - if (this.data.listlenth != 2) { | ||
79 | - if (this.data.listlenth == 0) { | ||
80 | - this.setData({ | ||
81 | - appd: this.data.appd1, | ||
82 | - listlenth: this.data.listlenth + 1 | ||
83 | - }) | ||
84 | - } else if (this.data.listlenth == 1) { | ||
85 | - this.setData({ | ||
86 | - appd: this.data.appd2, | ||
87 | - listlenth: this.data.listlenth + 1 | ||
88 | - }) | ||
89 | - | ||
90 | - } else { | ||
91 | - this.setData({ | ||
92 | - appd: this.data.appd2, | ||
93 | - listlenth: this.data.listlenth + 1 | ||
94 | - }) | ||
95 | - } | ||
96 | - } else { | ||
97 | - wx.showToast({ | ||
98 | - title: '交卷成功' | ||
99 | - }) | ||
100 | - wx.redirectTo({ | ||
101 | - url: '/pages/king/king', | ||
102 | - }) | ||
103 | - } | ||
104 | - }, | ||
105 | - /** | ||
106 | - * 生命周期函数--监听页面加载 | ||
107 | - */ | ||
108 | - onLoad: function (options) { | ||
109 | - | ||
110 | - }, | ||
111 | - | ||
112 | - /** | ||
113 | - * 生命周期函数--监听页面初次渲染完成 | ||
114 | - */ | ||
115 | - onReady: function () { | ||
116 | - | ||
117 | - }, | ||
118 | - | ||
119 | - /** | ||
120 | - * 生命周期函数--监听页面显示 | ||
121 | - */ | ||
122 | - onShow: function () { | ||
123 | - | ||
124 | - }, | ||
125 | - | ||
126 | - /** | ||
127 | - * 生命周期函数--监听页面隐藏 | ||
128 | - */ | ||
129 | - onHide: function () { | ||
130 | - | ||
131 | - }, | ||
132 | - | ||
133 | - /** | ||
134 | - * 生命周期函数--监听页面卸载 | ||
135 | - */ | ||
136 | - onUnload: function () { | ||
137 | - | ||
138 | - }, | ||
139 | - | ||
140 | - /** | ||
141 | - * 页面相关事件处理函数--监听用户下拉动作 | ||
142 | - */ | ||
143 | - onPullDownRefresh: function () { | ||
144 | - | ||
145 | - }, | ||
146 | - | ||
147 | - /** | ||
148 | - * 页面上拉触底事件的处理函数 | ||
149 | - */ | ||
150 | - onReachBottom: function () { | ||
151 | - | ||
152 | - }, | ||
153 | - | ||
154 | - /** | ||
155 | - * 用户点击右上角分享 | ||
156 | - */ | ||
157 | - onShareAppMessage: function () { | ||
158 | - | ||
159 | - } | ||
160 | -}) |
pages/quest-4/quest-4.json
已删除
100644 → 0
pages/quest-4/quest-4.wxml
已删除
100644 → 0
1 | -<view class="nav"> | ||
2 | - <view class="nav-1">剩余时间 00:42:12</view> | ||
3 | - <image src="/img/Frame.png"></image> | ||
4 | -</view> | ||
5 | -<view class="title">Which picture is apple</view> | ||
6 | -<view class="audio"> | ||
7 | - <text>00:02</text> | ||
8 | - <view class="audio-0"> | ||
9 | - <view class="audio-1"></view> | ||
10 | - </view> | ||
11 | - <text>00:20</text> | ||
12 | -</view> | ||
13 | -<view class="icon"> | ||
14 | - <image src="/img/ic_voice56@2x.png"></image> | ||
15 | -</view> | ||
16 | - | ||
17 | - | ||
18 | - | ||
19 | -<view class="appd" > | ||
20 | - <view wx:for="{{appd}}" class="appd-0"> | ||
21 | - <view class="appd-1" wx:if="{{item.bool==true}}" style="background:rgba(255,200,61,1)"> | ||
22 | - {{item.tip}} | ||
23 | - </view> | ||
24 | - <view class="appd-1" wx:elif="{{item.bool==false}}"> | ||
25 | - {{item.tip}} | ||
26 | - </view> | ||
27 | - <view class="appd-2"> | ||
28 | - <image src="{{item.img}}"></image> | ||
29 | - </view> | ||
30 | -</view> | ||
31 | -</view> | ||
32 | -<view class="button" bindtap="nextolick">下一题</view> |
pages/quest-4/quest-4.wxss
已删除
100644 → 0
1 | -.nav{ | ||
2 | - text-align: center; | ||
3 | -} | ||
4 | -.nav-1{ | ||
5 | - width: 302rpx; | ||
6 | - height: 64rpx; | ||
7 | - margin: 40rpx auto; | ||
8 | - line-height: 64rpx; | ||
9 | - border-radius: 80rpx; | ||
10 | - text-align: center; | ||
11 | - font-weight: 600; | ||
12 | - background:rgba(248,248,248,1) ; | ||
13 | -} | ||
14 | -.nav image{ | ||
15 | - position: absolute; | ||
16 | - top: 40rpx; | ||
17 | - right: 18rpx; | ||
18 | - width:56rpx; | ||
19 | - height: 56rpx; | ||
20 | - vertical-align: middle; | ||
21 | -} | ||
22 | -.title{ | ||
23 | - text-align: center; | ||
24 | - font-size: 32rpx; | ||
25 | - font-weight: 600; | ||
26 | - margin: 36rpx 0; | ||
27 | -} | ||
28 | - | ||
29 | -.audio { | ||
30 | - padding: 32rpx; | ||
31 | - display: flex; | ||
32 | - margin-top: 54rpx; | ||
33 | - justify-content: space-between; | ||
34 | -} | ||
35 | - | ||
36 | -.audio-0 { | ||
37 | - padding: 0 20rpx; | ||
38 | -} | ||
39 | - | ||
40 | -.audio-1 { | ||
41 | - width: 240px; | ||
42 | - height: 13rpx; | ||
43 | - margin-top: 10rpx; | ||
44 | - background: #f8f8f8; | ||
45 | -} | ||
46 | - | ||
47 | -.icon { | ||
48 | - text-align: center; | ||
49 | -} | ||
50 | - | ||
51 | -.icon image { | ||
52 | - width: 112rpx; | ||
53 | - height: 112rpx; | ||
54 | - border-radius: 55rpx; | ||
55 | - box-shadow: 5rpx 5rpx 5rpx rgba(0, 0, 0, .3); | ||
56 | -} | ||
57 | -.appd{ | ||
58 | - margin-top:120rpx; | ||
59 | - margin-bottom: 140rpx; | ||
60 | - display: flex; | ||
61 | - flex-wrap: wrap; | ||
62 | - text-align: left; | ||
63 | - padding-left:20rpx; | ||
64 | - | ||
65 | -} | ||
66 | -.appd-0{ | ||
67 | - margin-left: 16rpx; | ||
68 | -} | ||
69 | -.appd-1 { | ||
70 | - width: 334rpx; | ||
71 | - height: 48rpx; | ||
72 | - line-height: 48rpx; | ||
73 | - font-weight: 600; | ||
74 | - text-align: center; | ||
75 | - border-radius:36rpx 36rpx 0 0; | ||
76 | - background:rgba(235,235,235,1); | ||
77 | -} | ||
78 | -.appd-2 image{ | ||
79 | - width: 334rpx; | ||
80 | - height: 334rpx; | ||
81 | -} | ||
82 | -.button{ | ||
83 | - position: fixed; | ||
84 | - bottom: 20rpx; | ||
85 | - left: 50%; | ||
86 | - margin-left: -211rpx; | ||
87 | - width: 422rpx; | ||
88 | - height: 100rpx; | ||
89 | - line-height: 100rpx; | ||
90 | - text-align: center; | ||
91 | - font-size:32rpx; | ||
92 | - font-weight: 600; | ||
93 | - border-radius: 96rpx; | ||
94 | - background: rgba(255,200,61,1); | ||
95 | - } |
1 | -// pages/10/10.js | 1 | +const app = getApp() |
2 | +const innerAudioContext = wx.createInnerAudioContext(); | ||
2 | Page({ | 3 | Page({ |
3 | 4 | ||
4 | - /** | ||
5 | - * 页面的初始数据 | ||
6 | - */ | 5 | + |
7 | data: { | 6 | data: { |
8 | - appd: [], | ||
9 | - listlenth: 0, | ||
10 | - radio: [{ | ||
11 | - num: '2', | ||
12 | - bool: false | ||
13 | - }, | ||
14 | - { | ||
15 | - num: '15', | ||
16 | - bool: false | ||
17 | - }, | ||
18 | - { | ||
19 | - num: '20', | ||
20 | - bool: true | ||
21 | - }, | ||
22 | - { | ||
23 | - num: '42', | ||
24 | - bool: false | ||
25 | - } | ||
26 | - ], | ||
27 | - | ||
28 | - appd: [{ | ||
29 | - tip: 'A', | ||
30 | - img: '/img/1.png', | ||
31 | - bool: false, | ||
32 | - Text: '此选项意思是桃子' | ||
33 | - }, | ||
34 | - { | ||
35 | - tip: 'B', | ||
36 | - img: '/img/1.png', | ||
37 | - bool: true, | ||
38 | - Text: '此选项意思是香蕉', | ||
39 | - back: 'rgba(255,200,61,1)' | ||
40 | - }, | ||
41 | - { | ||
42 | - tip: 'C', | ||
43 | - img: '/img/1.png', | ||
44 | - bool: false, | ||
45 | - Text: '此选项意思是葡萄', | ||
46 | - back: 'rgba(255,200,61,1)' | ||
47 | - }, | ||
48 | - | ||
49 | - ], | ||
50 | - appd1: [{ | ||
51 | - tip: 'A', | ||
52 | - img: '/img/1.png', | ||
53 | - bool: false, | ||
54 | - Text: '此选项意思是桃子' | ||
55 | - }, | ||
56 | - { | ||
57 | - tip: 'B', | ||
58 | - img: '/img/1.png', | ||
59 | - bool: true, | ||
60 | - Text: '此选项意思是香蕉', | ||
61 | - back: 'rgba(255,200,61,1)' | ||
62 | - } | ||
63 | - | ||
64 | - ], | ||
65 | - appd2: [{ | ||
66 | - tip: 'A', | ||
67 | - img: '/img/1.png', | ||
68 | - bool: false, | ||
69 | - Text: '此选项意思是桃子' | ||
70 | - }, | ||
71 | - { | ||
72 | - tip: 'B', | ||
73 | - img: '/img/1.png', | ||
74 | - bool: true, | ||
75 | - Text: '此选项意思是香蕉', | ||
76 | - back: 'rgba(255,200,61,1)' | ||
77 | - }, | ||
78 | - { | ||
79 | - tip: 'C', | ||
80 | - img: '/img/1.png', | ||
81 | - bool: false, | ||
82 | - Text: '此选项意思是葡萄', | ||
83 | - back: 'rgba(255,200,61,1)' | ||
84 | - }, | ||
85 | - | ||
86 | - ] | 7 | + |
8 | + data: { | ||
9 | + "UserTextScore": 75, | ||
10 | + "List": [{ | ||
11 | + "evaluation_subject_id": 4, | ||
12 | + "title": "猜猜这是什么水果", | ||
13 | + "text": "猜猜这是什么水果", | ||
14 | + "video_file": "", | ||
15 | + "audio_file": "", | ||
16 | + "images": [], | ||
17 | + "option": [{ | ||
18 | + "key": "A", | ||
19 | + "key_text": "大西瓜", | ||
20 | + "key_audio": "", | ||
21 | + "key_image": "http://english.brofirst.cn/uploads/20210728/29afbd61ee86b9566512241358512111.jpeg", | ||
22 | + "analysis_text": "文字解析", | ||
23 | + "analysis_audio": "", | ||
24 | + "daan": 0 | ||
25 | + }, | ||
26 | + { | ||
27 | + "key": "B", | ||
28 | + "key_text": "大榴莲", | ||
29 | + "key_audio": "", | ||
30 | + "key_image": "http://english.brofirst.cn/uploads/20210728/29afbd61ee86b9566512241358512111.jpeg", | ||
31 | + "analysis_text": "文字解析", | ||
32 | + "analysis_audio": "", | ||
33 | + "daan": 1 | ||
34 | + }, | ||
35 | + { | ||
36 | + "key": "C", | ||
37 | + "key_text": "大葡萄", | ||
38 | + "key_audio": "", | ||
39 | + "key_image": "http://english.brofirst.cn/uploads/20210728/29afbd61ee86b9566512241358512111.jpeg", | ||
40 | + "analysis_text": "文字解析", | ||
41 | + "analysis_audio": "", | ||
42 | + "daan": 0 | ||
43 | + } | ||
44 | + ], | ||
45 | + "score": 25, | ||
46 | + "UserChoose": "B" | ||
47 | + }, | ||
48 | + { | ||
49 | + "evaluation_subject_id": 1, | ||
50 | + "title": "选择题 都是文字选项", | ||
51 | + "text": "1+1=几", | ||
52 | + "video_file": "http://english.brofirst.cn/uploads/20210728/93b589d1b6c334f1c2f15d71abb92849.mp4", | ||
53 | + "audio_file": "", | ||
54 | + "images": [], | ||
55 | + "option": [{ | ||
56 | + "key": "A", | ||
57 | + "key_text": "1", | ||
58 | + "key_audio": "", | ||
59 | + "key_image": "", | ||
60 | + "analysis_text": "文字解析", | ||
61 | + "analysis_audio": "", | ||
62 | + "daan": 0 | ||
63 | + }, | ||
64 | + { | ||
65 | + "key": "B", | ||
66 | + "key_text": "2", | ||
67 | + "key_audio": "", | ||
68 | + "key_image": "", | ||
69 | + "analysis_text": "文字解析", | ||
70 | + "analysis_audio": "", | ||
71 | + "daan": 1 | ||
72 | + }, | ||
73 | + { | ||
74 | + "key": "C", | ||
75 | + "key_text": "3", | ||
76 | + "key_audio": "", | ||
77 | + "key_image": "", | ||
78 | + "analysis_text": "文字解析", | ||
79 | + "analysis_audio": "", | ||
80 | + "daan": 0 | ||
81 | + }, | ||
82 | + { | ||
83 | + "key": "D", | ||
84 | + "key_text": "4", | ||
85 | + "key_audio": "", | ||
86 | + "key_image": "", | ||
87 | + "analysis_text": "", | ||
88 | + "analysis_audio": "http://english.brofirst.cn/uploads/20210728/8385b6188de6f017d3a0abfd81900fa5.mp3", | ||
89 | + "daan": 0 | ||
90 | + } | ||
91 | + ], | ||
92 | + "score": 25, | ||
93 | + "UserChoose": "A" | ||
94 | + }, | ||
95 | + ] | ||
96 | + }, //错题 | ||
97 | + current: 0, | ||
98 | + list: '', | ||
99 | + player: false, //语音 | ||
87 | 100 | ||
88 | }, | 101 | }, |
89 | - gotoday(){ | ||
90 | - wx.redirectTo({ | ||
91 | - url: '/pages/share/share', | 102 | + onLoad: function (options) { |
103 | + let data = JSON.parse(options.data) | ||
104 | + console.log(data) | ||
105 | + this.setData({ | ||
106 | + data: data | ||
92 | }) | 107 | }) |
93 | }, | 108 | }, |
94 | - // nextolick() { | ||
95 | - // if (this.data.listlenth != 2) { | ||
96 | - // if (this.data.listlenth == 0) { | ||
97 | - // this.setData({ | ||
98 | - // appd: this.data.appd, | ||
99 | - // listlenth: this.data.listlenth + 1 | ||
100 | - // }) | ||
101 | - // } else if (this.data.listlenth == 1) { | ||
102 | - // this.setData({ | ||
103 | - // appd: this.data.appd1, | ||
104 | - // listlenth: this.data.listlenth + 1 | ||
105 | - // }) | ||
106 | - | ||
107 | - // } else { | ||
108 | - // this.setData({ | ||
109 | - // appd: this.data.appd2, | ||
110 | - // listlenth: this.data.listlenth + 1 | ||
111 | - // }) | ||
112 | - // } | ||
113 | - // } else { | ||
114 | - // wx.showToast({ | ||
115 | - // title: '交卷成功' | ||
116 | - // }) | ||
117 | - // wx.redirectTo({ | ||
118 | - // url: '/pages/share/share', | ||
119 | - // }) | ||
120 | - // } | ||
121 | - // }, | ||
122 | - /** | ||
123 | - * 生命周期函数--监听页面加载 | ||
124 | - */ | ||
125 | - onLoad: function (options) { | 109 | + |
110 | + onShow: function () { | ||
111 | + | ||
112 | + this.setData({ | ||
113 | + list: this.data.data.List[0] | ||
114 | + }) | ||
126 | 115 | ||
127 | }, | 116 | }, |
128 | 117 | ||
129 | - /** | ||
130 | - * 生命周期函数--监听页面初次渲染完成 | ||
131 | - */ | ||
132 | - onReady: function () { | 118 | + gochoose(e) { |
119 | + console.log(e) | ||
120 | + let index = e.currentTarget.dataset.index | ||
121 | + this.setData({ | ||
122 | + list: this.data.data.List[index], | ||
123 | + current: index | ||
124 | + }) | ||
125 | + | ||
133 | 126 | ||
134 | }, | 127 | }, |
128 | + //播放单词 | ||
129 | + //播放单词 | ||
130 | + goAudio(e) { | ||
131 | + | ||
132 | + this.setData({ | ||
133 | + player: !this.data.player | ||
134 | + }) | ||
135 | + | ||
136 | + if (this.data.player) { | ||
137 | + let audio = e.currentTarget.dataset.audio | ||
138 | + console.log(audio) | ||
139 | + innerAudioContext.src = audio; | ||
140 | + innerAudioContext.play(); | ||
141 | + | ||
142 | + innerAudioContext.onPlay(() => { | ||
143 | + console.log('开始播放'); | ||
144 | + }); | ||
145 | + innerAudioContext.onError((res) => { | ||
146 | + console.log(res.errMsg); | ||
147 | + console.log(res.errCode); | ||
148 | + }); | ||
149 | + } else { | ||
150 | + console.log('停止'); | ||
151 | + innerAudioContext.stop() | ||
152 | + | ||
153 | + } | ||
154 | + | ||
155 | +}, | ||
156 | + | ||
157 | + | ||
135 | 158 | ||
136 | - /** | ||
137 | - * 生命周期函数--监听页面显示 | ||
138 | - */ | ||
139 | - onShow: function () { | 159 | + |
160 | + | ||
161 | + onReady: function () { | ||
140 | 162 | ||
141 | }, | 163 | }, |
142 | 164 | ||
143 | - /** | ||
144 | - * 生命周期函数--监听页面隐藏 | ||
145 | - */ | 165 | + |
166 | + | ||
167 | + | ||
146 | onHide: function () { | 168 | onHide: function () { |
147 | 169 | ||
148 | }, | 170 | }, |
1 | <view class="top"> | 1 | <view class="top"> |
2 | <text>错题</text> | 2 | <text>错题</text> |
3 | <view class="top-1"> | 3 | <view class="top-1"> |
4 | -<view class="top-2" wx:for="{{radio}}"> | ||
5 | - <view wx:if="{{item.bool==false}}">{{item.num}}</view> | ||
6 | - <view wx:elif="{{item.bool==true}}" style="background:rgba(255,200,61,1); border-radius: 32rpx;"> | ||
7 | - {{item.num}}</view> | ||
8 | - | ||
9 | - </view> | 4 | + <view class="top-2 {{current==index?'cb':''}}" wx:for="{{data.List}}" wx:key='key'> |
5 | + <view class="" bindtap="gochoose" data-index="{{index}}">{{item.evaluation_subject_id}}</view> | ||
6 | + </view> | ||
10 | </view> | 7 | </view> |
11 | </view> | 8 | </view> |
12 | -<view class="art"> | ||
13 | - <view class="title">Which picture is apple</view> | ||
14 | -</view> | ||
15 | -<view class="audio"> | ||
16 | - <text>00:02</text> | ||
17 | - <view class="audio-0"> | ||
18 | - <view class="audio-1"></view> | 9 | + |
10 | +<!-- --> | ||
11 | +<!-- 音频 --> | ||
12 | +<block wx:if="{{list.audio_file}}"> | ||
13 | + <view class="audio" id="audio"> | ||
14 | + <view style="width:686rpx;margin:0 auto"> | ||
15 | + <slider-audio id="audio" audio-src="{{list.audio_file}}" audioName="{{list.title}}"></slider-audio> | ||
16 | + </view> | ||
19 | </view> | 17 | </view> |
20 | - <text>00:20</text> | 18 | + <view class="audio_play" bindtap="PlayState"> |
19 | + <image class="audio_img" src="../../img/ic_voice56@2x.png"></image> | ||
20 | + </view> | ||
21 | +</block> | ||
22 | +<!-- 视屏 --> | ||
23 | +<view class="vide" wx:if="{{list.video_file}}"> | ||
24 | + <video src="{{list.video_file}}" show-center-play-btn="{{true}}"></video> | ||
21 | </view> | 25 | </view> |
26 | +<!-- 单词 --> | ||
27 | +<!-- <view class="title">question</view> | ||
22 | <view class="icon"> | 28 | <view class="icon"> |
23 | - <image src="/img/ic_voice56@2x.png"></image> | ||
24 | -</view> | ||
25 | -<view class="appd" > | ||
26 | - <view wx:for="{{appd}}" class="appd-0" bindtap="gotoday"> | ||
27 | - <view class="appd-1" wx:if="{{item.bool==true}}" style="background:rgba(255,200,61,1)"> | ||
28 | - {{item.tip}} | 29 | + <image src="/img/ic_voice56@2x.png" bindtap="goAudio"></image> |
30 | +</view> --> | ||
31 | +<!-- 答案 --> | ||
32 | +<view wx:for="{{list.option}}" wx:key='key' wx:if="{{item.key_text&&list.video_file ||item.key_audio}}"> | ||
33 | + <view bindtap="bind_choose" data-index="{{index}}" data-answer="{{item.key}}"> | ||
34 | + <view class="list bg1 {{item.key==list.UserChoose?'bg2':''}}"> | ||
35 | + <view class="list_choose">{{item.key}}<text>{{item.key_text}}</text> | ||
36 | + </view> | ||
37 | + <view> | ||
38 | + <image src="/img/ic_suss@2x.png" wx:if="{{item.key==list.UserChoose}}"></image> | ||
39 | + <image src="/img/ic_voice40@2x.png" bindtap="goAudio" data-audio="{{item.key_audio}}" | ||
40 | + wx:if="{{item.key_audio}}"></image> | ||
41 | + </view> | ||
29 | </view> | 42 | </view> |
30 | - <view class="appd-1" wx:elif="{{item.bool==false}}"> | ||
31 | - {{item.tip}} | 43 | + </view> |
44 | +</view> | ||
45 | +<!-- 图片题 --> | ||
46 | +<view class="appd"> | ||
47 | + <view class="appd-0" wx:for="{{list.option}}" wx:key='key' bindtap="bind_choose" data-index="{{index}}" | ||
48 | + data-answer="{{item.key}}" wx:if="{{item.key_image}}"> | ||
49 | + <view class="appd-1 {{item.key==list.UserChoose?'cr_ye':''}}"> | ||
50 | + {{item.key}} | ||
51 | + <image src="/img/ic_righ.png" wx:if="{{item.key==list.UserChoose}}"></image> | ||
52 | + <image src="/img/ic_righ.png" wx:if="{{item.key==list.UserChoose}}"></image> | ||
32 | </view> | 53 | </view> |
33 | - <view class="appd-2"> | ||
34 | - <image src="{{item.img}}"></image> | 54 | + <view class="appd-2 {{item.key==list.UserChoose?'cr_ye':''}}"> |
55 | + <image src="{{item.key_image}}"></image> | ||
35 | </view> | 56 | </view> |
36 | <view class="appd-3"> | 57 | <view class="appd-3"> |
37 | - {{item.Text}} | 58 | + <block wx:if="{{item.analysis_audio}}"> |
59 | + 解析 | ||
60 | + <image src="/img/ic_voice40@2x.png" bindtap="goAudio" data-audio="{{item.analysis_audio}}"></image> | ||
61 | + </block> | ||
62 | + <block wx:else> | ||
63 | + {{item.analysis_text}} | ||
64 | + </block> | ||
38 | </view> | 65 | </view> |
66 | + | ||
39 | </view> | 67 | </view> |
40 | </view> | 68 | </view> |
1 | -.top{ | ||
2 | - Background:#3A3942; | 1 | +.top { |
2 | + Background: #3A3942; | ||
3 | padding: 48rpx 32rpx; | 3 | padding: 48rpx 32rpx; |
4 | color: white; | 4 | color: white; |
5 | } | 5 | } |
6 | -.top-1{ | 6 | + |
7 | +.top-1 { | ||
7 | display: flex; | 8 | display: flex; |
8 | margin-top: 32rpx; | 9 | margin-top: 32rpx; |
9 | - | 10 | + |
10 | } | 11 | } |
11 | -.top-1 .top-2:first-child{ | 12 | + |
13 | +.top-1 .top-2:first-child { | ||
12 | margin-left: 0rpx; | 14 | margin-left: 0rpx; |
13 | 15 | ||
14 | } | 16 | } |
15 | -.top-2{ | 17 | + |
18 | +.top-2 { | ||
16 | width: 64rpx; | 19 | width: 64rpx; |
17 | height: 64rpx; | 20 | height: 64rpx; |
18 | margin-left: 32rpx; | 21 | margin-left: 32rpx; |
19 | line-height: 64rpx; | 22 | line-height: 64rpx; |
20 | text-align: center; | 23 | text-align: center; |
21 | border-radius: 32rpx; | 24 | border-radius: 32rpx; |
22 | - background:rgba(139,139,141,1); | ||
23 | -} | ||
24 | -.title{ | ||
25 | - text-align: center; | ||
26 | - font-size: 32rpx; | ||
27 | - margin-top: 48rpx; | ||
28 | - font-weight: 600; | ||
29 | - } | ||
30 | - | ||
31 | -.audio { | ||
32 | - padding: 32rpx; | ||
33 | - display: flex; | ||
34 | - margin-top: 54rpx; | ||
35 | - justify-content: space-between; | ||
36 | -} | ||
37 | -.audio text{ | ||
38 | - color: rgba(153,153,150,1); | ||
39 | - font-size: 24rpx; | 25 | + background: #8B8B8D; |
26 | + color: #ffffff; | ||
40 | } | 27 | } |
41 | 28 | ||
42 | -.audio-0 { | ||
43 | - padding: 0 20rpx; | ||
44 | -} | ||
45 | - | ||
46 | -.audio-1 { | ||
47 | - width: 240px; | ||
48 | - height: 13rpx; | ||
49 | - margin-top: 10rpx; | ||
50 | - background: #f8f8f8; | ||
51 | -} | ||
52 | -.icon { | ||
53 | - text-align: center; | 29 | +.cb { |
30 | + background: #FFC83D; | ||
31 | + color: #000000; | ||
54 | } | 32 | } |
55 | 33 | ||
56 | -.icon image { | ||
57 | - width: 112rpx; | ||
58 | - height: 112rpx; | ||
59 | - border-radius: 55rpx; | ||
60 | - box-shadow: 5rpx 5rpx 5rpx rgba(0, 0, 0, .3); | ||
61 | -} | ||
62 | -.appd{ | ||
63 | - margin-top:120rpx; | 34 | +.appd-3 { |
35 | + padding: 30rpx 32rpx; | ||
64 | display: flex; | 36 | display: flex; |
65 | - flex-wrap: wrap; | ||
66 | - text-align: left; | ||
67 | - padding-left:20rpx; | ||
68 | - | ||
69 | -} | ||
70 | -.appd-0{ | ||
71 | - margin-left: 16rpx; | ||
72 | -} | ||
73 | -.appd .appd-0:last-child{ | ||
74 | - flex: 1; | ||
75 | - margin-top: 18rpx; | ||
76 | -} | ||
77 | -.appd-1 { | ||
78 | - width: 334rpx; | ||
79 | - height: 48rpx; | ||
80 | - line-height: 48rpx; | ||
81 | - font-weight: 600; | ||
82 | - text-align: center; | ||
83 | - border-radius:36rpx 36rpx 0 0; | ||
84 | - background:rgba(235,235,235,1); | 37 | + align-items: center; |
38 | + justify-content: space-between; | ||
39 | + background: #F8F8F8; | ||
40 | + font-size: 28rpx; | ||
41 | + font-weight: 500; | ||
42 | + border-bottom-left-radius: 30rpx; | ||
43 | + border-bottom-right-radius: 30rpx; | ||
85 | } | 44 | } |
86 | 45 | ||
87 | -.appd-2{ | ||
88 | - width: 334rpx; | ||
89 | - height: 354rpx; | ||
90 | -} | ||
91 | -.appd-2 image{ | ||
92 | - width: 100%; | ||
93 | - height: 100%; | 46 | +.appd-3 image { |
47 | + width: 64rpx; | ||
48 | + height: 64rpx; | ||
94 | } | 49 | } |
95 | -.appd-3{ | ||
96 | - width: 334rpx; | ||
97 | - height: 100rpx; | ||
98 | - text-align: center; | ||
99 | - line-height: 100rpx; | ||
100 | - font-weight: 600; | ||
101 | - border-radius:0 0 36rpx 36rpx; | ||
102 | - background:rgba(235,235,235,1); | ||
103 | -} | ||
50 | + | ||
51 | +@import '../question//question.wxss'; |
1 | -// pages/02/02.js | 1 | +const app = getApp() |
2 | +const innerAudioContext = wx.createInnerAudioContext(); | ||
3 | + | ||
2 | Page({ | 4 | Page({ |
3 | 5 | ||
4 | /** | 6 | /** |
@@ -6,51 +8,14 @@ Page({ | @@ -6,51 +8,14 @@ Page({ | ||
6 | */ | 8 | */ |
7 | data: { | 9 | data: { |
8 | id: '', | 10 | id: '', |
9 | - nav: 0, | ||
10 | - list: [{ | ||
11 | - ite: 'A', | ||
12 | - bool: true | ||
13 | - }, | ||
14 | - { | ||
15 | - ite: 'B', | ||
16 | - bool: true | ||
17 | - }, | ||
18 | - { | ||
19 | - ite: 'C', | ||
20 | - bool: true | ||
21 | - }, | ||
22 | - { | ||
23 | - ite: 'D', | ||
24 | - bool: true | ||
25 | - }, | ||
26 | - ], | ||
27 | - appd:[ | ||
28 | - { | ||
29 | - tip:'A', | ||
30 | - img:'/img/1.png', | ||
31 | - bool:false | ||
32 | - }, | ||
33 | - { | ||
34 | - tip:'B', | ||
35 | - img:'/img/1.png', | ||
36 | - bool:true, | ||
37 | - back:'rgba(255,200,61,1)' | ||
38 | - }, | ||
39 | - { | ||
40 | - tip:'B', | ||
41 | - img:'/img/1.png', | ||
42 | - bool:true, | ||
43 | - back:'rgba(255,200,61,1)' | ||
44 | - }, | ||
45 | - { | ||
46 | - tip:'B', | ||
47 | - img:'/img/1.png', | ||
48 | - bool:true, | ||
49 | - back:'rgba(255,200,61,1)' | ||
50 | - }, | ||
51 | - | ||
52 | - ], | ||
53 | - | 11 | + nav: -1, |
12 | + list: '', //第一道题 | ||
13 | + clockData: {}, //所有题型 | ||
14 | + curent: '', //当前题号 | ||
15 | + countdown: '', //倒计时 | ||
16 | + player: false,//语音 | ||
17 | + show: false, //解析 | ||
18 | + analysis: '' | ||
54 | 19 | ||
55 | }, | 20 | }, |
56 | onLoad: function (options) { | 21 | onLoad: function (options) { |
@@ -58,37 +23,165 @@ Page({ | @@ -58,37 +23,165 @@ Page({ | ||
58 | this.setData({ | 23 | this.setData({ |
59 | id: options.id | 24 | id: options.id |
60 | }) | 25 | }) |
26 | + | ||
27 | + this.getlist() | ||
28 | + | ||
61 | }, | 29 | }, |
62 | 30 | ||
63 | onShow: function () { | 31 | onShow: function () { |
32 | + // 倒计时 | ||
33 | + var that = this | ||
34 | + that.countDown(); | ||
35 | + }, | ||
36 | + // 获取题目 | ||
37 | + getlist() { | ||
38 | + var that = this; | ||
39 | + app.post("evaluation/EvaluationQuestion", { | ||
40 | + evaluation_id: 1 | ||
41 | + | ||
42 | + }).then(res => { | ||
43 | + let list = res.data.List | ||
44 | + console.log(list) | ||
45 | + list.forEach(item => { | ||
46 | + console.log(item) | ||
47 | + item.UserChoose = '' | ||
48 | + | ||
49 | + }) | ||
50 | + | ||
51 | + // console.log(list) | ||
52 | + console.log(res.data) | ||
53 | + if (res.code == 1) { | ||
54 | + that.setData({ | ||
55 | + list: res.data.List[0], //第一道题 | ||
56 | + clockData: res.data, //所有题型 | ||
57 | + curent: 1 | ||
58 | + }) | ||
59 | + } | ||
60 | + }).catch(err => { | ||
64 | 61 | ||
62 | + }) | ||
65 | }, | 63 | }, |
66 | - //播放单词 | ||
67 | - goAudio() { | 64 | + //倒计时 |
65 | + countDown() { | ||
66 | + // var alltime = 60 | ||
67 | + // var h = alltime / 60 | ||
68 | + // var m = alltime | ||
69 | + // var s = alltime * 60 | ||
70 | + // console.log(h, m, s) | ||
68 | 71 | ||
69 | 72 | ||
70 | }, | 73 | }, |
71 | - // 选择 | 74 | + // 选择答案 |
72 | bind_choose(e) { | 75 | bind_choose(e) { |
73 | - let index = e.currentTarget.dataset.index | 76 | + let Index = e.currentTarget.dataset.index |
77 | + let answer = e.currentTarget.dataset.answer | ||
78 | + console.log(answer, '222') | ||
74 | console.log(e, '222') | 79 | console.log(e, '222') |
75 | this.setData({ | 80 | this.setData({ |
76 | - nav: index | 81 | + nav: Index |
82 | + }) | ||
83 | + | ||
84 | + let listindex = this.data.curent | ||
85 | + let list = this.data.clockData.List | ||
86 | + console.log(list) | ||
77 | 87 | ||
88 | + list.forEach((item, index) => { | ||
89 | + console.log(item) | ||
90 | + if (this.data.curent - 1 == index) { | ||
91 | + item.UserChoose = answer | ||
92 | + } | ||
93 | + }) | ||
94 | + this.setData({ | ||
95 | + clockData: this.data.clockData | ||
78 | }) | 96 | }) |
79 | 97 | ||
80 | 98 | ||
81 | }, | 99 | }, |
82 | - // 下一题 | 100 | + |
101 | + // 下一题 提交 | ||
83 | nextClick() { | 102 | nextClick() { |
84 | - wx.navigateTo({ | ||
85 | - url: '/pages/quest-3/quest-3', | 103 | + |
104 | + | ||
105 | + if (this.data.curent < this.data.clockData.Count) { | ||
106 | + var curent = this.data.curent * 1 + 1 | ||
107 | + this.setData({ | ||
108 | + nav: -1, | ||
109 | + curent: curent, | ||
110 | + list: this.data.clockData.List[curent - 1] | ||
111 | + }) | ||
112 | + } else { | ||
113 | + var that = this; | ||
114 | + app.post("evaluation/EvaluationTask", { | ||
115 | + evaluation_id: 1, | ||
116 | + json: JSON.stringify(this.data.clockData) | ||
117 | + | ||
118 | + }).then(res => { | ||
119 | + | ||
120 | + let analysis = res.data | ||
121 | + if (res.code == 1) { | ||
122 | + that.setData({ | ||
123 | + show: true, | ||
124 | + analysis: analysis | ||
125 | + }) | ||
126 | + } else { | ||
127 | + wx.showToast({ | ||
128 | + title: res.msg, | ||
129 | + icon: 'none' | ||
130 | + }) | ||
131 | + } | ||
132 | + }).catch(err => { | ||
133 | + | ||
134 | + }) | ||
135 | + | ||
136 | + | ||
137 | + } | ||
138 | + | ||
139 | + | ||
140 | + }, | ||
141 | + | ||
142 | + | ||
143 | + //播放单词 | ||
144 | + goAudio(e) { | ||
145 | + | ||
146 | + this.setData({ | ||
147 | + player: !this.data.player | ||
86 | }) | 148 | }) |
87 | 149 | ||
150 | + if (this.data.player) { | ||
151 | + let audio = e.currentTarget.dataset.audio | ||
152 | + console.log(audio) | ||
153 | + innerAudioContext.src = audio; | ||
154 | + innerAudioContext.play(); | ||
155 | + | ||
156 | + innerAudioContext.onPlay(() => { | ||
157 | + console.log('开始播放'); | ||
158 | + }); | ||
159 | + innerAudioContext.onError((res) => { | ||
160 | + console.log(res.errMsg); | ||
161 | + console.log(res.errCode); | ||
162 | + }); | ||
163 | + } else { | ||
164 | + console.log('停止'); | ||
165 | + innerAudioContext.stop() | ||
166 | + | ||
167 | + } | ||
168 | + | ||
88 | }, | 169 | }, |
89 | 170 | ||
90 | 171 | ||
172 | + // 测评分析 | ||
173 | + gototram() { | ||
174 | + let data = JSON.stringify( this.data.analysis) | ||
175 | + // console.log(data) | ||
176 | + wx.navigateTo({ | ||
177 | + url: '/pages/quest-5/quest-5?data='+data, | ||
178 | + }) | ||
91 | 179 | ||
180 | + }, | ||
181 | + // 播放音频 | ||
182 | + PlayState() { | ||
183 | + this.selectComponent("#audio").changePlayState() | ||
184 | + }, | ||
92 | 185 | ||
93 | onReady: function () { | 186 | onReady: function () { |
94 | 187 |
1 | { | 1 | { |
2 | - "usingComponents": {}, | 2 | + "usingComponents": { |
3 | + "slider-audio": "../../componets/music/music" | ||
4 | + }, | ||
3 | "navigationBarBackgroundColor": "#ffffff", | 5 | "navigationBarBackgroundColor": "#ffffff", |
4 | "navigationBarTextStyle":"black", | 6 | "navigationBarTextStyle":"black", |
5 | "navigationBarTitleText": "B&C HOUSE" | 7 | "navigationBarTitleText": "B&C HOUSE" |
1 | +<view class="porogress"> | ||
2 | + <text>{{curent}}</text> | ||
3 | + <text>/</text> | ||
4 | + <text>{{clockData.Count}}</text> | ||
5 | +</view> | ||
1 | <view class="nav"> | 6 | <view class="nav"> |
2 | - 剩余时间 00:42:12 | 7 | + 剩余时间 {{clockData.Limit}} |
8 | +</view> | ||
9 | + | ||
10 | +<!-- 音频 --> | ||
11 | +<view class="audio" wx:if="{{list.audio_file}}" id="audio"> | ||
12 | + <view style="width:686rpx;margin:0 auto"> | ||
13 | + <slider-audio id="audio" audio-src="{{list.audio_file}}" audioName="{{list.title}}"></slider-audio> | ||
14 | + </view> | ||
3 | </view> | 15 | </view> |
16 | +<!-- 播放音频 --> | ||
17 | +<view class="audio_play" bindtap="PlayState" wx:if="{{list.audio_file}}"> | ||
18 | + <image class="audio_img" src="../../img/ic_voice56@2x.png"></image> | ||
19 | +</view> | ||
20 | + | ||
4 | <!-- 视屏 --> | 21 | <!-- 视屏 --> |
5 | -<view class="vide"> | ||
6 | - <video src="https://english.brofirst.cn/uploads/20210728/79705860da8463ffbac302c512f763a5.mp4" | ||
7 | - show-center-play-btn="{{true}}"></video> | 22 | +<view class="vide" wx:if="{{list.video_file}}"> |
23 | + <video src="{{list.video_file}}" show-center-play-btn="{{true}}"></video> | ||
8 | </view> | 24 | </view> |
9 | <!-- 单词 --> | 25 | <!-- 单词 --> |
10 | -<view class="title">question</view> | 26 | +<!-- <view class="title">question</view> |
11 | <view class="icon"> | 27 | <view class="icon"> |
12 | <image src="/img/ic_voice56@2x.png" bindtap="goAudio"></image> | 28 | <image src="/img/ic_voice56@2x.png" bindtap="goAudio"></image> |
13 | -</view> | 29 | +</view> --> |
14 | <!-- 答案 --> | 30 | <!-- 答案 --> |
15 | -<view wx:for="{{list}}" wx:key='key'> | ||
16 | - <view bindtap="bind_choose" data-bool="{{item.bool}}" data-index="{{index}}"> | 31 | +<view wx:for="{{list.option}}" wx:key='key' wx:if="{{item.key_text&&list.video_file ||item.key_audio}}"> |
32 | + <view bindtap="bind_choose" data-index="{{index}}" data-answer="{{item.key}}"> | ||
17 | <view class="list bg1 {{nav==index?'bg2':''}}"> | 33 | <view class="list bg1 {{nav==index?'bg2':''}}"> |
18 | - <view>{{item.ite}} </view> | ||
19 | - <image src="/img/ic_voice40@2x.png" bindtap="goAudio"></image> | 34 | + <view class="list_choose">{{item.key}}<text>{{item.key_text}}</text> |
35 | + </view> | ||
36 | + <view> | ||
37 | + <image src="/img/ic_suss@2x.png" wx:if="{{nav==index}}"></image> | ||
38 | + <image src="/img/ic_voice40@2x.png" bindtap="goAudio" data-audio="{{item.key_audio}}" | ||
39 | + wx:if="{{item.key_audio}}"></image> | ||
40 | + </view> | ||
20 | </view> | 41 | </view> |
21 | </view> | 42 | </view> |
22 | </view> | 43 | </view> |
23 | - | 44 | +<!-- 图片题 --> |
24 | <view class="appd"> | 45 | <view class="appd"> |
25 | - <view wx:for="{{appd}}" class="appd-0"> | ||
26 | - <view class="appd-1" wx:if="{{item.bool==true}}" style="background:rgba(255,200,61,1)"> | ||
27 | - {{item.tip}} | ||
28 | - </view> | ||
29 | - <view class="appd-1" wx:elif="{{item.bool==false}}"> | ||
30 | - {{item.tip}} | 46 | + <view class="appd-0" wx:for="{{list.option}}" wx:key='key' bindtap="bind_choose" data-index="{{index}}" |
47 | + data-answer="{{item.key}}" wx:if="{{item.key_image}}"> | ||
48 | + <view class="appd-1 {{nav==index?'cr_ye':''}}"> | ||
49 | + {{item.key}} | ||
50 | + <image src="/img/ic_righ.png" wx:if="{{nav==index}}"></image> | ||
31 | </view> | 51 | </view> |
32 | - <view class="appd-2"> | ||
33 | - <image src="{{item.img}}"></image> | 52 | + <view class="appd-2 {{nav==index?'cr_ye':''}}"> |
53 | + <image src="{{item.key_image}}"></image> | ||
34 | </view> | 54 | </view> |
35 | </view> | 55 | </view> |
36 | </view> | 56 | </view> |
37 | 57 | ||
58 | +<view class="button" bindtap="nextClick"> | ||
59 | + {{curent==clockData.Count?'交卷':' 下一题'}} | ||
60 | +</view> | ||
38 | 61 | ||
39 | 62 | ||
40 | -<view class="button" bindtap="nextClick"> | ||
41 | - 下一题 | 63 | +<!-- 测评结束 --> |
64 | +<view class="mask" bindtap="closeMask" wx:if="{{show}}"> | ||
65 | + <!-- <image src="/img/img_star@2x.png"></image> --> | ||
66 | +</view> | ||
67 | +<view class="denglu" wx:if="{{show}}"> | ||
68 | + <view>测评结束</view> | ||
69 | + <view>当前得分<text>{{analysis.UserTextScore}}</text> </view> | ||
70 | + <view class="button" bindtap="gototram">查看解析</view> | ||
42 | </view> | 71 | </view> |
1 | +.porogress { | ||
2 | + display: flex; | ||
3 | + justify-content: center; | ||
4 | + align-items: center; | ||
5 | + width: 80rpx; | ||
6 | + height: 80rpx; | ||
7 | + border: 2rpx solid #3a3942; | ||
8 | + border-radius: 50%; | ||
9 | + position: fixed; | ||
10 | + top: 30rpx; | ||
11 | + right: 20rpx; | ||
12 | +} | ||
13 | + | ||
14 | +.porogress>text { | ||
15 | + font-size: 24rpx; | ||
16 | + color: #c5c5c5; | ||
17 | +} | ||
18 | + | ||
19 | +.porogress>text:first-child { | ||
20 | + color: #3a3942; | ||
21 | +} | ||
22 | + | ||
1 | .nav { | 23 | .nav { |
2 | width: 302rpx; | 24 | width: 302rpx; |
3 | height: 64rpx; | 25 | height: 64rpx; |
@@ -10,7 +32,7 @@ | @@ -10,7 +32,7 @@ | ||
10 | } | 32 | } |
11 | 33 | ||
12 | 34 | ||
13 | -.vide video{ | 35 | +.vide video { |
14 | width: 100%; | 36 | width: 100%; |
15 | height: 422rpx; | 37 | height: 422rpx; |
16 | } | 38 | } |
@@ -61,6 +83,15 @@ | @@ -61,6 +83,15 @@ | ||
61 | vertical-align: middle; | 83 | vertical-align: middle; |
62 | } | 84 | } |
63 | 85 | ||
86 | +.list_choose { | ||
87 | + color: #8B8B8D; | ||
88 | +} | ||
89 | + | ||
90 | +.list_choose text { | ||
91 | + color: #000000; | ||
92 | + margin-left: 32rpx; | ||
93 | +} | ||
94 | + | ||
64 | .button { | 95 | .button { |
65 | width: 422rpx; | 96 | width: 422rpx; |
66 | height: 100rpx; | 97 | height: 100rpx; |
@@ -72,30 +103,106 @@ | @@ -72,30 +103,106 @@ | ||
72 | border-radius: 96rpx; | 103 | border-radius: 96rpx; |
73 | background: rgba(255, 200, 61, 1); | 104 | background: rgba(255, 200, 61, 1); |
74 | } | 105 | } |
106 | +/* 音频 */ | ||
107 | + | ||
108 | +.audio_play{ | ||
109 | + width: 100%; | ||
110 | + margin-bottom: 32rpx; | ||
111 | +} | ||
112 | +.audio_img{ | ||
113 | + width: 112rpx; | ||
114 | + height: 112rpx; | ||
115 | + margin: 0 auto; | ||
116 | + display: block; | ||
117 | + box-shadow: 0rpx 8rpx 18rpx rgb(201, 201, 201); | ||
118 | + border-radius: 50%; | ||
119 | + margin-top: 54rpx; | ||
120 | +} | ||
75 | 121 | ||
76 | /* 图片选择 */ | 122 | /* 图片选择 */ |
77 | -.appd{ | ||
78 | - margin-top:120rpx; | 123 | +.appd { |
124 | + margin-top: 120rpx; | ||
79 | margin-bottom: 140rpx; | 125 | margin-bottom: 140rpx; |
80 | display: flex; | 126 | display: flex; |
81 | flex-wrap: wrap; | 127 | flex-wrap: wrap; |
82 | text-align: left; | 128 | text-align: left; |
83 | - padding-left:20rpx; | ||
84 | - | 129 | + padding-left: 20rpx; |
130 | + | ||
85 | } | 131 | } |
86 | -.appd-0{ | 132 | + |
133 | +.appd-0 { | ||
134 | + margin-top: 18rpx; | ||
87 | margin-left: 16rpx; | 135 | margin-left: 16rpx; |
88 | } | 136 | } |
137 | + | ||
89 | .appd-1 { | 138 | .appd-1 { |
90 | width: 334rpx; | 139 | width: 334rpx; |
91 | height: 48rpx; | 140 | height: 48rpx; |
92 | line-height: 48rpx; | 141 | line-height: 48rpx; |
93 | font-weight: 600; | 142 | font-weight: 600; |
94 | text-align: center; | 143 | text-align: center; |
95 | - border-radius:36rpx 36rpx 0 0; | ||
96 | - background:rgba(235,235,235,1); | 144 | + border-radius: 36rpx 36rpx 0 0; |
145 | + background: rgba(235, 235, 235, 1); | ||
146 | + | ||
147 | +} | ||
148 | +.appd-1 image{ | ||
149 | + width: 32rpx; | ||
150 | + height: 32rpx; | ||
151 | +} | ||
152 | + | ||
153 | +.cr_ye { | ||
154 | + background: rgba(255, 200, 61, 1); | ||
155 | + border: 1rpx solid #FFC83D !important; | ||
97 | } | 156 | } |
98 | -.appd-2 image{ | 157 | + |
158 | +.appd-2 { | ||
99 | width: 334rpx; | 159 | width: 334rpx; |
100 | height: 334rpx; | 160 | height: 334rpx; |
161 | + overflow: hidden; | ||
162 | + border: 1rpx solid #eeeeee; | ||
163 | +} | ||
164 | + | ||
165 | +.appd-2 image { | ||
166 | + width: 332rpx; | ||
167 | + height: 332rpx; | ||
168 | +} | ||
169 | + | ||
170 | +/* */ | ||
171 | +.mask { | ||
172 | + width: 100%; | ||
173 | + height: 100%; | ||
174 | + background: rgba(0, 0, 0, .6); | ||
175 | + position: fixed; | ||
176 | + top: 0; | ||
177 | + left: 0; | ||
178 | +} | ||
179 | + | ||
180 | +.denglu { | ||
181 | + position: fixed; | ||
182 | + top: 30%; | ||
183 | + left: 50%; | ||
184 | + transform: translateX(-50%); | ||
185 | + text-align: center; | ||
186 | + width: 622rpx; | ||
187 | + height: 528rpx; | ||
188 | + border-radius: 48rpx; | ||
189 | + background: #fff; | ||
190 | +} | ||
191 | +.mask image{ | ||
192 | + position: absolute; | ||
193 | + top: 0; | ||
194 | + z-index: 9999; | ||
195 | + width: 100%; | ||
196 | + height: 750rpx; | ||
197 | +} | ||
198 | + | ||
199 | +.denglu :nth-child(1) { | ||
200 | + margin-top: 124rpx; | ||
201 | + font-size: 52rpx; | ||
202 | + font-weight: 500; | ||
203 | +} | ||
204 | + | ||
205 | +.denglu text { | ||
206 | + margin-top: 44rpx; | ||
207 | + color: #FD9327; | ||
101 | } | 208 | } |
@@ -11,6 +11,8 @@ | @@ -11,6 +11,8 @@ | ||
11 | </view> | 11 | </view> |
12 | <view class="box-end">完成打卡</view> | 12 | <view class="box-end">完成打卡</view> |
13 | </view> | 13 | </view> |
14 | + | ||
15 | + | ||
14 | <view class="top-0"> | 16 | <view class="top-0"> |
15 | <image src="/img/img_star@2x.png"></image> | 17 | <image src="/img/img_star@2x.png"></image> |
16 | </view> | 18 | </view> |
@@ -26,4 +28,6 @@ | @@ -26,4 +28,6 @@ | ||
26 | <view class="title-2">Keep on going never give up.!</view> | 28 | <view class="title-2">Keep on going never give up.!</view> |
27 | <view class="box-ends" bindtap="gotoday">完成分享</view> | 29 | <view class="box-ends" bindtap="gotoday">完成分享</view> |
28 | </view> | 30 | </view> |
31 | + | ||
32 | + | ||
29 | <view class="bottom"><image src="/img/ic_pop_close@2x.png"></image></view> | 33 | <view class="bottom"><image src="/img/ic_pop_close@2x.png"></image></view> |
pages/share/share.js
已删除
100644 → 0
1 | -// pages/07/07.js | ||
2 | -Page({ | ||
3 | - | ||
4 | - /** | ||
5 | - * 页面的初始数据 | ||
6 | - */ | ||
7 | - data: { | ||
8 | - | ||
9 | - }, | ||
10 | - gotoday(){ | ||
11 | - wx.redirectTo({ | ||
12 | - url: '/pages/partake/partake', | ||
13 | - }) | ||
14 | - }, | ||
15 | - /** | ||
16 | - * 生命周期函数--监听页面加载 | ||
17 | - */ | ||
18 | - onLoad: function (options) { | ||
19 | - | ||
20 | - }, | ||
21 | - | ||
22 | - /** | ||
23 | - * 生命周期函数--监听页面初次渲染完成 | ||
24 | - */ | ||
25 | - onReady: function () { | ||
26 | - | ||
27 | - }, | ||
28 | - | ||
29 | - /** | ||
30 | - * 生命周期函数--监听页面显示 | ||
31 | - */ | ||
32 | - onShow: function () { | ||
33 | - | ||
34 | - }, | ||
35 | - | ||
36 | - /** | ||
37 | - * 生命周期函数--监听页面隐藏 | ||
38 | - */ | ||
39 | - onHide: function () { | ||
40 | - | ||
41 | - }, | ||
42 | - | ||
43 | - /** | ||
44 | - * 生命周期函数--监听页面卸载 | ||
45 | - */ | ||
46 | - onUnload: function () { | ||
47 | - | ||
48 | - }, | ||
49 | - | ||
50 | - /** | ||
51 | - * 页面相关事件处理函数--监听用户下拉动作 | ||
52 | - */ | ||
53 | - onPullDownRefresh: function () { | ||
54 | - | ||
55 | - }, | ||
56 | - | ||
57 | - /** | ||
58 | - * 页面上拉触底事件的处理函数 | ||
59 | - */ | ||
60 | - onReachBottom: function () { | ||
61 | - | ||
62 | - }, | ||
63 | - | ||
64 | - /** | ||
65 | - * 用户点击右上角分享 | ||
66 | - */ | ||
67 | - onShareAppMessage: function () { | ||
68 | - | ||
69 | - } | ||
70 | -}) |
pages/share/share.json
已删除
100644 → 0
pages/share/share.wxml
已删除
100644 → 0
1 | -<view class="top">上午9:55</view> | ||
2 | -<view class="house" bindtap="gotoday"> | ||
3 | - <view class="house-1"> | ||
4 | - <image src="/img/ic_logo_1@2x.png"></image> | ||
5 | - <view>少儿英语</view> | ||
6 | - </view> | ||
7 | - <view class="hous">小丽在 BC HOUSE 坚持学习520天了!</view> | ||
8 | - <view class="house-2"> | ||
9 | - <image src="/img/img_share@2x.png"></image> | ||
10 | - </view> | ||
11 | - <view class="house-1">小程序</view> | ||
12 | - <view class="touxiang"><image src="/img/99.png"></image></view> | ||
13 | -</view> | ||
14 | -<view class="bottom"> | ||
15 | - <image src="/img/img_logo@2x.png"></image> | ||
16 | - <view class="bott-0"><view class="bott"></view></view> | ||
17 | - <image src="/img/Group 44@2x.png"></image> | ||
18 | - <view class="stip"><image src="/img/ic_rec_n@2x.png"></image> | ||
19 | - </view> | ||
20 | -</view> |
pages/share/share.wxss
已删除
100644 → 0
1 | -/* pages/07/07.wxss */ | ||
2 | -page { | ||
3 | - background: #f7f7f7; | ||
4 | - | ||
5 | -} | ||
6 | - | ||
7 | -.top { | ||
8 | - text-align: center; | ||
9 | - margin-top: 36rpx; | ||
10 | - font-size: 24rpx; | ||
11 | - color: #d3d3d3; | ||
12 | -} | ||
13 | - | ||
14 | -.house { | ||
15 | - position: absolute; | ||
16 | - left: 50%; | ||
17 | - margin-left: -225rpx; | ||
18 | - width: 450rpx; | ||
19 | - height: 520rpx; | ||
20 | - padding: 14rpx; | ||
21 | - margin-top: 48rpx; | ||
22 | - background: white; | ||
23 | -} | ||
24 | - | ||
25 | -.hous { | ||
26 | - font-size: 30rpx; | ||
27 | - margin-top: 12rpx; | ||
28 | - line-height: 44rpx; | ||
29 | -} | ||
30 | - | ||
31 | -.house-1 { | ||
32 | - font-size: 20rpx; | ||
33 | - color: rgba(139, 139, 139, 1); | ||
34 | - display: flex; | ||
35 | -} | ||
36 | - | ||
37 | -.house-1 image { | ||
38 | - margin-top: 5rpx; | ||
39 | - margin-right: 8rpx; | ||
40 | - width: 38rpx; | ||
41 | - height: 20rpx; | ||
42 | - vertical-align: middle; | ||
43 | -} | ||
44 | - | ||
45 | -.house-2 { | ||
46 | - text-align: center; | ||
47 | -} | ||
48 | - | ||
49 | -.house-2 image { | ||
50 | - width: 418rpx; | ||
51 | - height: 334rpx; | ||
52 | -} | ||
53 | - | ||
54 | -.touxiang image { | ||
55 | - position: absolute; | ||
56 | - top: 0; | ||
57 | - right: -100rpx; | ||
58 | - width: 64rpx; | ||
59 | - height: 64rpx; | ||
60 | -} | ||
61 | - | ||
62 | -.bottom { | ||
63 | - position: fixed; | ||
64 | - width: 100%; | ||
65 | - height: 100rpx; | ||
66 | - background-color: white; | ||
67 | - bottom: 0; | ||
68 | - display: flex; | ||
69 | - justify-content: center; | ||
70 | - align-items: center; | ||
71 | -} | ||
72 | - | ||
73 | -.bottom image { | ||
74 | - width: 48rpx; | ||
75 | - height: 48rpx; | ||
76 | -} | ||
77 | - | ||
78 | -.bott { | ||
79 | - height: 58rpx; | ||
80 | - width: 500rpx; | ||
81 | - border-radius: 10rpx; | ||
82 | - background: #f7f7f7; | ||
83 | - | ||
84 | -} | ||
85 | -.bott-0{ | ||
86 | - padding: 0 20rpx; | ||
87 | - | ||
88 | -} | ||
89 | -.stip{ | ||
90 | - padding-left: 20rpx; | ||
91 | -} |
pages/sheet/sheet.js
已删除
100644 → 0
1 | -// pages/11/11.js | ||
2 | -const app = getApp() | ||
3 | -Page({ | ||
4 | - | ||
5 | - /** | ||
6 | - * 页面的初始数据 | ||
7 | - */ | ||
8 | - data: { | ||
9 | - cont: [{ | ||
10 | - id: 1, | ||
11 | - text1: 'Growth system', | ||
12 | - text2: '成长体系' | ||
13 | - }, | ||
14 | - { | ||
15 | - id: 2, | ||
16 | - text1: 'College', | ||
17 | - text2: '学院' | ||
18 | - }, | ||
19 | - { | ||
20 | - id: 3, | ||
21 | - text1: 'Points mall', | ||
22 | - text2: '积分商城' | ||
23 | - }, | ||
24 | - ], | ||
25 | - admin: "", // 账号 | ||
26 | - pwd: "", //密码 | ||
27 | - login: false, | ||
28 | - meData:{} | ||
29 | - }, | ||
30 | - /** | ||
31 | - * 生命周期函数--监听页面加载 | ||
32 | - */ | ||
33 | - onLoad: function (options) { | ||
34 | - | ||
35 | - }, | ||
36 | - onShow() { | ||
37 | - let token = wx.getStorageSync('token') | ||
38 | - if (token == '') { | ||
39 | - | ||
40 | - this.setData({ | ||
41 | - login: true | ||
42 | - }) | ||
43 | - } | ||
44 | - this.getMe() | ||
45 | - }, | ||
46 | - // 关闭 | ||
47 | - myevent() { | ||
48 | - this.setData({ | ||
49 | - login: false | ||
50 | - }) | ||
51 | - }, | ||
52 | - | ||
53 | - getmy() { | ||
54 | - wx.navigateTo({ | ||
55 | - url: '/pages/means/means', | ||
56 | - }) | ||
57 | - }, | ||
58 | - getmenu(e) { | ||
59 | - let id = e.currentTarget.dataset.id | ||
60 | - var data = JSON.stringify(this.data.meData) // 个人信息转换成字符串 | ||
61 | - if (id == 1) { | ||
62 | - wx.navigateTo({ | ||
63 | - url: '/pages/end/end?meData=' + data, | ||
64 | - }) | ||
65 | - | ||
66 | - } else if (id == 2) { | ||
67 | - wx.navigateTo({ | ||
68 | - url: '/pages/account/account?meData=' + data, | ||
69 | - }) | ||
70 | - | ||
71 | - } else { | ||
72 | - wx.navigateTo({ | ||
73 | - url: '/pages/integral/integral?meData=' + data, | ||
74 | - }) | ||
75 | - | ||
76 | - } | ||
77 | - | ||
78 | - | ||
79 | - }, | ||
80 | - | ||
81 | - //获取用户个人信息 | ||
82 | - getMe(){ | ||
83 | - var that = this; | ||
84 | - app.post("my/My", {}).then(res => { | ||
85 | - if(res.code == 1){ | ||
86 | - that.setData({ | ||
87 | - meData:res.data | ||
88 | - }) | ||
89 | - } | ||
90 | - }).catch(err => { | ||
91 | - wx.showToast({ | ||
92 | - title: err.msg, | ||
93 | - icon: 'none' | ||
94 | - }) | ||
95 | - }) | ||
96 | - }, | ||
97 | - | ||
98 | - /** | ||
99 | - * 生命周期函数--监听页面初次渲染完成 | ||
100 | - */ | ||
101 | - onReady: function () { | ||
102 | - | ||
103 | - }, | ||
104 | - | ||
105 | - /** | ||
106 | - * 生命周期函数--监听页面隐藏 | ||
107 | - */ | ||
108 | - onHide: function () { | ||
109 | - | ||
110 | - }, | ||
111 | - | ||
112 | - /** | ||
113 | - * 生命周期函数--监听页面卸载 | ||
114 | - */ | ||
115 | - onUnload: function () { | ||
116 | - | ||
117 | - }, | ||
118 | - | ||
119 | - /** | ||
120 | - * 页面相关事件处理函数--监听用户下拉动作 | ||
121 | - */ | ||
122 | - onPullDownRefresh: function () { | ||
123 | - | ||
124 | - }, | ||
125 | - | ||
126 | - /** | ||
127 | - * 页面上拉触底事件的处理函数 | ||
128 | - */ | ||
129 | - onReachBottom: function () { | ||
130 | - | ||
131 | - }, | ||
132 | - | ||
133 | - /** | ||
134 | - * 用户点击右上角分享 | ||
135 | - */ | ||
136 | - onShareAppMessage: function () { | ||
137 | - | ||
138 | - } | ||
139 | -}) |
pages/sheet/sheet.json
已删除
100644 → 0
pages/sheet/sheet.wxml
已删除
100644 → 0
1 | -<navigator class="logo" hover-class="none" url="/pages/notice/notice"> | ||
2 | - <image src="/img/Iconly-Curved-Notification@2x.png"></image> | ||
3 | -</navigator> | ||
4 | -<view class="top"> | ||
5 | - <view class="top-1"> | ||
6 | - <image src="{{meData.avatar}}"></image> | ||
7 | - <view class="bigtitle">{{meData.nickname}}</view> | ||
8 | - <text class="t3" bindtap="getmy">查看并编辑个人资料</text> | ||
9 | - </view> | ||
10 | - <view class="right">积分·{{meData.score}}</view> | ||
11 | -</view> | ||
12 | -<view class="contents"> | ||
13 | - <view class="cont" wx:for="{{cont}}" wx:key='key'> | ||
14 | - <view class="cont-box" bindtap="getmenu" data-id="{{item.id}}"> | ||
15 | - <text class="text-1">{{item.text1}}</text> | ||
16 | - <view class="text-3">{{item.text2}}</view> | ||
17 | - <image src="/img/ic_shop_1@2x.png"></image> | ||
18 | - </view> | ||
19 | - </view> | ||
20 | -</view> | ||
21 | -<view class="fot-nav"> | ||
22 | - <view>Make a little progress every day!</view> | ||
23 | - <view> | ||
24 | - 每天进步一点点! | ||
25 | - </view> | ||
26 | -</view> | ||
27 | -<!--登录 --> | ||
28 | -<login show="{{login}}" bindmyevent="myevent"></login> | ||
29 | - | ||
30 | - |
pages/sheet/sheet.wxss
已删除
100644 → 0
1 | -.logo { | ||
2 | - text-align: right; | ||
3 | - background: rgba(77, 76, 84, 1); | ||
4 | - padding-top: 36rpx; | ||
5 | - padding-right: 48rpx; | ||
6 | -} | ||
7 | - | ||
8 | -.logo image { | ||
9 | - width: 56rpx; | ||
10 | - height: 56rpx; | ||
11 | - border-radius: 16rpx; | ||
12 | - filter: grayscale(100%) brightness(600%); | ||
13 | -} | ||
14 | - | ||
15 | -.top { | ||
16 | - display: flex; | ||
17 | - justify-content: center; | ||
18 | - align-items: center; | ||
19 | - padding: 0 48rpx; | ||
20 | - padding-bottom: 80rpx; | ||
21 | - background: rgba(77, 76, 84, 1); | ||
22 | -} | ||
23 | - | ||
24 | -.top-1 { | ||
25 | - flex: 7; | ||
26 | -} | ||
27 | - | ||
28 | -.top image { | ||
29 | - width: 184rpx; | ||
30 | - height: 184rpx; | ||
31 | - border-radius: 50%; | ||
32 | -} | ||
33 | - | ||
34 | -.bigtitle { | ||
35 | - font-size: 52rpx; | ||
36 | - margin-top: 48rpx; | ||
37 | - font-weight: 600; | ||
38 | - color: white; | ||
39 | -} | ||
40 | - | ||
41 | -.t3 { | ||
42 | - font-size: 24rpx; | ||
43 | - color:rgba(196,196,196,1); | ||
44 | -} | ||
45 | - | ||
46 | -.right { | ||
47 | - flex: 3; | ||
48 | - width: 202rpx; | ||
49 | - height: 72rpx; | ||
50 | - text-align: center; | ||
51 | - line-height: 72rpx; | ||
52 | - border-radius: 86rpx; | ||
53 | - margin-top: -135rpx; | ||
54 | - color: #fff; | ||
55 | - background: #717171; | ||
56 | -} | ||
57 | - | ||
58 | -.contents { | ||
59 | - padding: 72rpx 32rpx; | ||
60 | - display: flex; | ||
61 | - flex-wrap: wrap; | ||
62 | - justify-content: space-around; | ||
63 | -} | ||
64 | -.contents .cont:last-child{ | ||
65 | - margin-top:24rpx; | ||
66 | - flex: 1; | ||
67 | - } | ||
68 | -.cont-box{ | ||
69 | - position: relative; | ||
70 | - padding: 48rpx 32rpx; | ||
71 | - width: 330rpx; | ||
72 | - height: 282rpx; | ||
73 | - background: #f8f8f8; | ||
74 | - border-radius: 32rpx; | ||
75 | -} | ||
76 | - | ||
77 | -.text-1 { | ||
78 | - font-size: 36rpx; | ||
79 | - color: rgba(0, 0, 0, 1); | ||
80 | -} | ||
81 | -.text-2{ | ||
82 | - font-size: 28rpx; | ||
83 | - margin-top: 14rpx; | ||
84 | - color: rgba(0, 0, 0, 1); | ||
85 | -} | ||
86 | -.cont image{ | ||
87 | - position: absolute; | ||
88 | - bottom:36rpx; | ||
89 | - right:32rpx; | ||
90 | - width: 96rpx; | ||
91 | - height: 96rpx; | ||
92 | -} | ||
93 | -.fot-nav{ | ||
94 | - text-align: center; | ||
95 | - font-size:24rpx; | ||
96 | - line-height: 42rpx; | ||
97 | - color:rgba(196,196,196,1); | ||
98 | - margin-bottom: 100rpx; | ||
99 | -} | ||
100 | -.footer{ | ||
101 | - position: fixed; | ||
102 | - bottom: 0; | ||
103 | - width: 100%; | ||
104 | - height: 100rpx; | ||
105 | - display: flex; | ||
106 | - padding: 15rpx 0; | ||
107 | - justify-content: space-around; | ||
108 | - background: #ffffff; | ||
109 | - } | ||
110 | - .footer image{ | ||
111 | - width: 66rpx; | ||
112 | - height: 66rpx; | ||
113 | - } | ||
114 | - |
project.private.config.json
已删除
100644 → 0
1 | -{ | ||
2 | - "setting": {}, | ||
3 | - "condition": { | ||
4 | - "plugin": { | ||
5 | - "list": [] | ||
6 | - }, | ||
7 | - "game": { | ||
8 | - "list": [] | ||
9 | - }, | ||
10 | - "gamePlugin": { | ||
11 | - "list": [] | ||
12 | - }, | ||
13 | - "miniprogram": { | ||
14 | - "list": [ | ||
15 | - { | ||
16 | - "name": "pages/first/first", | ||
17 | - "pathName": "pages/first/first", | ||
18 | - "query": "", | ||
19 | - "scene": null | ||
20 | - }, | ||
21 | - { | ||
22 | - "name": "pages/second/second", | ||
23 | - "pathName": "pages/second/second", | ||
24 | - "query": "", | ||
25 | - "scene": null | ||
26 | - }, | ||
27 | - { | ||
28 | - "name": "pages/three/three", | ||
29 | - "pathName": "pages/three/three", | ||
30 | - "query": "", | ||
31 | - "scene": null | ||
32 | - }, | ||
33 | - { | ||
34 | - "name": "pages/four/four", | ||
35 | - "pathName": "pages/four/four", | ||
36 | - "query": "", | ||
37 | - "scene": null | ||
38 | - }, | ||
39 | - { | ||
40 | - "name": "pages/five/five", | ||
41 | - "pathName": "pages/five/five", | ||
42 | - "query": "", | ||
43 | - "scene": null | ||
44 | - }, | ||
45 | - { | ||
46 | - "name": "pages/index/index", | ||
47 | - "pathName": "pages/index/index", | ||
48 | - "query": "", | ||
49 | - "scene": null | ||
50 | - }, | ||
51 | - { | ||
52 | - "name": "pages/six/six", | ||
53 | - "pathName": "pages/six/six", | ||
54 | - "query": "", | ||
55 | - "scene": null | ||
56 | - }, | ||
57 | - { | ||
58 | - "name": "pages/sever/sever", | ||
59 | - "pathName": "pages/sever/sever", | ||
60 | - "query": "", | ||
61 | - "scene": null | ||
62 | - }, | ||
63 | - { | ||
64 | - "name": "pages/eight/eight", | ||
65 | - "pathName": "pages/eight/eight", | ||
66 | - "query": "", | ||
67 | - "scene": null | ||
68 | - }, | ||
69 | - { | ||
70 | - "name": "pages/01/01", | ||
71 | - "pathName": "pages/01/01", | ||
72 | - "query": "", | ||
73 | - "scene": null | ||
74 | - }, | ||
75 | - { | ||
76 | - "name": "pages/02/02", | ||
77 | - "pathName": "pages/02/02", | ||
78 | - "query": "", | ||
79 | - "scene": null | ||
80 | - }, | ||
81 | - { | ||
82 | - "name": "pages/03/03", | ||
83 | - "pathName": "pages/03/03", | ||
84 | - "query": "", | ||
85 | - "scene": null | ||
86 | - }, | ||
87 | - { | ||
88 | - "name": "pages/04/04", | ||
89 | - "pathName": "pages/04/04", | ||
90 | - "query": "", | ||
91 | - "scene": null | ||
92 | - }, | ||
93 | - { | ||
94 | - "name": "pages/05/05", | ||
95 | - "pathName": "pages/05/05", | ||
96 | - "query": "", | ||
97 | - "scene": null | ||
98 | - }, | ||
99 | - { | ||
100 | - "name": "pages/05/05", | ||
101 | - "pathName": "pages/05/05", | ||
102 | - "query": "", | ||
103 | - "scene": null | ||
104 | - }, | ||
105 | - { | ||
106 | - "name": "pages/06/06", | ||
107 | - "pathName": "pages/06/06", | ||
108 | - "query": "", | ||
109 | - "scene": null | ||
110 | - }, | ||
111 | - { | ||
112 | - "name": "pages/07/07", | ||
113 | - "pathName": "pages/07/07", | ||
114 | - "query": "", | ||
115 | - "scene": null | ||
116 | - }, | ||
117 | - { | ||
118 | - "name": "pages/08/08", | ||
119 | - "pathName": "pages/08/08", | ||
120 | - "query": "", | ||
121 | - "scene": null | ||
122 | - }, | ||
123 | - { | ||
124 | - "name": "pages/09/09", | ||
125 | - "pathName": "pages/09/09", | ||
126 | - "query": "", | ||
127 | - "scene": null | ||
128 | - }, | ||
129 | - { | ||
130 | - "name": "pages/10/10", | ||
131 | - "pathName": "pages/10/10", | ||
132 | - "query": "", | ||
133 | - "scene": null | ||
134 | - }, | ||
135 | - { | ||
136 | - "name": "pages/11/11", | ||
137 | - "pathName": "pages/11/11", | ||
138 | - "query": "", | ||
139 | - "scene": null | ||
140 | - }, | ||
141 | - { | ||
142 | - "name": "pages/index/index", | ||
143 | - "pathName": "pages/index/index", | ||
144 | - "query": "", | ||
145 | - "scene": null | ||
146 | - }, | ||
147 | - { | ||
148 | - "name": "pages/12/12", | ||
149 | - "pathName": "pages/12/12", | ||
150 | - "query": "", | ||
151 | - "scene": null | ||
152 | - }, | ||
153 | - { | ||
154 | - "name": "pages/13/13", | ||
155 | - "pathName": "pages/13/13", | ||
156 | - "query": "", | ||
157 | - "scene": null | ||
158 | - }, | ||
159 | - { | ||
160 | - "name": "pages/14/14", | ||
161 | - "pathName": "pages/14/14", | ||
162 | - "query": "", | ||
163 | - "scene": null | ||
164 | - }, | ||
165 | - { | ||
166 | - "name": "pages/15/15", | ||
167 | - "pathName": "pages/15/15", | ||
168 | - "query": "", | ||
169 | - "scene": null | ||
170 | - }, | ||
171 | - { | ||
172 | - "name": "pages/16/16", | ||
173 | - "pathName": "pages/16/16", | ||
174 | - "query": "", | ||
175 | - "scene": null | ||
176 | - }, | ||
177 | - { | ||
178 | - "name": "pages/17/17", | ||
179 | - "pathName": "pages/17/17", | ||
180 | - "query": "", | ||
181 | - "scene": null | ||
182 | - }, | ||
183 | - { | ||
184 | - "name": "pages/18/18", | ||
185 | - "pathName": "pages/18/18", | ||
186 | - "query": "", | ||
187 | - "scene": null | ||
188 | - }, | ||
189 | - { | ||
190 | - "name": "pages/19/19", | ||
191 | - "pathName": "pages/19/19", | ||
192 | - "query": "", | ||
193 | - "scene": null | ||
194 | - }, | ||
195 | - { | ||
196 | - "name": "pages/20/20", | ||
197 | - "pathName": "pages/20/20", | ||
198 | - "query": "", | ||
199 | - "scene": null | ||
200 | - }, | ||
201 | - { | ||
202 | - "name": "pages/21/21", | ||
203 | - "pathName": "pages/21/21", | ||
204 | - "query": "", | ||
205 | - "scene": null | ||
206 | - }, | ||
207 | - { | ||
208 | - "name": "pages/22/22", | ||
209 | - "pathName": "pages/22/22", | ||
210 | - "query": "", | ||
211 | - "scene": null | ||
212 | - }, | ||
213 | - { | ||
214 | - "name": "pages/23/23", | ||
215 | - "pathName": "pages/23/23", | ||
216 | - "query": "", | ||
217 | - "scene": null | ||
218 | - }, | ||
219 | - { | ||
220 | - "name": "pages/24/24", | ||
221 | - "pathName": "pages/24/24", | ||
222 | - "query": "", | ||
223 | - "scene": null | ||
224 | - }, | ||
225 | - { | ||
226 | - "name": "pages/25/25", | ||
227 | - "pathName": "pages/25/25", | ||
228 | - "query": "", | ||
229 | - "scene": null | ||
230 | - }, | ||
231 | - { | ||
232 | - "name": "pages/26/26", | ||
233 | - "pathName": "pages/26/26", | ||
234 | - "query": "", | ||
235 | - "scene": null | ||
236 | - }, | ||
237 | - { | ||
238 | - "name": "pages/27/27", | ||
239 | - "pathName": "pages/27/27", | ||
240 | - "query": "", | ||
241 | - "scene": null | ||
242 | - }, | ||
243 | - { | ||
244 | - "name": "pages/28/28", | ||
245 | - "pathName": "pages/28/28", | ||
246 | - "query": "", | ||
247 | - "scene": null | ||
248 | - }, | ||
249 | - { | ||
250 | - "name": "pages/01/01", | ||
251 | - "pathName": "pages/01/01", | ||
252 | - "query": "", | ||
253 | - "scene": null | ||
254 | - }, | ||
255 | - { | ||
256 | - "name": "pages/quest-2/quest-2", | ||
257 | - "pathName": "pages/quest-2/quest-2", | ||
258 | - "query": "", | ||
259 | - "scene": null | ||
260 | - }, | ||
261 | - { | ||
262 | - "name": "pages/quest-2/quest-2", | ||
263 | - "pathName": "pages/quest-2/quest-2", | ||
264 | - "query": "", | ||
265 | - "scene": null | ||
266 | - }, | ||
267 | - { | ||
268 | - "name": "成长体系", | ||
269 | - "pathName": "pages/end/end", | ||
270 | - "query": "", | ||
271 | - "scene": null | ||
272 | - }, | ||
273 | - { | ||
274 | - "name": "pages/trends/trends", | ||
275 | - "pathName": "pages/trends/trends", | ||
276 | - "query": "", | ||
277 | - "scene": null | ||
278 | - }, | ||
279 | - { | ||
280 | - "name": "pages/success/success", | ||
281 | - "pathName": "pages/success/success", | ||
282 | - "query": "", | ||
283 | - "scene": null | ||
284 | - }, | ||
285 | - { | ||
286 | - "name": "pages/second/second", | ||
287 | - "pathName": "pages/second/second", | ||
288 | - "query": "", | ||
289 | - "scene": null | ||
290 | - }, | ||
291 | - { | ||
292 | - "name": "pages/quest-2/quest-2", | ||
293 | - "pathName": "pages/quest-2/quest-2", | ||
294 | - "query": "", | ||
295 | - "scene": null | ||
296 | - }, | ||
297 | - { | ||
298 | - "name": "pages/password/password", | ||
299 | - "pathName": "pages/password/password", | ||
300 | - "query": "", | ||
301 | - "scene": null | ||
302 | - }, | ||
303 | - { | ||
304 | - "name": "pages/requre/requre", | ||
305 | - "pathName": "pages/requre/requre", | ||
306 | - "query": "", | ||
307 | - "scene": null | ||
308 | - }, | ||
309 | - { | ||
310 | - "name": "pages/index/index", | ||
311 | - "pathName": "pages/index/index", | ||
312 | - "query": "", | ||
313 | - "scene": null | ||
314 | - }, | ||
315 | - { | ||
316 | - "name": "pages/sever/sever", | ||
317 | - "pathName": "pages/sever/sever", | ||
318 | - "query": "", | ||
319 | - "scene": null | ||
320 | - }, | ||
321 | - { | ||
322 | - "name": "pages/integral/integral", | ||
323 | - "pathName": "pages/integral/integral", | ||
324 | - "query": "", | ||
325 | - "scene": null | ||
326 | - }, | ||
327 | - { | ||
328 | - "name": "pages/partake/partake", | ||
329 | - "pathName": "pages/partake/partake", | ||
330 | - "query": "", | ||
331 | - "scene": null | ||
332 | - }, | ||
333 | - { | ||
334 | - "name": "pages/petname/petname", | ||
335 | - "pathName": "pages/petname/petname", | ||
336 | - "query": "", | ||
337 | - "scene": null | ||
338 | - }, | ||
339 | - { | ||
340 | - "name": "pages/trends/trends", | ||
341 | - "pathName": "pages/trends/trends", | ||
342 | - "query": "", | ||
343 | - "scene": null | ||
344 | - }, | ||
345 | - { | ||
346 | - "name": "pages/message/message", | ||
347 | - "pathName": "pages/message/message", | ||
348 | - "query": "", | ||
349 | - "scene": null | ||
350 | - }, | ||
351 | - { | ||
352 | - "name": "pages/five/five", | ||
353 | - "pathName": "pages/five/five", | ||
354 | - "query": "", | ||
355 | - "scene": null | ||
356 | - }, | ||
357 | - { | ||
358 | - "name": "pages/eight/eight", | ||
359 | - "pathName": "pages/eight/eight", | ||
360 | - "query": "", | ||
361 | - "scene": null | ||
362 | - }, | ||
363 | - { | ||
364 | - "name": "pages/nine/nine", | ||
365 | - "pathName": "pages/nine/nine", | ||
366 | - "query": "", | ||
367 | - "scene": null | ||
368 | - }, | ||
369 | - { | ||
370 | - "name": "pages/question/question", | ||
371 | - "pathName": "pages/question/question", | ||
372 | - "query": "", | ||
373 | - "scene": null | ||
374 | - }, | ||
375 | - { | ||
376 | - "name": "pages/king/king", | ||
377 | - "pathName": "pages/king/king", | ||
378 | - "query": "", | ||
379 | - "scene": null | ||
380 | - }, | ||
381 | - { | ||
382 | - "name": "pages/quest-5/quest-5", | ||
383 | - "pathName": "pages/quest-5/quest-5", | ||
384 | - "query": "", | ||
385 | - "scene": null | ||
386 | - }, | ||
387 | - { | ||
388 | - "name": "pages/quest-3/quest-3", | ||
389 | - "pathName": "pages/quest-3/quest-3", | ||
390 | - "query": "", | ||
391 | - "scene": null | ||
392 | - }, | ||
393 | - { | ||
394 | - "name": "pages/means/means", | ||
395 | - "pathName": "pages/means/means", | ||
396 | - "query": "", | ||
397 | - "scene": null | ||
398 | - }, | ||
399 | - { | ||
400 | - "name": "pages/end/end", | ||
401 | - "pathName": "pages/end/end", | ||
402 | - "query": "", | ||
403 | - "scene": null | ||
404 | - }, | ||
405 | - { | ||
406 | - "name": "我的", | ||
407 | - "pathName": "pages/sheet/sheet", | ||
408 | - "query": "", | ||
409 | - "scene": null | ||
410 | - }, | ||
411 | - { | ||
412 | - "name": "pages/share/share", | ||
413 | - "pathName": "pages/share/share", | ||
414 | - "query": "", | ||
415 | - "scene": null | ||
416 | - }, | ||
417 | - { | ||
418 | - "name": "pages/nine/nine", | ||
419 | - "pathName": "pages/nine/nine", | ||
420 | - "query": "", | ||
421 | - "scene": null | ||
422 | - }, | ||
423 | - { | ||
424 | - "name": "pages/king/king", | ||
425 | - "pathName": "pages/king/king", | ||
426 | - "query": "", | ||
427 | - "scene": null | ||
428 | - }, | ||
429 | - { | ||
430 | - "name": "pages/notice/notice", | ||
431 | - "pathName": "pages/notice/notice", | ||
432 | - "query": "", | ||
433 | - "scene": null | ||
434 | - }, | ||
435 | - { | ||
436 | - "name": "学院", | ||
437 | - "pathName": "pages/account/account", | ||
438 | - "query": "", | ||
439 | - "scene": null | ||
440 | - }, | ||
441 | - { | ||
442 | - "name": "pages/trends/trends", | ||
443 | - "pathName": "pages/trends/trends", | ||
444 | - "query": "", | ||
445 | - "scene": null | ||
446 | - }, | ||
447 | - { | ||
448 | - "name": "pages/integral/integral", | ||
449 | - "pathName": "pages/integral/integral", | ||
450 | - "query": "", | ||
451 | - "scene": null | ||
452 | - }, | ||
453 | - { | ||
454 | - "name": "pages/task/task", | ||
455 | - "pathName": "pages/task/task", | ||
456 | - "query": "", | ||
457 | - "scene": null | ||
458 | - }, | ||
459 | - { | ||
460 | - "name": "pages/quest-3/quest-3", | ||
461 | - "pathName": "pages/quest-3/quest-3", | ||
462 | - "query": "", | ||
463 | - "scene": null | ||
464 | - }, | ||
465 | - { | ||
466 | - "name": "pages/quest-2/quest-2", | ||
467 | - "pathName": "pages/quest-2/quest-2", | ||
468 | - "query": "", | ||
469 | - "scene": null | ||
470 | - }, | ||
471 | - { | ||
472 | - "name": "pages/sout/sout", | ||
473 | - "pathName": "pages/sout/sout", | ||
474 | - "query": "", | ||
475 | - "scene": null | ||
476 | - }, | ||
477 | - { | ||
478 | - "name": "pages/notice/notice", | ||
479 | - "pathName": "pages/notice/notice", | ||
480 | - "query": "", | ||
481 | - "scene": null | ||
482 | - }, | ||
483 | - { | ||
484 | - "name": "pages/recordto/recordto", | ||
485 | - "pathName": "pages/recordto/recordto", | ||
486 | - "query": "", | ||
487 | - "scene": null | ||
488 | - }, | ||
489 | - { | ||
490 | - "name": "积分记录", | ||
491 | - "pathName": "pages/record/record", | ||
492 | - "query": "", | ||
493 | - "scene": null | ||
494 | - }, | ||
495 | - { | ||
496 | - "name": "pages/integral/integral", | ||
497 | - "pathName": "pages/integral/integral", | ||
498 | - "query": "", | ||
499 | - "scene": null | ||
500 | - }, | ||
501 | - { | ||
502 | - "name": "pages/index/index", | ||
503 | - "pathName": "pages/index/index", | ||
504 | - "query": "", | ||
505 | - "scene": null | ||
506 | - }, | ||
507 | - { | ||
508 | - "name": "个人资料", | ||
509 | - "pathName": "pages/means/means", | ||
510 | - "query": "", | ||
511 | - "scene": null | ||
512 | - }, | ||
513 | - { | ||
514 | - "name": "pages/index/index", | ||
515 | - "pathName": "pages/index/index", | ||
516 | - "query": "", | ||
517 | - "scene": null | ||
518 | - }, | ||
519 | - { | ||
520 | - "name": "pages/nologgeds/nologgeds", | ||
521 | - "pathName": "pages/nologgeds/nologgeds", | ||
522 | - "query": "", | ||
523 | - "scene": null | ||
524 | - }, | ||
525 | - { | ||
526 | - "name": "pages/logged/logged", | ||
527 | - "pathName": "pages/logged/logged", | ||
528 | - "query": "", | ||
529 | - "scene": null | ||
530 | - }, | ||
531 | - { | ||
532 | - "name": "pages/partake/partake", | ||
533 | - "pathName": "pages/partake/partake", | ||
534 | - "query": "", | ||
535 | - "scene": null | ||
536 | - }, | ||
537 | - { | ||
538 | - "name": "pages/end/end", | ||
539 | - "pathName": "pages/end/end", | ||
540 | - "query": "", | ||
541 | - "scene": null | ||
542 | - }, | ||
543 | - { | ||
544 | - "name": "pages/sheet/sheet", | ||
545 | - "pathName": "pages/sheet/sheet", | ||
546 | - "query": "", | ||
547 | - "scene": null | ||
548 | - }, | ||
549 | - { | ||
550 | - "name": "pages/requre/requre", | ||
551 | - "pathName": "pages/requre/requre", | ||
552 | - "query": "goods_data=%7B%22goods_id%22%3A3%2C%22image%22%3A%22http%3A%2F%2Fenglish.brofirst.cn%2Fuploads%2F20210715%2F8bb3479d5444f4c45de0ae8e449a2b9d.png%22%2C%22title%22%3A%22%E9%98%BF%E8%8B%A5%E6%8B%89%E9%A3%9E%E6%9C%BA%22%2C%22number%22%3A10%7D", | ||
553 | - "scene": null | ||
554 | - }, | ||
555 | - { | ||
556 | - "name": "pages/eight/eight", | ||
557 | - "pathName": "pages/eight/eight", | ||
558 | - "query": "", | ||
559 | - "scene": null | ||
560 | - }, | ||
561 | - { | ||
562 | - "name": "pages/first/first", | ||
563 | - "pathName": "pages/first/first", | ||
564 | - "query": "", | ||
565 | - "scene": null | ||
566 | - }, | ||
567 | - { | ||
568 | - "name": "pages/first/first", | ||
569 | - "pathName": "pages/first/first", | ||
570 | - "query": "id=1", | ||
571 | - "scene": null | ||
572 | - } | ||
573 | - ] | ||
574 | - } | ||
575 | - } | ||
576 | -} |
-
请 注册 或 登录 后发表评论