zhangwei
2024-08-27 71d2e42ae642cecb5e8f6776c702cd20bafe6c01
src/pages/index/index.vue
@@ -7,21 +7,21 @@
         </view>
      </up-sticky>
      <scroll-view enable-flex="true">
         <view class="list chuany-flex chuany-flex-direction chuany-align-center c-p-b-30"
         <view class="list chuany-flex chuany-flex-direction chuany-align-center c-p-b-30 "
            v-if="listO.orderList&&listO.orderList.length>0">
            <view class="content c-p-b-18" v-for="(item,index) in listO.orderList" @click='toDetail(item.id)' :key='item.id'>
               <view class="bgblue c-p-18 chuany-flex chuany-justify-between chuany-font34 chuany-text-bold">
               <view class="bgblue c-p-l-18 c-p-r-18 c-p-t-10 c-p-b-10 chuany-flex chuany-justify-between chuany-font30">
                  <view class="chuany-flex chuany-flex-direction">
                     <text class=''>
                        {{$util.formatDate(detailItem.wordStartTime,true)}}
                        {{$util.formatDate(item.wordStartTime,true)}}
                     </text>
                     <text>{{$util.formatDate(detailItem.wordEndTime,true)}}</text>
                     <text>{{$util.formatDate(item.wordEndTime,true)}}</text>
                  </view>
                  <text>
                     招{{item.worderCounted}}/{{item.worderCount}}人
                  </text>
               </view>
               <view class="c-p-18 chuany-font44 chuany-text-bold">
               <view class="c-p-l-18 c-p-b-14 c-p-t-14 c-p-r-18 chuany-font34">
                  {{item.orderName}}
               </view>
               <!-- <view class="chuany-flex c-p-l-18">
@@ -29,10 +29,10 @@
                  </up-tag>
               </view> -->
               <view class="chuany-flex chuany-flex-direction">
                  <text class='c-p-18'>
                  <text class='c-p-l-18 c-p-b-14 c-p-r-18'>
                     要求:{{item.demand}}
                  </text>
                  <text class='c-p-l-18 c-p-b-16'>
                  <text class='c-p-l-18 c-p-b-14 c-p-r-18'>
                     地址:{{item.worderAddress}}
                  </text>
               </view>
@@ -138,8 +138,8 @@
      }
      loadStatus.value = 'loading';
      $api.PostListPage(data).then(res => {
         console.log(res, res.code, '-----------123’');
         if (res.code == 1) {
            console.log(res, res.code, '-----------123’');
            if (state.pageIndex == 1) {
               listO.orderList = res.data.items
            } else {
@@ -186,7 +186,7 @@
   }
   .content {
      min-height: 430rpx;
      min-height: 330rpx;
      width: 90%;
      background-color: #fff;
      border-radius: 20rpx;