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

fix:点击无反应修复

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