j1ack 3 years ago
parent
commit
704e6cdd12
  1. 2
      components/KeyValueRow/KeyValueRow.vue
  2. 16
      pages/home/index.vue
  3. 17
      pages/markets/kLine.vue
  4. 2
      pages/me/inviteFriends.vue
  5. 2
      pages/recharge/rechargeRecord.vue
  6. 2
      pages/withdrawal/addAddress.vue
  7. 2
      pages/withdrawal/withdrawal.vue

2
components/KeyValueRow/KeyValueRow.vue

@ -11,7 +11,7 @@
<view class="value"
:style="{ color: rightColor, fontSize: size || rightSize, lineHeight: lineHeight || lineHeightValue }">{{
value
}}</view>
}} USDT</view>
</view>
</template>

16
pages/home/index.vue

@ -22,11 +22,11 @@
<!-- #ifdef APP-PLUS -->
<u-swiper class="swiper" :list="swiperList" previousMargin="48rpx" nextMargin="80rpx" circular
<u-swiper class="swiper" :list="swiperList" @click="bannerClick" previousMargin="48rpx" nextMargin="80rpx" circular
:autoplay="true" radius="32rpx" bgColor="rgba(0,0,0,0)" height="360rpx">
<!-- #endif -->
<!-- #ifdef H5 -->
<u-swiper class="swiper" :list="swiperList" previousMargin="48rpx" nextMargin="80rpx" circular
<u-swiper class="swiper" :list="swiperList" @click="bannerClick" previousMargin="48rpx" nextMargin="80rpx" circular
:autoplay="true" radius="32rpx" bgColor="rgba(0,0,0,0)" height="360rpx" style="margin-top: 145rpx;">
<!-- #endif -->
</u-swiper>
@ -150,6 +150,7 @@
swiperList: [
],
bannerList:[],
videoShow: false,
videoUrl: '',
videoList: [],
@ -196,6 +197,16 @@
}
},
methods: {
bannerClick(i){
// #ifdef APP-PLUS
plus.runtime.openUrl(this.bannerList[i].adUrl)
// #endif
// #ifdef H5
var href = this.bannerList[i].adUrl
window.open(href, '_blank');
// #endif
},
//
getUserInfoBalance() {
api.userAccount().then(res => {
@ -322,6 +333,7 @@
api.indexBanner({
'mark': 'APP_INDEX'
}).then(res => {
this.bannerList=res
for (var i = 0; i < res.length; i++) {
this.swiperList.push(this.baseURL + res[i].adImgPath)
}

17
pages/markets/kLine.vue

@ -207,7 +207,15 @@
// }
// return time;
var time; time=this.$index.formatyymmddhhmmss(parseInt(time * 1000)) if (this.type === '1mon' ) { time = time.split(' ')[0]; time=time.substring(time.indexOf('/')+1,time.length) } else if (this.type === '1day' || this.type === '1week') { time = time.split(' ')[0]; } return time;
var time;
time = this.$index.formatyymmddhhmmss(parseInt(time * 1000))
if (this.type === '1mon') {
time = time.split(' ')[0];
time = time.substring(time.indexOf('/') + 1, time.length)
} else if (this.type === '1day' || this.type === '1week') {
time = time.split(' ')[0];
}
return time;
},
getBboList() {
const bboList = this.$api.bboList({
@ -852,6 +860,7 @@
flex: 1;
overflow: hidden;
height: 450rpx;
margin-bottom: 132rpx;
.title {
display: flex;
@ -932,7 +941,11 @@
.btn {
display: flex;
margin: 96rpx 32rpx;
z-index: 999;
position: fixed;
bottom: 16rpx;
left: 2%;
width: 96%;
.button {
flex: 1;

2
pages/me/inviteFriends.vue

@ -82,7 +82,7 @@
content: e,
success: (res) => {
uni.showToast({
title: this.$t("login").copySuccess,
title: this.i18n.CopySuccess,
duration: 3000,
})
},

2
pages/recharge/rechargeRecord.vue

@ -59,7 +59,7 @@
<view class="dataBody" v-if="form.type === 'online'">
<view style="padding:20rpx 32rpx;">
<key-value-row :keyName="i18n.OrderID" :value="item.orderNo"></key-value-row>
<key-value-row :keyName="i18n.Fees" :value="(item.tranAmt-(parseInt(item.realAmount,16)))+item.coinCode"></key-value-row>
<key-value-row :keyName="i18n.Fees" :value="(item.tranAmt-item.realAmount)+item.coinCode"></key-value-row>
<key-value-row :keyName="i18n.Time" :value="item.timestr"></key-value-row>
</view>
<view style="border-top: 2rpx solid #323045;padding:0rpx 32rpx; margin-bottom: 20rpx;">

2
pages/withdrawal/addAddress.vue

@ -207,7 +207,7 @@ export default {
content: value,
success: (res) => {
uni.showToast({
title: this.$t("login").copySuccess,
title: this.i18n.CopySuccess,
duration: 3000,
})
},

2
pages/withdrawal/withdrawal.vue

@ -371,7 +371,7 @@
content: value,
success: (res) => {
uni.showToast({
title: this.$t("login").copySuccess,
title: this.i18n.CopySuccess,
duration: 3000,
})
},

Loading…
Cancel
Save