zs 3 år sedan
förälder
incheckning
ac1ed636c7
3 ändrade filer med 4 tillägg och 8 borttagningar
  1. 1 1
      pages/search/index.js
  2. 0 1
      pages/search/index.wxml
  3. 3 6
      pages/search/index.wxss

+ 1 - 1
pages/search/index.js

@@ -8,7 +8,7 @@ Page({
    */
    */
   data: {
   data: {
     src: '/image/home.png',
     src: '/image/home.png',
-    frameStyle: { useTop: false, name: '查询比赛', leftArrow: false, useBar: true},
+    frameStyle: { useTop: true, name: '查询比赛', leftArrow: false, useBar: true},
     // 主体高度
     // 主体高度
     infoHeight: '',
     infoHeight: '',
     list: [
     list: [

+ 0 - 1
pages/search/index.wxml

@@ -1,7 +1,6 @@
 <mobile-main frameStyle="{{frameStyle}}" bind:tabPath="tabPath">
 <mobile-main frameStyle="{{frameStyle}}" bind:tabPath="tabPath">
   <view slot="info" class="main" style="height:{{infoHeight}}px;">
   <view slot="info" class="main" style="height:{{infoHeight}}px;">
     <view class="one">
     <view class="one">
-      <view class="one-1"> <text>查询比赛</text></view>
       <view class="one-2">
       <view class="one-2">
         <van-tabs v-model:active="activeName">
         <van-tabs v-model:active="activeName">
           <van-tab title="待参加" name="a" style="font-weight: 500;">
           <van-tab title="待参加" name="a" style="font-weight: 500;">

+ 3 - 6
pages/search/index.wxss

@@ -8,12 +8,8 @@
   margin-top: 32px;
   margin-top: 32px;
   font-weight: 500;
   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 {
 .van-tabs__line {
   margin-left: 27px !important;
   margin-left: 27px !important;
@@ -126,6 +122,7 @@ button {
   width: 50%;
   width: 50%;
 }
 }
 .otherInfo {
 .otherInfo {
+  margin-top: 2px;
   position: relative;
   position: relative;
   width: 60%;
   width: 60%;
   text-align: left;
   text-align: left;