@@ -8,7 +8,7 @@ Page({
*/
data: {
src: '/image/home.png',
- frameStyle: { useTop: false, name: '查询比赛', leftArrow: false, useBar: true},
+ frameStyle: { useTop: true, name: '查询比赛', leftArrow: false, useBar: true},
// 主体高度
infoHeight: '',
list: [
@@ -1,7 +1,6 @@
<mobile-main frameStyle="{{frameStyle}}" bind:tabPath="tabPath">
<view slot="info" class="main" style="height:{{infoHeight}}px;">
<view class="one">
- <view class="one-1"> <text>查询比赛</text></view>
<view class="one-2">
<van-tabs v-model:active="activeName">
<van-tab title="待参加" name="a" style="font-weight: 500;">
@@ -8,12 +8,8 @@
margin-top: 32px;
font-weight: 500;
}
-.one-1 {
- margin-bottom: -5px;
- text-align: center;
- font-weight: 500;
- height: 40px;
- background-color: white;
+.one-2{
+margin-top: -10px;
.van-tabs__line {
margin-left: 27px !important;
@@ -126,6 +122,7 @@ button {
width: 50%;
.otherInfo {
+ margin-top: 2px;
position: relative;
width: 60%;
text-align: left;