fuint-uniapp-master/pages/timer/detail.vue

(开头部分) 6KB

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

<template>
  <view v-if="!isLoading" class="container b-f p-b">
    <view class="base">
		 <view class="coupon-image">
			<image class="image" :src="detail.image"></image>
		 </view>
		<view class="coupon-title">
		  <text class="name f-32">{{ detail.name }}</text>
		  <view class="time">有效期:{{ detail.effectiveDate }}</view>
		</view>
	</view>
	<view v-if="dataList.length > 0" class="coupon-timer">
	  <view class="tips">完成情况({{detail.confirmCount}}/{{detail.useRule}})</view>
	  <uni-row class="time-row" v-for="row in dataList">
	  	<uni-col :span="rowCount" v-for="item in row.data" class="time-item">
	  		<view v-if="item.isActive == true" class="time active"></view>
	  		<view v-else class="time"></view>
	  	</uni-col>
	  </uni-row>
	</view>
    <view v-if="detail.qrCode" class="coupon-qr">
      <view>
         <image class="image" :src="detail.qrCode"></image>
      </view>
      <view class="qr-code">
          <p class="code">核销码:{{ detail.code }}</p>
		  <p class="tips">请出示以上券码给核销人员</p>
      </view>
    </view>
    <view class="coupon-content m-top20">
		<view class="title">使用须知</view>
        <view class="content"><jyf-parser :html="detail.description"></jyf-parser></view>
    </view>
    <!-- 快捷导航 -->
    <shortcut />
	
	<!-- 底部选项卡 -->
	<view v-if="!detail.code && !detail.isReceive" class="footer-fixed">
	  <view class="footer-container">
	    <!-- 操作按钮 -->
	    <view class="foo-item-btn">
	      <view class="btn-wrapper">
	        <view class="btn-item btn-item-main" @click="receive(detail.id)">
	          <text>参加集次</text>
	        </view>
	      </view>
	    </view>
	  </view>
	</view>
  </view>
</template>

<script>
  import jyfParser from '@/components/jyf-parser/jyf-parser'
  import Shortcut from '@/components/shortcut'
  import Row from '@/components/oveui-layout/row/row.vue';
  import oCol from '@/components/oveui-layout/o-col/o-col.vue';
  import * as myCouponApi from '@/api/myCoupon'
  import * as couponApi from '@/api/coupon'

后面还有 245 行代码,购买后查看完整代码

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

AI 解读 AI

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

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