shop_uniapp/bundle_b/pages/panic_buying/index.vue
2024-09-25 12:25:47 +08:00

63 lines
1.2 KiB
Vue

<template>
<view class="content">
<view class="head"></view>
<!-- <view class="time">
距离活动结束仅剩
<u-count-down separator="zh" :timestamp="getCancelTime(cancelTime)"
:separator-size="26" :font-size="26"
bg-color="transparent" @end="refresh"></u-count-down>
</view> -->
<view class="list">
<view class="item flex">
<u-image></u-image>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
upOption: {
empty: {
icon: 'https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/order_null.png',
tip: '暂无记录', // 提示
}
},
storeState: 1,
list: [],
cancelTime: 1727169974
}
},
methods: {
getCancelTime(time) {
// return time - Date.now() / 1000
}
}
}
</script>
<style lang="scss">
page {
background: #FFF8D1;
}
.head {
background-image: url(https://zjeloong.oss-cn-hangzhou.aliyuncs.com/activity/panic_buying/panic_bg.png);
background-size: 100% 100%;
background-repeat: no-repeat;
min-height: 500rpx;
max-height: 500rpx;
}
.time {
text-align: center;
background-image: linear-gradient(45deg, #FF60A8 0%, #FF3C6A 99%, #FF0001 100%);
}
.list {
background-color: #fff;
}
</style>