feat: 添加我的店铺api

This commit is contained in:
2026-06-03 15:18:09 +08:00
parent 5c7f7a9c4e
commit fd851bab83
14 changed files with 181 additions and 87 deletions
+44 -8
View File
@@ -2,7 +2,13 @@
<template>
<s-layout title="首页" :showLeftButton="false" tabbar="/pages/index/index" navPreset="light">
<view class="pagesIndex">
<view class="index-notice-btn" @click="goNotice"></view>
<view class="index-header">
<view class="index-header__left">
<view class="index-header__title">优购商城</view>
<view class="index-header__subtitle">AI店铺 · 一人店铺 · 共建共享</view>
</view>
<view class="index-notice-btn" @click="goNotice"></view>
</view>
<view class="pageContent">
<view class="floating-search-wrap">
<view class="floating-search" @click="goSearch">
@@ -343,12 +349,12 @@
}
.pagesIndex {
position: relative;
padding-top: 470rpx;
padding-top: 480rpx;
// background: linear-gradient(135deg, #2c8cfa 0%, #3d5efb 100%);
background-image: url("../../static/index/index_bg.png");
background-image: url("../../static/index/index_bg.jpeg");
background-size: 100% auto;
background-repeat: no-repeat;
background-position: top center;
background-position: center -20rpx;
.pageContent{
border-radius: 20rpx 20rpx 0 0;
position: relative;
@@ -356,18 +362,48 @@
background: #fff;
}
}
.index-notice-btn {
.index-header {
position: absolute;
top: 60rpx;
right: 52rpx;
top: 0;
left: 0;
right: 0;
z-index: 20;
padding: calc(env(safe-area-inset-top) + 60rpx) 52rpx 0 52rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.index-header__left {
min-width: 0;
}
.index-header__title {
font-size: 44rpx;
line-height: 52rpx;
font-weight: 700;
color: #fff;
}
.index-header__subtitle {
margin-top: 10rpx;
font-size: 26rpx;
line-height: 34rpx;
color: rgba(255, 255, 255, 0.88);
}
.index-notice-btn {
position: relative;
width: 44rpx;
height: 44rpx;
background-image: url('/static/icon/ notice.png');
background-size: 100% 100%;
background-repeat: no-repeat;
background-position: center;
z-index: 20;
flex: 0 0 auto;
}
.floating-search-wrap {
position: absolute;
top: -50rpx;