feat(WIP)
This commit is contained in:
77
src/views/StoreView.vue
Normal file
77
src/views/StoreView.vue
Normal file
@@ -0,0 +1,77 @@
|
||||
<template>
|
||||
<div class="purchase-methods">
|
||||
<h2>购买方式</h2>
|
||||
<div class="methods-container">
|
||||
<!-- 微信 -->
|
||||
<div class="method">
|
||||
<h3>微信</h3>
|
||||
<img :src="WeChat" alt="微信二维码" />
|
||||
</div>
|
||||
|
||||
<!-- 淘宝 -->
|
||||
<div class="method">
|
||||
<h3>淘宝</h3>
|
||||
<img :src="TaoBao" alt="淘宝二维码" />
|
||||
</div>
|
||||
|
||||
<!-- 小红书 -->
|
||||
<div class="method">
|
||||
<h3>小红书</h3>
|
||||
<img :src="RedNote" alt="小红书二维码" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import WeChat from '/images/WeChat.jpg'
|
||||
import TaoBao from '/images/TaoBao.jpg'
|
||||
import RedNote from '/images/RedNote.jpg'
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.purchase-methods {
|
||||
font-family: 'Arial', sans-serif;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.purchase-methods h2 {
|
||||
font-size: 1.8rem;
|
||||
margin-bottom: 30px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.methods-container {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
flex-wrap: wrap;
|
||||
gap: 40px;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.method {
|
||||
flex: 1;
|
||||
min-width: 200px;
|
||||
padding: 15px;
|
||||
border-radius: 10px;
|
||||
background-color: #f9f9f9;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.method h3 {
|
||||
margin-top: 0;
|
||||
font-size: 1.2rem;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.method img {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
margin: 10px auto;
|
||||
display: block;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 8px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user