hwq 3 years ago
parent
commit
1044d87193
1 changed files with 24 additions and 12 deletions
  1. 24 12
      pages/heyue/heyue.vue

+ 24 - 12
pages/heyue/heyue.vue

@@ -214,16 +214,21 @@
 				<view class="type">{{ $t('hy.ssjg') }}</view>
 				<view class="type">{{ $t('hy.jrdz') }}</view>
 			</view>
-			<view class="itemlist flex" @click="changeData(ls)" v-for="ls in listOBj" v-if="ls.name != 'BCH/USDT'">
-				<view class="type name">{{ ls.name }}</view>
-				<view class="type money" :class="{ 'font-color-green': ls.bool, 'font-color-red': !ls.bool }">{{ ls.last }}</view>
-				<view class="type bfb" :class="{ 'font-color-green': ls.bool, 'font-color-red': !ls.bool }">{{ ls.dcf }}</view>
-			</view>
-			<view class="itemlist flex" @click="changeData(ls)" v-for="ls in listOBj" v-if="ls.name == 'BCH/USDT'">
-				<view class="type name">{{ ls.name }}</view>
-				<view class="type money" :class="{ 'font-color-green': ls.bool, 'font-color-red': !ls.bool }">{{ ls.last }}</view>
-				<view class="type bfb" :class="{ 'font-color-green': ls.bool, 'font-color-red': !ls.bool }">{{ ls.dcf }}</view>
-			</view>
+			<scroll-view scroll-y="true" style="min-height:500rpx;">
+				<view class="itemlist flex" @click="changeData(ls)" v-for="ls in listOBj" v-if="ls.name != 'BCH/USDT'">
+					<view class="type">
+						<view class="name">{{ ls.name }}</view>
+						<view class="tip">永續</view>
+					</view>
+					<view class="type money" :class="{ 'font-color-green': ls.bool, 'font-color-red': !ls.bool }">{{ ls.last }}</view>
+					<view class="type bfb" :class="{ 'font-color-green': ls.bool, 'font-color-red': !ls.bool }">{{ ls.dcf }}</view>
+				</view>
+				<view class="itemlist flex" @click="changeData(ls)" v-for="ls in listOBj" v-if="ls.name == 'BCH/USDT'">
+					<view class="type name">{{ ls.name }}</view>
+					<view class="type money" :class="{ 'font-color-green': ls.bool, 'font-color-red': !ls.bool }">{{ ls.last }}</view>
+					<view class="type bfb" :class="{ 'font-color-green': ls.bool, 'font-color-red': !ls.bool }">{{ ls.dcf }}</view>
+				</view>
+			</scroll-view>
 		</view>
 	</view>
 </template>
@@ -913,9 +918,16 @@ export default {
 	}
 
 	.itemlist {
-		padding-top: 20rpx;
-
+		padding-top: 40rpx;
+		align-items: flex-start;
 		.name {
+			font-weight: 700;
+			font-family: 'PingFang SC, STHeitiSC-Light, Helvetica-Light, arial, sans-serif, Droid Sans Fallback';
+			padding-left: 20rpx;
+			text-align: left;
+			color: #000;
+		}
+		.tip {
 			padding-left: 20rpx;
 			text-align: left;
 		}