Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
Compass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zong
Compass
Commits
ce274c1d
Commit
ce274c1d
authored
Apr 03, 2020
by
biao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1111111
parent
2601cccb
Hide whitespace changes
Inline
Side-by-side
Showing
55 changed files
with
102 additions
and
141 deletions
+102
-141
app.js
src/wx/app.js
+20
-1
app.json
src/wx/app.json
+2
-2
index.js
src/wx/components/top-navi/index.js
+12
-8
index.json
src/wx/components/top-navi/index.json
+0
-0
index.wxml
src/wx/components/top-navi/index.wxml
+15
-0
index.wxss
src/wx/components/top-navi/index.wxss
+8
-11
top-navi.wml
src/wx/components/top-navi/top-navi.wml
+0
-16
activeDetails.wxml
src/wx/pages/activeDetails/activeDetails.wxml
+1
-0
activeManagement.wxml
src/wx/pages/activeManagement/activeManagement.wxml
+1
-0
ageChange.wxml
src/wx/pages/ageChange/ageChange.wxml
+1
-0
area.wxml
src/wx/pages/area/area.wxml
+1
-0
checkJoinCircle.wxml
src/wx/pages/checkJoinCircle/checkJoinCircle.wxml
+1
-0
circle.wxml
src/wx/pages/circle/circle.wxml
+1
-0
circleDetails.wxml
src/wx/pages/circleDetails/circleDetails.wxml
+1
-0
circleEvents.wxml
src/wx/pages/circleEvents/circleEvents.wxml
+1
-0
circleMembers.wxml
src/wx/pages/circleMembers/circleMembers.wxml
+1
-0
circleMoment.wxml
src/wx/pages/circleMoment/circleMoment.wxml
+1
-0
circleNotice.wxml
src/wx/pages/circleNotice/circleNotice.wxml
+1
-0
circleNoticeNew.wxml
src/wx/pages/circleNoticeNew/circleNoticeNew.wxml
+1
-0
classDetails.wxml
src/wx/pages/classDetails/classDetails.wxml
+1
-0
courseIndex.wxml
src/wx/pages/courseIndex/courseIndex.wxml
+1
-0
donationDetail.wxml
src/wx/pages/donationDetail/donationDetail.wxml
+1
-0
donationIndex.json
src/wx/pages/donationIndex/donationIndex.json
+2
-2
donationIndex.wxml
src/wx/pages/donationIndex/donationIndex.wxml
+1
-0
editCircle.wxml
src/wx/pages/editCircle/editCircle.wxml
+1
-0
editCircle2.wxml
src/wx/pages/editCircle2/editCircle2.wxml
+1
-0
familyEvent.wxml
src/wx/pages/familyEvent/familyEvent.wxml
+1
-0
familyEventDetail.wxml
src/wx/pages/familyEventDetail/familyEventDetail.wxml
+1
-0
getCertificate.wxml
src/wx/pages/getCertificate/getCertificate.wxml
+1
-0
history.wxml
src/wx/pages/history/history.wxml
+1
-0
index.wxml
src/wx/pages/index/index.wxml
+1
-0
inviteCircleMember.wxml
src/wx/pages/inviteCircleMember/inviteCircleMember.wxml
+1
-0
joinFamilyEvent.wxml
src/wx/pages/joinFamilyEvent/joinFamilyEvent.wxml
+1
-0
joinSocialEvent.wxml
src/wx/pages/joinSocialEvent/joinSocialEvent.wxml
+1
-0
leaderRegister.wxml
src/wx/pages/leaderRegister/leaderRegister.wxml
+1
-0
memberChange.wxml
src/wx/pages/memberChange/memberChange.wxml
+1
-0
my.wxml
src/wx/pages/my/my.wxml
+1
-0
myCertificate.wxml
src/wx/pages/myCertificate/myCertificate.wxml
+1
-0
myNews.wxml
src/wx/pages/myNews/myNews.wxml
+1
-0
myNewsDetail.wxml
src/wx/pages/myNewsDetail/myNewsDetail.wxml
+1
-0
newCircle.wxml
src/wx/pages/newCircle/newCircle.wxml
+1
-0
newCircleEvent.wxml
src/wx/pages/newCircleEvent/newCircleEvent.wxml
+1
-0
newCircleMoment.wxml
src/wx/pages/newCircleMoment/newCircleMoment.wxml
+1
-0
register.wxml
src/wx/pages/register/register.wxml
+1
-0
schoolDetails.wxml
src/wx/pages/schoolDetails/schoolDetails.wxml
+1
-0
userDonation.js
src/wx/pages/userDonation/userDonation.js
+0
-91
userDonation.json
src/wx/pages/userDonation/userDonation.json
+0
-4
userDonation.wxml
src/wx/pages/userDonation/userDonation.wxml
+0
-4
userDonation.wxss
src/wx/pages/userDonation/userDonation.wxss
+0
-2
volunteers.wxml
src/wx/pages/volunteers/volunteers.wxml
+1
-0
volunteersEventDetail.wxml
...wx/pages/volunteersEventDetail/volunteersEventDetail.wxml
+1
-0
volunteersRank1.wxml
src/wx/pages/volunteersRank1/volunteersRank1.wxml
+1
-0
volunteersRank2.wxml
src/wx/pages/volunteersRank2/volunteersRank2.wxml
+1
-0
volunteersRank3.wxml
src/wx/pages/volunteersRank3/volunteersRank3.wxml
+1
-0
volunteersRank4.wxml
src/wx/pages/volunteersRank4/volunteersRank4.wxml
+1
-0
No files found.
src/wx/app.js
View file @
ce274c1d
...
...
@@ -3,6 +3,22 @@ App({
url
:
'https://www.koala-online.cn/compass/if/'
,
onLaunch
:
function
()
{
var
that
=
this
;
//获取窗口的高度,自定义顶部导航栏
let
menuButtonObject
=
wx
.
getMenuButtonBoundingClientRect
();
wx
.
getSystemInfo
({
success
:
res
=>
{
let
statusBarHeight
=
res
.
statusBarHeight
,
navTop
=
menuButtonObject
.
top
,
//胶囊按钮与顶部的距离
navHeight
=
statusBarHeight
+
menuButtonObject
.
height
+
(
menuButtonObject
.
top
-
statusBarHeight
)
*
2
;
//导航高度
this
.
globalData
.
navHeight
=
navHeight
;
this
.
globalData
.
navTop
=
navTop
;
},
fail
(
err
)
{
console
.
log
(
err
);
}
})
//调用wx用户登陆
wx
.
login
({
success
:
res
=>
{
...
...
@@ -85,6 +101,8 @@ App({
},
globalData
:
{
userInfo
:
null
,
config
:
null
config
:
null
,
navTop
:
0
,
navHeight
:
0
},
})
\ No newline at end of file
src/wx/app.json
View file @
ce274c1d
...
...
@@ -56,7 +56,7 @@
"backgroundTextStyle"
:
"light"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTitleText"
:
""
,
"navigationStyle"
:
"custom"
,
"navigationStyle"
:
"custom"
,
"navigationBarTextStyle"
:
"black"
},
"usingComponents"
:
{
...
...
@@ -76,7 +76,7 @@
"van-dialog"
:
"/dist/dialog/index"
,
"van-notify"
:
"/dist/notify/index"
,
"van-toast"
:
"/dist/toast/index"
,
"
topNavi"
:
"/components/top-navi/top-navi
"
"
custom-navi"
:
"/components/top-navi/index
"
},
"permission"
:
{
"scope.userLocation"
:
{
...
...
src/wx/components/top-navi/
top-navi
.js
→
src/wx/components/top-navi/
index
.js
View file @
ce274c1d
...
...
@@ -5,7 +5,7 @@ Component({
properties
:
{
text
:
{
type
:
String
,
value
:
'
Wechat
'
value
:
''
},
back
:
{
type
:
Boolean
,
...
...
@@ -14,19 +14,23 @@ Component({
home
:
{
type
:
Boolean
,
value
:
false
},
background
:
{
type
:
String
,
value
:
"#fff"
}
},
data
:
{
statusBarHeight
:
app
.
globalData
.
statusBar
Height
+
'px'
,
nav
igationBarHeight
:
(
app
.
globalData
.
statusBarHeight
+
44
)
+
'px'
navHeight
:
app
.
globalData
.
nav
Height
+
'px'
,
nav
Top
:
app
.
globalData
.
navTop
+
'px'
,
},
methods
:
{
backH
ome
:
function
()
{
let
pages
=
getCurrentPages
()
wx
.
navigateBack
({
delta
:
pages
.
length
})
h
ome
:
function
()
{
//跳转到首页
wx
.
switchTab
({
url
:
'../index/index'
,
})
;
},
back
:
function
()
{
wx
.
navigateBack
({
...
...
src/wx/components/top-navi/
top-navi
.json
→
src/wx/components/top-navi/
index
.json
View file @
ce274c1d
File moved
src/wx/components/top-navi/index.wxml
0 → 100644
View file @
ce274c1d
<view class="navbar" style="height:{{navHeight}};background:{{background}}">
<view class='title-container' style="top:{{navTop}}">
<view class='capsule' wx:if="{{back||home}}">
<view bindtap='back' wx:if="{{back}}">
<image src='../../img/n1.png'></image>
</view>
<view bindtap='home' wx:if="{{home}}">
<image src='../../img/n2.png'></image>
</view>
</view>
<view class='title'>{{text}}</view>
</view>
</view>
<view style="{{'height: ' + navHeight}};background: white;"></view>
\ No newline at end of file
src/wx/components/top-navi/
top-navi.c
ss
→
src/wx/components/top-navi/
index.wx
ss
View file @
ce274c1d
.navbar {
width: 100%;
background-color
:
#1797eb
;
position: fixed;
top: 0;
left: 0;
z-index: 999;
}
.title-container {
height
:
40px
;
position: fixed
;
display: flex;
align-items: center;
position
:
relative
;
}
.capsule {
margin-left: 10px;
height: 30px;
background: rgba(255, 255, 255, 0.6);
border
:
1px
solid
#
fff
;
border-radius
:
1
6
px
;
border: 1px solid #
ccc
;
border-radius: 1
5
px;
display: flex;
align-items: center;
}
...
...
@@ -25,8 +23,10 @@
width: 45px;
height: 60%;
position: relative;
}
.capsule > view:nth-child(2) {
border-left
:
1px
solid
#
fff
;
border-left: 1px solid #
ccc
;
}
.capsule image {
width: 50%;
...
...
@@ -37,11 +37,8 @@
transform: translate(-50%,-50%);
}
.title {
color
:
white
;
position
:
absolute
;
top
:
6px
;
left
:
104px
;
right
:
104px
;
color: #000;
padding-left: 10px;
height: 30px;
line-height: 30px;
font-size: 14px;
...
...
src/wx/components/top-navi/top-navi.wml
deleted
100644 → 0
View file @
2601cccb
<view class="navbar" style="{{'height: ' + navigationBarHeight}}">
<view style="{{'height: ' + statusBarHeight}}"></view>
<view class='title-container'>
<view class='capsule' wx:if="{{ back || home }}">
<view bindtap='back' wx:if="{{back}}">
<image src='/images/back.png'></image>
</view>
<view bindtap='backHome' wx:if="{{home}}">
<image src='/images/home.png'></image>
</view>
</view>
<view class='title'>{{text}}</view>
</view>
</view>
<view style="{{'height: ' + navigationBarHeight}};background: white;"></view>
\ No newline at end of file
src/wx/pages/activeDetails/activeDetails.wxml
View file @
ce274c1d
<!--pages/activeDetails/activeDetails.wxml-->
<custom-navi text="活动详情" back="{{true}}" home="{{false}}"></custom-navi>
<view class='activeDetails'>
<image src='../../img/1.jpg'></image>
<view class='con_activeDetails'>
...
...
src/wx/pages/activeManagement/activeManagement.wxml
View file @
ce274c1d
<!--pages/activeManagement/activeManagement.wxml-->
<custom-navi text="活动管理" back="{{true}}" home="{{false}}"></custom-navi>
<view class='volunteers'>
<view class='volunteersActive'>
<view style='font-size:14px;padding-left:15px'>
...
...
src/wx/pages/ageChange/ageChange.wxml
View file @
ce274c1d
<!--pages/ageChange/ageChange.wxml-->
<custom-navi text="年龄选择" back="{{true}}" home="{{false}}"></custom-navi>
<view class='ageChange'>
<image src='../../img/2.jpg'></image>
<text>请选择您的孩子的年龄段</text>
...
...
src/wx/pages/area/area.wxml
View file @
ce274c1d
<!--pages/area/area.wxml-->
<custom-navi text="区域管理" back="{{true}}" home="{{true}}"></custom-navi>
<view class='areaBox'>
<text class='topArea'>
管辖学校:<text>{{schoolCount}}</text>所 总能力分:<text>{{abilityPoint}}</text>分
...
...
src/wx/pages/checkJoinCircle/checkJoinCircle.wxml
View file @
ce274c1d
<!--pages/checkJoinCircle/checkJoinCircle.wxml-->
<custom-navi text="入圈审核" back="{{true}}" home="{{true}}"></custom-navi>
<view class='checkJoinCircle'>
<view class='con_checkJoinCircle'>
<view class='btn'>
...
...
src/wx/pages/circle/circle.wxml
View file @
ce274c1d
<!--pages/log/log.wxml-->
<custom-navi text="圈子" back="{{false}}" home="{{false}}"></custom-navi>
<view class='quanzi'>
<view style='padding:15px 0;background:#fff'>
<view class='topQuanzi'>
...
...
src/wx/pages/circleDetails/circleDetails.wxml
View file @
ce274c1d
<!--pages/testCircle/testCircle.wxml-->
<custom-navi text="圈子详情" back="{{true}}" home="{{true}}"></custom-navi>
<view class='testCircle'>
<view class='top_testCircle'>
<image src='{{circleDat.front_image}}'></image>
...
...
src/wx/pages/circleEvents/circleEvents.wxml
View file @
ce274c1d
<!--pages/circleEvents/circleEvents.wxml-->
<custom-navi text="圈子活动管理" back="{{true}}" home="{{true}}"></custom-navi>
<view class='activeManagement'>
<view class='publishButton'bindtap="newCircleEvent" wx:if="{{isOwner}}">
活动发布
...
...
src/wx/pages/circleMembers/circleMembers.wxml
View file @
ce274c1d
<!--pages/peopleManagement/peopleManagement.wxml-->
<custom-navi text="圈子成员" back="{{true}}" home="{{true}}"></custom-navi>
<view class='peopleManagement'>
<view class='top_peopleManagement'>
<view class='topQuanzi'>
...
...
src/wx/pages/circleMoment/circleMoment.wxml
View file @
ce274c1d
<!--pages/circleMoment/circleMoment.wxml-->
<custom-navi text="圈子动态" back="{{true}}" home="{{true}}"></custom-navi>
<view class='circleMoment'>
<view style='position: fixed;bottom: 0;left: 0;font-size:14px;color:#fff;background: #0D76ED;width: 100%;height: 40px;line-height: 40px;text-align: center;'bindtap="momentNew" wx:if="{{isOwner}}">
发布动态
...
...
src/wx/pages/circleNotice/circleNotice.wxml
View file @
ce274c1d
<!--pages/circleNotice/circleNotice.wxml-->
<custom-navi text="圈子公告" back="{{true}}" home="{{true}}"></custom-navi>
<view class='circleNotice'>
<view style='position: fixed;bottom: 0;left: 0;font-size:14px;color:#fff;background: #0D76ED;width: 100%;height: 40px;line-height: 40px;text-align: center;'bindtap="noticeNew" wx:if="{{isOwner}}">
发布公告
...
...
src/wx/pages/circleNoticeNew/circleNoticeNew.wxml
View file @
ce274c1d
<!--pages/joinSocialEvent/joinSocialEvent.wxml-->
<custom-navi text="圈子公告" back="{{true}}" home="{{true}}"></custom-navi>
<view class='uploadDocuments'>
<view style='width:100%;background:#fff'>
<view class='textTitle'>
...
...
src/wx/pages/classDetails/classDetails.wxml
View file @
ce274c1d
<!--pages/classDetails/classDetails.wxml-->
<custom-navi text="课程详情" back="{{true}}" home="{{true}}"></custom-navi>
<view class='classDetails'>
<view class='top_classDetails'>
<text>{{courseTitle}}</text>
...
...
src/wx/pages/courseIndex/courseIndex.wxml
View file @
ce274c1d
<!--pages/gongyiClass/gongyiClass.wxml-->
<custom-navi text="公益课程" back="{{true}}" home="{{true}}"></custom-navi>
<view class='gongyiClass'>
<view class='top_gongyiClass'>
<view style='border-bottom:1px solid #f0f0f0;height:46px'>
...
...
src/wx/pages/donationDetail/donationDetail.wxml
View file @
ce274c1d
<!--pages/donationDetail/donationDetail.wxml-->
<custom-navi text="慈善募捐" back="{{true}}" home="{{false}}"></custom-navi>
<view class='donationDetail'>
<view class='donationInfo'>
<view class='frontImg'>
...
...
src/wx/pages/donationIndex/donationIndex.json
View file @
ce274c1d
{
"usingComponents"
:
{},
"navigationBarTitleText"
:
"慈善募捐"
"usingComponents"
:
{}
}
\ No newline at end of file
src/wx/pages/donationIndex/donationIndex.wxml
View file @
ce274c1d
<!--pages/volunteers/volunteers.wxml-->
<custom-navi text="慈善募捐" back="{{true}}" home="{{true}}"></custom-navi>
<view class='volunteers'>
<view class='volunteersActive'>
<view style='font-size:15px;padding-left:15px'>
...
...
src/wx/pages/editCircle/editCircle.wxml
View file @
ce274c1d
<!--pages/newQuanzi/newQuanzi.wxml-->
<custom-navi text="圈子编辑" back="{{true}}" home="{{true}}"></custom-navi>
<view class='newQuanzi'>
<view class='top_newQuanzi'>
服务区域:{{servicePlace}}
...
...
src/wx/pages/editCircle2/editCircle2.wxml
View file @
ce274c1d
<!--pages/circleDetails/circleDetails.wxml-->
<custom-navi text="圈子编辑" back="{{true}}" home="{{true}}"></custom-navi>
<view class='circleDetails'>
<view class='top_circleDetails'>
<text>圈子头图</text>
...
...
src/wx/pages/familyEvent/familyEvent.wxml
View file @
ce274c1d
<!--pages/familyEvent/familyEvent.wxml-->
<custom-navi text="亲子活动" back="{{true}}" home="{{true}}"></custom-navi>
<view class='familyEvent'>
<view class='listPractice'>
<scroll-view scroll-y="true" style='height:1100rpx;bottom:10rpx;' class="listPublicWelfare" bindscrolltolower='loadMore'>
...
...
src/wx/pages/familyEventDetail/familyEventDetail.wxml
View file @
ce274c1d
<custom-navi text="亲子活动详情" back="{{true}}" home="{{true}}"></custom-navi>
<view class='activeDetails'>
<view class='top_familyEventDetail'>
<view>{{eventDat.title}}</view>
...
...
src/wx/pages/getCertificate/getCertificate.wxml
View file @
ce274c1d
<!--pages/myCertificate/myCertificate.wxml-->
<custom-navi text="证书申领" back="{{true}}" home="{{true}}"></custom-navi>
<view class='myCertificate'>
<view style='font-size:12px;color:#666;float:right;padding-right:15px;'>
...
...
src/wx/pages/history/history.wxml
View file @
ce274c1d
<!--pages/lishi/lishi.wxml-->
<custom-navi text="观看记录" back="{{true}}" home="{{true}}"></custom-navi>
<view>
<view class='listPublicWelfare'>
<view bindtap='classDetails' data-src='{{item.media}}' wx:for="{{list}}">
...
...
src/wx/pages/index/index.wxml
View file @
ce274c1d
<!--pages/index/index.wxml-->
<custom-navi text="" back="{{false}}" home="{{false}}" background="#5296f4"></custom-navi>
<view class='indexBox'>
<view class="indexHeader">
<view class='con_indexHeader'>
...
...
src/wx/pages/inviteCircleMember/inviteCircleMember.wxml
View file @
ce274c1d
<!--pages/inviteCircleMember/inviteCircleMember.wxml-->
<custom-navi text="成员邀请" back="{{true}}" home="{{true}}"></custom-navi>
<view class='inviteMember'>
<view class='title'>
<text style="color:#0D76ED">{{inviteUserName}}</text><text>邀请您加入圈子【{{circleDat.title}}】</text>
...
...
src/wx/pages/joinFamilyEvent/joinFamilyEvent.wxml
View file @
ce274c1d
<!--pages/joinSocialEvent/joinSocialEvent.wxml-->
<custom-navi text="亲子活动" back="{{true}}" home="{{true}}"></custom-navi>
<view class='uploadDocuments'>
<view style='width:100%;background:#fff'>
<view class='uploadDocuments_title'>活动名称:<text>{{eventTitle}}</text></view>
...
...
src/wx/pages/joinSocialEvent/joinSocialEvent.wxml
View file @
ce274c1d
<!--pages/joinSocialEvent/joinSocialEvent.wxml-->
<custom-navi text="社会实践" back="{{true}}" home="{{true}}"></custom-navi>
<view class='uploadDocuments'>
<view style='width:100%;background:#fff'>
<view class='uploadDocuments_title'>活动名称:<text>{{eventTitle}}</text></view>
...
...
src/wx/pages/leaderRegister/leaderRegister.wxml
View file @
ce274c1d
<!--pages/leaderRegistered/leaderRegistered.wxml-->
<custom-navi text="注册" back="{{false}}" home="{{false}}"></custom-navi>
<view class='leaderRegistered'>
<image src='../../img/2.jpg'></image>
<view class='title_leaderRegistered'><text>{{leaderTitle}}领导:</text>欢迎来到志愿者平台!</view>
...
...
src/wx/pages/memberChange/memberChange.wxml
View file @
ce274c1d
<!--pages/memberChange/memberChange.wxml-->
<custom-navi text="会员" back="{{true}}" home="{{true}}"></custom-navi>
<view class='memberChange'>
<view class='con_memberChange'>
<view class='top_memberChange'>
...
...
src/wx/pages/my/my.wxml
View file @
ce274c1d
<!--pages/mine/mine.wxml-->
<custom-navi text="我的" back="{{false}}" home="{{false}}"></custom-navi>
<view class='mine'>
<view class='headerMine'>
<view class='topMine'>
...
...
src/wx/pages/myCertificate/myCertificate.wxml
View file @
ce274c1d
<!--pages/myCertificate/myCertificate.wxml-->
<custom-navi text="证书管理" back="{{true}}" home="{{true}}"></custom-navi>
<view class='myCertificate'>
<view style='position: fixed;bottom: 0;left: 0;font-size:14px;color:#fff;background: #0D76ED;width: 100%;height: 40px;line-height: 40px;text-align: center;'bindtap="getCertificate">
申领证书
...
...
src/wx/pages/myNews/myNews.wxml
View file @
ce274c1d
<!--pages/myNews/myNews.wxml-->
<custom-navi text="消息通知" back="{{true}}" home="{{true}}"></custom-navi>
<view class="myNews">
<view bindtap='newsDetail' wx:for="{{messageList}}" wx:if="{{!item.is_read}}" class="newsUnread" data-index="{{item.id}}" wx:key="{{index}}">
<image src='../../img/unread.png'></image>{{item.title}}
...
...
src/wx/pages/myNewsDetail/myNewsDetail.wxml
View file @
ce274c1d
<!--pages/myNewsDetail/myNewsDetail.wxml-->
<custom-navi text="消息" back="{{true}}" home="{{true}}"></custom-navi>
<view class='myNewsDetail'>
<view class='firstpage' wx:if="{{attach_dat_type=='ORGNAZATION'}}">
<view class='title_firstpage'>{{messageDat.title}}</view>
...
...
src/wx/pages/newCircle/newCircle.wxml
View file @
ce274c1d
<!--pages/newQuanzi/newQuanzi.wxml-->
<custom-navi text="新建圈子" back="{{true}}" home="{{true}}"></custom-navi>
<view class='newQuanzi'>
<view class='top_newQuanzi'>
服务区域:{{servicePlace}}
...
...
src/wx/pages/newCircleEvent/newCircleEvent.wxml
View file @
ce274c1d
<!--pages/newCircleEvent/newCircleEvent.wxml-->
<custom-navi text="活动发布" back="{{true}}" home="{{true}}"></custom-navi>
<view class='newCircleEvent'>
<view class='con_newCircleEvent'>
<view>
...
...
src/wx/pages/newCircleMoment/newCircleMoment.wxml
View file @
ce274c1d
<!--pages/newCircleMoment/newCircleMoment.wxml-->
<custom-navi text="圈子动态" back="{{true}}" home="{{true}}"></custom-navi>
<view class='circleDetails'>
<view class='bot_circleDetails'>
<view class='circleTitle'><text></text>添加动态</view>
...
...
src/wx/pages/register/register.wxml
View file @
ce274c1d
<!--pages/familyUser/familyUser.wxml-->
<custom-navi text="用户注册" back="{{false}}" home="{{false}}"></custom-navi>
<view class='familyUser'>
<image src='../../img/2.jpg'></image>
<text>欢迎来到志愿者平台!</text>
...
...
src/wx/pages/schoolDetails/schoolDetails.wxml
View file @
ce274c1d
<!--pages/schoolDetails/schoolDetails.wxml-->
<custom-navi text="学校详情" back="{{true}}" home="{{true}}"></custom-navi>
<view class='schoolDetailsBox'>
<view class='top_schoolDetailsBox'>
<text>{{schoolTitle}}:{{memberCount}}志愿者</text><text>总积分:{{abilityPoint}}分</text>
...
...
src/wx/pages/userDonation/userDonation.js
deleted
100644 → 0
View file @
2601cccb
// pages/userDonation/userDonation.js
var
app
=
getApp
();
Page
({
/**
* 页面的初始数据
*/
data
:
{
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
:
function
(
options
)
{
var
that
=
this
;
var
config
=
wx
.
getStorageSync
(
'config'
);
wx
:
wx
.
request
({
url
:
app
.
url
+
'ajax_set_user_donation_dat.php'
,
data
:
{
unionId
:
config
.
unionId
,
eventId
:
0
,
money
:
options
.
money
,
comment
:
options
.
comment
},
header
:
{
'content-type'
:
'application/json'
},
method
:
'GET'
,
dataType
:
'json'
,
success
:
function
(
res
)
{
console
.
log
(
res
)
if
(
res
.
statusCode
==
200
)
{
that
.
setData
({
list
:
res
.
data
.
result
.
list
})
}
},
fail
:
function
(
res
)
{
},
complete
:
function
(
res
)
{
},
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
:
function
()
{
},
/**
* 生命周期函数--监听页面显示
*/
onShow
:
function
()
{
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide
:
function
()
{
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload
:
function
()
{
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh
:
function
()
{
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom
:
function
()
{
},
/**
* 用户点击右上角分享
*/
onShareAppMessage
:
function
()
{
}
})
\ No newline at end of file
src/wx/pages/userDonation/userDonation.json
deleted
100644 → 0
View file @
2601cccb
{
"usingComponents"
:
{}
}
\ No newline at end of file
src/wx/pages/userDonation/userDonation.wxml
deleted
100644 → 0
View file @
2601cccb
<!--pages/userDonation/userDonation.wxml-->
<view class='userDonation'>
</view>
src/wx/pages/userDonation/userDonation.wxss
deleted
100644 → 0
View file @
2601cccb
/* pages/userDonation/userDonation.wxss */
\ No newline at end of file
src/wx/pages/volunteers/volunteers.wxml
View file @
ce274c1d
<!--pages/volunteers/volunteers.wxml-->
<custom-navi text="志愿者活动" back="{{true}}" home="{{true}}"></custom-navi>
<view class='volunteers'>
<text class='volunteersTitle'>所在区域:<text>{{place}}</text></text>
<view class='volunteersActive'>
...
...
src/wx/pages/volunteersEventDetail/volunteersEventDetail.wxml
View file @
ce274c1d
<!--pages/activeDetails/activeDetails.wxml-->
<custom-navi text="志愿者活动" back="{{true}}" home="{{true}}"></custom-navi>
<view class='activeDetails'>
<image src='{{volunteerEventDat.front_image}}'></image>
<view class='con_activeDetails'>
...
...
src/wx/pages/volunteersRank1/volunteersRank1.wxml
View file @
ce274c1d
<!--pages/volunteerRanking/volunteerRanking.wxml-->
<custom-navi text="志愿者排名" back="{{true}}" home="{{true}}"></custom-navi>
<view class='volunteerRanking'>
<view style="height:45px;">
<view class="title" style="text-align:left;margin-left: 30px;"><text style="color:#82A4D4;">级别:</text><text>省份</text></view>
...
...
src/wx/pages/volunteersRank2/volunteersRank2.wxml
View file @
ce274c1d
<!--pages/volunteerRanking/volunteerRanking.wxml-->
<custom-navi text="志愿者排名" back="{{true}}" home="{{true}}"></custom-navi>
<view class='volunteerRanking'>
<view style="height:45px;">
<view class="title" style="text-align:left;margin-left: 30px;"><text style="color:#82A4D4;">级别:</text><text>城市</text></view>
...
...
src/wx/pages/volunteersRank3/volunteersRank3.wxml
View file @
ce274c1d
<!--pages/volunteerRanking/volunteerRanking.wxml-->
<custom-navi text="志愿者排名" back="{{true}}" home="{{true}}"></custom-navi>
<view class='volunteerRanking'>
<view style="height:45px;">
<view class="title" style="text-align:left;margin-left: 30px;"><text style="color:#82A4D4;">级别:</text><text>区</text></view>
...
...
src/wx/pages/volunteersRank4/volunteersRank4.wxml
View file @
ce274c1d
<!--pages/volunteerRanking/volunteerRanking.wxml-->
<custom-navi text="志愿者排名" back="{{true}}" home="{{true}}"></custom-navi>
<view class='volunteerRanking'>
<view style="height:45px;">
<view class="title" style="text-align:left;margin-left: 30px;"><text style="color:#82A4D4;">级别:</text><text>学校</text></view>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment