fuint-uniapp-master/pages/order/index.vue

(开头部分) 10KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<template>
  <view class="container">
    <mescroll-body ref="mescrollRef" :sticky="true" @init="mescrollInit" :down="{ native: true }" @down="downCallback"
      :up="upOption" @up="upCallback">

      <!-- tab栏 -->
      <u-tabs :list="tabs" :is-scroll="false" :current="curTab" active-color="#FA2209" :duration="0.2" @change="onChangeTab" />

      <!-- 订单列表 -->
      <view class="order-list">
        <view class="order-item" v-for="(item, index) in list.content" :key="index">
          <view class="item-top" @click="handleTargetDetail(item.id)">
            <view class="item-top-left">
			  <text class="order-type">{{ item.typeName }}</text>
            </view>
            <view class="item-top-right">
              <text :class="item.status">{{ item.statusText }}</text>
            </view>
          </view>
          <!-- 商品列表 -->
          <view class="goods-list" v-if="item.goods" @click="handleTargetDetail(item.id)">
            <view class="goods-item" v-for="(goods, idx) in item.goods" :key="idx">
              <!-- 商品图片 -->
              <view class="goods-image">
                <image class="image" :src="goods.image"></image>
              </view>
              <!-- 商品信息 -->
              <view class="goods-content">
                <view class="goods-title twolist-hidden"><text>{{ goods.name }}</text></view>
				<view class="goods-props clearfix">
				  <view class="goods-props-item" v-for="(props, idx) in goods.specList" :key="idx">
					<text>{{ props.specValue }}</text>
				  </view>
				</view>
              </view>
              <!-- 交易信息 -->
              <view class="goods-trade">
                <view class="goods-price">
                  <text class="unit">¥</text>
                  <text class="value">{{ goods.price }}</text>
                </view>
                <view class="goods-num">
                  <text>×{{ goods.num }}</text>
                </view>
              </view>
            </view>
          </view>
		  <!-- 备注信息 -->
		  <view v-if="item.remark" class="remark" @click="handleTargetDetail(item.id)">
			  <text>备注:</text>
			  <text>{{ item.remark ? item.remark : '--'}}</text>
		  </view>
          <!-- 订单合计 -->
          <view class="order-total" @click="handleTargetDetail(item.id)">
            <text>总金额</text>
            <text class="unit">¥</text>
            <text class="money">{{ item.amount }}</text>
          </view>
          <!-- 订单操作 -->
          <view class="order-handle">
后面还有 363 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。