소스 검색

突破调整

wangxy 4 달 전
부모
커밋
8f6598e4db
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      pages/game/components/constantConfig.js
  2. 3 1
      pages/game/components/goose.vue

+ 1 - 1
pages/game/components/constantConfig.js

@@ -1,7 +1,7 @@
 // 食物种类列表
 export const foodSpeciesList = [{
 		id: 100,
-		imgUrl: '/static/images/game/food-img3.png',
+		imgUrl: '/static/images/game/food-img1.png',
 		credit: 100
 	},
 	{

+ 3 - 1
pages/game/components/goose.vue

@@ -1,6 +1,8 @@
 <template>
 	<view>
-    <up-line-progress :percentage="progress" activeColor="#54e1fe" class="game-progress-box"></up-line-progress>
+    <up-line-progress v-if="growthType!==3" :percentage="20" activeColor="#54e1fe" class="game-progress-box">
+      <text class="u-percentage-slot">20</text>
+    </up-line-progress>
 		<image :src="imgUrl" class="goose-img-box"></image>
 	</view>
 </template>