From 55e9868ebe196f96b2a798a691491a7245e35104 Mon Sep 17 00:00:00 2001 From: 346149741 <346149741@qq.com> Date: 星期六, 22 六月 2024 14:41:55 +0800 Subject: [PATCH] 首页接口 --- pages/hqzc/details.vue | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 54 insertions(+), 3 deletions(-) diff --git a/pages/hqzc/details.vue b/pages/hqzc/details.vue index 8183fd0..4e7bd6c 100644 --- a/pages/hqzc/details.vue +++ b/pages/hqzc/details.vue @@ -1,18 +1,36 @@ <template> - <view> - + <view class="box"> + <view class="name"> + 涓浗绀剧闄㈤兘闃筹細涓浗浜哄彛杞彉鐨勭嫭鐗规�у強鍏跺奖鍝� + </view> + <view class="font"> + <view class="left"> + 鏀跨瓥绫诲瀷 + </view> + <view class="right"> + 鍙戝竷鏃堕棿锛�2024-04-27 + </view> + </view> </view> </template> <script> + import { doc } from '@/api/index.js' + export default { data() { return { } }, + onShow() { + this.getdata() + }, methods: { - + getdata(){ + console.log(this.$route.query) + //doc() + } } } </script> @@ -20,3 +38,36 @@ <style> </style> +<style scoped lang="scss"> + .box{ + padding: 32rpx; + } + .name{ + color: #202d44; + font-size: 40rpx; + font-weight: bold; + } + .font{ + display: flex; + align-items: center; + justify-content: space-between; + border-bottom: 1px solid #f1f1f1; + padding-bottom: 26rpx; + margin-top: 20rpx; + .left{ + text-align: center; + height: 42rpx; + line-height: 42rpx; + padding: 0 10rpx; + border-radius: 4rpx; + background: #1171E0; + color: #ffffff; + font-size: 24rpx; + + } + .right{ + color: #7e8596; + font-size: 28rpx; + } + } +</style> \ No newline at end of file -- Gitblit v1.9.1