12345678910111213141516171819202122232425262728293031323334353637 |
- <template>
- <view class="content">
- <view class="one">
- 活动
- </view>
- </view>
- </template>
- <script setup lang="ts">
- import { ref } from 'vue';
- //该依赖已内置不需要单独安装
- import { onShow } from "@dcloudio/uni-app";
- // 基本信息
- const config = ref({});
- onShow(() => {
- searchConfig();
- })
- // config信息
- const searchConfig = async () => {
- config.value = uni.getStorageSync('config');
- };
- </script>
- <style lang="scss" scoped>
- .content {
- display: flex;
- flex-direction: column;
- .one {
- padding: 2vw;
- .rich-img {
- width: 100% !important;
- display: block;
- }
- }
- }
- </style>
|