wupengfei
2025-02-14 9486476bd79bb3bc6eeef2b1b69e6222fcd18b00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<template>
  <PageLayoutWithBg class="batchTaskList-page-wrapper" title="安排任务">
    <!-- <Image :src="IconQrcode" class="qrcode" @tap="handeClick" /> -->
    <InnerPage />
  </PageLayoutWithBg>
</template>
 
<script setup lang="ts">
import IconQrcode from '@/assets/jx-qrcode.png';
import Taro from '@tarojs/taro';
import { Image } from '@tarojs/components';
import InnerPage from './InnerPage.vue';
 
defineOptions({
  name: 'batchTaskList',
});
 
function handeClick() {
  Taro.previewImage({
    current: IconQrcode,
    urls: [IconQrcode],
  });
}
</script>
 
<style lang="scss">
@import '@/styles/common.scss';
 
.batchTaskList-page-wrapper {
  .qrcode {
    width: 200px;
    height: 200px;
    margin: 400px auto 0;
  }
}
</style>