移除案例展示和详情页面

This commit is contained in:
Dev
2026-10-20 18:34:45 +08:00
parent 8c1b97af8e
commit f5285f704f
43 changed files with 44 additions and 2521 deletions
-5
View File
@@ -154,11 +154,6 @@ Page({
url: `/pages/demand/publish/index`
});
},
joinUs(e) {
wx.navigateTo({
url: `/pages/developer/join/index`
});
},
onReTry() {
+12 -13
View File
@@ -36,19 +36,18 @@
</view>
<view class="home-card demand-card">
<view class="demand-card__title">告诉我们你想要什么?</view>
<view class="demand-card__desc">说出你的想法或需求,我们帮你实现</view>
<view class="home-page-padding">
<t-button theme="primary" size="" block bind:tap="publish">
填写你的需求
</t-button>
</view>
<view class="home-page-padding">
<t-button wx:if="{{role == 'dev'}}" theme="default" size="" block bind:tap="toDemandHall">
进入接单大厅
</t-button>
<t-button wx:else theme="default" size="" block bind:tap="joinUs">
开发者入驻
</t-button>
<view class="demand-card__desc">说出你的想法需求,我们安排工程师一对一帮您实现!</view>
<view class="demand-card__actions">
<view class="home-page-padding">
<t-button theme="primary" size="" block bind:tap="publish">
填写你的需求
</t-button>
</view>
<view class="home-page-padding" wx:if="{{role == 'dev'}}">
<t-button theme="default" size="" block bind:tap="toDemandHall">
进入接单大厅
</t-button>
</view>
</view>
</view>
<t-toast id="t-toast" />
+13 -2
View File
@@ -156,7 +156,11 @@ page {
/* ============ 需求引导卡(品牌渐变) ============ */
.demand-card {
padding: 40rpx 32rpx 32rpx;
display: flex;
flex-direction: column;
box-sizing: border-box;
min-height: 400rpx;
padding: 48rpx 32rpx 40rpx;
background: var(--brand-gradient);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-brand);
@@ -177,7 +181,14 @@ page {
line-height: 36rpx;
}
/* 需求卡内按钮:白色浮层样式 */
/* 按钮区占满标题下方空间,单个或两个按钮作为一组垂直居中 */
.demand-card__actions {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
.demand-card .t-button {
--td-button-primary-bg-color: #ffffff;
--td-button-primary-color: var(--brand);