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

(开头部分) 13KB

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

<template>
  <view v-if="!isLoading" class="container">
    <!-- 页面头部 -->
    <view class="main-header" :style="{ paddingTop: $platform == 'H5' ? '0' : '50rpx' }">
      <!-- 用户信息 -->
      <view v-if="isLogin" class="user-info">
        <view class="user-content">
	      <!-- 会员昵称 -->
          <view class="nick-name">{{ dataInfo.confirmInfo.realName }}</view>
          <!-- 手机号 -->
          <view  class="mobile">{{ dataInfo.confirmInfo.mobile }}</view>
        </view>
		<view class="amount-info">
			<view class="amount-tip">交易金额(元)</view>
			<view v-if="dataInfo.payMoney" class="amount-num">{{ dataInfo.payMoney.toFixed(2) }}</view>
			<view v-if="!dataInfo.payMoney" class="amount-num">0.00</view>
		</view>
      </view>
      <!-- 未登录 -->
      <view v-if="!isLogin" class="user-info" @click="handleLogin">
        <view class="user-content">
          <view class="nick-name">未登录</view>
          <view class="login-tips">点击登录账号</view>
        </view>
      </view>
    </view>
	<view v-if="isLogin" class="user-app">
	  <view class="item">
		<view class="tool" @click="scanCodeConfirm">
	  	   <view class="icon">
			   <image class="image" src="/static/icon/saoyisao.png" mode="scaleToFill"></image>
		   </view>
	  	   <view class="text">核销卡券</view>
		</view>
	  </view>
		<view class="item">
			<view class="tool">
				<view class="icon">
					<image class="image" src="/static/icon/saoma.png" mode="scaleToFill"></image>
				</view>
				<view class="text">扫码收款</view>
			</view>
		</view>
	</view>

    <!-- 我的资产 -->
    <view class="my-asset">
      <view class="asset-left flex-box dis-flex flex-x-center">
        <view class="asset-left-item">
          <view class="item-value dis-flex flex-x-center">
            <text>{{ dataInfo.userCount }}</text>
          </view>
          <view class="item-name dis-flex flex-x-center">
            <text>总会员</text>
          </view>
        </view>
        <view class="asset-left-item">
          <view class="item-value dis-flex flex-x-center">
            <text>{{ dataInfo.todayUser ? dataInfo.todayUser : 0}}</text>
          </view>
后面还有 490 行代码,购买后查看完整代码

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

AI 解读 AI

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

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