提交 8d7d5c93 authored 作者: matian's avatar matian

fix:点击无反应修复

上级 aa4147e4
...@@ -2,7 +2,13 @@ ...@@ -2,7 +2,13 @@
<div class="main_header"> <div class="main_header">
<van-nav-bar fixed :title="title" left-arrow @click-left="onClickLeft"> <van-nav-bar fixed :title="title" left-arrow @click-left="onClickLeft">
<template #right> <template #right>
<van-icon v-if="pathName === '/'" name="contact" size="28" @click="onClickRight" /> <van-icon
v-if="pathName === '/'"
name="contact"
size="28"
@click="onClickRight"
class-prefix="main_header_right"
/>
</template> </template>
</van-nav-bar> </van-nav-bar>
</div> </div>
...@@ -47,6 +53,8 @@ export default { ...@@ -47,6 +53,8 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .van-icon-arrow-left { ::v-deep .van-icon-arrow-left {
cursor: pointer;
color: #000; color: #000;
} }
::v-deep .van-nav-bar__text { ::v-deep .van-nav-bar__text {
...@@ -60,4 +68,7 @@ export default { ...@@ -60,4 +68,7 @@ export default {
top: 0; top: 0;
z-index: 2000; z-index: 2000;
} }
.main_header_right {
cursor: pointer;
}
</style> </style>
...@@ -74,6 +74,7 @@ export default { ...@@ -74,6 +74,7 @@ export default {
bottom: 0.4rem; bottom: 0.4rem;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
cursor: pointer;
} }
} }
} }
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
:label="item.name" :label="item.name"
:placeholder="item.placeholder" :placeholder="item.placeholder"
@click="showSelectPicker(formIndex, index)" @click="showSelectPicker(formIndex, index)"
class="showSelectPicker"
/> />
<!-- 选择弹框 --> <!-- 选择弹框 -->
<van-popup v-model="item.showPicker" position="bottom"> <van-popup v-model="item.showPicker" position="bottom">
...@@ -79,6 +80,7 @@ ...@@ -79,6 +80,7 @@
:label="item.name" :label="item.name"
:placeholder="item.placeholder" :placeholder="item.placeholder"
@click="showTime(formIndex, index)" @click="showTime(formIndex, index)"
class="showTime"
/> />
<!-- 时间弹框 --> <!-- 时间弹框 -->
<van-popup v-model="item.showPicker" position="bottom"> <van-popup v-model="item.showPicker" position="bottom">
...@@ -267,11 +269,20 @@ export default { ...@@ -267,11 +269,20 @@ export default {
background: #fff; background: #fff;
padding-bottom: 0.68rem; padding-bottom: 0.68rem;
padding-top: 0.4rem; padding-top: 0.4rem;
.formItemList_item {
.showTime {
cursor: pointer;
}
.showSelectPicker {
cursor: pointer;
}
}
.btn_minus { .btn_minus {
float: right; float: right;
width: 0.5072rem; width: 0.5072rem;
height: 0.5072rem; height: 0.5072rem;
margin: 0.3rem 0.3rem 0 0; margin: 0.3rem 0.3rem 0 0;
cursor: pointer;
} }
} }
.btn_operate { .btn_operate {
...@@ -281,6 +292,7 @@ export default { ...@@ -281,6 +292,7 @@ export default {
height: 0.5072rem; height: 0.5072rem;
} }
.btn_add { .btn_add {
cursor: pointer;
margin-left: 0.3rem; margin-left: 0.3rem;
margin-right: 0.31rem; margin-right: 0.31rem;
} }
...@@ -306,6 +318,7 @@ export default { ...@@ -306,6 +318,7 @@ export default {
} }
.main_footer_bottom { .main_footer_bottom {
margin-top: -0.18rem; margin-top: -0.18rem;
cursor: pointer;
.main_content_btn { .main_content_btn {
width: 6.9rem; width: 6.9rem;
......
...@@ -251,6 +251,8 @@ export default { ...@@ -251,6 +251,8 @@ export default {
color: #333333; color: #333333;
} }
.main_content_activity_list { .main_content_activity_list {
cursor: pointer;
box-sizing: border-box; box-sizing: border-box;
padding: 0.2rem 0.25rem 0.2rem 0.3rem; padding: 0.2rem 0.25rem 0.2rem 0.3rem;
width: 100%; width: 100%;
......
...@@ -100,10 +100,12 @@ export default { ...@@ -100,10 +100,12 @@ export default {
handlePay(item) { handlePay(item) {
const payRecord = item.list[0].pay_record const payRecord = item.list[0].pay_record
const stepDetails = item.activity.details.find(d => d.id === payRecord.activity_detail_id) const stepDetails = item.activity.details.find(d => d.id === payRecord.activity_detail_id)
stepDetails.list = item.list.map((list, index) => { stepDetails.list = item.list
list.mobile === JSON.parse(window.localStorage.userInfo).mobile ? list.index = 0 : list.index = index + 1 .map((list, index) => {
return list list.mobile === JSON.parse(window.localStorage.userInfo).mobile ? (list.index = 0) : (list.index = index + 1)
}).sort((a, b) => a.index - b.index) return list
})
.sort((a, b) => a.index - b.index)
delete item.activity.details delete item.activity.details
stepDetails.activityInfo = item.activity stepDetails.activityInfo = item.activity
stepDetails.join_rand = item.join_rand stepDetails.join_rand = item.join_rand
...@@ -199,6 +201,7 @@ export default { ...@@ -199,6 +201,7 @@ export default {
.orderList_btn { .orderList_btn {
display: flex; display: flex;
margin-top: 0.34rem; margin-top: 0.34rem;
cursor: pointer;
} }
} }
} }
...@@ -216,6 +219,7 @@ export default { ...@@ -216,6 +219,7 @@ export default {
::v-deep .pay_btn { ::v-deep .pay_btn {
border-radius: 0.31rem; border-radius: 0.31rem;
border: 1px solid #c01540; border: 1px solid #c01540;
cursor: pointer;
color: #c01540; color: #c01540;
font-size: 0.28rem; font-size: 0.28rem;
......
...@@ -31,7 +31,9 @@ ...@@ -31,7 +31,9 @@
</div> </div>
</div> </div>
<div class="main_footer"> <div class="main_footer">
<van-checkbox v-model="isAll" @click="checkAll" :disabled="!!getPayLength.length">全选</van-checkbox> <van-checkbox v-model="isAll" @click="checkAll" :disabled="!!getPayLength.length" class="checkAll"
>全选</van-checkbox
>
<div class="main_footer_total"> <div class="main_footer_total">
<div class="main_footer_total_top"></div> <div class="main_footer_total_top"></div>
<div class="main_footer_total_top"> <div class="main_footer_total_top">
...@@ -248,6 +250,9 @@ export default { ...@@ -248,6 +250,9 @@ export default {
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
align-items: center; align-items: center;
.checkAll {
cursor: pointer;
}
.main_footer_total { .main_footer_total {
// background: #000; // background: #000;
...@@ -296,6 +301,7 @@ export default { ...@@ -296,6 +301,7 @@ export default {
} }
} }
.prev_btn { .prev_btn {
cursor: pointer;
background: #f5f5f5; background: #f5f5f5;
font-size: 0.3rem; font-size: 0.3rem;
font-weight: 500; font-weight: 500;
...@@ -306,6 +312,7 @@ export default { ...@@ -306,6 +312,7 @@ export default {
font-size: 0.3rem; font-size: 0.3rem;
font-weight: 500; font-weight: 500;
color: #ffffff; color: #ffffff;
cursor: pointer;
} }
} }
} }
......
...@@ -191,12 +191,14 @@ export default { ...@@ -191,12 +191,14 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
.main_btn_home { .main_btn_home {
cursor: pointer;
background: #b80140; background: #b80140;
color: #fff; color: #fff;
font-size: 0.3rem; font-size: 0.3rem;
font-weight: 400; font-weight: 400;
} }
.main_btn_order { .main_btn_order {
cursor: pointer;
margin-left: 0.2rem; margin-left: 0.2rem;
background: #f5f5f5; background: #f5f5f5;
font-size: 0.3rem; font-size: 0.3rem;
......
...@@ -43,6 +43,7 @@ export default { ...@@ -43,6 +43,7 @@ export default {
background-color: #f7f7f7; background-color: #f7f7f7;
.main_content_order { .main_content_order {
cursor: pointer;
width: 6.9rem; width: 6.9rem;
height: 0.7rem; height: 0.7rem;
background: #fff; background: #fff;
...@@ -73,6 +74,7 @@ export default { ...@@ -73,6 +74,7 @@ export default {
text-align: center; text-align: center;
position: fixed; position: fixed;
bottom: 4.37rem; bottom: 4.37rem;
cursor: pointer;
} }
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论