release: freeze demo v1.1.0 2026-10-19
CI/CD Pipeline / Backend Build & Test (push) Canceled after 0s
CI/CD Pipeline / Admin Web Build (push) Canceled after 0s
CI/CD Pipeline / Mini Program Compile Check (push) Canceled after 0s
CI/CD Pipeline / Migration Validation (push) Canceled after 0s
CI/CD Pipeline / Test Shell Guard (Phase 23 Gate) (push) Canceled after 0s
CI/CD Pipeline / UI Contracts (source-structure gates) (push) Canceled after 0s
CI/CD Pipeline / E2E (live stack) (push) Canceled after 0s
CI/CD Pipeline / Backend Build & Test (push) Canceled after 0s
CI/CD Pipeline / Admin Web Build (push) Canceled after 0s
CI/CD Pipeline / Mini Program Compile Check (push) Canceled after 0s
CI/CD Pipeline / Migration Validation (push) Canceled after 0s
CI/CD Pipeline / Test Shell Guard (Phase 23 Gate) (push) Canceled after 0s
CI/CD Pipeline / UI Contracts (source-structure gates) (push) Canceled after 0s
CI/CD Pipeline / E2E (live stack) (push) Canceled after 0s
This commit is contained in:
@@ -36,6 +36,7 @@ Page({
|
||||
badges: [],
|
||||
basicInfo: [],
|
||||
attitudeInfo: [],
|
||||
assistanceSubmitted: false,
|
||||
},
|
||||
|
||||
onLoad(options) {
|
||||
@@ -182,6 +183,14 @@ Page({
|
||||
}
|
||||
},
|
||||
|
||||
onApplyMatchmaker() {
|
||||
const { userId, actionLoading, assistanceSubmitted } = this.data;
|
||||
if (!userId || actionLoading || assistanceSubmitted) return;
|
||||
wx.navigateTo({
|
||||
url: `/pages/matchmaker-authorization/matchmaker-authorization?targetUserId=${encodeURIComponent(userId)}`,
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* 举报:跳转 report 页,不在本页处理(AGENTS 第 7 条:举报内容不在此暴露)
|
||||
|
||||
@@ -113,6 +113,11 @@
|
||||
bind:tap="onReport"
|
||||
disabled="{{actionLoading}}"
|
||||
>举报</ui-button>
|
||||
<button
|
||||
class="profile-actions__btn profile-actions__btn--assist"
|
||||
catchtap="onApplyMatchmaker"
|
||||
disabled="{{actionLoading || assistanceSubmitted}}"
|
||||
>{{assistanceSubmitted ? '已申请红娘协助' : '申请红娘协助'}}</button>
|
||||
<ui-button
|
||||
wx:if="{{!isLiked}}"
|
||||
variant="primary"
|
||||
|
||||
@@ -128,6 +128,19 @@
|
||||
flex:1;
|
||||
}
|
||||
|
||||
.profile-actions__btn--assist {
|
||||
margin: 0;
|
||||
min-width: 0;
|
||||
line-height: 1.4;
|
||||
font-size: 30rpx;
|
||||
color: #c94b4b;
|
||||
background: #fff;
|
||||
border: 1rpx solid #d96b6b;
|
||||
border-radius: 999rpx;
|
||||
}
|
||||
|
||||
.profile-actions__btn--assist::after { border: 0; }
|
||||
|
||||
.profile-actions__btn--block,
|
||||
.profile-actions__btn--report {
|
||||
flex:0 0 auto;
|
||||
|
||||
Reference in New Issue
Block a user