|
@@ -11,7 +11,7 @@
|
|
<!-- 桌面食物 -->
|
|
<!-- 桌面食物 -->
|
|
<foodVue :shiwuId="shiwuId" class="food-img-box" :class="'food-img'+shiwuId"></foodVue>
|
|
<foodVue :shiwuId="shiwuId" class="food-img-box" :class="'food-img'+shiwuId"></foodVue>
|
|
<!-- 大鹅 4阶段 -->
|
|
<!-- 大鹅 4阶段 -->
|
|
- <gooseVue :growth="growth" :growthType="growthType" :progress="progress"
|
|
|
|
|
|
+ <gooseVue :growth="growth" :growthType="growthType" :progress="progress" :growthTotal="growthTotal"
|
|
class="game-goose-box" :class="'game-goose-box'+ growthType"></gooseVue>
|
|
class="game-goose-box" :class="'game-goose-box'+ growthType"></gooseVue>
|
|
<!-- 食物选择 -->
|
|
<!-- 食物选择 -->
|
|
<foodSelectVue :credit="credit" ref="foodSelectRef" :shiwuId="shiwuId" @weishi="onWeiShi"></foodSelectVue>
|
|
<foodSelectVue :credit="credit" ref="foodSelectRef" :shiwuId="shiwuId" @weishi="onWeiShi"></foodSelectVue>
|
|
@@ -42,9 +42,12 @@
|
|
import foodSelectVue from "./components/foodSelect.vue";
|
|
import foodSelectVue from "./components/foodSelect.vue";
|
|
import commonDialogVue from "@/components/dialog/commonDialog.vue";
|
|
import commonDialogVue from "@/components/dialog/commonDialog.vue";
|
|
import CustomTabBar from '@/components/custom-tabbar/custom-tabbar.vue';
|
|
import CustomTabBar from '@/components/custom-tabbar/custom-tabbar.vue';
|
|
-
|
|
|
|
|
|
+ import {
|
|
|
|
+ toast,
|
|
|
|
+ getUserIdentity
|
|
|
|
+ } from "@/utils/common";
|
|
import { useGame } from "./useGame";
|
|
import { useGame } from "./useGame";
|
|
- const { credit,growth,growthType,progress,shiwuId ,handleWeishi } = useGame();
|
|
|
|
|
|
+ const { credit,growth,growthType,progress,shiwuId ,handleWeishi ,growthTotal } = useGame();
|
|
const yxsmContent = reactive([{
|
|
const yxsmContent = reactive([{
|
|
title: '宠物鹅获取',
|
|
title: '宠物鹅获取',
|
|
content: '学生首次注册并登录 APP 时,系统自动发放一颗宠物鹅蛋,开启养鹅之旅。每个账号有且仅有一次领取鹅蛋的机会,确保公平性,这颗蛋便是学生与宠物鹅相伴成长的起点。',
|
|
content: '学生首次注册并登录 APP 时,系统自动发放一颗宠物鹅蛋,开启养鹅之旅。每个账号有且仅有一次领取鹅蛋的机会,确保公平性,这颗蛋便是学生与宠物鹅相伴成长的起点。',
|