提交11月3日
This commit is contained in:
@@ -628,12 +628,36 @@ export default {
|
||||
},
|
||||
|
||||
goAddServices() {
|
||||
|
||||
uni.navigateTo({
|
||||
url:`/packageRc/pages/daiban/addbangfu?id=${this.form.userId}&name=${this.form.name}`
|
||||
})
|
||||
|
||||
|
||||
console.log("服务按钮点击事件触发");
|
||||
console.log("form数据:", this.form);
|
||||
console.log("userId:", this.form?.userId);
|
||||
console.log("name:", this.form?.name);
|
||||
|
||||
try {
|
||||
|
||||
const url = `/packageRc/pages/daiban/addbangfu?id=${this.form?.userId || ''}&name=${this.form.name}`;
|
||||
console.log("导航URL:", url);
|
||||
|
||||
uni.navigateTo({
|
||||
url: url,
|
||||
success: () => {
|
||||
console.log("导航成功");
|
||||
},
|
||||
fail: (err) => {
|
||||
console.error("导航失败:", err);
|
||||
uni.showToast({
|
||||
title: '导航失败: ' + JSON.stringify(err),
|
||||
icon: 'none'
|
||||
});
|
||||
}
|
||||
});
|
||||
} catch (error) {
|
||||
console.error("执行出错:", error);
|
||||
uni.showToast({
|
||||
title: '执行出错: ' + error.message,
|
||||
icon: 'none'
|
||||
});
|
||||
}
|
||||
},
|
||||
goRecommend() {
|
||||
this.$tab.navigateTo(
|
||||
@@ -1095,6 +1119,7 @@ export default {
|
||||
}
|
||||
}
|
||||
.top_box_bg_service {
|
||||
display:none;
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
left: 40rpx;
|
||||
|
||||
Reference in New Issue
Block a user