update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-07-15 21:31:02 +08:00
parent 088293e2cb
commit b652fe3969
3 changed files with 12 additions and 15 deletions

View File

@@ -81,6 +81,9 @@ export default defineConfig(async (merge, { command, mode }) => {
h5: {
publicPath: "/",
staticDirectory: "static",
router: {
mode: "browser", // 或者是 'browser'
},
output: {
filename: "js/[name].[hash:8].js",
chunkFilename: "js/[name].[chunkhash:8].js",

View File

@@ -12,24 +12,17 @@
</view>
<view class="flex justify-between items-center">
<view class="flex justify-between items-center">
<view
class="m-[5px] rounded-full w-[44px] h-[44px] text-[28px] text-center leading-[44px]"
v-for="(itm, index) in item.hm"
:key="index"
>
<view
class="mr-[10] text-[28px] text-[#959BB1]"
v-if="item.type !== 2"
>{{ itm }}
</view>
<view
<view v-for="(itm, index) in item.hm" :key="index">
<!-- v-if="item.type !== 2" -->
<view class="mr-[10] text-[28px] text-[#959BB1]">{{ itm }} </view>
<!-- <view
v-else
class="rounded-full border-[1px] border-[#000] text-[28px] text-center leading-[44px]"
:style="{
color: itm.color,
}"
>{{ itm.num }}</view
>
> -->
</view>
</view>
<view v-if="item.j" class="text-[#088207] text-[28px]"
@@ -38,7 +31,7 @@
</view>
<view class="flex items-center justify-between" v-if="item.state === 1">
<view class="text-[28px] flex items-center">
<view class="text-[#959BB1]">中奖状态</view>
<view class="text-[#959BB1]">状态</view>
<view class="text-[red]">已中奖</view>
</view>
<view v-if="item.state === 1" class="text-[28px] flex">
@@ -47,12 +40,12 @@
<view class="text-[#959BB1]">积分</view>
</view>
</view>
<view v-if="item.state === 1" class="flex items-center justify-between">
<!-- <view v-if="item.state === 1" class="flex items-center justify-between">
<view class="text-[28px] flex items-center">
<view class="text-[#959BB1]">中奖数字</view>
<view class="text-[#959BB1]">{{ item.periods_num }}</view>
</view>
</view>
</view> -->
</view>
</view>
<view v-else class="text-[#959BB1] text-center">暂无记录</view>

View File

@@ -297,6 +297,7 @@ const initWs = (options) => {
case 401:
case 400:
case 402:
case 100:
Taro.showToast({
title: res.msg,
icon: "none",