123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <template>
- <view class="container">
- <view style="margin:150px auto; width: 200px; height: 200px; ">
- <image src="https://ecsaas.oss-cn-shanghai.aliyuncs.com/40904182359.jpg?Expires=1726146370&OSSAccessKeyId=TMP.3KkFVNnEhoHXvzvvw3sFSKptzCrzNmnATV7u7zERp2Zm9Q7oXc1wt7XFAZKiyzgKJ3ssHwA8PhUHBJd3Zrog4H9FKGZjHr&Signature=skup%2BsGoaK4iD36aZVmsUiVb1uQ%3D" alt="" style="width: 100%;height: 100%;" />
- <view style="text-align: center; margin-top: 20px;">谷大志</view>
- </view>
- </view>
- </template>
- <script setup>
- import { ref, computed } from 'vue'
- const paperTypes = ['瓦楞纸', '卫生纸']
- const pickerIndex = ref(0)
- const images = {
- '瓦楞纸': 'https://leaseraycos.oss-cn-shanghai.aliyuncs.com/document/20240912211537_06a2792b4e49f11b8ee1e1e372f9f0e1_1182344_3168_5468.jpg',
- '卫生纸': 'https://leaseraycos.oss-cn-shanghai.aliyuncs.com/document/20240913094914_18e718fc39e02503f31aa4b8f3cdb4f.jpg'
- }
- const currentImage = computed(() => {
- return images[paperTypes[pickerIndex.value]]
- })
- const onPickerChange = (e) => {
- pickerIndex.value = e.detail.value
- }
- </script>
- <style>
- .container {
- display: flex;
- flex-direction: column;
- height: 100vh;
- background-color: #f0f0f0;
- }
- .header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- background-color: #1296db;
- color: white;
- padding: 10px 20px;
- }
- .back-icon, .right-icons {
- font-size: 20px;
- }
- .circle {
- margin-left: 10px;
- }
- .selector {
- background-color: #fff;
- padding: 10px 20px;
- margin: 10px;
- border-radius: 5px;
- }
- .picker {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .arrow {
- color: #999;
- }
- .table-container {
- flex: 1;
- margin: 0 5px;
- }
- .table-image {
- width: 100%;
- height: auto;
- }
- .contact-btn {
- background-color: #1296db;
- color: white;
- text-align: center;
- padding: 10px;
- margin: 10px;
- border-radius: 20px;
- width: 50%;
- margin: 10px auto;
- }
- </style>
|