<template>
  <view class="container">
    <div
      class="searchBox"
      :style="{ height: localHeight + 'px', paddingTop: top + 'px' }"
    >
      <view class="searchBox_left">
        <u-icon
          bold
          color="#000"
          size="40"
          name="arrow-left"
          @click="back"
        ></u-icon>
      </view>
      <div class="searchBox_mid">评价(38)</div>
      <div class="searchBox_right">
        <u-icon
          bold
          color="#000"
          size="40"
          name="arrow-left"
          @click="back"
        ></u-icon>
      </div>
    </div>

    <div class="EvaluateList">
      <div class="EvaluateItem" v-for="(item, index) in 3" :key="index">
        <div class="evaluateItem_header">
          <div class="evaluateItem_ava">
            <image src="https://static.hshuishang.com/property-img-file/com_MsgImg1.png"></image>
          </div>
          <div class="evaluateItem_msg">
            <div class="evaluateItem_msg1">TP</div>
            <div class="evaluateItem_msg2">
              <image
                v-for="(item, index) in 5"
                :key="index"
                src="https://static.hshuishang.com/property-img-file/homeServer_stait.png"
              ></image>
            </div>
          </div>
          <div class="evaluateItem_time">2025-06-24</div>
        </div>
        <div class="evaluateItem_main">真好啊！真棒啊！优秀！</div>
        <div class="evaluateItem_Score">技术评级：70分</div>
      </div>
    </div>
  </view>
</template>

<script>
import {
  request,
  picUrl,
  NavgateTo,
  menuButtonInfo,
} from "../../../utils/index";
import { apiArr } from "../../../api/reservation";

export default {
  data() {
    return {
      top: "",
      localHeight: "",
    };
  },
  methods: {
    back() {
      NavgateTo("1");
    },
  },
  onReady() {},

  onLoad(options) {
    const meun = menuButtonInfo();
    this.top = meun.top;
    this.localHeight = meun.height;
  },
  onShow() {},

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {},
};
</script>

<style>
@import url("./index.css");
</style>