Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
meihua-island-book
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2023-12-28 14:33:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d5cc4fcfa6fc1556ccab7ec4657990d2713a85b7
d5cc4fcf
1 parent
22f745ba
细节调整
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
17 deletions
src/components/orderCard.vue
src/components/payCard.vue
src/pages/my/index.vue
src/components/orderCard.vue
View file @
d5cc4fc
This diff is collapsed. Click to expand it.
src/components/payCard.vue
View file @
d5cc4fc
<!--
* @Date: 2023-12-20 14:11:11
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-12-2
7 18:21:06
* @LastEditTime: 2023-12-2
8 13:40:59
* @FilePath: /meihuaApp/src/components/payCard.vue
* @Description: 文件描述
-->
...
...
@@ -78,8 +78,6 @@ watch(
id.value = props.data.id;
price.value = props.data.price;
remain_time.value = props.data.remain_time;
} else {
}
}
)
...
...
@@ -149,7 +147,7 @@ const goToPay = async () => {
// if (current_page === 'pages/my/index') { // 我的页面打开
// // 刷新当前页面
// Taro.reLaunch({
// url: '/pages/my/index?tab_index=
1
'
// url: '/pages/my/index?tab_index=
5
'
// });
// }
// if (current_page === 'pages/detail/index') { // 订房确认页打开
...
...
src/pages/my/index.vue
View file @
d5cc4fc
<!--
* @Date: 2023-12-13 11:13:13
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-12-2
7 19:45:07
* @LastEditTime: 2023-12-2
8 13:40:29
* @FilePath: /meihuaApp/src/pages/my/index.vue
* @Description: 我的页面
-->
...
...
@@ -72,17 +72,11 @@ onMounted(async () => {
}
});
const onPay = ({ id, remain_time }) => {
console.warn(id);
// Taro.showToast({
// title: '支付已超时',
// icon: 'error',
// duration: 2000
// });
show_pay.value = true;
payData.value.id = '123';
payData.value.price = 1200;
payData.value.remain_time = remain_time;
const onPay = ({ id, remain_time, price }) => { // 发送订单支付信息到支付组件
show_pay.value = true; // 打开支付组件
payData.value.id = id; // ID
payData.value.price = price; // 价格
payData.value.remain_time = remain_time; // 剩余时间
}
const onPayClose = () => {
...
...
@@ -156,7 +150,7 @@ export default {
this.indexCoverHeight = windowHeight - navHeight - avatarHeight - titleHeight - 50;
if (this.$refs.refScrollView) {
Taro.hideLoading();
console.warn('加载完成');
//
console.warn('加载完成');
}
});
// 默认勾选栏目
...
...
Please
register
or
login
to post a comment