1

parent 7817529f
This source diff could not be displayed because it is too large. You can view the blob instead.
<template> <template>
<wd-watermark content="小程序平台" :opacity="0.25"></wd-watermark> <view class="container">
<view class="content"> <view class="top">
<image src="/static/logo-icon.png" class="logo" /> <view>
<text>{{ title }}</text> <wd-icon name="thin-arrow-left" class="icon"></wd-icon>
<wd-button type="primary" @click="toUIComponentsDoc">wot-design-uni 文档</wd-button> </view>
<text>pinia count: {{ countInfo.count }}</text> </view>
<wd-button type="primary" @click="onHandleClick">add count</wd-button>
</view> </view>
</template> </template>
<script setup lang="ts"> <script setup>
import { useCountStore } from '@/store'; import { useCountStore } from '@/store';
const title = ref('小程序平台'); const title = ref('小程序平台');
...@@ -25,19 +24,12 @@ function onHandleClick() { ...@@ -25,19 +24,12 @@ function onHandleClick() {
</script> </script>
<style lang="scss"> <style lang="scss">
.content { .container {
display: flex; .top {
flex-direction: column; width: 100%;
align-items: center; height: 440rpx;
justify-content: center; background: linear-gradient(180deg, #fa5151 0%, rgba(243, 243, 243, 0) 100%);
padding: 40rpx { border-radius: 0rpx 0rpx 0rpx 0rpx;
top: 200rpx;
}
gap: 24rpx;
.logo {
width: 80rpx;
height: 80rpx;
} }
} }
</style> </style>
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment