8.27更新自定义组件
This commit is contained in:
@@ -232,6 +232,7 @@
|
||||
@tabChange="onTabChange"
|
||||
></custom-tabbar>
|
||||
</view>
|
||||
<unidialog :visible="visible" :content="'有福利待领取'" @close="visible=false" ></unidialog>
|
||||
<up-overlay :show="showSign" >
|
||||
<view class="signwrap">
|
||||
<view class="signbox">
|
||||
@@ -252,12 +253,14 @@
|
||||
|
||||
</view>
|
||||
</up-overlay>
|
||||
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, onMounted, nextTick, computed } from 'vue';
|
||||
import { onShow, onLoad, onPageScroll } from "@dcloudio/uni-app";
|
||||
import CustomTabbar from '@/components/tabBar/tabBar.vue';
|
||||
import unidialog from "@/components/dialog/dialog.vue"
|
||||
import navTo from "@/utils/navTo.js";
|
||||
import bg from "@/static/more_bg.png"
|
||||
import patient from "@/static/icon_home_my_patient.png"
|
||||
@@ -272,10 +275,11 @@
|
||||
import nosign from "@/static/home_no_qiandao_icon.png"
|
||||
import sign from "@/static/home_qiandao_icon.png"
|
||||
import signImg from "@/static/sign_in_bng_big.png"
|
||||
|
||||
const showSign=ref(false)
|
||||
// 定义refs
|
||||
const tabbarRef = ref(null);
|
||||
|
||||
const visible=ref(true)
|
||||
// 滚动相关状态
|
||||
const scrollTop = ref(0);
|
||||
const bannerHeight = 400; // 轮播图高度,单位rpx
|
||||
|
||||
Reference in New Issue
Block a user