wangxy 4 місяців тому
батько
коміт
ec91a350c9
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      pages/game/components/goose.vue

+ 2 - 2
pages/game/components/goose.vue

@@ -1,7 +1,7 @@
 <template>
 	<view>
-		<up-line-progress v-if="growthType!==3" :percentage="30" :showText="false" activeColor="#54e1fe" class="game-progress-box"> </up-line-progress>
-		<text class="game-progress-text">成长值:{{progress}}%</text>
+		<up-line-progress v-if="growthType!==3" :percentage="progress" :showText="false" activeColor="#54e1fe" class="game-progress-box"></up-line-progress>
+    <text class="game-progress-text">成长值:{{progress}}%</text>
 		<image :src="imgUrl" class="goose-img-box"></image>
 	</view>
 </template>