Prechádzať zdrojové kódy

Signed-off-by: liuboyan <632697560@qq.com>
bug

liuboyan 4 rokov pred
rodič
commit
a58abf95b9

+ 9 - 2
pagesMain/integralList.vue

@@ -2,7 +2,9 @@
 	<view class="container">
 		<view class="integral-mine-info">
 			<view class="integral-info-round">
-				<view class="integral-number">{{integralData.usableIntegral}}</view>
+				<view class="integral-number" :style="{fontSize: integralData.usableIntegral >= 1000000 ? '26px' : (integralData.usableIntegral >= 100000 ? '31px' :'')}">
+					{{integralData.usableIntegral}}
+				</view>
 				<view class="integral-text">可用积分</view>
 				<view class="integral-text">累计{{integralData.totalIntegral}}</view>
 			</view>
@@ -125,6 +127,11 @@
 	}
 </script>
 
+<style>
+	page {
+		background-color: #f7f7f7;
+	}
+</style>
 <style lang="less" scoped>
 	page {
 		width: 100%;
@@ -144,7 +151,7 @@
 			background-size: 100% 180px;
 			background-position: center;
 			background-repeat: no-repeat;
-			background-image: url(@/static/images/integralBg.png);
+			background-image: url(@/static/images/integralBg.jpg);
 
 			.integral-info-round {
 				width: 118px;

BIN
static/images/integralBg.png