Commit b7d6623f by tangjinlin

znz-04-30

parent cc227045
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
} }
}, },
"tabBar": { "tabBar": {
"selectedColor": "#FF82AB", "selectedColor": "#c33d48",
"borderStyle": "white", "borderStyle": "white",
"list": [ "list": [
{ {
......
...@@ -8,17 +8,46 @@ ...@@ -8,17 +8,46 @@
padding: 200rpx 0; padding: 200rpx 0;
box-sizing: border-box; box-sizing: border-box;
} }
page, view, scroll-view, swiper, movable-area, cover-view, text, icon, rich-text,
progress, button, checkbox-group, checkbox, form, input, label, picker, page,
picker-view, radio-group, slider, switch, textarea, navigator, audio, image, view,
video, live-player, live-pusher, open-data, web-view { scroll-view,
font-family: "仿宋"; swiper,
font-size:14px; movable-area,
} cover-view,
.van-tabbar-item{ text,
icon,
rich-text,
progress,
button,
checkbox-group,
checkbox,
form,
input,
label,
picker,
picker-view,
radio-group,
slider,
switch,
textarea,
navigator,
audio,
image,
video,
live-player,
live-pusher,
open-data,
web-view {
font-family: "仿宋";
font-size: 14px;
}
.van-tabbar-item {
position: relative; position: relative;
} }
.circle{
.circle {
position: absolute; position: absolute;
top: 0; top: 0;
bottom: 15px; bottom: 15px;
...@@ -34,10 +63,12 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -34,10 +63,12 @@ video, live-player, live-pusher, open-data, web-view {
background: #FFFFE5; background: #FFFFE5;
z-index: 5; z-index: 5;
} }
.listVolunteers{
.listVolunteers {
width: 100%; width: 100%;
} }
.listVolunteers>view{
.listVolunteers>view {
width: 94%; width: 94%;
height: 110px; height: 110px;
margin: 0 auto; margin: 0 auto;
...@@ -46,14 +77,16 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -46,14 +77,16 @@ video, live-player, live-pusher, open-data, web-view {
align-items: center; align-items: center;
flex-wrap: wrap; flex-wrap: wrap;
} }
.listVolunteers>view>text{
.listVolunteers>view>text {
display: block; display: block;
width: 90%; width: 90%;
height: 1px; height: 1px;
background: #f6f6f6; background: #f6f6f6;
margin: 0 auto; margin: 0 auto;
} }
.activelist{
.activelist {
width: 95%; width: 95%;
height: 125px; height: 125px;
margin: 0 auto; margin: 0 auto;
...@@ -62,21 +95,24 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -62,21 +95,24 @@ video, live-player, live-pusher, open-data, web-view {
align-items: center; align-items: center;
flex-wrap: wrap; flex-wrap: wrap;
} }
.activelist>text{
.activelist>text {
display: block; display: block;
width: 80%; width: 80%;
height: 1px; height: 1px;
background: #f0f0f0; background: #f0f0f0;
margin: 0 auto; margin: 0 auto;
} }
.activeLine{
.activeLine {
display: block; display: block;
width: 80%; width: 80%;
height: 1px; height: 1px;
background: #ccc; background: #ccc;
margin: 0 auto; margin: 0 auto;
} }
.left_listVolunteers{
.left_listVolunteers {
width: 30%; width: 30%;
height: 80px; height: 80px;
border-radius: 5px; border-radius: 5px;
...@@ -84,11 +120,13 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -84,11 +120,13 @@ video, live-player, live-pusher, open-data, web-view {
margin-left: 15px; margin-left: 15px;
position: relative; position: relative;
} }
.left_listVolunteers>image{
.left_listVolunteers>image {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.left_listVolunteers>text{
.left_listVolunteers>text {
position: absolute; position: absolute;
left: 0; left: 0;
bottom: 0; bottom: 0;
...@@ -97,11 +135,12 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -97,11 +135,12 @@ video, live-player, live-pusher, open-data, web-view {
text-align: center; text-align: center;
line-height: 20px; line-height: 20px;
border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px;
background: rgba(0,0,0,0.5); background: rgba(0, 0, 0, 0.5);
font-size: 12px; font-size: 12px;
color: #fff; color: #fff;
} }
.left_listVolunteers>view{
.left_listVolunteers>view {
position: absolute; position: absolute;
top: 3px; top: 3px;
right: 0; right: 0;
...@@ -111,28 +150,30 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -111,28 +150,30 @@ video, live-player, live-pusher, open-data, web-view {
line-height: 20px; line-height: 20px;
font-size: 14px; font-size: 14px;
} }
.right_listVolunteers{
.right_listVolunteers {
width: 62%; width: 62%;
font-size: 12px; font-size: 12px;
color: #969696; color: #969696;
} }
.right_listVolunteers>view{ .right_listVolunteers>view {
margin-top: 5px margin-top: 5px
} }
.right_listVolunteers .itemTitle{ .right_listVolunteers .itemTitle {
color:#363636; color: #363636;
font-size: 15px; font-size: 15px;
} }
.formtable>view{ .formtable>view {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 30px; margin-bottom: 30px;
flex-wrap: wrap; flex-wrap: wrap;
} }
.formtable>view>text{
.formtable>view>text {
width: 100px; width: 100px;
text-align: right; text-align: right;
box-sizing: border-box; box-sizing: border-box;
...@@ -141,13 +182,16 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -141,13 +182,16 @@ video, live-player, live-pusher, open-data, web-view {
font-weight: bold; font-weight: bold;
color: #1e1e1e; color: #1e1e1e;
} }
.formtable>view>van-cell-group{
.formtable>view>van-cell-group {
flex: 1 flex: 1
} }
.formtable .van-cell{
.formtable .van-cell {
padding: 0; padding: 0;
} }
.formtable input{
.formtable input {
box-sizing: border-box; box-sizing: border-box;
padding-left: 8px; padding-left: 8px;
height: 30px; height: 30px;
...@@ -157,21 +201,23 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -157,21 +201,23 @@ video, live-player, live-pusher, open-data, web-view {
text-align: center; text-align: center;
color: #4f4f4f; color: #4f4f4f;
} }
.button button{
.button button {
padding: 20px 90px; padding: 20px 90px;
border-radius: 5px; border-radius: 5px;
background: #0D76ED; background: #0D76ED;
color: #fff; color: #fff;
} }
.tr{ .tr {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
width: 95%; width: 95%;
margin: 10px auto; margin: 10px auto;
} }
.th{
.th {
flex: 1; flex: 1;
height: 32px; height: 32px;
line-height: 32px; line-height: 32px;
...@@ -179,14 +225,16 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -179,14 +225,16 @@ video, live-player, live-pusher, open-data, web-view {
/* border: 1px solid #ccc; */ /* border: 1px solid #ccc; */
font-size: 14px; font-size: 14px;
} }
.td{
.td {
flex: 1; flex: 1;
height: 28px; height: 28px;
line-height: 28px; line-height: 28px;
text-align: center; text-align: center;
font-size: 12px; font-size: 12px;
} }
.idNum{
.idNum {
display: block; display: block;
width: 30px; width: 30px;
height: 30px; height: 30px;
...@@ -195,6 +243,7 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -195,6 +243,7 @@ video, live-player, live-pusher, open-data, web-view {
border-radius: 50%; border-radius: 50%;
margin: 0 auto; margin: 0 auto;
} }
.van-swipe-cell__right { .van-swipe-cell__right {
display: inline-block; display: inline-block;
width: 50px; width: 50px;
...@@ -205,7 +254,8 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -205,7 +254,8 @@ video, live-player, live-pusher, open-data, web-view {
text-align: center; text-align: center;
background-color: #f44; background-color: #f44;
} }
.listPractice>view{
.listPractice>view {
width: 94%; width: 94%;
height: 110px; height: 110px;
margin: 0 auto; margin: 0 auto;
...@@ -214,14 +264,16 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -214,14 +264,16 @@ video, live-player, live-pusher, open-data, web-view {
align-items: center; align-items: center;
flex-wrap: wrap; flex-wrap: wrap;
} }
.listPractice>view>text{
.listPractice>view>text {
display: block; display: block;
width: 90%; width: 90%;
height: 1px; height: 1px;
background: #f6f6f6; background: #f6f6f6;
margin: 0 auto; margin: 0 auto;
} }
.left_listPractice{
.left_listPractice {
width: 30%; width: 30%;
height: 80px; height: 80px;
border-radius: 5px; border-radius: 5px;
...@@ -229,23 +281,28 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -229,23 +281,28 @@ video, live-player, live-pusher, open-data, web-view {
margin-left: 15px; margin-left: 15px;
position: relative; position: relative;
} }
.left_listPractice>image{
.left_listPractice>image {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.right_listPractice{
.right_listPractice {
width: 60%; width: 60%;
height: 80px; height: 80px;
font-size: 12px; font-size: 12px;
color: #000; color: #000;
} }
.right_listPractice>view{
.right_listPractice>view {
line-height: 20px; line-height: 20px;
} }
.right_listPractice>text{
.right_listPractice>text {
color: #000; color: #000;
} }
.listPublicWelfare>view{
.listPublicWelfare>view {
width: 90%; width: 90%;
height: 110px; height: 110px;
margin: 0 auto; margin: 0 auto;
...@@ -254,25 +311,29 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -254,25 +311,29 @@ video, live-player, live-pusher, open-data, web-view {
align-items: center; align-items: center;
flex-wrap: wrap; flex-wrap: wrap;
} }
.listPublicWelfare>view>text{
.listPublicWelfare>view>text {
display: block; display: block;
width: 90%; width: 90%;
height: 1px; height: 1px;
background: #f6f6f6; background: #f6f6f6;
margin: 0 auto; margin: 0 auto;
} }
.left_listPublicWelfare{
.left_listPublicWelfare {
width: 120px; width: 120px;
height: 67px; height: 67px;
border-radius: 5px; border-radius: 5px;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
} }
.left_listPublicWelfare>image{
.left_listPublicWelfare>image {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.right_listPublicWelfare{
.right_listPublicWelfare {
flex: 1; flex: 1;
height: 67px; height: 67px;
font-size: 12px; font-size: 12px;
...@@ -280,35 +341,42 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -280,35 +341,42 @@ video, live-player, live-pusher, open-data, web-view {
box-sizing: border-box; box-sizing: border-box;
padding-left: 30px; padding-left: 30px;
} }
.right_listPublicWelfare>text{
.right_listPublicWelfare>text {
display: block; display: block;
height: 18px; height: 18px;
font-size: 14px; font-size: 14px;
overflow:hidden; overflow: hidden;
text-overflow:ellipsis; text-overflow: ellipsis;
} }
.right_listPublicWelfare .activeTitle{
.right_listPublicWelfare .activeTitle {
font-size: 15px; font-size: 15px;
font-weight: bold; font-weight: bold;
color: #363636; color: #363636;
} }
.right_listPublicWelfare>view{
.right_listPublicWelfare>view {
height: 30px; height: 30px;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.right_listPublicWelfare>view>image{
.right_listPublicWelfare>view>image {
width: 15px; width: 15px;
height: 15px; height: 15px;
/* margin-left: 10px; */ /* margin-left: 10px; */
} }
.right_listPublicWelfare>view{
.right_listPublicWelfare>view {
color: #666; color: #666;
} }
.right_listPublicWelfare>view .van-button__text{
.right_listPublicWelfare>view .van-button__text {
color: #666; color: #666;
} }
.conSwiper{
.conSwiper {
width: 90%; width: 90%;
height: 40px; height: 40px;
margin: 20px auto; margin: 20px auto;
...@@ -320,12 +388,14 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -320,12 +388,14 @@ video, live-player, live-pusher, open-data, web-view {
box-sizing: border-box; box-sizing: border-box;
padding: 0 10px; padding: 0 10px;
} }
.conSwiper>image{
.conSwiper>image {
width: 20px; width: 20px;
height: 20px; height: 20px;
margin-right: 5px; margin-right: 5px;
} }
.conSwiper>view{
.conSwiper>view {
flex: 1; flex: 1;
height: 25px; height: 25px;
color: #F2A508; color: #F2A508;
...@@ -333,24 +403,27 @@ video, live-player, live-pusher, open-data, web-view { ...@@ -333,24 +403,27 @@ video, live-player, live-pusher, open-data, web-view {
line-height: 25px; line-height: 25px;
text-align: right; text-align: right;
border-radius: 5px; border-radius: 5px;
} }
.lookmore{
color: #599eff!important; .lookmore {
color: #599eff !important;
} }
.listNull{
.listNull {
width: 100%; width: 100%;
display: block!important; display: block !important;
box-sizing: border-box; box-sizing: border-box;
padding-bottom: 20px; padding-bottom: 20px;
} }
.listNull>image{
.listNull>image {
display: block; display: block;
width: 80px; width: 80px;
height: 80px; height: 80px;
margin: 0 auto; margin: 0 auto;
} }
.listNull>view{
.listNull>view {
width: 150px; width: 150px;
margin: 0 auto; margin: 0 auto;
font-size: 12px; font-size: 12px;
......
...@@ -19,6 +19,18 @@ Component({ ...@@ -19,6 +19,18 @@ Component({
type: String, type: String,
value: "#fff" value: "#fff"
}, },
bg1: {
type: String,
value: "#e55b66"
},
bg2: {
type: String,
value: "#ff6aa5"
},
bg3: {
type: String,
value: "#ffa481"
},
color: { color: {
type: String, type: String,
value: "#000" value: "#000"
......
<view class="navbar" style="height:{{navHeight}};background:{{background}}"> <view class="navbar" style="height:{{navHeight}};background:linear-gradient(to right, {{bg1}}, {{bg2}}, {{bg3}})">
<view class='title-container' style="top:{{navTop}}"> <view class='title-container' style="top:{{navTop}}">
<view class='capsule' wx:if="{{back||home}}"> <view class='capsule' wx:if="{{back||home}}">
<view bindtap='back' wx:if="{{back}}"> <view bindtap='back' wx:if="{{back}}">
......
src/wx/img/circle.png

18 KB | W: | H:

src/wx/img/circle.png

20.3 KB | W: | H:

src/wx/img/circle.png
src/wx/img/circle.png
src/wx/img/circle.png
src/wx/img/circle.png
  • 2-up
  • Swipe
  • Onion skin
src/wx/img/circleactive.png

15 KB | W: | H:

src/wx/img/circleactive.png

35.9 KB | W: | H:

src/wx/img/circleactive.png
src/wx/img/circleactive.png
src/wx/img/circleactive.png
src/wx/img/circleactive.png
  • 2-up
  • Swipe
  • Onion skin
src/wx/img/index.png

8.59 KB | W: | H:

src/wx/img/index.png

23.8 KB | W: | H:

src/wx/img/index.png
src/wx/img/index.png
src/wx/img/index.png
src/wx/img/index.png
  • 2-up
  • Swipe
  • Onion skin
src/wx/img/indexactive.png

7.23 KB | W: | H:

src/wx/img/indexactive.png

19.4 KB | W: | H:

src/wx/img/indexactive.png
src/wx/img/indexactive.png
src/wx/img/indexactive.png
src/wx/img/indexactive.png
  • 2-up
  • Swipe
  • Onion skin
src/wx/img/mine.png

12 KB | W: | H:

src/wx/img/mine.png

19.9 KB | W: | H:

src/wx/img/mine.png
src/wx/img/mine.png
src/wx/img/mine.png
src/wx/img/mine.png
  • 2-up
  • Swipe
  • Onion skin
src/wx/img/mineactive.png

8.85 KB | W: | H:

src/wx/img/mineactive.png

28.7 KB | W: | H:

src/wx/img/mineactive.png
src/wx/img/mineactive.png
src/wx/img/mineactive.png
src/wx/img/mineactive.png
  • 2-up
  • Swipe
  • Onion skin
/* pages/index/index.wxss */ /* pages/index/index.wxss */
.indexHeader{ .indexHeader {
position: relative;
width: 100%; width: 100%;
height: 150px; height: 50px;
border-radius: 0 0 10px 10px; background: linear-gradient(to right, #e55b66, #ff6aa5, #ffa481);
background: #FF82AB; display: flex;
margin-bottom: 70px align-items: center;
} justify-content: space-between;
.con_indexHeader{ padding-bottom: 20px;
position: absolute;
bottom: -60px;
left: 0;
right: 0;
margin: auto;
width: 95%;
height: 150px;
border-radius: 7px;
background: #fff;
} }
.con_indexHeader>view{
position: absolute; .indexHeader .title {
top: 0; color: white;
left: 0; font-size: 17px;
right: 0; padding-left: 20px;
bottom: 0;
margin: auto;
width: 95%;
height: 134px;
border-radius: 4px;
background: #fff;
overflow: hidden;
}
.con_indexHeader>view>image{
width: 100%;
height: 134px;
} }
.title{
position: absolute; .header_user {
top: 0;
left: 7%;
font-size: 13px;
display: flex; display: flex;
align-items: center; align-items: center;
height: 50px; height: 50px;
font-size: 13px;
padding-right: 20px;
color: #fff; color: #fff;
} }
.title>image{
.header_user image {
width: 40px; width: 40px;
height: 40px; height: 40px;
border-radius: 50%; border-radius: 50%;
margin-right: 10px;
} }
.girdList{
.con_indexHeader image {
margin-top: -20px;
width: 100%;
border-radius: 15px 15px 0 0;
}
.entrance {
width: 90%; width: 90%;
margin: 0 auto; height: 50px;
display: flex; display: flex;
justify-content: space-between;
align-items: center; align-items: center;
flex-wrap: wrap; justify-content: center;
font-size: 12px; border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
margin-top: -30px;
margin-left: 5%;
} }
.girdList>view{
width: 25%; .entrance .bgColor {
height: 73px; width: 100%;
height: 50px;
background-color: white;
font-size: 13px;
font-weight: bolder;
display: flex; display: flex;
align-items: center;
justify-content: center; justify-content: center;
border-radius: 10px;
}
.entrance .bgColor .logo_img {
width: 40px;
height: 48px;
}
.entrance .bgColor view {
display: flex;
align-items: center;
}
.entrance .bgColor text {
padding: 0 10px;
}
.entrance .bgColor view .right_img {
width: 8px;
height: 15px;
}
.girdList {
display: flex;
flex-direction: row;
align-items: center; align-items: center;
flex-wrap: wrap; justify-content: space-between;
margin: 20px;
} }
.girdList>view>image{
.girdList view {
display: flex;
flex-direction: column;
align-items: center;
}
.girdList view image {
width: 42px; width: 42px;
height: 42px; height: 42px;
padding: 10px 0;
} }
.girdList>view>view{
.girdList>view>view {
width: 100%; width: 100%;
text-align: center; text-align: center;
} }
.messageCount { .topTitle {
position: relative; position: static;
width:20px; width: 100%;
height:20px; height: 30px;
line-height: 20px; display: flex;
background: red; flex-direction: row;
color:#fff; align-items: center;
font-size: 12px; }
.topTitle .title {
margin-left: 10px;
font-size: 15px;
color: #000;
font-weight: bold;
}
.topTitle .leftLine {
height: 20px;
border-left: 5px solid #efc04c;
margin-left: 30px;
}
.topTitle .lookmore {
position: absolute;
right: 30px;
display: flex;
flex-direction: row;
}
.topTitle .lookmore text {
margin-right: 5px;
}
.topTitle .lookmore image {
width: 8px;
height: 15px;
}
.listActivity {
width: 100%;
}
.listActivity .activity {
margin: 20px;
border-radius: 10px; border-radius: 10px;
text-align: center; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
right:-50px;
top:-15px;
} }
.topTitle{ .activity .enroll_time {
width: 100%; width: 100%;
height: 30px;
display: flex; display: flex;
justify-content: space-between;
align-items: center; align-items: center;
justify-content: center;
height: 30px;
}
.activityContent {
position: relative; position: relative;
} }
.topTitle>view{
.listActivity .activityContent .top_title {
position: absolute;
top: 0;
right: 0;
border-radius: 0 10px 10px 10px;
background: #c1527e;
font-size: 14px;
padding: 5px 10px;
color: #fff;
}
.listActivity .activityContent .bottom_title {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 14px;
width: 100%;
justify-content: center; justify-content: center;
} width: 100%;
.topTitle>view>text{ position: absolute;
margin: 0 10px; bottom: 3px;
font-size: 15px; left: 0;
color: #000; background: rgba(0, 0, 0, 0.5);
font-size: 16px;
color: #fff;
padding: 5px 0;
font-weight: bold; font-weight: bold;
} }
.leftLine{
width: 18%; .listActivity .activityContent image {
height: 2px; width: 100%;
background: linear-gradient(to left, #599eff, #fff); border-radius: 10px 10px 0 0;
} }
.rightLine{
width: 18%; .class_info {
height: 2px; height: 30px;
background: linear-gradient(to right, #599eff, #fff); display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin: 0 10px;
} }
.topTitle>text{
position: absolute; .class_info view {
top: 0;
bottom: 0;
right: 5%;
margin: auto;
font-size: 12px;
color: #666;
display: flex; display: flex;
flex-direction: row;
align-items: center; align-items: center;
justify-content: center;
} }
.practice>view{ .class_info image {
width: 100%; width: 20px;
height: 20px;
} }
.class_info .watch {
font-size: 12px;
color: #999999;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment