浏览代码

突破调整

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 = [{
 export const foodSpeciesList = [{
 		id: 100,
 		id: 100,
-		imgUrl: '/static/images/game/food-img3.png',
+		imgUrl: '/static/images/game/food-img1.png',
 		credit: 100
 		credit: 100
 	},
 	},
 	{
 	{

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

@@ -1,6 +1,8 @@
 <template>
 <template>
 	<view>
 	<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>
 		<image :src="imgUrl" class="goose-img-box"></image>
 	</view>
 	</view>
 </template>
 </template>