fuint-uniapp-master/pages/prestore/buy.vue

(开头部分) 6KB

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

<template>
  <view v-show="!isLoading" class="container">
    <!-- 卡券信息 -->
    <view v-if="!isLoading" class="coupon-info m-top20">
      <!-- 标题、分享 -->
      <view class="info-item info-item__name dis-flex flex-y-center">
        <view class="coupon-name flex-box">
          <text class="twolist-hidden">{{ couponInfo.name }}</text>
        </view>
        <!-- #ifdef MP-WEIXIN -->
        <view class="coupon-share__line"></view>
        <view class="coupon-share">
          <button class="share-btn dis-flex flex-dir-column" open-type="share">
            <text class="share__icon iconfont icon-fenxiang"></text>
            <text class="f-24">分享</text>
          </button>
        </view>
        <!-- #endif -->
      </view>
      <!-- 卡券预存规则 -->
	  <view class="store-rule">
		  <view class="title">预存规则:</view>
		  <view v-for="(item, index) in storeRule" :key="index" class="item">
			<text>预存¥{{ item.store }} 升至 ¥{{ item.upStore }}</text>
		  </view>
	  </view>
	  <view class="info-item">
	  	<text>已有<text class="number">{{ couponInfo.gotNum }}</text>人预存,剩余<text class="number">{{ couponInfo.limitNum }}</text>名额</text>
	  </view>
	  <view class="info-item">
	  	<text>有效期:{{ couponInfo.effectiveDate }}</text>
	  </view>
    </view>

    <!-- 选择卡券规格 -->
    <view class="coupon-choice m-top20 b-f" @click="onShowPopup()">
      <view class="spec-list">
        <view class="flex-box">
          <text class="col-8">选择:</text>
          <text class="spec-name" key="index">预存金额、数量</text>
        </view>
        <view class="f-26 col-9 t-r">
          <text class="iconfont icon-xiangyoujiantou"></text>
        </view>
      </view>
    </view>

    <!-- 预存选项弹窗 -->
    <Popup v-if="!isLoading" v-model="showPopup" :couponInfo="couponInfo" :storeRule="storeRule"/>

    <!-- 卡券描述 -->
    <view v-if="!isLoading" class="coupon-content m-top20">
      <view class="item-title b-f">
        <text>卡券描述</text>
      </view>
      <block v-if="couponInfo.description != ''">
        <view class="coupon-content-detail b-f">
          <jyf-parser :html="couponInfo.description"></jyf-parser>
        </view>
      </block>
后面还有 158 行代码,购买后查看完整代码

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

AI 解读 AI

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

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