需求按钮状态优化
This commit is contained in:
@@ -283,6 +283,14 @@ Page({
|
||||
if (!item) {
|
||||
return;
|
||||
}
|
||||
// 交易完成只允许发布者和接单开发者进入详情
|
||||
if (item.button && item.button.key === 'finished' && !item.isMy && !item.isMyWin) {
|
||||
wx.showToast({
|
||||
title: '仅发布者和接单开发者可查看',
|
||||
icon: 'none',
|
||||
});
|
||||
return;
|
||||
}
|
||||
// 参与投标仅开发者可进入报价;未入驻先提示,确定后再去申请
|
||||
if (item.button && item.button.key === 'bid') {
|
||||
const role = (wx.getStorageSync('userInfo') || {}).role || '';
|
||||
|
||||
Reference in New Issue
Block a user