Browse Source

13,14,15

master
vee 3 years ago
parent
commit
99a2c82225
  1. 2
      components/KeyValueRow/KeyValueRow.vue
  2. 17
      pages/markets/kLine.vue
  3. 2
      pages/recharge/rechargeRecord.vue

2
components/KeyValueRow/KeyValueRow.vue

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

17
pages/markets/kLine.vue

@ -207,7 +207,15 @@
// } // }
// return time; // 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() { getBboList() {
const bboList = this.$api.bboList({ const bboList = this.$api.bboList({
@ -852,6 +860,7 @@
flex: 1; flex: 1;
overflow: hidden; overflow: hidden;
height: 450rpx; height: 450rpx;
margin-bottom: 132rpx;
.title { .title {
display: flex; display: flex;
@ -932,7 +941,11 @@
.btn { .btn {
display: flex; display: flex;
margin: 96rpx 32rpx; z-index: 999;
position: fixed;
bottom: 16rpx;
left: 2%;
width: 96%;
.button { .button {
flex: 1; flex: 1;

2
pages/recharge/rechargeRecord.vue

@ -59,7 +59,7 @@
<view class="dataBody" v-if="form.type === 'online'"> <view class="dataBody" v-if="form.type === 'online'">
<view style="padding:20rpx 32rpx;"> <view style="padding:20rpx 32rpx;">
<key-value-row :keyName="i18n.OrderID" :value="item.orderNo"></key-value-row> <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> <key-value-row :keyName="i18n.Time" :value="item.timestr"></key-value-row>
</view> </view>
<view style="border-top: 2rpx solid #323045;padding:0rpx 32rpx; margin-bottom: 20rpx;"> <view style="border-top: 2rpx solid #323045;padding:0rpx 32rpx; margin-bottom: 20rpx;">

Loading…
Cancel
Save