Commit 76d80f73 by biao

11111

parent 4b4d6503
...@@ -18,6 +18,10 @@ Component({ ...@@ -18,6 +18,10 @@ Component({
background: { background: {
type: String, type: String,
value: "#fff" value: "#fff"
},
color: {
type: String,
value: "#000"
} }
}, },
data: { data: {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<image src='../../img/n2.png'></image> <image src='../../img/n2.png'></image>
</view> </view>
</view> </view>
<view class='title'>{{text}}</view> <view class='title' style="color:{{color}}">{{text}}</view>
</view> </view>
</view> </view>
<view style="{{'height: ' + navHeight}};background: white;"></view> <view style="{{'height: ' + navHeight}};background: white;"></view>
\ No newline at end of file
<!--pages/index/index.wxml--> <!--pages/index/index.wxml-->
<custom-navi text="" back="{{false}}" home="{{false}}" background="#5296f4"></custom-navi> <custom-navi text="全国教育志愿服务公共服务平台" back="{{false}}" home="{{false}}" background="#FF82AB" color="#FFD700"></custom-navi>
<view class='indexBox'> <view class='indexBox'>
<view class="indexHeader"> <view class="indexHeader">
<view class='con_indexHeader'> <view class='con_indexHeader'>
......
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
width: 100%; width: 100%;
height: 150px; height: 150px;
border-radius: 0 0 10px 10px; border-radius: 0 0 10px 10px;
background: #5296f4; background: #FF82AB;
background: linear-gradient(to bottom, #5296f4, #7474e4);
margin-bottom: 70px margin-bottom: 70px
} }
.con_indexHeader{ .con_indexHeader{
......
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