正在显示
18 个修改的文件
包含
840 行增加
和
198 行删除
zhiyuanzhe/imgs/shares.png
0 → 100644
3.3 KB
@@ -25,4 +25,11 @@ | @@ -25,4 +25,11 @@ | ||
25 | wx:if="{{list.user_status ==1}}">审核已通过</button> | 25 | wx:if="{{list.user_status ==1}}">审核已通过</button> |
26 | <button wx:if="{{list.user_status ==-1}}">审核不通过</button> | 26 | <button wx:if="{{list.user_status ==-1}}">审核不通过</button> |
27 | <button wx:if="{{list.user_status ==3}}" bindtap="getshengqin" data-id="{{id}}">未申请</button> | 27 | <button wx:if="{{list.user_status ==3}}" bindtap="getshengqin" data-id="{{id}}">未申请</button> |
28 | -</view> | ||
28 | +</view> | ||
29 | + | ||
30 | +<button open-type='share'> | ||
31 | + <view class="btn-item" style="background: url('/imgs/shares.png') no-repeat center;background-size: cover;" | ||
32 | + bindtap="change_cover" data-id="2"> | ||
33 | + </view> | ||
34 | + | ||
35 | +</button> |
@@ -75,4 +75,25 @@ page { | @@ -75,4 +75,25 @@ page { | ||
75 | height: 88rpx; | 75 | height: 88rpx; |
76 | border-radius: 44rpx; | 76 | border-radius: 44rpx; |
77 | 77 | ||
78 | -} | ||
78 | +} | ||
79 | +/* 分享 */ | ||
80 | +.btn-item { | ||
81 | + width: 100rpx; | ||
82 | + height: 100rpx; | ||
83 | + border: none !important; | ||
84 | + line-height: 1 !important; | ||
85 | + padding: 63rpx 0 0; | ||
86 | + box-sizing: border-box; | ||
87 | + border-radius: 50%; | ||
88 | + font-size: 22rpx; | ||
89 | + font-family: PingFang SC; | ||
90 | + font-weight: 500; | ||
91 | + color: rgb(255, 255, 255) !important; | ||
92 | + text-align: center; | ||
93 | + margin: 40rpx 0 0; | ||
94 | + background: red; | ||
95 | + | ||
96 | + position: fixed; | ||
97 | + bottom: 144rpx; | ||
98 | + right: 32rpx; | ||
99 | + } |
@@ -30,8 +30,7 @@ Page({ | @@ -30,8 +30,7 @@ Page({ | ||
30 | 30 | ||
31 | }, | 31 | }, |
32 | 32 | ||
33 | - | ||
34 | - | 33 | + |
35 | /** | 34 | /** |
36 | * 生命周期函数--监听页面加载 | 35 | * 生命周期函数--监听页面加载 |
37 | */ | 36 | */ |
@@ -56,7 +55,7 @@ Page({ | @@ -56,7 +55,7 @@ Page({ | ||
56 | onShow: function () { | 55 | onShow: function () { |
57 | let that = this; | 56 | let that = this; |
58 | that.getactive() | 57 | that.getactive() |
59 | - | 58 | + |
60 | 59 | ||
61 | }, | 60 | }, |
62 | 61 |
@@ -11,4 +11,13 @@ | @@ -11,4 +11,13 @@ | ||
11 | <rich-text nodes="{{list.content}}"></rich-text> | 11 | <rich-text nodes="{{list.content}}"></rich-text> |
12 | </view> | 12 | </view> |
13 | 13 | ||
14 | -</view> | ||
14 | +</view> | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | +<button open-type='share'> | ||
19 | + <view class="btn-item" style="background: url('/imgs/shares.png') no-repeat center;background-size: cover;" | ||
20 | + bindtap="change_cover" data-id="2"> | ||
21 | + </view> | ||
22 | + | ||
23 | +</button> |
@@ -41,4 +41,24 @@ image { | @@ -41,4 +41,24 @@ image { | ||
41 | text-align: justify; | 41 | text-align: justify; |
42 | color: #5D5D5D; | 42 | color: #5D5D5D; |
43 | 43 | ||
44 | -} | ||
44 | +} | ||
45 | +/* 分享 */ | ||
46 | +.btn-item { | ||
47 | + width: 100rpx; | ||
48 | + height: 100rpx; | ||
49 | + border: none !important; | ||
50 | + line-height: 1 !important; | ||
51 | + padding: 63rpx 0 0; | ||
52 | + box-sizing: border-box; | ||
53 | + border-radius: 50%; | ||
54 | + font-size: 22rpx; | ||
55 | + font-family: PingFang SC; | ||
56 | + font-weight: 500; | ||
57 | + color: rgb(255, 255, 255) !important; | ||
58 | + text-align: center; | ||
59 | + margin: 40rpx 0 0; | ||
60 | + background: red; | ||
61 | + position: fixed; | ||
62 | + bottom: 144rpx; | ||
63 | + right: 32rpx; | ||
64 | + } |
@@ -5,13 +5,13 @@ Page({ | @@ -5,13 +5,13 @@ Page({ | ||
5 | data: { | 5 | data: { |
6 | id: '', | 6 | id: '', |
7 | list: '', | 7 | list: '', |
8 | - answers:[], | ||
9 | - finaAnswer:[], | 8 | + answers: [], |
9 | + finaAnswer: [], | ||
10 | showAnswer: false | 10 | showAnswer: false |
11 | }, | 11 | }, |
12 | 12 | ||
13 | onLoad: function (options) { | 13 | onLoad: function (options) { |
14 | - // console.log(options) | 14 | + console.log(options) |
15 | this.setData({ | 15 | this.setData({ |
16 | id: options.id | 16 | id: options.id |
17 | }) | 17 | }) |
@@ -24,7 +24,7 @@ Page({ | @@ -24,7 +24,7 @@ Page({ | ||
24 | that.getlist(); | 24 | that.getlist(); |
25 | 25 | ||
26 | }, | 26 | }, |
27 | - // 题 | 27 | + //问题列表 |
28 | getlist() { | 28 | getlist() { |
29 | 29 | ||
30 | let that = this; | 30 | let that = this; |
@@ -39,25 +39,26 @@ Page({ | @@ -39,25 +39,26 @@ Page({ | ||
39 | console.log(res) | 39 | console.log(res) |
40 | that.setData({ | 40 | that.setData({ |
41 | list: res, | 41 | list: res, |
42 | - tempList:JSON.parse(JSON.stringify(res)) | 42 | + tempList: JSON.parse(JSON.stringify(res)) |
43 | }) | 43 | }) |
44 | }).catch((err) => { | 44 | }).catch((err) => { |
45 | 45 | ||
46 | }) | 46 | }) |
47 | 47 | ||
48 | }, | 48 | }, |
49 | - radioChange(e){ | 49 | + radioChange(e) { |
50 | let tempAnswer = e.detail.value.split(','); | 50 | let tempAnswer = e.detail.value.split(','); |
51 | + console.log(tempAnswer) | ||
51 | this.data.answers[tempAnswer[1]] = tempAnswer[0]; | 52 | this.data.answers[tempAnswer[1]] = tempAnswer[0]; |
52 | - this.data.finaAnswer[tempAnswer[1]]={ | 53 | + this.data.finaAnswer[tempAnswer[1]] = { |
53 | key: tempAnswer[0], | 54 | key: tempAnswer[0], |
54 | answer: tempAnswer[1] | 55 | answer: tempAnswer[1] |
55 | } | 56 | } |
56 | this.data.list[tempAnswer[1]].choose = tempAnswer[2] | 57 | this.data.list[tempAnswer[1]].choose = tempAnswer[2] |
57 | - this.setData({ | 58 | + this.setData({ |
58 | answers: this.data.answers, | 59 | answers: this.data.answers, |
59 | - finaAnswer:this.data.finaAnswer, | ||
60 | - list:this.data.list | 60 | + finaAnswer: this.data.finaAnswer, |
61 | + list: this.data.list | ||
61 | }) | 62 | }) |
62 | }, | 63 | }, |
63 | 64 | ||
@@ -72,53 +73,67 @@ Page({ | @@ -72,53 +73,67 @@ Page({ | ||
72 | let params = { | 73 | let params = { |
73 | class_id: that.data.id, | 74 | class_id: that.data.id, |
74 | } | 75 | } |
76 | + | ||
77 | + console.log(params) | ||
75 | app.post(url, params, head).then((res) => { | 78 | app.post(url, params, head).then((res) => { |
76 | - | ||
77 | - if (res.code == '40000') { | ||
78 | - let answer = res | 79 | + |
80 | + if (that.data.answers == '') { | ||
79 | wx.showModal({ | 81 | wx.showModal({ |
80 | title: '提示', | 82 | title: '提示', |
81 | - content: '很遗憾你没有获得学时', | ||
82 | - confirmText: '重新答题', | ||
83 | - cancelText: '查看答案', | ||
84 | - success(res) { | ||
85 | - if (res.confirm) { | ||
86 | - wx.redirectTo({ | ||
87 | - url: '/pages/getStudycontent/answer/answer?id='+that.data.id, | ||
88 | - }) | ||
89 | - // let tempList = JSON.stringify(that.data.tempList) | ||
90 | - // that.setData({ | ||
91 | - // showAnswer: false, | ||
92 | - // // list: JSON.parse(tempList) | ||
93 | - // }) | ||
94 | - console.log('用户点击确定') | ||
95 | - } else if (res.cancel) { | ||
96 | - | ||
97 | - // wx.navigateTo({ | ||
98 | - // url: '/pages/getStudycontent/answer/answer', | ||
99 | - // }) | ||
100 | - that.setData({ | ||
101 | - showAnswer: true | ||
102 | - }) | ||
103 | - | ||
104 | - console.log('用户点击取消') | ||
105 | - } | ||
106 | - } | 83 | + content: '请完成答题后再提交', |
84 | + showCancel: false, | ||
107 | }) | 85 | }) |
108 | 86 | ||
109 | - | ||
110 | } else { | 87 | } else { |
111 | - wx.showModal({ | ||
112 | - title: '提示', | ||
113 | - content: '恭喜', | ||
114 | - showCancel: false, | ||
115 | - success: function (res) { | ||
116 | 88 | ||
117 | - } | ||
118 | - }) | 89 | + if (res.code == '40000') { |
90 | + let answer = res | ||
91 | + wx.showModal({ | ||
92 | + title: '提示', | ||
93 | + content: '很遗憾你没有获得学时', | ||
94 | + confirmText: '重新答题', | ||
95 | + cancelText: '查看答案', | ||
96 | + success(res) { | ||
97 | + if (res.confirm) { | ||
98 | + wx.redirectTo({ | ||
99 | + url: '/pages/getStudycontent/answer/answer?id=' + that.data.id, | ||
100 | + }) | ||
101 | + // let tempList = JSON.stringify(that.data.tempList) | ||
102 | + // that.setData({ | ||
103 | + // showAnswer: false, | ||
104 | + // // list: JSON.parse(tempList) | ||
105 | + // }) | ||
106 | + console.log('用户点击确定') | ||
107 | + } else if (res.cancel) { | ||
108 | + that.setData({ | ||
109 | + showAnswer: true | ||
110 | + }) | ||
111 | + | ||
112 | + console.log('用户点击取消') | ||
113 | + } | ||
114 | + } | ||
115 | + }) | ||
116 | + | ||
117 | + | ||
118 | + } else { | ||
119 | + wx.showModal({ | ||
120 | + title: '提示', | ||
121 | + content: '恭喜', | ||
122 | + showCancel: false, | ||
123 | + success: function (res) { | ||
124 | + | ||
125 | + } | ||
126 | + }) | ||
127 | + } | ||
119 | } | 128 | } |
120 | 129 | ||
121 | 130 | ||
131 | + | ||
132 | + | ||
133 | + | ||
134 | + | ||
135 | + | ||
136 | + | ||
122 | }).catch((err) => { | 137 | }).catch((err) => { |
123 | console.log(err) | 138 | console.log(err) |
124 | }) | 139 | }) |
@@ -21,6 +21,7 @@ | @@ -21,6 +21,7 @@ | ||
21 | </view> | 21 | </view> |
22 | <view class="shengqin"> | 22 | <view class="shengqin"> |
23 | <button bindtap="getcomfirm">确认</button> | 23 | <button bindtap="getcomfirm">确认</button> |
24 | + <button style="background: #cfcfcf;" wx:if="">已答题</button> | ||
24 | </view> | 25 | </view> |
25 | 26 | ||
26 | <!-- 答案 --> | 27 | <!-- 答案 --> |
@@ -44,48 +44,27 @@ page { | @@ -44,48 +44,27 @@ page { | ||
44 | margin-left: 22rpx; | 44 | margin-left: 22rpx; |
45 | } | 45 | } |
46 | /*单选框样式修改 */ | 46 | /*单选框样式修改 */ |
47 | +radio .wx-radio-input{ | ||
48 | + width: 28rpx; | ||
49 | + height: 28rpx; | ||
50 | + } | ||
51 | + | ||
47 | 52 | ||
48 | -/* 选中后的 背景样式 (红色背景 无边框 可根据UI需求自己修改) */ | ||
49 | - | 53 | +/* 选中后的 背景样式 */ |
50 | radio .wx-radio-input.wx-radio-input-checked { | 54 | radio .wx-radio-input.wx-radio-input-checked { |
51 | - border-color: #099D43; | ||
52 | - background: #099D43; | ||
53 | - | ||
54 | - } | ||
55 | - /* 未选中的 背景样式 */ | ||
56 | -checkbox .wx-checkbox-input{ | ||
57 | - border-color: #999; | ||
58 | - border-radius: 50%;/* 圆角 */ | ||
59 | - height: 28rpx; | ||
60 | - width: 28rpx; | 55 | + border-color: #099D43!important; |
56 | + background-color: #ffffff; | ||
61 | } | 57 | } |
62 | 58 | ||
63 | - /* 自定义样式.... */ | ||
64 | - | ||
65 | - radio .wx-radio-input { | ||
66 | - height: 28rpx; | ||
67 | - width: 28rpx; | ||
68 | - margin-top: -4rpx; | ||
69 | - border-radius: 50%; | ||
70 | - border: 2rpx solid #999; | ||
71 | - background: transparent; | 59 | + /* 选中后的 对勾样式 (白色对勾) */ |
60 | + radio .wx-radio-input.wx-radio-input-checked::before { | ||
61 | + content: ''; | ||
62 | + width: 14rpx; | ||
63 | + height: 14rpx; | ||
64 | + border-radius: 50%; | ||
65 | + background-color: #099D43; | ||
72 | } | 66 | } |
73 | - | ||
74 | -/* 选中后的 对勾样式 (白色对勾 可根据UI需求自己修改) */ | ||
75 | - | ||
76 | -radio .wx-radio-input.wx-radio-input-checked::before { | ||
77 | 67 | ||
78 | - border-radius: 50%; /* 圆角 */ | ||
79 | - width: 28rpx; /* 选中后对勾大小,不要超过背景的尺寸 */ | ||
80 | - height: 28rpx; /* 选中后对勾大小,不要超过背景的尺寸 */ | ||
81 | - line-height: 28rpx; | ||
82 | - text-align: center; | ||
83 | - font-size: 28rpx; /* 对勾大小 30rpx */ | ||
84 | - color: #099D43; /* 对勾颜色 白色 */ | ||
85 | - background: #ffffff; | ||
86 | - transform: translate(-50%, -50%) scale(1); | ||
87 | - -webkit-transform: translate(-50%, -50%) scale(1); | ||
88 | - } | ||
89 | 68 | ||
90 | /* */ | 69 | /* */ |
91 | .shengqin { | 70 | .shengqin { |
1 | -<!--pages/getStudycontent/getStudycontent.wxml--> | ||
2 | - | ||
3 | - | ||
4 | - | ||
5 | <view class="answer_text"> | 1 | <view class="answer_text"> |
6 | 2 | ||
7 | <view class="answer_title"> | 3 | <view class="answer_title"> |
@@ -13,6 +9,13 @@ | @@ -13,6 +9,13 @@ | ||
13 | </view> | 9 | </view> |
14 | <rich-text nodes="{{list.content}}"></rich-text> | 10 | <rich-text nodes="{{list.content}}"></rich-text> |
15 | </view> | 11 | </view> |
12 | + | ||
13 | + | ||
16 | <view class="answer" bindtap="getanswer"> | 14 | <view class="answer" bindtap="getanswer"> |
17 | - <button hover-class="none">去答题</button> | ||
18 | -</view> | ||
15 | + <view hover-class="none" wx:if="{{list}}">去答题</view> | ||
16 | +</view> | ||
17 | +<button open-type="share"> | ||
18 | + <view class="btn-item" style="background: url('/imgs/shares.png') no-repeat center;background-size: cover;" | ||
19 | + bindtap="change_cover" data-id="2"> | ||
20 | + </view> | ||
21 | +</button> |
@@ -36,12 +36,35 @@ | @@ -36,12 +36,35 @@ | ||
36 | 36 | ||
37 | } | 37 | } |
38 | 38 | ||
39 | -button { | 39 | +.answer view{ |
40 | + margin: auto; | ||
40 | width: 622rpx; | 41 | width: 622rpx; |
41 | height: 88rpx; | 42 | height: 88rpx; |
43 | + line-height: 88rpx; | ||
42 | color: #ffffff; | 44 | color: #ffffff; |
43 | font-size: 32rpx; | 45 | font-size: 32rpx; |
46 | + text-align: center; | ||
44 | background: linear-gradient(130deg, #2ed26e 13%, #05983e 98%); | 47 | background: linear-gradient(130deg, #2ed26e 13%, #05983e 98%); |
45 | border-radius: 22px; | 48 | border-radius: 22px; |
46 | box-shadow: 0px 9px 19px 0px rgba(0, 116, 45, 0.42); | 49 | box-shadow: 0px 9px 19px 0px rgba(0, 116, 45, 0.42); |
47 | -} | ||
50 | +} | ||
51 | +/* 分享 */ | ||
52 | +.btn-item { | ||
53 | + width: 100rpx; | ||
54 | + height: 100rpx; | ||
55 | + border: none !important; | ||
56 | + line-height: 1 !important; | ||
57 | + padding: 63rpx 0 0; | ||
58 | + box-sizing: border-box; | ||
59 | + border-radius: 50%; | ||
60 | + font-size: 22rpx; | ||
61 | + font-family: PingFang SC; | ||
62 | + font-weight: 500; | ||
63 | + color: rgb(255, 255, 255) !important; | ||
64 | + text-align: center; | ||
65 | + margin: 40rpx 0 0; | ||
66 | + background: red; | ||
67 | + position: fixed; | ||
68 | + bottom: 144rpx; | ||
69 | + right: 32rpx; | ||
70 | + } |
@@ -115,7 +115,7 @@ Page({ | @@ -115,7 +115,7 @@ Page({ | ||
115 | getSystemInfo() { | 115 | getSystemInfo() { |
116 | let that = this; | 116 | let that = this; |
117 | wx.getSystemInfo({ | 117 | wx.getSystemInfo({ |
118 | - success: function(res) { | 118 | + success: function (res) { |
119 | that.setData({ | 119 | that.setData({ |
120 | height: res.windowHeight + 'px' | 120 | height: res.windowHeight + 'px' |
121 | }) | 121 | }) |
@@ -179,7 +179,7 @@ Page({ | @@ -179,7 +179,7 @@ Page({ | ||
179 | get_token() { | 179 | get_token() { |
180 | let that = this | 180 | let that = this |
181 | wx.login({ | 181 | wx.login({ |
182 | - success: function(s) { | 182 | + success: function (s) { |
183 | let url = 'wxapp/public/getSessionKey'; | 183 | let url = 'wxapp/public/getSessionKey'; |
184 | if (s.code) { | 184 | if (s.code) { |
185 | var code = s.code; | 185 | var code = s.code; |
@@ -253,7 +253,7 @@ Page({ | @@ -253,7 +253,7 @@ Page({ | ||
253 | /** | 253 | /** |
254 | * 生命周期函数--监听页面加载 | 254 | * 生命周期函数--监听页面加载 |
255 | */ | 255 | */ |
256 | - onLoad: function(options) { | 256 | + onLoad: function (options) { |
257 | let that = this | 257 | let that = this |
258 | if (options.scene) { | 258 | if (options.scene) { |
259 | wx.setNavigationBarTitle({ | 259 | wx.setNavigationBarTitle({ |
@@ -313,57 +313,64 @@ Page({ | @@ -313,57 +313,64 @@ Page({ | ||
313 | /** | 313 | /** |
314 | * 生命周期函数--监听页面初次渲染完成 | 314 | * 生命周期函数--监听页面初次渲染完成 |
315 | */ | 315 | */ |
316 | - onReady: function() { | 316 | + onReady: function () { |
317 | 317 | ||
318 | }, | 318 | }, |
319 | 319 | ||
320 | /** | 320 | /** |
321 | * 生命周期函数--监听页面显示 | 321 | * 生命周期函数--监听页面显示 |
322 | */ | 322 | */ |
323 | - onShow: function() { | 323 | + onShow: function () { |
324 | wx.hideShareMenu() | 324 | wx.hideShareMenu() |
325 | if (wx.getStorageSync('page_type')) { | 325 | if (wx.getStorageSync('page_type')) { |
326 | wx.removeStorageSync('page_type') | 326 | wx.removeStorageSync('page_type') |
327 | this.getdatalist() | 327 | this.getdatalist() |
328 | } | 328 | } |
329 | + | ||
330 | + wx.showShareMenu({ | ||
331 | + withShareTicket: true | ||
332 | + }) | ||
329 | }, | 333 | }, |
330 | 334 | ||
331 | /** | 335 | /** |
332 | * 生命周期函数--监听页面隐藏 | 336 | * 生命周期函数--监听页面隐藏 |
333 | */ | 337 | */ |
334 | - onHide: function() { | 338 | + onHide: function () { |
335 | 339 | ||
336 | }, | 340 | }, |
337 | 341 | ||
338 | /** | 342 | /** |
339 | * 生命周期函数--监听页面卸载 | 343 | * 生命周期函数--监听页面卸载 |
340 | */ | 344 | */ |
341 | - onUnload: function() { | 345 | + onUnload: function () { |
342 | 346 | ||
343 | }, | 347 | }, |
344 | 348 | ||
345 | /** | 349 | /** |
346 | * 页面相关事件处理函数--监听用户下拉动作 | 350 | * 页面相关事件处理函数--监听用户下拉动作 |
347 | */ | 351 | */ |
348 | - onPullDownRefresh: function() { | 352 | + onPullDownRefresh: function () { |
349 | 353 | ||
350 | }, | 354 | }, |
351 | 355 | ||
352 | /** | 356 | /** |
353 | * 页面上拉触底事件的处理函数 | 357 | * 页面上拉触底事件的处理函数 |
354 | */ | 358 | */ |
355 | - onReachBottom: function() { | 359 | + onReachBottom: function () { |
356 | 360 | ||
357 | }, | 361 | }, |
358 | 362 | ||
359 | /** | 363 | /** |
360 | * 用户点击右上角分享 | 364 | * 用户点击右上角分享 |
361 | */ | 365 | */ |
362 | - onShareAppMessage: function() { | ||
363 | - return { | ||
364 | - title: this.data.datalist.activity_name, | ||
365 | - path: "/pages/img_txt/img_txt?scene=" + this.data.id, | ||
366 | - imageUrl: this.data.datalist.thumbnail | ||
367 | - } | 366 | + onShareAppMessage: function () { |
367 | + | ||
368 | + | ||
369 | + | ||
370 | + // return { | ||
371 | + // title: this.data.datalist.activity_name, | ||
372 | + // path: "/pages/img_txt/img_txt?scene=" + this.data.id, | ||
373 | + // imageUrl: this.data.datalist.thumbnail | ||
374 | + // } | ||
368 | } | 375 | } |
369 | }) | 376 | }) |
@@ -20,27 +20,41 @@ | @@ -20,27 +20,41 @@ | ||
20 | </view> | 20 | </view> |
21 | </view> | 21 | </view> |
22 | <view wx:if="{{type!= 1 && datalist.admin !=1}}"> | 22 | <view wx:if="{{type!= 1 && datalist.admin !=1}}"> |
23 | - <navigator class='foot' url="/pages/enroll/enroll?id={{id}}" wx:if='{{datalist.button_status == 1 || datalist.button_status == 7}}' hover-class="none">报名</navigator> | 23 | + <navigator class='foot' url="/pages/enroll/enroll?id={{id}}" |
24 | + wx:if='{{datalist.button_status == 1 || datalist.button_status == 7}}' hover-class="none">报名</navigator> | ||
24 | <view class='foot' wx:if='{{datalist.button_status == 2}}' style='background: #FFD700; color: #fff;'>待审核</view> | 25 | <view class='foot' wx:if='{{datalist.button_status == 2}}' style='background: #FFD700; color: #fff;'>待审核</view> |
25 | - <navigator class='foot' wx:if='{{datalist.button_status == 3}}' url="/pages/word_report/word_report?id={{id}}" hover-class="none">工作汇报</navigator> | ||
26 | - <view class='foot' wx:if='{{datalist.button_status == 4 || datalist.button_status == 8}}' style='background: #ccc;color: #fff;'>工作汇报</view> | 26 | + <navigator class='foot' wx:if='{{datalist.button_status == 3}}' url="/pages/word_report/word_report?id={{id}}" |
27 | + hover-class="none">工作汇报</navigator> | ||
28 | + <view class='foot' wx:if='{{datalist.button_status == 4 || datalist.button_status == 8}}' | ||
29 | + style='background: #ccc;color: #fff;'>工作汇报</view> | ||
27 | 30 | ||
28 | <view class='foot' wx:if='{{datalist.button_status == 5}}' style='background: #ccc;color: #fff;'>已结束</view> | 31 | <view class='foot' wx:if='{{datalist.button_status == 5}}' style='background: #ccc;color: #fff;'>已结束</view> |
29 | - <navigator url='/pages/result/result' class='foot' wx:if='{{datalist.button_status == 6}}' hover-class="none">成为志愿者</navigator> | 32 | + <navigator url='/pages/result/result' class='foot' wx:if='{{datalist.button_status == 6}}' hover-class="none">成为志愿者 |
33 | + </navigator> | ||
30 | 34 | ||
31 | </view> | 35 | </view> |
32 | <view class="btn_box" wx:if="{{status == 1}}"> | 36 | <view class="btn_box" wx:if="{{status == 1}}"> |
33 | - <navigator class="btn-item" style="background: url('https://volunteer.cnpu.org/static/images/index.png') no-repeat center;background-size: cover;" url="/pages/index/index" open-type="switchTab">首页</navigator> | 37 | + <navigator class="btn-item" |
38 | + style="background: url('https://volunteer.cnpu.org/static/images/index.png') no-repeat center;background-size: cover;" | ||
39 | + url="/pages/index/index" open-type="switchTab">首页</navigator> | ||
34 | 40 | ||
35 | <block wx:if="{{datalist.admin !=1 && datalist.is_join == 1}}"> | 41 | <block wx:if="{{datalist.admin !=1 && datalist.is_join == 1}}"> |
36 | - <view class="btn-item" style="background: url('{{datalist.button_status != 4 && datalist.activity_stage == 0?'https://volunteer.cnpu.org/static/images/edit.png':'https://volunteer.cnpu.org/static/images/edit@.png'}}') no-repeat center;background-size: cover;" | ||
37 | - bindtap="{{datalist.button_status != 4 && datalist.activity_stage == 0 ?'edit_info':''}}" wx:if="{{datalist.button_status == 2||datalist.button_status == 3 ||datalist.button_status == 4 || datalist.button_status==5|| datalist.button_status == 8 && datalist.admin !=1}}">编辑</view> | 42 | + <view class="btn-item" |
43 | + style="background: url('{{datalist.button_status != 4 && datalist.activity_stage == 0?'https://volunteer.cnpu.org/static/images/edit.png':'https://volunteer.cnpu.org/static/images/edit@.png'}}') no-repeat center;background-size: cover;" | ||
44 | + bindtap="{{datalist.button_status != 4 && datalist.activity_stage == 0 ?'edit_info':''}}" | ||
45 | + wx:if="{{datalist.button_status == 2||datalist.button_status == 3 ||datalist.button_status == 4 || datalist.button_status==5|| datalist.button_status == 8 && datalist.admin !=1}}"> | ||
46 | + 编辑</view> | ||
38 | 47 | ||
39 | - <view class="btn-item" style="background: url('{{datalist.activity_stage == 0?'https://volunteer.cnpu.org/static/images/out.png':'https://volunteer.cnpu.org/static/images/out@.png'}}') no-repeat center;background-size: cover;" wx:if="{{datalist.button_status==8 || datalist.button_status==5 || datalist.button_status==3 && datalist.admin !=1}}" | 48 | + <view class="btn-item" |
49 | + style="background: url('{{datalist.activity_stage == 0?'https://volunteer.cnpu.org/static/images/out.png':'https://volunteer.cnpu.org/static/images/out@.png'}}') no-repeat center;background-size: cover;" | ||
50 | + wx:if="{{datalist.button_status==8 || datalist.button_status==5 || datalist.button_status==3 && datalist.admin !=1}}" | ||
40 | bindtap="{{datalist.activity_stage == 0?'change_cover':''}}" data-id="1">退出</view> | 51 | bindtap="{{datalist.activity_stage == 0?'change_cover':''}}" data-id="1">退出</view> |
41 | </block> | 52 | </block> |
42 | 53 | ||
43 | - <view class="btn-item" style="background: url('https://volunteer.cnpu.org/static/images/share.png') no-repeat center;background-size: cover;" bindtap="change_cover" data-id="2">分享</view> | 54 | + <view class="btn-item" |
55 | + style="background: url('/imgs/shares.png') no-repeat center;background-size: cover;" | ||
56 | + bindtap="change_cover" data-id="2"></view> | ||
57 | + | ||
44 | </view> | 58 | </view> |
45 | 59 | ||
46 | <view class="cover_box" catchtouchmove="true" catchtap="change_cover" data-id="{{cover_id}}" wx:if="{{cover_type}}"> | 60 | <view class="cover_box" catchtouchmove="true" catchtap="change_cover" data-id="{{cover_id}}" wx:if="{{cover_type}}"> |
@@ -51,7 +65,8 @@ | @@ -51,7 +65,8 @@ | ||
51 | <view class="b_item" catchtap="out">确认</view> | 65 | <view class="b_item" catchtap="out">确认</view> |
52 | </view> | 66 | </view> |
53 | </view> | 67 | </view> |
54 | - <view class="poster_box" wx:if="{{cover_id == 2}}" style="background: url('{{poster}}') no-repeat center;background-size: cover;"> | 68 | + <view class="poster_box" wx:if="{{cover_id == 2}}" |
69 | + style="background: url('{{poster}}') no-repeat center;background-size: cover;"> | ||
55 | <view class="select_box" style="margin-top:812rpx;"> | 70 | <view class="select_box" style="margin-top:812rpx;"> |
56 | <view catchtap="change_cover" catchtap="save_poster" class="b_item">保存到相册</view> | 71 | <view catchtap="change_cover" catchtap="save_poster" class="b_item">保存到相册</view> |
57 | <button class="b_item" open-type="share">发送给朋友</button> | 72 | <button class="b_item" open-type="share">发送给朋友</button> |
@@ -62,11 +77,13 @@ | @@ -62,11 +77,13 @@ | ||
62 | <view class="c_item" wx:for="{{join_info}}" wx:key="index"> | 77 | <view class="c_item" wx:for="{{join_info}}" wx:key="index"> |
63 | <view class="c_title">{{item.title}}</view> | 78 | <view class="c_title">{{item.title}}</view> |
64 | <view class="c_box"> | 79 | <view class="c_box"> |
65 | - <view class="i_info {{item.arr.length>3 && zindex<item.arr.length-1?'line':''}}" wx:for="{{item.arr}}" wx:for-item="zitem" wx:for-index="zindex" wx:key="zindex" data-status="{{zitem.status}}" data-user_id="{{zitem.user_id}}" data-join_id="{{zitem.id}}" | ||
66 | - bindtap="look_more"> | 80 | + <view class="i_info {{item.arr.length>3 && zindex<item.arr.length-1?'line':''}}" wx:for="{{item.arr}}" |
81 | + wx:for-item="zitem" wx:for-index="zindex" wx:key="zindex" data-status="{{zitem.status}}" | ||
82 | + data-user_id="{{zitem.user_id}}" data-join_id="{{zitem.id}}" bindtap="look_more"> | ||
67 | <image src="{{zitem.photo}}" mode="aspectFill" /> | 83 | <image src="{{zitem.photo}}" mode="aspectFill" /> |
68 | <view class="name">{{zitem.name}}</view> | 84 | <view class="name">{{zitem.name}}</view> |
69 | - <view class="status {{zitem.status>0?(zitem.status == 2?'bgb':'bga'):'bgc'}}">{{zitem.status>0?(zitem.status == 2?'未通过':'已通过'):'待审核'}}</view> | 85 | + <view class="status {{zitem.status>0?(zitem.status == 2?'bgb':'bga'):'bgc'}}"> |
86 | + {{zitem.status>0?(zitem.status == 2?'未通过':'已通过'):'待审核'}}</view> | ||
70 | </view> | 87 | </view> |
71 | </view> | 88 | </view> |
72 | </view> | 89 | </view> |
@@ -157,7 +157,7 @@ page { | @@ -157,7 +157,7 @@ page { | ||
157 | font-size: 22rpx; | 157 | font-size: 22rpx; |
158 | font-family: PingFang SC; | 158 | font-family: PingFang SC; |
159 | font-weight: 500; | 159 | font-weight: 500; |
160 | - color: rgba(255, 255, 255, 1) !important; | 160 | + color: rgb(255, 255, 255) !important; |
161 | text-align: center; | 161 | text-align: center; |
162 | margin: 40rpx 0 0; | 162 | margin: 40rpx 0 0; |
163 | background: red; | 163 | background: red; |
@@ -5,7 +5,8 @@ Page({ | @@ -5,7 +5,8 @@ Page({ | ||
5 | * 页面的初始数据 | 5 | * 页面的初始数据 |
6 | */ | 6 | */ |
7 | data: { | 7 | data: { |
8 | - datalist: '' | 8 | + datalist: '', |
9 | + list: '' | ||
9 | }, | 10 | }, |
10 | getdatalist() { | 11 | getdatalist() { |
11 | let that = this; | 12 | let that = this; |
@@ -22,6 +23,25 @@ Page({ | @@ -22,6 +23,25 @@ Page({ | ||
22 | }) | 23 | }) |
23 | 24 | ||
24 | }, | 25 | }, |
26 | + getdatalists() { | ||
27 | + let that = this; | ||
28 | + let url = '/index/second/getMyStatus'; | ||
29 | + let head = { | ||
30 | + 'XX-Token': wx.getStorageSync('token') | ||
31 | + } | ||
32 | + app.post(url, {}, head).then((res) => { | ||
33 | + that.setData({ | ||
34 | + list: res | ||
35 | + }) | ||
36 | + }).catch((err) => { | ||
37 | + | ||
38 | + }) | ||
39 | + | ||
40 | + }, | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
25 | goindex() { | 45 | goindex() { |
26 | wx.switchTab({ | 46 | wx.switchTab({ |
27 | url: '/pages/index/index' | 47 | url: '/pages/index/index' |
@@ -31,58 +51,59 @@ Page({ | @@ -31,58 +51,59 @@ Page({ | ||
31 | /** | 51 | /** |
32 | * 生命周期函数--监听页面加载 | 52 | * 生命周期函数--监听页面加载 |
33 | */ | 53 | */ |
34 | - onLoad: function(options) { | 54 | + onLoad: function (options) { |
35 | 55 | ||
36 | }, | 56 | }, |
37 | 57 | ||
38 | /** | 58 | /** |
39 | * 生命周期函数--监听页面初次渲染完成 | 59 | * 生命周期函数--监听页面初次渲染完成 |
40 | */ | 60 | */ |
41 | - onReady: function() { | 61 | + onReady: function () { |
42 | 62 | ||
43 | }, | 63 | }, |
44 | 64 | ||
45 | /** | 65 | /** |
46 | * 生命周期函数--监听页面显示 | 66 | * 生命周期函数--监听页面显示 |
47 | */ | 67 | */ |
48 | - onShow: function() { | 68 | + onShow: function () { |
49 | let that = this; | 69 | let that = this; |
50 | that.getdatalist(); | 70 | that.getdatalist(); |
71 | + that.getdatalists(); | ||
51 | 72 | ||
52 | }, | 73 | }, |
53 | 74 | ||
54 | /** | 75 | /** |
55 | * 生命周期函数--监听页面隐藏 | 76 | * 生命周期函数--监听页面隐藏 |
56 | */ | 77 | */ |
57 | - onHide: function() { | 78 | + onHide: function () { |
58 | 79 | ||
59 | }, | 80 | }, |
60 | 81 | ||
61 | /** | 82 | /** |
62 | * 生命周期函数--监听页面卸载 | 83 | * 生命周期函数--监听页面卸载 |
63 | */ | 84 | */ |
64 | - onUnload: function() { | 85 | + onUnload: function () { |
65 | 86 | ||
66 | }, | 87 | }, |
67 | 88 | ||
68 | /** | 89 | /** |
69 | * 页面相关事件处理函数--监听用户下拉动作 | 90 | * 页面相关事件处理函数--监听用户下拉动作 |
70 | */ | 91 | */ |
71 | - onPullDownRefresh: function() { | 92 | + onPullDownRefresh: function () { |
72 | 93 | ||
73 | }, | 94 | }, |
74 | 95 | ||
75 | /** | 96 | /** |
76 | * 页面上拉触底事件的处理函数 | 97 | * 页面上拉触底事件的处理函数 |
77 | */ | 98 | */ |
78 | - onReachBottom: function() { | 99 | + onReachBottom: function () { |
79 | 100 | ||
80 | }, | 101 | }, |
81 | 102 | ||
82 | /** | 103 | /** |
83 | * 用户点击右上角分享 | 104 | * 用户点击右上角分享 |
84 | */ | 105 | */ |
85 | - onShareAppMessage: function() { | 106 | + onShareAppMessage: function () { |
86 | 107 | ||
87 | } | 108 | } |
88 | }) | 109 | }) |
1 | - | ||
2 | -<view wx:if='{{datalist==""}}'> | ||
3 | - <view class='resultimg'> | ||
4 | - <image src='https://volunteer.cnpu.org/imgs/dengdaishenhe@2x.png'></image> | ||
5 | - </view> | ||
6 | - <view class='result_txt'>待提交</view> | ||
7 | - <navigator class='start_btn' url='/pages/apply/apply' hover-class="none">成为志愿者</navigator> | 1 | +<!-- <view wx:if='{{datalist==""}}'> |
2 | + <view class='resultimg'> | ||
3 | + <image src='https://volunteer.cnpu.org/imgs/dengdaishenhe@2x.png'></image> | ||
4 | + </view> | ||
5 | + <view class='result_txt'>待提交</view> | ||
6 | + <navigator class='start_btn' url='/pages/apply/apply' hover-class="none">成为志愿者</navigator> | ||
8 | </view> | 7 | </view> |
9 | <view wx:else> | 8 | <view wx:else> |
10 | - <view wx:if='{{datalist.status=="3"}}'> | ||
11 | - <view class='resultimg'> | ||
12 | - <image src='https://volunteer.cnpu.org/imgs/kulian@2x.png'></image> | ||
13 | - </view> | ||
14 | - <view class='result_txt'>审核未通过</view> | ||
15 | - </view> | ||
16 | - <view wx:elif='{{datalist.status=="2"}}'> | ||
17 | - <view class='resultimg'> | ||
18 | - <image src='https://volunteer.cnpu.org/imgs/tongguo@2x.png'></image> | ||
19 | - </view> | ||
20 | - <view class='result_txt'>审核已通过</view> | ||
21 | - </view> | ||
22 | - <view wx:else> | ||
23 | - <view class='resultimg'> | ||
24 | - <image src='https://volunteer.cnpu.org/imgs/dengdaishenhe@2x.png'></image> | ||
25 | - </view> | ||
26 | - <view class='result_txt'>待审核</view> | ||
27 | - </view> | ||
28 | - <view class='start_btn' bindtap='goindex'>返回首页</view> | 9 | + <view wx:if='{{datalist.status=="3"}}'> |
10 | + <view class='resultimg'> | ||
11 | + <image src='https://volunteer.cnpu.org/imgs/kulian@2x.png'></image> | ||
12 | + </view> | ||
13 | + <view class='result_txt'>审核未通过</view> | ||
14 | + </view> | ||
15 | + <view wx:elif='{{datalist.status=="2"}}'> | ||
16 | + <view class='resultimg'> | ||
17 | + <image src='https://volunteer.cnpu.org/imgs/tongguo@2x.png'></image> | ||
18 | + </view> | ||
19 | + <view class='result_txt'>审核已通过</view> | ||
20 | + </view> | ||
21 | + <view wx:else> | ||
22 | + <view class='resultimg'> | ||
23 | + <image src='https://volunteer.cnpu.org/imgs/dengdaishenhe@2x.png'></image> | ||
24 | + </view> | ||
25 | + <view class='result_txt'>待审核</view> | ||
26 | + </view> | ||
27 | + <view class='start_btn' bindtap='goindex'>返回首页</view> | ||
28 | +</view> --> | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | + | ||
33 | +<view class="result_wrap" wx:if='{{datalist.status=="2"}}'> | ||
34 | + <view class="result"> | ||
35 | + <view></view> | ||
36 | + 审核通过 | ||
37 | + </view> | ||
38 | + <view class="result_list_wrap"> | ||
39 | + <view class="result_left" wx:if="{{list.code==2}}"> | ||
40 | + <view class="circle"></view> | ||
41 | + <view class="circle_s"></view> | ||
42 | + <view class="circle_line"></view> | ||
43 | + </view> | ||
44 | + <view class="result_left_red" wx:else> | ||
45 | + <view class="circle_red"></view> | ||
46 | + <view class="circle_s_red"></view> | ||
47 | + <view class="circle_line_red"></view> | ||
48 | + </view> | ||
49 | + <view class="result_list "> | ||
50 | + <view class="">{{list.remark}}</view> | ||
51 | + <view class="">请在“在线培训”页面完成大于5小时的在线学习</view> | ||
52 | + | ||
53 | + </view> | ||
54 | + </view> | ||
55 | + <view class="result_list_wrap"> | ||
56 | + <view class="result_left" wx:if=""> | ||
57 | + <view class="circle"></view> | ||
58 | + <view class="circle_s"></view> | ||
59 | + <view class="circle_line"></view> | ||
60 | + </view> | ||
61 | + <view class="result_left_red"> | ||
62 | + <view class="circle_red"></view> | ||
63 | + <view class="circle_s_red"></view> | ||
64 | + <view class="circle_line_red"></view> | ||
65 | + </view> | ||
66 | + <view class="result_list "> | ||
67 | + <view class="">实习志愿者</view> | ||
68 | + <view class="">请参与志愿者活动,获得10小时工时</view> | ||
69 | + </view> | ||
70 | + </view> | ||
71 | + <view class="result_list_wrap"> | ||
72 | + <view class="result_left" wx:if=""> | ||
73 | + <view class="circle"></view> | ||
74 | + <view class="circle_s"></view> | ||
75 | + | ||
76 | + </view> | ||
77 | + <view class="result_left_red"> | ||
78 | + <view class="circle_red"></view> | ||
79 | + <view class="circle_s_red"></view> | ||
80 | + </view> | ||
81 | + <view class="result_list "> | ||
82 | + <view class="">正式志愿者</view> | ||
83 | + <view class="">正式成为白求恩志愿者</view> | ||
84 | + </view> | ||
85 | + | ||
86 | + </view> | ||
87 | + | ||
88 | +</view> | ||
89 | + | ||
90 | +<view class="result_wrap" wx:if='{{datalist.status=="1"}}'> | ||
91 | + <view class="result"> | ||
92 | + <view></view> | ||
93 | + 审核未通过 | ||
94 | + </view> | ||
95 | + <view class="result_list_wrap"> | ||
96 | + | ||
97 | + <view class="result_left_red"> | ||
98 | + <view class="circle_red"></view> | ||
99 | + <view class="circle_s_red"></view> | ||
100 | + </view> | ||
101 | + <view class="result_list "> | ||
102 | + <view class="">审核未通过</view> | ||
103 | + <view class="">按要求填写实际信息后重新提交审核</view> | ||
104 | + </view> | ||
105 | + </view> | ||
29 | </view> | 106 | </view> |
1 | /* pages/result/result.wxss */ | 1 | /* pages/result/result.wxss */ |
2 | -.resultimg{ | ||
3 | - display: flex; | ||
4 | - align-items: center; | ||
5 | - justify-content: center; | ||
6 | - width:140rpx; | ||
7 | - height: 140rpx; | ||
8 | - border-radius: 50%; | ||
9 | - margin: 220rpx auto 34rpx auto; | ||
10 | -} | ||
11 | -.resultimg image{ | ||
12 | - width: 100%; | ||
13 | - height: 100%; | ||
14 | - display: block; | ||
15 | -} | ||
16 | -.result_txt{ | ||
17 | - text-align: center; | ||
18 | - color:#333; | ||
19 | - font-weight: bold; | ||
20 | - font-size:32rpx; | ||
21 | -} | ||
22 | -.start_btn{ | ||
23 | -margin: 143rpx auto 0 auto; | ||
24 | - width:300rpx; | ||
25 | - height: 80rpx; | ||
26 | - border-radius: 40rpx; | ||
27 | - color:#21AE59; | ||
28 | - font-size:34rpx; | ||
29 | - font-weight: bold; | ||
30 | - border:1rpx solid #21AE59; | ||
31 | - z-index:20rpx; | ||
32 | - display: flex; | ||
33 | - align-items: center; | ||
34 | - justify-content: center; | ||
35 | -} | ||
36 | -.start_btn:active{ | ||
37 | - opacity: 0.7; | 2 | +.resultimg { |
3 | + display: flex; | ||
4 | + align-items: center; | ||
5 | + justify-content: center; | ||
6 | + width: 140rpx; | ||
7 | + height: 140rpx; | ||
8 | + border-radius: 50%; | ||
9 | + margin: 220rpx auto 34rpx auto; | ||
10 | +} | ||
11 | + | ||
12 | +.resultimg image { | ||
13 | + width: 100%; | ||
14 | + height: 100%; | ||
15 | + display: block; | ||
16 | +} | ||
17 | + | ||
18 | +.result_txt { | ||
19 | + text-align: center; | ||
20 | + color: #333; | ||
21 | + font-weight: bold; | ||
22 | + font-size: 32rpx; | ||
23 | +} | ||
24 | + | ||
25 | +.start_btn { | ||
26 | + margin: 143rpx auto 0 auto; | ||
27 | + width: 300rpx; | ||
28 | + height: 80rpx; | ||
29 | + border-radius: 40rpx; | ||
30 | + color: #21AE59; | ||
31 | + font-size: 34rpx; | ||
32 | + font-weight: bold; | ||
33 | + border: 1rpx solid #21AE59; | ||
34 | + z-index: 20rpx; | ||
35 | + display: flex; | ||
36 | + align-items: center; | ||
37 | + justify-content: center; | ||
38 | +} | ||
39 | + | ||
40 | +.start_btn:active { | ||
41 | + opacity: 0.7; | ||
42 | +} | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | +/* */ | ||
47 | +page { | ||
48 | + background-color: rgb(240, 240, 240); | ||
49 | +} | ||
50 | + | ||
51 | +.result_wrap { | ||
52 | + margin: 24rpx 24rpx; | ||
53 | +} | ||
54 | + | ||
55 | +.result { | ||
56 | + font-size: 32rpx; | ||
57 | + color: #323233; | ||
58 | + line-height: 44rpx; | ||
59 | + display: flex; | ||
60 | + align-items: center; | ||
61 | +} | ||
62 | + | ||
63 | +.result view { | ||
64 | + width: 8rpx; | ||
65 | + height: 28rpx; | ||
66 | + background-color: #21AE59; | ||
67 | + margin-right: 16rpx; | ||
68 | +} | ||
69 | + | ||
70 | +/* */ | ||
71 | +.result_list_wrap { | ||
72 | + display: flex; | ||
73 | + | ||
74 | +} | ||
75 | + | ||
76 | +.result_left { | ||
77 | + width: 25rpx; | ||
78 | + height: 200rpx; | ||
79 | + /* border: 1px solid red; */ | ||
80 | + position: relative; | ||
81 | + margin-top: 48rpx; | ||
82 | + margin-right: 8rpx; | ||
83 | +} | ||
84 | + | ||
85 | +.circle { | ||
86 | + width: 26rpx; | ||
87 | + height: 26rpx; | ||
88 | + opacity: 0.3; | ||
89 | + background: #14ac20; | ||
90 | + border-radius: 50%; | ||
91 | +} | ||
92 | + | ||
93 | +.circle_s { | ||
94 | + margin: auto; | ||
95 | + width: 14rpx; | ||
96 | + height: 14rpx; | ||
97 | + background: #14ac20; | ||
98 | + border-radius: 50%; | ||
99 | + position: absolute; | ||
100 | + left: 6rpx; | ||
101 | + top: 6rpx; | ||
102 | +} | ||
103 | +.circle_line { | ||
104 | + margin: auto; | ||
105 | + width: 2rpx; | ||
106 | + height: 234rpx; | ||
107 | + background-color: #C6C6C6; | ||
108 | + | ||
109 | +} | ||
110 | +.result_left_red { | ||
111 | + width: 25rpx; | ||
112 | + height: 200rpx; | ||
113 | + /* border: 1px solid red; */ | ||
114 | + position: relative; | ||
115 | + margin-top: 48rpx; | ||
116 | + margin-right: 8rpx; | ||
117 | +} | ||
118 | + | ||
119 | +.circle_red { | ||
120 | + width: 26rpx; | ||
121 | + height: 26rpx; | ||
122 | + opacity: 0.3; | ||
123 | + background: red; | ||
124 | + border-radius: 50%; | ||
125 | +} | ||
126 | + | ||
127 | +.circle_s_red { | ||
128 | + margin: auto; | ||
129 | + width: 14rpx; | ||
130 | + height: 14rpx; | ||
131 | + background: red; | ||
132 | + border-radius: 50%; | ||
133 | + position: absolute; | ||
134 | + left: 6rpx; | ||
135 | + top: 6rpx; | ||
136 | +} | ||
137 | +.circle_line_red { | ||
138 | + margin: auto; | ||
139 | + width: 2rpx; | ||
140 | + height: 234rpx; | ||
141 | + background-color: #C6C6C6; | ||
142 | + | ||
143 | +} | ||
144 | +/* */ | ||
145 | + | ||
146 | + | ||
147 | +.result_list { | ||
148 | + margin-top: 32rpx; | ||
149 | + box-sizing: border-box; | ||
150 | + padding: 24rpx 32rpx; | ||
151 | + width: 654rpx; | ||
152 | + height: 148rpx; | ||
153 | + background-color: #ffffff; | ||
154 | + border-radius: 16rpx; | ||
155 | + border-color: red green blue pink | ||
156 | +} | ||
157 | + | ||
158 | +.result_list :nth-child(1) { | ||
159 | + | ||
160 | + font-size: 32rpx; | ||
161 | + color: #323233; | ||
162 | + line-height: 44rpx; | ||
163 | + | ||
164 | +} | ||
165 | + | ||
166 | +.result_list :nth-child(2) { | ||
167 | + font-size: 28rpx; | ||
168 | + font-weight: 400; | ||
169 | + color: #7d7e80; | ||
170 | + line-height: 40rpx; | ||
171 | + | ||
38 | } | 172 | } |
zhiyuanzhe/project.config.json
0 → 100644
1 | +{ | ||
2 | + "description": "项目配置文件", | ||
3 | + "packOptions": { | ||
4 | + "ignore": [] | ||
5 | + }, | ||
6 | + "setting": { | ||
7 | + "urlCheck": false, | ||
8 | + "es6": true, | ||
9 | + "enhance": false, | ||
10 | + "postcss": true, | ||
11 | + "preloadBackgroundData": false, | ||
12 | + "minified": true, | ||
13 | + "newFeature": true, | ||
14 | + "coverView": true, | ||
15 | + "nodeModules": false, | ||
16 | + "autoAudits": false, | ||
17 | + "showShadowRootInWxmlPanel": true, | ||
18 | + "scopeDataCheck": false, | ||
19 | + "uglifyFileName": true, | ||
20 | + "checkInvalidKey": true, | ||
21 | + "checkSiteMap": true, | ||
22 | + "uploadWithSourceMap": true, | ||
23 | + "compileHotReLoad": false, | ||
24 | + "useMultiFrameRuntime": false, | ||
25 | + "useApiHook": true, | ||
26 | + "babelSetting": { | ||
27 | + "ignore": [], | ||
28 | + "disablePlugins": [], | ||
29 | + "outputPath": "" | ||
30 | + }, | ||
31 | + "useIsolateContext": true, | ||
32 | + "useCompilerModule": true, | ||
33 | + "userConfirmedUseCompilerModuleSwitch": false, | ||
34 | + "packNpmManually": false, | ||
35 | + "packNpmRelationList": [] | ||
36 | + }, | ||
37 | + "compileType": "miniprogram", | ||
38 | + "libVersion": "2.8.3", | ||
39 | + "appid": "wx7a3bf4e0796c070a", | ||
40 | + "projectname": "zhiyuanzhe", | ||
41 | + "cloudfunctionTemplateRoot": "", | ||
42 | + "watchOptions": { | ||
43 | + "ignore": [] | ||
44 | + }, | ||
45 | + "debugOptions": { | ||
46 | + "hidedInDevtools": [] | ||
47 | + }, | ||
48 | + "scripts": {}, | ||
49 | + "simulatorType": "wechat", | ||
50 | + "simulatorPluginLibVersion": {}, | ||
51 | + "condition": { | ||
52 | + "search": { | ||
53 | + "current": -1, | ||
54 | + "list": [] | ||
55 | + }, | ||
56 | + "conversation": { | ||
57 | + "current": -1, | ||
58 | + "list": [] | ||
59 | + }, | ||
60 | + "plugin": { | ||
61 | + "current": -1, | ||
62 | + "list": [] | ||
63 | + }, | ||
64 | + "game": { | ||
65 | + "current": -1, | ||
66 | + "list": [] | ||
67 | + }, | ||
68 | + "gamePlugin": { | ||
69 | + "current": -1, | ||
70 | + "list": [] | ||
71 | + }, | ||
72 | + "miniprogram": { | ||
73 | + "current": -1, | ||
74 | + "list": [ | ||
75 | + { | ||
76 | + "id": 0, | ||
77 | + "name": "工作计划表", | ||
78 | + "pathName": "pages/word_report/word_report", | ||
79 | + "query": "id=17&status=1", | ||
80 | + "scene": null | ||
81 | + }, | ||
82 | + { | ||
83 | + "id": -1, | ||
84 | + "name": "pages/myteam/myteam", | ||
85 | + "pathName": "pages/myteam/myteam", | ||
86 | + "query": "", | ||
87 | + "scene": null | ||
88 | + }, | ||
89 | + { | ||
90 | + "id": 2, | ||
91 | + "name": "我的培训", | ||
92 | + "pathName": "pages/mytrain/mytrain", | ||
93 | + "query": "", | ||
94 | + "scene": null | ||
95 | + }, | ||
96 | + { | ||
97 | + "id": -1, | ||
98 | + "name": "pages/Online_regulations/Online_regulations", | ||
99 | + "pathName": "pages/Online_regulations/Online_regulations", | ||
100 | + "query": "", | ||
101 | + "scene": null | ||
102 | + }, | ||
103 | + { | ||
104 | + "id": 4, | ||
105 | + "name": "学习内容", | ||
106 | + "pathName": "pages/getStudycontent/getStudycontent", | ||
107 | + "query": "", | ||
108 | + "scene": null | ||
109 | + }, | ||
110 | + { | ||
111 | + "id": -1, | ||
112 | + "name": "pages/apply/apply", | ||
113 | + "pathName": "pages/apply/apply", | ||
114 | + "query": "", | ||
115 | + "scene": null | ||
116 | + }, | ||
117 | + { | ||
118 | + "id": -1, | ||
119 | + "name": "pages/Volunteer_detail/Volunteer_detail", | ||
120 | + "pathName": "pages/Volunteer_detail/Volunteer_detail", | ||
121 | + "query": "", | ||
122 | + "scene": null | ||
123 | + }, | ||
124 | + { | ||
125 | + "id": 7, | ||
126 | + "name": "志愿回馈", | ||
127 | + "pathName": "pages/myfeedback/myfeedback", | ||
128 | + "query": "", | ||
129 | + "scene": null | ||
130 | + }, | ||
131 | + { | ||
132 | + "id": -1, | ||
133 | + "name": "pages/myaddress/myaddress", | ||
134 | + "pathName": "pages/myaddress/myaddress", | ||
135 | + "query": "", | ||
136 | + "scene": null | ||
137 | + }, | ||
138 | + { | ||
139 | + "id": 9, | ||
140 | + "name": "志愿动态", | ||
141 | + "pathName": "pages/Volunteer_dynamic/Volunteer_dynamic", | ||
142 | + "query": "", | ||
143 | + "scene": null | ||
144 | + }, | ||
145 | + { | ||
146 | + "id": -1, | ||
147 | + "name": "pages/guanlitiaoli/guanlitiaoli", | ||
148 | + "pathName": "pages/guanlitiaoli/guanlitiaoli", | ||
149 | + "query": "", | ||
150 | + "scene": null | ||
151 | + }, | ||
152 | + { | ||
153 | + "id": -1, | ||
154 | + "name": "pages/mycertificate/mycertificate", | ||
155 | + "pathName": "pages/mycertificate/mycertificate", | ||
156 | + "query": "", | ||
157 | + "scene": null | ||
158 | + }, | ||
159 | + { | ||
160 | + "id": 12, | ||
161 | + "name": "申请加入", | ||
162 | + "pathName": "pages/Volunteer_group/active/active", | ||
163 | + "query": "", | ||
164 | + "scene": null | ||
165 | + }, | ||
166 | + { | ||
167 | + "id": -1, | ||
168 | + "name": "志愿团队", | ||
169 | + "pathName": "pages/Volunteer_group/Volunteer_group", | ||
170 | + "query": "", | ||
171 | + "scene": null | ||
172 | + }, | ||
173 | + { | ||
174 | + "id": -1, | ||
175 | + "name": "我的地址列表", | ||
176 | + "pathName": "pages/myaddress/myaddress", | ||
177 | + "query": "", | ||
178 | + "scene": null | ||
179 | + }, | ||
180 | + { | ||
181 | + "id": -1, | ||
182 | + "name": "我的收货地址", | ||
183 | + "pathName": "pages/myaddcompile/myaddcompile", | ||
184 | + "query": "", | ||
185 | + "scene": null | ||
186 | + }, | ||
187 | + { | ||
188 | + "id": -1, | ||
189 | + "name": "我的团队", | ||
190 | + "pathName": "pages/myteam/myteam", | ||
191 | + "query": "", | ||
192 | + "scene": null | ||
193 | + }, | ||
194 | + { | ||
195 | + "id": 18, | ||
196 | + "name": "商品详情", | ||
197 | + "pathName": "pages/myfeedback/myfeedback_active/myfeedback_active", | ||
198 | + "query": "", | ||
199 | + "scene": null | ||
200 | + }, | ||
201 | + { | ||
202 | + "id": -1, | ||
203 | + "name": "积分兑换", | ||
204 | + "pathName": "pages/myfeedback/myfeedback_duihuan/myfeedback_duihuan", | ||
205 | + "query": "", | ||
206 | + "scene": null | ||
207 | + }, | ||
208 | + { | ||
209 | + "id": -1, | ||
210 | + "name": "光荣排行", | ||
211 | + "pathName": "pages/guangrongpaihang/guangrongpaihang", | ||
212 | + "query": "", | ||
213 | + "scene": null | ||
214 | + }, | ||
215 | + { | ||
216 | + "id": -1, | ||
217 | + "name": "我的活动", | ||
218 | + "pathName": "pages/myactivity/myactivity", | ||
219 | + "query": "", | ||
220 | + "scene": null | ||
221 | + }, | ||
222 | + { | ||
223 | + "id": -1, | ||
224 | + "name": "pages/myactivity/myactivity_active/myactivity_active", | ||
225 | + "pathName": "pages/myactivity/myactivity_active/myactivity_active", | ||
226 | + "query": "", | ||
227 | + "scene": null | ||
228 | + }, | ||
229 | + { | ||
230 | + "id": -1, | ||
231 | + "name": "答题详情", | ||
232 | + "pathName": "pages/getStudycontent/answer/answer", | ||
233 | + "query": "", | ||
234 | + "scene": null | ||
235 | + }, | ||
236 | + { | ||
237 | + "id": 23, | ||
238 | + "name": "在线培训", | ||
239 | + "pathName": "pages/Online_regulations/Online_regulations", | ||
240 | + "query": "", | ||
241 | + "scene": null | ||
242 | + }, | ||
243 | + { | ||
244 | + "id": 24, | ||
245 | + "name": "学习内容", | ||
246 | + "pathName": "pages/getStudycontent/getStudycontent", | ||
247 | + "query": "", | ||
248 | + "scene": null | ||
249 | + }, | ||
250 | + { | ||
251 | + "id": -1, | ||
252 | + "name": "dati ", | ||
253 | + "pathName": "pages/getStudycontent/answer/answer", | ||
254 | + "query": "id=1", | ||
255 | + "scene": null | ||
256 | + }, | ||
257 | + { | ||
258 | + "id": -1, | ||
259 | + "name": "电子证件", | ||
260 | + "pathName": "pages/mycertificate/mycertificate", | ||
261 | + "query": "", | ||
262 | + "scene": null | ||
263 | + }, | ||
264 | + { | ||
265 | + "id": -1, | ||
266 | + "name": "编辑资料", | ||
267 | + "pathName": "pages/mydetail/mydetail", | ||
268 | + "query": "", | ||
269 | + "scene": null | ||
270 | + }, | ||
271 | + { | ||
272 | + "id": -1, | ||
273 | + "name": "工时兑换", | ||
274 | + "pathName": "pages/myfeedback/myfeedback_list/myfeedback_list", | ||
275 | + "query": "", | ||
276 | + "scene": null | ||
277 | + }, | ||
278 | + { | ||
279 | + "id": -1, | ||
280 | + "name": "我的资料", | ||
281 | + "pathName": "pages/mydetail/mydetail", | ||
282 | + "query": "", | ||
283 | + "scene": null | ||
284 | + }, | ||
285 | + { | ||
286 | + "id": -1, | ||
287 | + "name": "更多志愿者", | ||
288 | + "pathName": "pages/more/more", | ||
289 | + "query": "", | ||
290 | + "scene": null | ||
291 | + }, | ||
292 | + { | ||
293 | + "id": -1, | ||
294 | + "name": "志愿动态详情", | ||
295 | + "pathName": "pages/getNewsInfo/getNewsInfo", | ||
296 | + "query": "", | ||
297 | + "scene": null | ||
298 | + }, | ||
299 | + { | ||
300 | + "id": -1, | ||
301 | + "name": "审核状态", | ||
302 | + "pathName": "pages/result/result", | ||
303 | + "query": "", | ||
304 | + "scene": null | ||
305 | + } | ||
306 | + ] | ||
307 | + } | ||
308 | + } | ||
309 | +} |
-
请 注册 或 登录 后发表评论