|
@@ -1,200 +1,218 @@
|
|
<template>
|
|
<template>
|
|
<view class="container">
|
|
<view class="container">
|
|
- <view class="topBox flex">
|
|
|
|
- <view class="topTpl flex_item">
|
|
|
|
- <image style="width: 49rpx;height: 45rpx;" src="/static/img/logo.png"></image>
|
|
|
|
- <view class="tpl clamp">BNB Smart Chain</view>
|
|
|
|
- </view>
|
|
|
|
- <view class="topTpl flex_item margin-l-30" v-if="userInfo.address">
|
|
|
|
- <image class="userIcon" src="/static/img/img10.png"></image>
|
|
|
|
- <view class="tpls clamp">{{userInfo.address|hideCenter}}</view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="levelBox flex">
|
|
|
|
- <view class="levelInfo flex_item">
|
|
|
|
- <image src="/static/img/img04.png" style="width: 50rpx;height: 61rpx;"></image>
|
|
|
|
- <view class="levelTpl">
|
|
|
|
- <view class="level">S{{userInfo.level||'0'}}</view>
|
|
|
|
|
|
+ <navBar></navBar>
|
|
|
|
+ <view class="contenCenter">
|
|
|
|
+ <!-- 轮播图 -->
|
|
|
|
+ <swiper class="top-swiper position-relative" autoplay="true" duration="400" interval="5000">
|
|
|
|
+ <swiper-item v-for="(item, index) in bannerList" :key="index" class="carousel-item">
|
|
|
|
+ <image :src="baseURL+item" />
|
|
|
|
+ </swiper-item>
|
|
|
|
+ </swiper>
|
|
|
|
+ <!-- 轮播图END -->
|
|
|
|
+
|
|
|
|
+ <!-- 中间列表 -->
|
|
|
|
+ <view class="itemList flex padding-r-30 margin-t-30">
|
|
|
|
+ <view class="itemLeft flex">
|
|
|
|
+ <image class="itemImg topOne" src="../../static/img/itemList.png" mode="widthFix"></image>
|
|
|
|
+ <view class="itemTitle">
|
|
|
|
+ {{($t("home.共创社区"))}}
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- <view class="levelTpl">
|
|
|
|
- <view class="level">L{{userInfo.point_level||'0'}}</view>
|
|
|
|
|
|
+ <view class="itemRight flex" @click="openPayMoney">
|
|
|
|
+ <view>
|
|
|
|
+ <view class="moneyLine text-linear-gradient">
|
|
|
|
+ $300
|
|
|
|
+ </view>
|
|
|
|
+ <view class="margin-t-10">
|
|
|
|
+ {{($t("home.立即前往"))}}
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <image class="next" src="../../static/img/mininext.png" mode="scaleToFill"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="levelRight flex_item">
|
|
|
|
- <!-- <view class="flex_item method">
|
|
|
|
- <view class="">{{$t('home.教程')}}</view>
|
|
|
|
- <image src="/static/img/img02.png" style="width: 30rpx;height: 30rpx;margin-left: 8rpx;"></image>
|
|
|
|
- </view> -->
|
|
|
|
- <view class="flex_item invitation" @click="copyShareLink">
|
|
|
|
- <view class="">{{$t('home.邀请连接')}}</view>
|
|
|
|
- <image src="/static/img/img03.png" style="width: 24rpx;height: 28rpx;margin-left: 8rpx;"></image>
|
|
|
|
|
|
+ <view class="itemList flex padding-r-30 ">
|
|
|
|
+ <view class="itemLeft flex">
|
|
|
|
+ <image class="itemImg" src="../../static/img/itemList1.png" mode="center"></image>
|
|
|
|
+ <view class="itemTitle">
|
|
|
|
+ {{($t("home.闪兑"))}}
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="flex infoBox">
|
|
|
|
- <view class="info flex_item" v-if="userInfo.address">
|
|
|
|
- <view class="infoName">{{$t('home.账号')}}:</view>
|
|
|
|
- <view class="flex_item infoTpl clamp">
|
|
|
|
- <view class="clamp account">{{userInfo.address|hideCenter}}</view>
|
|
|
|
- <image src="/static/img/img03.png" class="infoTplImg" @click="copyAddress"></image>
|
|
|
|
|
|
+ <view class="itemRight flex" @click="navto('./buling')">
|
|
|
|
+ <view>
|
|
|
|
+ {{($t("home.立即前往"))}}
|
|
|
|
+ </view>
|
|
|
|
+ <image class="next" src="../../static/img/mininext.png" mode="scaleToFill"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="langBox flex_item">
|
|
|
|
- <!-- <image src="/static/img/img08.png" style="width: 36rpx;height: 34rpx;"></image> -->
|
|
|
|
- <picker :range="langList" range-key='label' @change="selectLang">
|
|
|
|
- <view class="langType">{{label}}</view>
|
|
|
|
- </picker>
|
|
|
|
- <image src="/static/img/img01.png" style="width: 15rpx;height: 10rpx;"></image>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="withdrawalBox">
|
|
|
|
- <view class="moneyName">{{$t('home.可提现')}}</view>
|
|
|
|
- <view class="flex">
|
|
|
|
- <!-- USTD -->
|
|
|
|
- <view>
|
|
|
|
- <view class="moneyBox">
|
|
|
|
- <view class="money" v-if="userInfo.USDT">{{userInfo.USDT|failNumber}}USDT</view>
|
|
|
|
- <view class="money" v-else>0.00USDT</view>
|
|
|
|
|
|
+ <view class="itemList flex padding-r-30">
|
|
|
|
+ <view class="itemLeft flex">
|
|
|
|
+ <image class="itemImg" src="../../static/img/itemList2.png" mode="center"></image>
|
|
|
|
+ <view class="itemTitle">
|
|
|
|
+ {{($t("home.节点认购"))}}
|
|
</view>
|
|
</view>
|
|
- <view class="withdrawal" @click="withdrawBtn(userInfo.USDT,'USDT')">{{$t('home.提现')}}</view>
|
|
|
|
</view>
|
|
</view>
|
|
- <!-- VGT -->
|
|
|
|
- <view>
|
|
|
|
- <view class="moneyBox">
|
|
|
|
- <!-- <view class="moneyName">{{$t('home.余额')}}</view> -->
|
|
|
|
- <view class="money" v-if="userInfo.VGT">{{userInfo.VGT|failNumber}}VGT</view>
|
|
|
|
- <view class="money" v-else>0.00VGT</view>
|
|
|
|
|
|
+ <view class="itemRight flex" @click="navto('./node')">
|
|
|
|
+ <view>
|
|
|
|
+ {{($t("home.立即前往"))}}
|
|
</view>
|
|
</view>
|
|
- <view class="withdrawal" @click="withdrawBtn(userInfo.VGT,'VGT')">{{$t('home.提现')}}</view>
|
|
|
|
|
|
+ <image class="next" src="../../static/img/mininext.png" mode="scaleToFill"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class="exchangeBox">
|
|
|
|
- <view class="exchangeTop flex">
|
|
|
|
- <view class="exchangeName">{{$t('home.充值')}}</view>
|
|
|
|
- <view class="exchangeTpl flex_item">
|
|
|
|
- <image src="/static/img/img05.png" style="width: 28rpx;height: 24rpx;"></image>
|
|
|
|
- <view class="exchangeText" @click="transferShow = true">{{$t('home.转账')}}</view>
|
|
|
|
|
|
+ <view class="itemList flex padding-v-30 padding-c-30">
|
|
|
|
+ <view class="itemLeft flex">
|
|
|
|
+ <view class="imageBg flex-center">
|
|
|
|
+ <image class="bgTip" src="../../static/img/itemList3.png" mode="center"></image>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="itemTitle">
|
|
|
|
+ <view class="nameBox flex flex-start">
|
|
|
|
+ <view class="name">
|
|
|
|
+ BCMM
|
|
|
|
+ </view>
|
|
|
|
+ <!-- <view class="upNum">
|
|
|
|
+ <text class="font-size-sm">+</text>10%
|
|
|
|
+ </view> -->
|
|
|
|
+ </view>
|
|
|
|
+ <view class="type margin-t-10">
|
|
|
|
+ {{($t("home.币种"))}}
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="itemRight">
|
|
|
|
+ <view class="money">
|
|
|
|
+ {{indexBase.price}}U
|
|
|
|
+ </view>
|
|
|
|
+ <view class="moneyText">
|
|
|
|
+ {{($t("home.今日价格"))}}
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="exchangeInfo flex">
|
|
|
|
- <view class="currency flex_item">
|
|
|
|
- <image class="moneyIcon" src="/static/img/homeVGT.png"></image>
|
|
|
|
- <input class="name" v-model="PayUSDT" @blur="addMoney" type="number" placeholder="VGT" />
|
|
|
|
|
|
+ <view class="itemList flex padding-r-30">
|
|
|
|
+ <view class="itemLeft flex">
|
|
|
|
+ <image class="itemImg" src="../../static/img/itemList4.png" mode="center"></image>
|
|
|
|
+ <view class="itemTitle">
|
|
|
|
+ {{($t("home.模式说明"))}}
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="itemRight flex" @click="navto('./info')">
|
|
|
|
+ <view>
|
|
|
|
+ {{($t("home.立即前往"))}}
|
|
|
|
+ </view>
|
|
|
|
+ <image class="next" src="../../static/img/mininext.png" mode="scaleToFill"></image>
|
|
</view>
|
|
</view>
|
|
- <!-- <image src="/static/img/img07.png" style="width: 56rpx;height: 56rpx;"></image>
|
|
|
|
- <view class="currency flex_item">
|
|
|
|
- <image class="moneyIcon" src="/static/img/homeVGT.png" style=""></image>
|
|
|
|
- <input :value="($util.Mul(PayUSDT,userInfo.real_ratio))||''" class="name" type="number"
|
|
|
|
- placeholder="VGT" disabled />
|
|
|
|
- </view> -->
|
|
|
|
</view>
|
|
</view>
|
|
- <view class="exchangeMoney flex">
|
|
|
|
- <!-- <view class="moneyTitle">{{$t('home.余额')}}:
|
|
|
|
- <text v-if="userInfo.USDT">{{userInfo.USDT|failNumber}}</text>
|
|
|
|
- <text v-else>0.00</text>
|
|
|
|
- </view> -->
|
|
|
|
- <view class="moneyTitle">{{$t('home.余额')}}:
|
|
|
|
- <text v-if="userInfo.VGT">{{userInfo.VGT|failNumber}}</text>
|
|
|
|
- <text v-else>0.00</text>
|
|
|
|
|
|
+ <!-- 中间列表END -->
|
|
|
|
+ <!-- 邀请 -->
|
|
|
|
+ <view class="contentText">
|
|
|
|
+ {{$t('home.邀请地址')}}
|
|
|
|
+ </view>
|
|
|
|
+ <view class="contentBox flex background-linear-gradient" @click="copyShareLink">
|
|
|
|
+ <view class="shareLink clamp">
|
|
|
|
+ {{userInfo.address}}
|
|
|
|
+ </view>
|
|
|
|
+ <view class="copy">
|
|
|
|
+ {{($t("home.复制"))}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class="orderBox">
|
|
|
|
- <view class="orderList" v-for="item,index in orderList" :key="index">
|
|
|
|
- <view class="orderTop flex">
|
|
|
|
- <view class="topTitle flex_item">
|
|
|
|
- <image src="/static/img/img06.png" style="width: 59rpx;height: 60rpx;"></image>
|
|
|
|
- <view class="topName" v-if="lang=='tw'">{{item.name}}</view>
|
|
|
|
- <view class="topName" v-if="lang=='en'">{{item.en_name}}</view>
|
|
|
|
- <view class="topTip" :style="{background:( item.showswitch == 1? '#15C66E' :'#FF0000')}"></view>
|
|
|
|
|
|
+ <!-- 邀请END -->
|
|
|
|
+
|
|
|
|
+ <!-- 功能排 -->
|
|
|
|
+ <view class="listConfige flex">
|
|
|
|
+ <view class="list background-linear-gradient" @click="navto('/pages/user/shareItem')">
|
|
|
|
+ <view class="listImg">
|
|
|
|
+ <image class="imageTip" src="../../static/img/config01.png" mode="widthFix"></image>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="listName">
|
|
|
|
+ {{($t("home.我的邀请"))}}
|
|
|
|
+ </view>
|
|
|
|
+ <view class="listTip">
|
|
|
|
+ {{($t("home.邀请团队信息"))}}
|
|
</view>
|
|
</view>
|
|
- <view class="topPrice">{{item.money_min}}-{{item.money_max}}USDT</view>
|
|
|
|
</view>
|
|
</view>
|
|
- <view class="orderInfo">
|
|
|
|
- <view class="infoTpl flex_item">
|
|
|
|
- <image src="/static/img/img13.png" style="width: 26rpx;height: 26rpx;"></image>
|
|
|
|
- <view class="tplText">{{$t('home.时间')}}:<text>{{item.begin}}-{{item.end}}</text></view>
|
|
|
|
|
|
+ <view class="list background-linear-gradient" @click="navto('/pages/user/user')">
|
|
|
|
+ <view class="listImg">
|
|
|
|
+ <image class="imageTip" src="../../static/img/config02.png" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
- <view class="infoTpl flex_item">
|
|
|
|
- <image src="/static/img/img14.png" style="width: 26rpx;height: 26rpx;"></image>
|
|
|
|
- <view class="tplText">{{$t('home.周期')}}:<text>{{item.day}}{{$t('home.天')}}</text></view>
|
|
|
|
|
|
+ <view class="listName">
|
|
|
|
+ {{($t("home.我的资产"))}}
|
|
|
|
+ </view>
|
|
|
|
+ <view class="listTip">
|
|
|
|
+ {{($t("home.资产明细"))}}
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="list background-linear-gradient" @click="navto('/pages/user/myDetail?type=BCMM')">
|
|
|
|
+ <view class="listImg">
|
|
|
|
+ <image class="imageTip" src="../../static/img/config03.png" mode="widthFix"></image>
|
|
</view>
|
|
</view>
|
|
- <view class="infoTpl flex_item">
|
|
|
|
- <image src="/static/img/img12.png" style="width: 26rpx;height: 26rpx;"></image>
|
|
|
|
- <view class="tplText">{{$t('home.收益')}}:<text>{{item.ratio}}</text></view>
|
|
|
|
|
|
+ <view class="listName">
|
|
|
|
+
|
|
|
|
+ {{($t("home.我的收益"))}}
|
|
</view>
|
|
</view>
|
|
- <view class="subscribe" @click="openSubscrib(item)" v-if="item.showswitch == 1">{{$t('home.预约')}}
|
|
|
|
|
|
+ <view class="listTip">
|
|
|
|
+ {{($t("home.收益明细"))}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <u-popup :show="subscribeShow" @close="subscribeClose" :closeable="true">
|
|
|
|
- <view class="subscribePopup">
|
|
|
|
- <view class="popupTitle">{{orderItem.name}}</view>
|
|
|
|
- <view class="popupBox flex">
|
|
|
|
- <view class="popupTpl flex_item">
|
|
|
|
- <image src="/static/img/img12.png" style="width: 26rpx;height: 26rpx;"></image>
|
|
|
|
- <view class="tplName">{{$t('home.收益')}}:<text>{{orderItem.ratio}}</text></view>
|
|
|
|
|
|
+ <!-- 功能排END -->
|
|
|
|
+ <!-- 说明 -->
|
|
|
|
+ <view class="listConfige flex">
|
|
|
|
+ <view class="list big background-linear-gradient">
|
|
|
|
+ <view class="listImg">
|
|
|
|
+ <image class="imageTip" src="../../static/img/detail01.png" mode="center"></image>
|
|
</view>
|
|
</view>
|
|
- <view class="popupTpl flex_item">
|
|
|
|
- <image src="/static/img/img14.png" style="width: 26rpx;height: 26rpx;"></image>
|
|
|
|
- <view class="tplName">{{$t('home.周期')}}:<text>{{orderItem.day}}{{$t('home.天')}}</text></view>
|
|
|
|
|
|
+ <view class="listMinName">
|
|
|
|
+ {{($t("home.共创"))}}
|
|
</view>
|
|
</view>
|
|
- </view>
|
|
|
|
- <view class="popupBox">
|
|
|
|
- <view class="popupTpl flex_item">
|
|
|
|
- <image src="/static/img/img13.png" style="width: 26rpx;height: 26rpx;"></image>
|
|
|
|
- <view class="tplName">{{$t('home.时间')}}:<text>{{orderItem.begin}}-{{orderItem.end}}</text>
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view class="listMinTip">
|
|
|
|
+ {{($t("home.行业领先"))}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="popupBox">
|
|
|
|
- <view class="popupTpl flex_item">
|
|
|
|
- <image src="/static/img/img14.png" style="width: 26rpx;height: 26rpx;"></image>
|
|
|
|
- <view class="tplName">{{$t('home.价格')}}:<text
|
|
|
|
- class="price">{{orderItem.min|failNumber}}-{{orderItem.max|failNumber}}USDT</text></view>
|
|
|
|
|
|
+ <view class="list big background-linear-gradient">
|
|
|
|
+ <view class="listImg">
|
|
|
|
+ <image class="imageTip" src="../../static/img/detail02.png" mode="center"></image>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="listMinName">
|
|
|
|
+ {{($t("home.共享"))}}
|
|
|
|
+ </view>
|
|
|
|
+ <view class="listMinTip">
|
|
|
|
+ {{($t("home.为全球数十个国家"))}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="timeBox">
|
|
|
|
- <view class="timeTitle">{{$t('home.请选择预约')}}</view>
|
|
|
|
- <view class="flex timeTpl">
|
|
|
|
- <view class="timeName" v-for="item,index in timeList"
|
|
|
|
- :class="item.check == true ? 'active' : ''" @click="timeSelect(item)" :key="index">
|
|
|
|
- {{item.name}}
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view class="list big background-linear-gradient">
|
|
|
|
+ <view class="listImg">
|
|
|
|
+ <image class="imageTip" src="../../static/img/detail03.png" mode="center"></image>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="listMinName">
|
|
|
|
+ {{($t("home.共富"))}}
|
|
|
|
+ </view>
|
|
|
|
+ <view class="listMinTip">
|
|
|
|
+ {{($t("home.BMCC生态"))}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="subscribeBtn" @click="submitTime">{{$t('home.预约')}}</view>
|
|
|
|
</view>
|
|
</view>
|
|
- </u-popup>
|
|
|
|
- <u-popup :show="transferShow" @close="transferShow = false" :closeable="true">
|
|
|
|
- <view class="transferPopup">
|
|
|
|
- <view class="popupTitle">VGT{{$t('home.转出数量')}}</view>
|
|
|
|
- <view class="inputBox">
|
|
|
|
- <view class="inputTitle">{{$t('home.请输入VGT转出数量')}}</view>
|
|
|
|
- <input class="inputTpl" type="text" v-model="transferNum" :placeholder="$t('home.请输入VGT转出数量')" />
|
|
|
|
- </view>
|
|
|
|
- <view class="inputBox">
|
|
|
|
- <view class="inputTitle">{{$t('home.请输入VGT接收地址')}}</view>
|
|
|
|
- <input class="inputTpl" type="text" v-model="transferAddr" :placeholder="$t('home.请输入VGT接收地址')" />
|
|
|
|
- </view>
|
|
|
|
- <view class="subscribeBtn" @click="submitTransfer">{{$t('home.确定')}}</view>
|
|
|
|
|
|
+ <!-- 说明END -->
|
|
|
|
+
|
|
|
|
+ <!-- 底部合作伙伴 -->
|
|
|
|
+ <view class="footerTitle margin-t-30 padding-t-30">
|
|
|
|
+ {{($t("home.合作伙伴"))}}
|
|
|
|
+ </view>
|
|
|
|
+ <view class="footerTitle margin-t-20">
|
|
|
|
+ Partners
|
|
|
|
+ </view>
|
|
|
|
+ <view class="footerImage">
|
|
|
|
+ <image class="footerImg" src="../../static/img/footerImg.png" mode="scaleToFill"></image>
|
|
</view>
|
|
</view>
|
|
- </u-popup>
|
|
|
|
- <taber></taber>
|
|
|
|
|
|
+ <!-- 底部合作伙伴END -->
|
|
|
|
+ </view>
|
|
|
|
+
|
|
|
|
+ <!-- <taber></taber> -->
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
import {
|
|
import {
|
|
- auctions,
|
|
|
|
- trade,
|
|
|
|
- changeCalculator,
|
|
|
|
- change,
|
|
|
|
- appointment,
|
|
|
|
- extract,
|
|
|
|
- chargeCalculator,
|
|
|
|
- charge
|
|
|
|
|
|
+ loadIndexs,
|
|
|
|
+ creatorOrder,
|
|
|
|
+ payOrder,
|
|
|
|
+ orderCalculator
|
|
} from '@/api/index.js';
|
|
} from '@/api/index.js';
|
|
import {
|
|
import {
|
|
getUserInfo
|
|
getUserInfo
|
|
@@ -208,78 +226,29 @@
|
|
mapActions,
|
|
mapActions,
|
|
mapMutations
|
|
mapMutations
|
|
} from "vuex";
|
|
} from "vuex";
|
|
- import taber from "@/components/footer/footer.vue";
|
|
|
|
- import icon from '../../uni_modules/uview-ui/libs/config/props/icon';
|
|
|
|
|
|
+ // import taber from "@/components/footer/footer.vue";
|
|
|
|
+ import navBar from "@/components/nav/nav.vue"
|
|
export default {
|
|
export default {
|
|
filters: {
|
|
filters: {
|
|
- hideCenter: function(value) {
|
|
|
|
- const st = value.slice(7,value.length-7);
|
|
|
|
- const sr = value.replace(st,'...')
|
|
|
|
- return sr;
|
|
|
|
- },
|
|
|
|
- failNumber:function(number){
|
|
|
|
|
|
+ failNumber: function(number) {
|
|
return +(+number).toFixed(2)
|
|
return +(+number).toFixed(2)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
components: {
|
|
components: {
|
|
- taber
|
|
|
|
|
|
+ navBar
|
|
|
|
+ // taber
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- orderList: [],
|
|
|
|
- subscribeShow: false, //预约时间弹窗
|
|
|
|
- orderItem: {}, //点击预约的数据
|
|
|
|
- //转账参数
|
|
|
|
- transferShow: false, //转账弹窗
|
|
|
|
- transferNum: '', //转账数量
|
|
|
|
- transferAddr: '', //转账地址
|
|
|
|
- loading: 'loadmore', //加载状态
|
|
|
|
- PayUSDT: '', //兑换的usde
|
|
|
|
- getVGT: 0, //获得的VGT
|
|
|
|
- typeList: [{
|
|
|
|
- name: "今天",
|
|
|
|
- langname: "今天",
|
|
|
|
- check: false,
|
|
|
|
- type: 1
|
|
|
|
- }, {
|
|
|
|
- name: "明天",
|
|
|
|
- langname: "明天",
|
|
|
|
- check: false,
|
|
|
|
- type: 2
|
|
|
|
- }, {
|
|
|
|
- name: "后天",
|
|
|
|
- langname: "后天",
|
|
|
|
- check: false,
|
|
|
|
- type: 3
|
|
|
|
- }]
|
|
|
|
|
|
+ bannerList: [],
|
|
|
|
+ indexBase: {
|
|
|
|
+ price: 'loding',
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
- ...mapState({
|
|
|
|
- langList: "langList",
|
|
|
|
- lang: "lang",
|
|
|
|
- }),
|
|
|
|
...mapState(['baseURL', 'urlFile']),
|
|
...mapState(['baseURL', 'urlFile']),
|
|
...mapState("user", ['userInfo', 'hasLogin']),
|
|
...mapState("user", ['userInfo', 'hasLogin']),
|
|
- label() {
|
|
|
|
- let label = ''
|
|
|
|
- try {
|
|
|
|
- label = this.langList.find((item) => {
|
|
|
|
- return item.value == this.lang
|
|
|
|
- }).label;
|
|
|
|
- } catch (e) {
|
|
|
|
- label = 'tw'
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- return label
|
|
|
|
- },
|
|
|
|
- //时间列表
|
|
|
|
- timeList() {
|
|
|
|
- for (var i = 0; i < this.typeList.length; i++) {
|
|
|
|
- this.typeList[i].name = this.$t(`home.${this.typeList[i].langname}`)
|
|
|
|
- }
|
|
|
|
- return this.typeList;
|
|
|
|
- }
|
|
|
|
},
|
|
},
|
|
onLoad(option) {
|
|
onLoad(option) {
|
|
if (option.spread) {
|
|
if (option.spread) {
|
|
@@ -292,81 +261,76 @@
|
|
this.getUserInfo();
|
|
this.getUserInfo();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- ...mapMutations('user', ['setUserInfo', 'login']),
|
|
|
|
- ...mapActions({
|
|
|
|
- setLang: "setLang",
|
|
|
|
- }),
|
|
|
|
- // 申请提现
|
|
|
|
- withdrawBtn(money,type) {
|
|
|
|
- let token = ''
|
|
|
|
- if(type == 'USDT'){
|
|
|
|
- token = 'USDT'
|
|
|
|
- if (+this.userInfo.USDT == 0) {
|
|
|
|
- uni.showToast({
|
|
|
|
- title: this.$t('home.无法提现'),
|
|
|
|
- icon: "error"
|
|
|
|
- });
|
|
|
|
- }
|
|
|
|
- return false
|
|
|
|
- }
|
|
|
|
- if(type == 'VGT'){
|
|
|
|
- token = 'VGT_OUT'
|
|
|
|
- if (+this.userInfo.VGT == 0) {
|
|
|
|
- uni.showToast({
|
|
|
|
- title: this.$t('home.无法提现'),
|
|
|
|
- icon: "error"
|
|
|
|
|
|
+ ...mapMutations('user', ['setUserInfo']),
|
|
|
|
+ // 报单
|
|
|
|
+ openPayMoney() {
|
|
|
|
+ const that = this;
|
|
|
|
+ uni.showActionSheet({
|
|
|
|
+ title: that.$t("home.请选择支付方式"),
|
|
|
|
+ itemList: ['USDT', that.$t("home.余额")],
|
|
|
|
+ success(res) {
|
|
|
|
+ uni.showLoading({
|
|
|
|
+ mask: true
|
|
});
|
|
});
|
|
|
|
+ that.creatorOrder(res.tapIndex)
|
|
}
|
|
}
|
|
- return
|
|
|
|
- }
|
|
|
|
- extract({
|
|
|
|
- token: token,
|
|
|
|
- number: +money
|
|
|
|
- }).then((res) => {
|
|
|
|
- uni.showToast({
|
|
|
|
- title: res.msg
|
|
|
|
- });
|
|
|
|
|
|
+
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ // 生成订单
|
|
|
|
+ creatorOrder(index) {
|
|
|
|
+ creatorOrder({
|
|
|
|
+ num: 300,
|
|
|
|
+ }).then(({
|
|
|
|
+ data
|
|
|
|
+ }) => {
|
|
|
|
+ this.payOrder(index + 1, data.id)
|
|
|
|
+ }).catch((res) => {
|
|
console.log(res);
|
|
console.log(res);
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- // 充值
|
|
|
|
- async addMoney(res) {
|
|
|
|
|
|
+ // 支付订单
|
|
|
|
+ async payOrder(ind, id) {
|
|
const that = this;
|
|
const that = this;
|
|
- if (res.detail.value <= 0) {
|
|
|
|
- return
|
|
|
|
|
|
+ let pushData = {
|
|
|
|
+ num: 300,
|
|
|
|
+ type: ind
|
|
}
|
|
}
|
|
- uni.showLoading({
|
|
|
|
- mask: true
|
|
|
|
- });
|
|
|
|
- const num = res.detail.value;
|
|
|
|
- let token = 'VGT'
|
|
|
|
try {
|
|
try {
|
|
- const {
|
|
|
|
- data
|
|
|
|
- } = await chargeCalculator({
|
|
|
|
- num,
|
|
|
|
- token
|
|
|
|
- });
|
|
|
|
- const txHash = await ethereum.request({
|
|
|
|
- method: 'eth_sendTransaction',
|
|
|
|
- params: [{
|
|
|
|
- from: that.userInfo.address, // The user's active address.
|
|
|
|
- to: data.data.to,
|
|
|
|
- value: 0,
|
|
|
|
- data: data.data.data,
|
|
|
|
- }]
|
|
|
|
- })
|
|
|
|
- const req = await change({
|
|
|
|
- order_sn: data.order_sn,
|
|
|
|
- hash: txHash,
|
|
|
|
- });
|
|
|
|
|
|
+ if (ind == 1) {
|
|
|
|
+ const {
|
|
|
|
+ data
|
|
|
|
+ } = await orderCalculator({
|
|
|
|
+ id
|
|
|
|
+ });
|
|
|
|
+ const txHash = await ethereum.request({
|
|
|
|
+ method: 'eth_sendTransaction',
|
|
|
|
+ params: [{
|
|
|
|
+ from: that.userInfo.address, // The user's active address.
|
|
|
|
+ to: data.data.to,
|
|
|
|
+ value: 0,
|
|
|
|
+ data: data.data.data,
|
|
|
|
+ }]
|
|
|
|
+ })
|
|
|
|
+ const req = await payOrder(id, {
|
|
|
|
+ type: ind,
|
|
|
|
+ transactionHash: txHash,
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ if (ind == 2) {
|
|
|
|
+ const req = await payOrder(id, {
|
|
|
|
+ type: ind
|
|
|
|
+ });
|
|
|
|
+ }
|
|
that.getUserInfo();
|
|
that.getUserInfo();
|
|
|
|
+
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title: this.$t('home.充值成功')
|
|
|
|
|
|
+ title: that.$t('home.充值成功')
|
|
})
|
|
})
|
|
} catch (e) {
|
|
} catch (e) {
|
|
|
|
+ console.log(e,'err');
|
|
uni.showToast({
|
|
uni.showToast({
|
|
- title: this.$t('home.充值失败'),
|
|
|
|
|
|
+ title: that.$t('home.充值失败'),
|
|
icon: 'error'
|
|
icon: 'error'
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -383,6 +347,7 @@
|
|
});
|
|
});
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ // 复制分享链接
|
|
copyShareLink() {
|
|
copyShareLink() {
|
|
const that = this;
|
|
const that = this;
|
|
if (!that.hasLogin) {
|
|
if (!that.hasLogin) {
|
|
@@ -402,31 +367,12 @@
|
|
});
|
|
});
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- copyAddress() {
|
|
|
|
- const that = this;
|
|
|
|
- uni.setClipboardData({
|
|
|
|
- data: this.userInfo.address,
|
|
|
|
- showToast: false,
|
|
|
|
- success: function() {
|
|
|
|
- uni.showToast({
|
|
|
|
- title: that.$t('home.成功')
|
|
|
|
- })
|
|
|
|
- //调用方法成功
|
|
|
|
- console.log("success");
|
|
|
|
- },
|
|
|
|
- });
|
|
|
|
- },
|
|
|
|
// 请求载入数据
|
|
// 请求载入数据
|
|
async loadData() {
|
|
async loadData() {
|
|
- auctions().then((res) => {
|
|
|
|
- this.orderList = res.data.map((res) => {
|
|
|
|
- res.min = +res.min;
|
|
|
|
- res.max = +res.max;
|
|
|
|
- res.money_max = +res.money_max;
|
|
|
|
- res.money_min = +res.money_min;
|
|
|
|
- return res
|
|
|
|
- });
|
|
|
|
- console.log(res);
|
|
|
|
|
|
+ loadIndexs().then((res) => {
|
|
|
|
+ this.bannerList = res.data.banner.split(',');
|
|
|
|
+ this.indexBase = res.data;
|
|
|
|
+ console.log(this.bannerList)
|
|
}).catch((res) => {
|
|
}).catch((res) => {
|
|
console.log(res);
|
|
console.log(res);
|
|
})
|
|
})
|
|
@@ -439,92 +385,6 @@
|
|
console.log(res);
|
|
console.log(res);
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- //时间选择
|
|
|
|
- timeSelect(item) {
|
|
|
|
- console.log(item);
|
|
|
|
- item.check = !item.check;
|
|
|
|
- },
|
|
|
|
- //打开时间选择弹窗
|
|
|
|
- openSubscrib(item) {
|
|
|
|
- this.orderItem = item
|
|
|
|
- this.subscribeShow = true
|
|
|
|
- },
|
|
|
|
- //关闭时间选择弹窗
|
|
|
|
- subscribeClose() {
|
|
|
|
- this.subscribeShow = false
|
|
|
|
- },
|
|
|
|
- //提交预约时间
|
|
|
|
- submitTime() {
|
|
|
|
- const that = this;
|
|
|
|
- uni.showLoading({
|
|
|
|
- mask: true
|
|
|
|
- });
|
|
|
|
- let push = {
|
|
|
|
- id: that.orderItem.id,
|
|
|
|
- type: that.timeList.filter((res) => {
|
|
|
|
- return res.check
|
|
|
|
- }).map((res) => {
|
|
|
|
- if (res.check) {
|
|
|
|
- return res.type
|
|
|
|
- }
|
|
|
|
- }).join(',')
|
|
|
|
- }
|
|
|
|
- console.log(push, 'push');
|
|
|
|
- appointment(push).then((res) => {
|
|
|
|
- uni.hideLoading()
|
|
|
|
- uni.showToast({
|
|
|
|
- title: that.$t("home.预约成功")
|
|
|
|
- });
|
|
|
|
- that.subscribeShow = false
|
|
|
|
- }).catch((err) => {
|
|
|
|
- uni.hideLoading()
|
|
|
|
- uni.showToast({
|
|
|
|
- title: err.msg,
|
|
|
|
- icon: 'error'
|
|
|
|
- });
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
- //提交转账申请
|
|
|
|
- submitTransfer() {
|
|
|
|
- const that = this;
|
|
|
|
- const VGT_TRADE = 'VGT_TRADE' + (new Date()).getTime();
|
|
|
|
- const num = that.transferNum;
|
|
|
|
- const address = that.transferAddr;
|
|
|
|
- uni.showLoading({
|
|
|
|
- mask: true
|
|
|
|
- });
|
|
|
|
- ethereum.request({
|
|
|
|
- "method": "personal_sign",
|
|
|
|
- "params": [
|
|
|
|
- VGT_TRADE,
|
|
|
|
- that.userInfo.address
|
|
|
|
- ]
|
|
|
|
- }).then((res) => {
|
|
|
|
- trade({
|
|
|
|
- num,
|
|
|
|
- token: 'VGT',
|
|
|
|
- address,
|
|
|
|
- sign: res,
|
|
|
|
- msg: VGT_TRADE,
|
|
|
|
- }).then((res) => {
|
|
|
|
- that.transferShow = false;
|
|
|
|
- uni.hideLoading()
|
|
|
|
- uni.showToast({
|
|
|
|
- title: that.$t("home.转账成功")
|
|
|
|
- });
|
|
|
|
- }).catch((res) => {
|
|
|
|
- uni.hideLoading()
|
|
|
|
- uni.showToast({
|
|
|
|
- title:res.msg,
|
|
|
|
- icon: 'error'
|
|
|
|
- });
|
|
|
|
- })
|
|
|
|
- });
|
|
|
|
- },
|
|
|
|
- //切换语言
|
|
|
|
- selectLang(value) {
|
|
|
|
- this.setLang(this.langList[value.detail.value].value);
|
|
|
|
- },
|
|
|
|
},
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
@@ -532,418 +392,215 @@
|
|
<style lang="scss">
|
|
<style lang="scss">
|
|
.container {
|
|
.container {
|
|
width: 100%;
|
|
width: 100%;
|
|
- padding: 25rpx;
|
|
|
|
line-height: 1;
|
|
line-height: 1;
|
|
|
|
+ background-color: rgb(12, 8, 21);
|
|
|
|
+ }
|
|
|
|
+ .contenCenter{
|
|
|
|
+ padding: 25rpx;
|
|
}
|
|
}
|
|
|
|
|
|
- .topBox {
|
|
|
|
- padding-bottom: 31rpx;
|
|
|
|
- width: 700rpx;
|
|
|
|
|
|
+ // 顶部轮播图
|
|
|
|
+ .top-swiper {
|
|
|
|
+ height: 320rpx;
|
|
|
|
+ border-radius: 30rpx;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ z-index: 9;
|
|
|
|
|
|
- .topTpl {
|
|
|
|
- background: #E9EBEC;
|
|
|
|
- border: 2rpx solid #CCCECF;
|
|
|
|
- border-radius: 36rpx;
|
|
|
|
- height: 71rpx;
|
|
|
|
- padding-left: 10rpx;
|
|
|
|
|
|
+ // margin: 20rpx 0 0;
|
|
|
|
+ image {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 320rpx;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ .itemList {
|
|
|
|
+ margin-bottom: 30rpx;
|
|
|
|
+ background: url("../../static/img/itemBg.png") no-repeat;
|
|
|
|
+ background-size: 100% 100%;
|
|
|
|
+ color: #FFF;
|
|
|
|
+
|
|
|
|
+ .itemLeft {
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
- padding-right: 20rpx;
|
|
|
|
-
|
|
|
|
|
|
|
|
- &.margin-l-30 {
|
|
|
|
- width: 0;
|
|
|
|
- flex-grow: 1;
|
|
|
|
- }
|
|
|
|
|
|
+ .itemImg {
|
|
|
|
+ width: 158rpx;
|
|
|
|
+ height: 158rpx;
|
|
|
|
|
|
- .userIcon {
|
|
|
|
- width: 51rpx;
|
|
|
|
- height: 48rpx;
|
|
|
|
- flex-shrink: 0;
|
|
|
|
|
|
+ &.topOne {
|
|
|
|
+ width: 158rpx;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
- .tpl {
|
|
|
|
- font-size: 28rpx;
|
|
|
|
- color: #141414;
|
|
|
|
|
|
+ .itemTitle {
|
|
|
|
+ font-size: 35rpx;
|
|
}
|
|
}
|
|
|
|
|
|
- .tpls {
|
|
|
|
- font-size: 30rpx;
|
|
|
|
- color: #788387;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
|
|
- .levelBox {
|
|
|
|
- .levelInfo {
|
|
|
|
- .levelTpl {
|
|
|
|
- background: url('../../static/img/img11.png') no-repeat;
|
|
|
|
- width: 80rpx;
|
|
|
|
- height: 34rpx;
|
|
|
|
- background-size: 100% 100%;
|
|
|
|
- position: relative;
|
|
|
|
- margin-left: 10rpx;
|
|
|
|
|
|
+ .itemRight {
|
|
|
|
+ font-size: 20rpx;
|
|
|
|
+ text-align: right;
|
|
|
|
|
|
- .level {
|
|
|
|
- position: absolute;
|
|
|
|
- right: 10rpx;
|
|
|
|
- font-size: 28rpx;
|
|
|
|
- font-weight: bold;
|
|
|
|
- color: #AB7600;
|
|
|
|
- line-height: 34rpx;
|
|
|
|
- }
|
|
|
|
|
|
+ .next {
|
|
|
|
+ margin-left: 10rpx;
|
|
|
|
+ width: 11rpx;
|
|
|
|
+ height: 18rpx;
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
|
|
- .levelRight {
|
|
|
|
- .method {
|
|
|
|
- background: #FBEBEC;
|
|
|
|
- border: 1px solid #FFBE96;
|
|
|
|
- border-radius: 50rpx;
|
|
|
|
- font-size: 26rpx;
|
|
|
|
|
|
+ .moneyLine {
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
- color: #FE6107;
|
|
|
|
- padding: 10rpx 16rpx;
|
|
|
|
- margin-right: 17rpx;
|
|
|
|
|
|
+ font-size: 28rpx;
|
|
}
|
|
}
|
|
|
|
|
|
- .invitation {
|
|
|
|
- border: 1px solid #BCC7CB;
|
|
|
|
- border-radius: 50rpx;
|
|
|
|
- font-size: 26rpx;
|
|
|
|
|
|
+ .money {
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
- color: #313F4A;
|
|
|
|
- padding: 10rpx 16rpx;
|
|
|
|
|
|
+ font-size: 26rpx;
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
+ text-align: right;
|
|
}
|
|
}
|
|
- }
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
|
|
|
|
- .infoBox {
|
|
|
|
- padding: 35rpx 0rpx;
|
|
|
|
- width: 680rpx;
|
|
|
|
-
|
|
|
|
- .info {
|
|
|
|
- // width: 70%;
|
|
|
|
- flex-grow: 1;
|
|
|
|
- width: 0;
|
|
|
|
- padding-right: 30rpx;
|
|
|
|
|
|
+ .moneyText {
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ font-size: 22rpx;
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
+ opacity: 0.3;
|
|
|
|
+ margin-top: 10rpx;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
- .infoName {
|
|
|
|
- font-size: 32rpx;
|
|
|
|
|
|
+ .itemTitle {
|
|
|
|
+ .name {
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
- color: #141414;
|
|
|
|
- flex-shrink: 0;
|
|
|
|
|
|
+ font-size: 26rpx;
|
|
|
|
+ color: #FFFFFF;
|
|
}
|
|
}
|
|
|
|
|
|
- .infoTpl {
|
|
|
|
- border: 1px solid #BCC7CB;
|
|
|
|
- border-radius: 50rpx;
|
|
|
|
- line-height: 58rpx;
|
|
|
|
- padding: 0rpx 15rpx;
|
|
|
|
- flex-grow: 1;
|
|
|
|
|
|
+ .upNum {
|
|
|
|
+ background: rgba(28, 215, 183, .22);
|
|
|
|
+ border-radius: 19px;
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ font-size: 22rpx;
|
|
|
|
+ color: #1AD9BA;
|
|
|
|
+ padding: 10rpx 20rpx;
|
|
|
|
+ margin-left: 10rpx;
|
|
|
|
+ }
|
|
|
|
|
|
- .account {
|
|
|
|
- flex-grow: 1;
|
|
|
|
- }
|
|
|
|
|
|
+ .type {
|
|
|
|
+ font-size: 22rpx;
|
|
|
|
+ opacity: .30;
|
|
|
|
|
|
- .infoTplImg {
|
|
|
|
- flex-shrink: 0;
|
|
|
|
- width: 24rpx;
|
|
|
|
- height: 28rpx;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- .langBox {
|
|
|
|
- .langType {
|
|
|
|
- font-size: 27rpx;
|
|
|
|
- font-weight: bold;
|
|
|
|
- color: #141414;
|
|
|
|
- padding: 0rpx 8rpx;
|
|
|
|
|
|
+ .imageBg {
|
|
|
|
+ width: 83rpx;
|
|
|
|
+ height: 83rpx;
|
|
|
|
+ background: #2C2933;
|
|
|
|
+ border-radius: 10rpx;
|
|
|
|
+ margin-right: 20rpx;
|
|
|
|
+
|
|
|
|
+ .bgTip {
|
|
|
|
+ width: 33rpx;
|
|
|
|
+ height: 41rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- .withdrawalBox {
|
|
|
|
- background: url('../../static/img/img09.png') no-repeat;
|
|
|
|
- width: 100%;
|
|
|
|
- height: 217rpx;
|
|
|
|
- background-size: 100% 100%;
|
|
|
|
- padding: 20rpx 48rpx 0rpx 48rpx;
|
|
|
|
- .moneyName {
|
|
|
|
- font-size: 32rpx;
|
|
|
|
- font-weight: bold;
|
|
|
|
- padding: 10rpx 10rpx;
|
|
|
|
- color: #FFFFFF;
|
|
|
|
- }
|
|
|
|
- .moneyBox {
|
|
|
|
- color: #FFFFFF;
|
|
|
|
- font-weight: bold;
|
|
|
|
|
|
+ .contentText {
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ font-size: 29rpx;
|
|
|
|
+ color: #FFFFFF;
|
|
|
|
+ line-height: 46rpx;
|
|
|
|
+ padding-left: 30rpx;
|
|
|
|
+ padding-top: 30rpx;
|
|
|
|
+ }
|
|
|
|
|
|
|
|
+ .contentBox {
|
|
|
|
+ margin-top: 30rpx;
|
|
|
|
+ color: #FFF;
|
|
|
|
+ border-radius: 100rpx;
|
|
|
|
+ line-height: 1;
|
|
|
|
+ line-height: 70rpx;
|
|
|
|
|
|
- .money {
|
|
|
|
- font-size: 44rpx;
|
|
|
|
- padding-top: 15rpx;
|
|
|
|
- }
|
|
|
|
|
|
+ .shareLink {
|
|
|
|
+ padding: 0 30rpx;
|
|
}
|
|
}
|
|
|
|
|
|
- .withdrawal {
|
|
|
|
- background: #FFFFFF;
|
|
|
|
- border-radius: 50rpx;
|
|
|
|
- font-size: 28rpx;
|
|
|
|
- font-weight: 500;
|
|
|
|
- color: #1DBC71;
|
|
|
|
- line-height: 55rpx;
|
|
|
|
- padding: 0rpx 70rpx;
|
|
|
|
|
|
+ .copy {
|
|
|
|
+ background: linear-gradient(90deg, #7D32FF, #3EE0FF);
|
|
|
|
+ border-radius: 100rpx;
|
|
|
|
+ padding: 0rpx 50rpx;
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
- margin-top: 10rpx;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- .exchangeBox {
|
|
|
|
- padding: 50rpx 0rpx;
|
|
|
|
-
|
|
|
|
- .exchangeTop {
|
|
|
|
- .exchangeName {
|
|
|
|
- font-size: 38rpx;
|
|
|
|
- font-weight: bold;
|
|
|
|
- color: #242627;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .exchangeTpl {
|
|
|
|
- .exchangeText {
|
|
|
|
- font-size: 27rpx;
|
|
|
|
- font-weight: 500;
|
|
|
|
- color: #084D92;
|
|
|
|
- padding-left: 10rpx;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .exchangeInfo {
|
|
|
|
- padding: 23rpx 0rpx;
|
|
|
|
- justify-content: center;
|
|
|
|
- .currency {
|
|
|
|
- width: 98%;
|
|
|
|
- border: 1px solid #BCC7CB;
|
|
|
|
- border-radius: 10rpx;
|
|
|
|
- padding: 20rpx;
|
|
|
|
- line-height: 40rpx;
|
|
|
|
-
|
|
|
|
- .moneyIcon {
|
|
|
|
- flex-shrink: 0;
|
|
|
|
- width: 35rpx;
|
|
|
|
- height: 35rpx;
|
|
|
|
- }
|
|
|
|
|
|
+ .listConfige {
|
|
|
|
+ margin-top: 100rpx;
|
|
|
|
+ color: #FFF;
|
|
|
|
+ text-align: center;
|
|
|
|
|
|
- .name {
|
|
|
|
- font-size: 29rpx;
|
|
|
|
- color: #242627;
|
|
|
|
- padding-left: 15rpx;
|
|
|
|
|
|
+ .list {
|
|
|
|
+ width: 215rpx;
|
|
|
|
+ height: 244rpx;
|
|
|
|
+ border-radius: 30rpx;
|
|
|
|
+ line-height: 1;
|
|
|
|
+
|
|
|
|
+ .listImg {
|
|
|
|
+ .imageTip {
|
|
|
|
+ margin-top: -130rpx;
|
|
|
|
+ margin-left: -40rpx;
|
|
|
|
+ width: 280rpx;
|
|
|
|
+ height: 280rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
|
|
- .exchangeMoney {
|
|
|
|
- .moneyTitle {
|
|
|
|
- font-size: 28rpx;
|
|
|
|
- color: #1C2645;
|
|
|
|
|
|
+ .listName {
|
|
|
|
+ margin-top: -40rpx;
|
|
|
|
+ font-size: 33rpx;
|
|
}
|
|
}
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .orderBox {
|
|
|
|
- .orderList {
|
|
|
|
- background: #FFFFFF;
|
|
|
|
- border-radius: 15rpx;
|
|
|
|
- margin-bottom: 20rpx;
|
|
|
|
- padding: 20rpx;
|
|
|
|
-
|
|
|
|
- .orderTop {
|
|
|
|
- .topTitle {
|
|
|
|
- .topName {
|
|
|
|
- font-size: 32rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- font-weight: bold;
|
|
|
|
- color: #262626;
|
|
|
|
- padding-left: 8rpx;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .topTip {
|
|
|
|
- width: 20rpx;
|
|
|
|
- height: 20rpx;
|
|
|
|
- border-radius: 50%;
|
|
|
|
- margin-left: 24rpx;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .topPrice {
|
|
|
|
- font-size: 28rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- font-weight: 500;
|
|
|
|
- color: #F99328;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .orderInfo {
|
|
|
|
- position: relative;
|
|
|
|
|
|
|
|
- .infoTpl {
|
|
|
|
- padding-top: 15rpx;
|
|
|
|
- font-size: 28rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- font-weight: 500;
|
|
|
|
- color: #6A6A6A;
|
|
|
|
-
|
|
|
|
- .tplText {
|
|
|
|
- padding-left: 8rpx;
|
|
|
|
-
|
|
|
|
- text {
|
|
|
|
- color: #262626;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .subscribe {
|
|
|
|
- position: absolute;
|
|
|
|
- right: 20rpx;
|
|
|
|
- bottom: 20rpx;
|
|
|
|
- background: linear-gradient(90deg, #38F855, #21EDD3);
|
|
|
|
- border-radius: 10rpx;
|
|
|
|
- width: 163rpx;
|
|
|
|
- line-height: 63rpx;
|
|
|
|
- text-align: center;
|
|
|
|
- font-size: 28rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- font-weight: bold;
|
|
|
|
- color: #141414;
|
|
|
|
- }
|
|
|
|
|
|
+ .listTip {
|
|
|
|
+ margin-top: 20rpx;
|
|
|
|
+ ont-weight: 500;
|
|
|
|
+ font-size: 23rpx;
|
|
|
|
+ opacity: 0.39;
|
|
}
|
|
}
|
|
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .subscribePopup {
|
|
|
|
- padding: 50rpx 40rpx 40rpx 40rpx;
|
|
|
|
-
|
|
|
|
- .popupTitle {
|
|
|
|
- text-align: center;
|
|
|
|
- font-size: 36rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- font-weight: bold;
|
|
|
|
- color: #262626;
|
|
|
|
- margin-bottom: 55rpx;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .popupBox {
|
|
|
|
- .popupTpl {
|
|
|
|
- flex-grow: 1;
|
|
|
|
- margin-bottom: 32rpx;
|
|
|
|
-
|
|
|
|
- .tplName {
|
|
|
|
- font-size: 32rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- font-weight: 500;
|
|
|
|
- color: #6A6A6A;
|
|
|
|
- padding-left: 12rpx;
|
|
|
|
-
|
|
|
|
- text {
|
|
|
|
- color: #262626;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .price {
|
|
|
|
- color: #FF0000 !important;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ .listMinName {
|
|
|
|
+ margin-top: -60rpx;
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
|
|
- .timeBox {
|
|
|
|
- background: url('../../static/img/img16.png') no-repeat;
|
|
|
|
- width: 100%;
|
|
|
|
- height: 346rpx;
|
|
|
|
- background-size: 100% 100%;
|
|
|
|
- padding: 50rpx 60rpx 0rpx 60rpx;
|
|
|
|
- margin-bottom: 35rpx;
|
|
|
|
-
|
|
|
|
- .timeTitle {
|
|
|
|
- position: relative;
|
|
|
|
- font-size: 36rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- color: #262626;
|
|
|
|
|
|
+ .listMinTip {
|
|
|
|
+ line-height: 1.5;
|
|
|
|
+ margin-top: 20rpx;
|
|
|
|
+ ont-weight: 400;
|
|
|
|
+ font-size: 17rpx;
|
|
|
|
+ opacity: 0.41;
|
|
|
|
+ padding: 0 10rpx;
|
|
}
|
|
}
|
|
|
|
|
|
- .timeTpl {
|
|
|
|
- padding-top: 40rpx;
|
|
|
|
- flex-wrap: wrap;
|
|
|
|
- justify-content: space-between;
|
|
|
|
-
|
|
|
|
- .timeName {
|
|
|
|
- flex-grow: 1;
|
|
|
|
- text-align: center;
|
|
|
|
- border-radius: 50rpx;
|
|
|
|
- margin-right: 20rpx;
|
|
|
|
- border: 1rpx solid #0062E9;
|
|
|
|
- color: #0062E9;
|
|
|
|
- padding: 16rpx 10rpx;
|
|
|
|
- font-size: 24rpx;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .active {
|
|
|
|
- background: #0062E9;
|
|
|
|
- color: #fff;
|
|
|
|
- }
|
|
|
|
|
|
+ &.big {
|
|
|
|
+ height: 287rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- .subscribeBtn {
|
|
|
|
- background: linear-gradient(90deg, #38F855, #21EDD3);
|
|
|
|
- border-radius: 10rpx;
|
|
|
|
- font-size: 35rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
|
|
+ .footerTitle {
|
|
|
|
+ line-height: 1;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
- color: #332730;
|
|
|
|
- line-height: 93rpx;
|
|
|
|
|
|
+ font-size: 29rpx;
|
|
|
|
+ color: #FFFFFF;
|
|
text-align: center;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
|
|
- .transferPopup {
|
|
|
|
- padding: 50rpx 40rpx 40rpx 40rpx;
|
|
|
|
-
|
|
|
|
- .popupTitle {
|
|
|
|
- text-align: center;
|
|
|
|
- font-size: 36rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- font-weight: bold;
|
|
|
|
- color: #262626;
|
|
|
|
- margin-bottom: 55rpx;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- .inputBox {
|
|
|
|
- margin-bottom: 50rpx;
|
|
|
|
-
|
|
|
|
- .inputTitle {
|
|
|
|
- font-size: 28rpx;
|
|
|
|
- font-family: PingFang SC;
|
|
|
|
- font-weight: 500;
|
|
|
|
- color: #262626;
|
|
|
|
- padding-bottom: 22rpx;
|
|
|
|
- }
|
|
|
|
|
|
+ .footerImage {
|
|
|
|
+ text-align: center;
|
|
|
|
+ padding-bottom: 100rpx;
|
|
|
|
|
|
- .inputTpl {
|
|
|
|
- background: #F6F6F6;
|
|
|
|
- border-radius: 5rpx;
|
|
|
|
- font-size: 28rpx;
|
|
|
|
- font-weight: 500;
|
|
|
|
- color: #5A6483;
|
|
|
|
- height: 100rpx;
|
|
|
|
- padding-left: 25rpx;
|
|
|
|
- }
|
|
|
|
|
|
+ .footerImg {
|
|
|
|
+ width: 617rpx;
|
|
|
|
+ height: 268rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
- .input-placeholder {
|
|
|
|
- color: #5A6483;
|
|
|
|
- }
|
|
|
|
</style>
|
|
</style>
|