feat(custom): 新增消息订阅
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-08-27 17:06:59 +08:00
parent f199320de0
commit 1d8532eccf
104 changed files with 2350 additions and 2477 deletions

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import { ref } from "vue";
import Taro from "@tarojs/taro";
import {ref} from 'vue';
import Taro from '@tarojs/taro';
const show = ref(false);
@@ -14,7 +14,7 @@ defineProps({
src: {
required: true,
type: String,
default: "",
default: '',
},
type: Number,
cb: {
@@ -25,7 +25,7 @@ defineProps({
});
Taro.useLoad(async () => {
if (Taro.getStorageSync("token")) show.value = true;
if (Taro.getStorageSync('token')) show.value = true;
// const res = await getSignRecord()
// console.log(res)
});
@@ -35,8 +35,7 @@ Taro.useLoad(async () => {
<nut-overlay
v-model:visible="show"
:lock-scroll="true"
:close-on-click-overlay="false"
>
:close-on-click-overlay="false">
<view class="wrapper">
<view @click.stop="cb(type)">
<image class="image" :src="src" />