tongbu
This commit is contained in:
parent
30336714ee
commit
60bd41f76e
@ -569,7 +569,7 @@ export default {
|
|||||||
.line {
|
.line {
|
||||||
width: 630rpx;
|
width: 630rpx;
|
||||||
height: 1rpx;
|
height: 1rpx;
|
||||||
background: #F0F0F0;
|
background: #eeeeee;
|
||||||
margin: 30rpx 0;
|
margin: 30rpx 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -692,7 +692,7 @@ export default {
|
|||||||
.line {
|
.line {
|
||||||
width: 642rpx;
|
width: 642rpx;
|
||||||
height: 1rpx;
|
height: 1rpx;
|
||||||
background: #F0F0F0;
|
background: #eeeeee;
|
||||||
//box-shadow: 1rpx 1rpx 0rpx 0rpx rgba(102, 102, 102, 0.25);
|
//box-shadow: 1rpx 1rpx 0rpx 0rpx rgba(102, 102, 102, 0.25);
|
||||||
//border-radius: 0rpx 0rpx 0rpx 0rpx;
|
//border-radius: 0rpx 0rpx 0rpx 0rpx;
|
||||||
}
|
}
|
||||||
|
@ -1022,7 +1022,7 @@ export default {
|
|||||||
width: 586rpx;
|
width: 586rpx;
|
||||||
height: 52rpx;
|
height: 52rpx;
|
||||||
font-family: PingFang SC, PingFang SC;
|
font-family: PingFang SC, PingFang SC;
|
||||||
font-weight: 400;
|
font-weight: 600;
|
||||||
font-size: 36rpx;
|
font-size: 36rpx;
|
||||||
color: #323232;
|
color: #323232;
|
||||||
// margin-left: 16rpx;
|
// margin-left: 16rpx;
|
||||||
|
@ -14,7 +14,8 @@
|
|||||||
<view class="first-image flex align-items white-space" style="margin-top: 25rpx;">
|
<view class="first-image flex align-items white-space" style="margin-top: 25rpx;">
|
||||||
<image :src="detailAny.user.avatar" mode="" style="width: 36rpx;height: 36rpx;"></image>
|
<image :src="detailAny.user.avatar" mode="" style="width: 36rpx;height: 36rpx;"></image>
|
||||||
<span style="color:#9C9C9C;">{{ detailAny.user.nickname }}</span>
|
<span style="color:#9C9C9C;">{{ detailAny.user.nickname }}</span>
|
||||||
<span style="color:#9C9C9C;margin-left: 20rpx;">{{ detailAny.join_info.people_number }}人玩过</span>
|
<span
|
||||||
|
style="color:#9C9C9C;margin-left: 20rpx;">{{ detailAny.join_info.people_number }}人玩过</span>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="flex align-items" style="margin-top: 20rpx;">
|
<view class="flex align-items" style="margin-top: 20rpx;">
|
||||||
@ -30,14 +31,14 @@
|
|||||||
</span>
|
</span>
|
||||||
<span class="line"></span>
|
<span class="line"></span>
|
||||||
|
|
||||||
<span class="first-image flex align-items space-between"
|
<span class="first-image flex align-items space-between" style="width: 100%;"
|
||||||
style="width: 100%;"
|
|
||||||
@click.stop="toMap(detail.latitude, detail.longitude, detail.address_detail)">
|
@click.stop="toMap(detail.latitude, detail.longitude, detail.address_detail)">
|
||||||
<view>
|
<view>
|
||||||
<image src="/static/center/address.png" mode="" class="icon-size"></image>
|
<image src="/static/center/address.png" mode="" class="icon-size"></image>
|
||||||
<span class="white-space">{{detail.address_detail}}</span>
|
<span class="white-space">{{detail.address_detail}}</span>
|
||||||
</view>
|
</view>
|
||||||
<image src="/static/detail/daohang.png" class="icon-size" style="width: 50rpx; height: 50rpx;"></image>
|
<image src="/static/detail/daohang.png" class="icon-size" style="width: 50rpx; height: 50rpx;">
|
||||||
|
</image>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
@ -57,24 +58,17 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="flex w-100 space-between hui align-items" style="margin-top: 30rpx;">
|
<view class="flex w-100 space-between hui align-items" style="margin-top: 30rpx;">
|
||||||
<span>核销/报名人数</span>
|
<span>核销/报名人数</span>
|
||||||
<span style="color: #FF4810;"> {{detailAny.verification.have_number}} / {{ detailAny.verification.total_number }}</span>
|
<span style="color: #FF4810;"> {{detailAny.verification.have_number}} /
|
||||||
|
{{ detailAny.verification.total_number }}</span>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<view class="footer flex align-items flex-column" style="justify-content: space-between;">
|
<view class="footer flex align-items flex-column" style="justify-content: space-between;">
|
||||||
|
<view class="footer-right flex justify-center align-items" @click="hexiaohd()">
|
||||||
<view class="footer-right flex justify-center align-items">
|
<span> 确认核销 </span>
|
||||||
<span @click="hexiaohd()"> 确认核销 </span>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -306,6 +300,7 @@
|
|||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.w-100 {
|
.w-100 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@ -375,6 +370,7 @@
|
|||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
border-radius: 18rpx;
|
border-radius: 18rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
.head_img {
|
.head_img {
|
||||||
width: 160rpx;
|
width: 160rpx;
|
||||||
height: 160rpx;
|
height: 160rpx;
|
||||||
@ -406,6 +402,7 @@
|
|||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: #222222;
|
color: #222222;
|
||||||
}
|
}
|
||||||
|
|
||||||
.xieyi {
|
.xieyi {
|
||||||
background-color: #BBFC5B;
|
background-color: #BBFC5B;
|
||||||
width: 156rpx;
|
width: 156rpx;
|
||||||
@ -447,8 +444,10 @@
|
|||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
border-radius: 44rpx;
|
border-radius: 44rpx;
|
||||||
|
|
||||||
.third-center {
|
.third-center {
|
||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
|
|
||||||
.hui {
|
.hui {
|
||||||
font-family: PingFang SC, PingFang SC;
|
font-family: PingFang SC, PingFang SC;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
@ -488,6 +487,7 @@
|
|||||||
background: #323232;
|
background: #323232;
|
||||||
border-radius: 148rpx;
|
border-radius: 148rpx;
|
||||||
margin-bottom: 30rpx;
|
margin-bottom: 30rpx;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -495,11 +495,13 @@
|
|||||||
color: #BBFC5B;
|
color: #BBFC5B;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-right1 {
|
.footer-right1 {
|
||||||
width: 690rpx;
|
width: 690rpx;
|
||||||
height: 90rpx;
|
height: 90rpx;
|
||||||
background: #E4E4E4;
|
background: #E4E4E4;
|
||||||
border-radius: 148rpx;
|
border-radius: 148rpx;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -869,9 +871,11 @@
|
|||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.value_slide {
|
.value_slide {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
|
|
||||||
::v-deep .uni-slider-handle-wrapper {
|
::v-deep .uni-slider-handle-wrapper {
|
||||||
height: 10rpx;
|
height: 10rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .uni-slider-handle {
|
::v-deep .uni-slider-handle {
|
||||||
background: url('@/static/detail/qiu.png') !important;
|
background: url('@/static/detail/qiu.png') !important;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@ -881,16 +885,20 @@
|
|||||||
top: 14rpx;
|
top: 14rpx;
|
||||||
margin-left: -18rpx !important;
|
margin-left: -18rpx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .uni-slider-value {
|
::v-deep .uni-slider-value {
|
||||||
color: #323232;
|
color: #323232;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: '%';
|
content: '%';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
.wx-slider-handle-wrapper {
|
.wx-slider-handle-wrapper {
|
||||||
height: 8rpx;
|
height: 8rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wx-slider-handle {
|
.wx-slider-handle {
|
||||||
background: url('@/static/detail/qiu.png') !important;
|
background: url('@/static/detail/qiu.png') !important;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
@ -900,14 +908,17 @@
|
|||||||
top: 18rpx;
|
top: 18rpx;
|
||||||
margin-left: -14rpx !important;
|
margin-left: -14rpx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wx-slider-value {
|
.wx-slider-value {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 30rpx;
|
width: 30rpx;
|
||||||
color: #323232;
|
color: #323232;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: '%';
|
content: '%';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// #endif
|
// #endif
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
@ -55,7 +55,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="flex justify-center align-items" v-if="list.length == 0" style="margin-top: 150rpx;">
|
<view class="flex justify-center align-items" v-if="list.length == 0" style="height: 90vh;">
|
||||||
<view>
|
<view>
|
||||||
<image src="/static/message/activen.png" mode="" style="width: 180rpx;height: 180rpx;">
|
<image src="/static/message/activen.png" mode="" style="width: 180rpx;height: 180rpx;">
|
||||||
</image>
|
</image>
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
<span class="title white-space">{{ item.title }}</span>
|
<span class="title white-space">{{ item.title }}</span>
|
||||||
<span class="first-image flex align-items" style="margin-top: 20rpx; width: 100%">
|
<span class="first-image flex align-items" style="margin-top: 20rpx; width: 100%">
|
||||||
<image :src="item.user.avatar" style="width: 36rpx; height: 36rpx"></image>
|
<image :src="item.user.avatar" style="width: 36rpx; height: 36rpx"></image>
|
||||||
<span style="color: #9c9c9c; margin-left: 10rpx; width: 35%">{{
|
<span style="color: #9c9c9c; margin-left: 10rpx;">{{
|
||||||
item.user.nickname
|
item.user.nickname
|
||||||
}}</span>
|
}}</span>
|
||||||
<view class="white-space" style="width: 60%">
|
<view class="white-space" style="width: 60%">
|
||||||
|
@ -12,9 +12,11 @@
|
|||||||
<text class="first-name">{{ detail.title }}</text>
|
<text class="first-name">{{ detail.title }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="first-image flex align-items" style="margin-top: 25rpx;">
|
<view class="first-image flex align-items" style="margin-top: 25rpx;">
|
||||||
<image :src="detailAny.user.avatar" mode="" style="width: 36rpx;height: 36rpx;border-radius: 80rpx ;"></image>
|
<image :src="detailAny.user.avatar" mode=""
|
||||||
|
style="width: 36rpx;height: 36rpx;border-radius: 80rpx ;"></image>
|
||||||
<text style="color:#9C9C9C;">{{ detailAny.user.nickname }}</text>
|
<text style="color:#9C9C9C;">{{ detailAny.user.nickname }}</text>
|
||||||
<text style="color:#9C9C9C;margin-left: 20rpx;">{{ detailAny.join_info.people_number }}人玩过</text>
|
<text style="color:#9C9C9C;margin-left: 20rpx;">{{ detailAny.join_info.people_number
|
||||||
|
}}人玩过</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="flex align-items" style="margin-top: 20rpx;">
|
<view class="flex align-items" style="margin-top: 20rpx;">
|
||||||
¥{{ detailAny.totalprice }}
|
¥{{ detailAny.totalprice }}
|
||||||
@ -29,14 +31,14 @@
|
|||||||
</view>
|
</view>
|
||||||
<text class="line"></text>
|
<text class="line"></text>
|
||||||
|
|
||||||
<view class="first-image flex align-items space-between"
|
<view class="first-image flex align-items space-between" style="width: 100%;"
|
||||||
style="width: 100%;"
|
|
||||||
@click.stop="toMap(detail.latitude, detail.longitude, detail.address_detail)">
|
@click.stop="toMap(detail.latitude, detail.longitude, detail.address_detail)">
|
||||||
<view class="flex">
|
<view class="flex">
|
||||||
<image src="/static/center/address.png" mode="" class="icon-size"></image>
|
<image src="/static/center/address.png" mode="" class="icon-size"></image>
|
||||||
<text>{{ detail.address_detail }}</text>
|
<text>{{ detail.address_detail }}</text>
|
||||||
</view>
|
</view>
|
||||||
<image src="/static/detail/daohang.png" class="icon-size" style="width: 48rpx; height: 48rpx;"></image>
|
<image src="/static/detail/daohang.png" class="icon-size" style="width: 48rpx; height: 48rpx;">
|
||||||
|
</image>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
@ -57,7 +59,7 @@
|
|||||||
</l-painter-view>
|
</l-painter-view>
|
||||||
</l-painter> -->
|
</l-painter> -->
|
||||||
<view class="bottom">
|
<view class="bottom">
|
||||||
<text>左右滑动二维码核销({{qrindex}}/{{detailAny.num}})张</text>
|
<text>二维码核销({{ qrindex }}/{{ detailAny.num }})张</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@ -67,7 +69,8 @@
|
|||||||
<view class="third-center">
|
<view class="third-center">
|
||||||
<view class="flex w-100 space-between hui align-items" style="margin-top: 8rpx;">
|
<view class="flex w-100 space-between hui align-items" style="margin-top: 8rpx;">
|
||||||
<text>订单状态</text>
|
<text>订单状态</text>
|
||||||
<text style="color: #323232;" v-if="detailAny.status == 2 || detailAny.status == 3 || detailAny.status == 4">待核销</text>
|
<text style="color: #323232;"
|
||||||
|
v-if="detailAny.status == 2 || detailAny.status == 3 || detailAny.status == 4">待核销</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="flex w-100 space-between hui align-items" style="margin-top: 40rpx;">
|
<view class="flex w-100 space-between hui align-items" style="margin-top: 40rpx;">
|
||||||
<text>订单编号</text>
|
<text>订单编号</text>
|
||||||
@ -95,21 +98,24 @@
|
|||||||
<!-- v-if="detailAny.feel == 0" -->
|
<!-- v-if="detailAny.feel == 0" -->
|
||||||
<view class="footer flex align-items flex-column" style="justify-content: space-between;">
|
<view class="footer flex align-items flex-column" style="justify-content: space-between;">
|
||||||
|
|
||||||
<view @click="service(detailAny.id)" class="footer-right flex justify-center align-items" v-if="detailAny.detail.feel == 0 && detailAny.status==9">
|
<view @click="service(detailAny.id)" class="footer-right flex justify-center align-items"
|
||||||
|
v-if="detailAny.detail.feel == 0 && detailAny.status == 9">
|
||||||
<text> 申请售后 </text>
|
<text> 申请售后 </text>
|
||||||
</view>
|
</view>
|
||||||
<view @click="paidcancel(detailAny.id)" class="footer-right flex justify-center align-items" v-if="detailAny.detail.feel == 0 && detailAny.status==2">
|
<view @click="paidcancel(detailAny.id)" class="footer-right flex justify-center align-items"
|
||||||
|
v-if="detailAny.detail.feel == 0 && detailAny.status == 2">
|
||||||
<text> 取消订单 </text>
|
<text> 取消订单 </text>
|
||||||
</view>
|
</view>
|
||||||
<view @click="cancelOrder(detailAny.id)" class="footer-right flex justify-center align-items" v-if="detailAny.detail.feel == 1&& detailAny.status==2">
|
<view @click="cancelOrder(detailAny.id)" class="footer-right flex justify-center align-items"
|
||||||
|
v-if="detailAny.detail.feel == 1 && detailAny.status == 2">
|
||||||
<text> 取消订单 </text>
|
<text> 取消订单 </text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<u-popup :show="buyShow" mode="center" :round="10" :zIndex="99999" :custom-style="popupStyle" @close="buyClose"
|
<u-popup :show="buyShow" mode="center" :round="10" :zIndex="99999" :custom-style="popupStyle"
|
||||||
@open="buyOpen" :safeAreaInsetBottom="false" :closeable="true">
|
@close="buyClose" @open="buyOpen" :safeAreaInsetBottom="false" :closeable="true">
|
||||||
<view class="popupBox flex justify-start align-items flex-column">
|
<view class="popupBox flex justify-start align-items flex-column">
|
||||||
<view class="pop-header flex align-items flex-column flex-start">
|
<view class="pop-header flex align-items flex-column flex-start">
|
||||||
<view class="name white-space">{{ detail.title }}</view>
|
<view class="name white-space">{{ detail.title }}</view>
|
||||||
@ -330,7 +336,13 @@
|
|||||||
this.order_no = options.order_no
|
this.order_no = options.order_no
|
||||||
console.log(options.id)
|
console.log(options.id)
|
||||||
this.getDetail()
|
this.getDetail()
|
||||||
this.getShare()
|
this.getShare();
|
||||||
|
//轮询访问this.getDetail()
|
||||||
|
setTimeout(() => {
|
||||||
|
setInterval(() => {
|
||||||
|
this.getDetail()
|
||||||
|
}, 10000)
|
||||||
|
}, 10000)
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
@ -923,6 +935,7 @@
|
|||||||
.detail_all {
|
.detail_all {
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.w-100 {
|
.w-100 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@ -992,6 +1005,7 @@
|
|||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
border-radius: 18rpx;
|
border-radius: 18rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
.head_img {
|
.head_img {
|
||||||
width: 160rpx;
|
width: 160rpx;
|
||||||
height: 160rpx;
|
height: 160rpx;
|
||||||
@ -1023,6 +1037,7 @@
|
|||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: #222222;
|
color: #222222;
|
||||||
}
|
}
|
||||||
|
|
||||||
.xieyi {
|
.xieyi {
|
||||||
background-color: #BBFC5B;
|
background-color: #BBFC5B;
|
||||||
width: 156rpx;
|
width: 156rpx;
|
||||||
@ -1064,6 +1079,7 @@
|
|||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
border-radius: 44rpx;
|
border-radius: 44rpx;
|
||||||
|
|
||||||
.third-top {
|
.third-top {
|
||||||
font-family: PingFang SC, PingFang SC;
|
font-family: PingFang SC, PingFang SC;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
@ -1077,6 +1093,7 @@
|
|||||||
|
|
||||||
view {
|
view {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.icons {
|
.icons {
|
||||||
width: 37rpx;
|
width: 37rpx;
|
||||||
height: 20rpx;
|
height: 20rpx;
|
||||||
@ -1087,15 +1104,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.third-center {
|
.third-center {
|
||||||
padding: 30rpx;
|
padding: 30rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.hui {
|
.hui {
|
||||||
font-family: PingFang SC, PingFang SC;
|
font-family: PingFang SC, PingFang SC;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
color: #9C9C9C;
|
color: #9C9C9C;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom {
|
.bottom {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 10rpx;
|
margin-bottom: 10rpx;
|
||||||
@ -1138,6 +1158,7 @@
|
|||||||
background: #323232;
|
background: #323232;
|
||||||
border-radius: 148rpx;
|
border-radius: 148rpx;
|
||||||
margin-bottom: 30rpx;
|
margin-bottom: 30rpx;
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -1145,11 +1166,13 @@
|
|||||||
color: #BBFC5B;
|
color: #BBFC5B;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-right1 {
|
.footer-right1 {
|
||||||
width: 690rpx;
|
width: 690rpx;
|
||||||
height: 90rpx;
|
height: 90rpx;
|
||||||
background: #E4E4E4;
|
background: #E4E4E4;
|
||||||
border-radius: 148rpx;
|
border-radius: 148rpx;
|
||||||
|
|
||||||
text {
|
text {
|
||||||
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
@ -607,7 +607,7 @@
|
|||||||
color: #181818;
|
color: #181818;
|
||||||
height: 110rpx;
|
height: 110rpx;
|
||||||
line-height: 110rpx;
|
line-height: 110rpx;
|
||||||
border-bottom: 1rpx solid #f5f6fa;
|
border-bottom: 1rpx solid #eeeeee;
|
||||||
|
|
||||||
.right {
|
.right {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -6,7 +6,10 @@
|
|||||||
<view style="border: 1px solid #9C9C9C;width: 280rpx;height: 280rpx;margin: 0 auto;border-radius: 8rpx;">
|
<view style="border: 1px solid #9C9C9C;width: 280rpx;height: 280rpx;margin: 0 auto;border-radius: 8rpx;">
|
||||||
<image :src="item.codeimage" class="swiper-image" mode="aspectFill" />
|
<image :src="item.codeimage" class="swiper-image" mode="aspectFill" />
|
||||||
</view>
|
</view>
|
||||||
<view style="text-align: center;font-size: 26rpx;margin-top: 20rpx;">{{item.name}}</view>
|
<view v-if="item.status==6" style="border: 1px solid #9C9C9C;width: 280rpx;height: 284rpx;margin: 0 auto;border-radius: 8rpx; position: absolute;top: 0;left: 0;right: 0;">
|
||||||
|
<image src="/static/qrcode_yes.png" class="swiper-image" mode="aspectFill" />
|
||||||
|
</view>
|
||||||
|
<view style="text-align: center;font-size: 28rpx;margin-top: 15rpx;font-weight: 600;">{{item.name}}</view>
|
||||||
</swiper-item>
|
</swiper-item>
|
||||||
</swiper>
|
</swiper>
|
||||||
|
|
||||||
|
@ -19,8 +19,9 @@
|
|||||||
|
|
||||||
|
|
||||||
<view class="row flex align-items textarea_fb" style="margin-top: 25rpx;">
|
<view class="row flex align-items textarea_fb" style="margin-top: 25rpx;">
|
||||||
<u--textarea v-model="form.content" :maxlength="800" placeholder="描述一下活动的亮点、活动内容、推荐的人群、叫大家一起运动吧~"
|
<u--textarea v-model="form.content" :maxlength="800"
|
||||||
:height="120" placeholder-class="bttop"></u--textarea>
|
placeholder="描述一下活动的亮点、活动内容、推荐的人群、叫大家一起运动吧~" :height="120"
|
||||||
|
placeholder-class="bttop"></u--textarea>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<span class="line-row" style="margin-top: 0;"></span>
|
<span class="line-row" style="margin-top: 0;"></span>
|
||||||
@ -46,7 +47,8 @@
|
|||||||
集合地点
|
集合地点
|
||||||
</view>
|
</view>
|
||||||
<view class="row-right" @click="choose()" style="width: 70%;">
|
<view class="row-right" @click="choose()" style="width: 70%;">
|
||||||
<text style="font-size: 28rpx;color: #9C9C9C;">{{form.address==''?'请填写地址':form.address}}</text>
|
<text
|
||||||
|
:style="form.address == '' ? 'font-size: 28rpx;color: #9C9C9C;' : 'font-size: 28rpx;color: #3D3D3D;'">{{ form.address == '' ? '请填写地址' : form.address }}</text>
|
||||||
<u-icon name="arrow-right" color="#323232"></u-icon>
|
<u-icon name="arrow-right" color="#323232"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -67,7 +69,7 @@
|
|||||||
<view class="row-right" @click="dateShowHidden()" style="width: 70%;">
|
<view class="row-right" @click="dateShowHidden()" style="width: 70%;">
|
||||||
<!-- <input type="text" placeholder="请选择活动时间" class="input" disabled="true" v-model="form.time"
|
<!-- <input type="text" placeholder="请选择活动时间" class="input" disabled="true" v-model="form.time"
|
||||||
placeholder-class="plasty" style="width: auto;"/> -->
|
placeholder-class="plasty" style="width: auto;"/> -->
|
||||||
<text style="font-size: 28rpx;color: #9C9C9C;">{{form.time==''?'请选择活动时间':form.time}}</text>
|
<text :style="form.time == '' ? 'font-size: 28rpx;color: #9C9C9C;' : 'font-size: 28rpx;color: #3D3D3D;'">{{ form.time == '' ? '请选择活动时间' : form.time }}</text>
|
||||||
<u-icon name="arrow-right" color="#323232"></u-icon>
|
<u-icon name="arrow-right" color="#323232"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -81,14 +83,15 @@
|
|||||||
<span class="row-right" @click="openBq">
|
<span class="row-right" @click="openBq">
|
||||||
<!-- <input type="text" placeholder="请选择活动分类" class="input" disabled="true"
|
<!-- <input type="text" placeholder="请选择活动分类" class="input" disabled="true"
|
||||||
v-model="form.cate_idsName" placeholder-class="plasty" /> -->
|
v-model="form.cate_idsName" placeholder-class="plasty" /> -->
|
||||||
<text style="font-size: 28rpx;color: #9C9C9C;">{{form.cate_idsName==''?'请选择活动分类':form.cate_idsName}}</text>
|
<text
|
||||||
|
:style="form.cate_idsName == '' ? 'font-size: 28rpx;color: #9C9C9C;' : 'font-size: 28rpx;color: #3D3D3D;'">{{ form.cate_idsName == '' ? '请选择活动分类' : form.cate_idsName }}</text>
|
||||||
<u-icon name="arrow-right" color="#323232"></u-icon>
|
<u-icon name="arrow-right" color="#323232"></u-icon>
|
||||||
</span>
|
</span>
|
||||||
</view>
|
</view>
|
||||||
<span class="line-row"></span>
|
<span class="line-row"></span>
|
||||||
|
|
||||||
|
|
||||||
<view class="row flex align-items" style="margin: 25rpx 0;" v-if="form.price != 0">
|
<view class="row flex align-items" style="margin: 25rpx 0;">
|
||||||
<view class="label flex align-items ">
|
<view class="label flex align-items ">
|
||||||
<text style="color: #3D3D3D;">*</text>退款政策
|
<text style="color: #3D3D3D;">*</text>退款政策
|
||||||
</view>
|
</view>
|
||||||
@ -96,7 +99,8 @@
|
|||||||
<view class="row-right" @click="tuikuan = true">
|
<view class="row-right" @click="tuikuan = true">
|
||||||
<!-- <input type="text" placeholder="请选择退款政策" class="input" disabled="true"
|
<!-- <input type="text" placeholder="请选择退款政策" class="input" disabled="true"
|
||||||
v-model="form.refund_idn" placeholder-class="plasty_c" /> -->
|
v-model="form.refund_idn" placeholder-class="plasty_c" /> -->
|
||||||
<text style="font-size: 28rpx;color: #9C9C9C;">{{form.refund_idn==''?'请选择活动分类':form.refund_idn}}</text>
|
<text
|
||||||
|
style="font-size: 28rpx;color: #FF4810;">{{ form.refund_idn == '' ? '请选择退款政策' : form.refund_idn }}</text>
|
||||||
<u-icon name="arrow-right" color="#323232"></u-icon>
|
<u-icon name="arrow-right" color="#323232"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -128,19 +132,33 @@
|
|||||||
活动人数
|
活动人数
|
||||||
</span>
|
</span>
|
||||||
<span class="row-right">
|
<span class="row-right">
|
||||||
<input type="number" placeholder="请填写活动人数" class="input" v-model="form.stock" />
|
<input type="number" placeholder="请填写活动人数" placeholder-class="plasty" class="input"
|
||||||
|
v-model="form.stock" />
|
||||||
</span>
|
</span>
|
||||||
</view>
|
</view>
|
||||||
<span class="line-row"></span>
|
<span class="line-row"></span>
|
||||||
<view class="row flex align-items" style="margin-top: 25rpx;">
|
<view class="row flex align-items" style="margin-top: 25rpx;">
|
||||||
<span class="label flex align-items ">
|
<view class="label flex align-items ">
|
||||||
<span style="color: #3D3D3D;">*</span>
|
<span style="color: #3D3D3D;">*</span>
|
||||||
活动价格
|
活动价格
|
||||||
</span>
|
</view>
|
||||||
<span class="row-right">
|
<view class="row-right" style="font-size:28rpx;color:#FF4810;font-weight: 600;" @click="priceShow = true">
|
||||||
<input type="digit" placeholder="请填写活动价格" class="input" v-model="form.price"
|
<!-- <input type="digit" placeholder="请填写活动价格" class="input" v-model="priceName"
|
||||||
placeholder-class="plasty" />
|
placeholder-class="plasty" /> -->
|
||||||
</span>
|
<view>
|
||||||
|
<view v-if="form.price == 0 || form.price == ''">
|
||||||
|
<text>{{ priceName }}</text>
|
||||||
|
</view>
|
||||||
|
<view v-if="form.price != '' && form.price != 0">
|
||||||
|
<text>¥</text>
|
||||||
|
<text>{{ priceName }}</text>
|
||||||
|
<text>/人</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view>
|
||||||
|
<u-icon name="arrow-right" color="#323232"></u-icon>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<span class="line-row"></span>
|
<span class="line-row"></span>
|
||||||
<view class="row flex align-items" style="margin: 25rpx 0;">
|
<view class="row flex align-items" style="margin: 25rpx 0;">
|
||||||
@ -158,7 +176,8 @@
|
|||||||
</scroll-view>
|
</scroll-view>
|
||||||
<view class="bottom " v-if="status == -1 || status == 2">
|
<view class="bottom " v-if="status == -1 || status == 2">
|
||||||
<view style="margin:30rpx 0 0 0;">
|
<view style="margin:30rpx 0 0 0;">
|
||||||
<cc-protocolBox :agree="agree" :name="protocolArr" @click="protocolClick" @clickOne="protocolClick"></cc-protocolBox>
|
<cc-protocolBox :agree="agree" :name="protocolArr" @click="protocolClick"
|
||||||
|
@clickOne="protocolClick"></cc-protocolBox>
|
||||||
</view>
|
</view>
|
||||||
<span class="flex align-items justify-center" @click="apply()" v-if="agreeAdd == true">确认发布</span>
|
<span class="flex align-items justify-center" @click="apply()" v-if="agreeAdd == true">确认发布</span>
|
||||||
<span class="flex align-items justify-center" v-if="agreeAdd == false"
|
<span class="flex align-items justify-center" v-if="agreeAdd == false"
|
||||||
@ -233,7 +252,8 @@
|
|||||||
style="padding: 40rpx 20rpx 10rpx 20rpx;;font-weight: 400;color: #3D3D3D;text-align: center;line-height: 44rpx;font-size: 28rpx;">
|
style="padding: 40rpx 20rpx 10rpx 20rpx;;font-weight: 400;color: #3D3D3D;text-align: center;line-height: 44rpx;font-size: 28rpx;">
|
||||||
只差最后一步!完成身份认证,即可成为<br>【搭+】认证活动官,开始分享您的精彩活动。
|
只差最后一步!完成身份认证,即可成为<br>【搭+】认证活动官,开始分享您的精彩活动。
|
||||||
</view>
|
</view>
|
||||||
<view style="gap: 20px;width: 100%;display: flex;justify-content: space-between;align-items: center;padding-bottom: 30rpx;">
|
<view
|
||||||
|
style="gap: 20px;width: 100%;display: flex;justify-content: space-between;align-items: center;padding-bottom: 30rpx;">
|
||||||
<view class="btn_4" @click="cardShow = false">取消</view>
|
<view class="btn_4" @click="cardShow = false">取消</view>
|
||||||
<view class="btn_2" @click="openUrl('/packageB/card/index')">我同意</view>
|
<view class="btn_2" @click="openUrl('/packageB/card/index')">我同意</view>
|
||||||
</view>
|
</view>
|
||||||
@ -263,7 +283,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="titles_fl" style="margin-top: 50rpx;">全部标签</view>
|
<view class="titles_fl">全部标签</view>
|
||||||
|
|
||||||
<view style="display: flex; flex-wrap: wrap;">
|
<view style="display: flex; flex-wrap: wrap;">
|
||||||
<view class="flex align-items" :class="['bqpiece', { active: current === index }]"
|
<view class="flex align-items" :class="['bqpiece', { active: current === index }]"
|
||||||
@ -315,6 +335,27 @@
|
|||||||
<long-date v-if="birthShow" chooseNum="90" @select="birthConfirm($event, bmIndex)"></long-date>
|
<long-date v-if="birthShow" chooseNum="90" @select="birthConfirm($event, bmIndex)"></long-date>
|
||||||
</view>
|
</view>
|
||||||
</u-popup>
|
</u-popup>
|
||||||
|
<u-popup :show="priceShow" :round="20" :closeable="true" mode="bottom" @close="priceShow = false;">
|
||||||
|
<view
|
||||||
|
style="padding: 26rpx;font-size: 36rpx;font-weight: 400;color: #3D3D3D;text-align: center;font-weight: 600;">
|
||||||
|
请输入活动价格
|
||||||
|
</view>
|
||||||
|
<view style="padding: 0rpx 30rpx;">
|
||||||
|
<view style="display: flex;align-items: center;justify-content: space-between;padding: 30rpx 0rpx;">
|
||||||
|
<view style="font-size: 30rpx;">
|
||||||
|
活动价格
|
||||||
|
</view>
|
||||||
|
<view style="width: 75%;">
|
||||||
|
<input :cursor-spacing="300" type="digit" placeholder="请填写活动价格" class="input"
|
||||||
|
v-model="price" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view style="height: 1px;background-color: #eeeeee;width: 100%;"></view>
|
||||||
|
</view>
|
||||||
|
<view style="margin-top: 40rpx;">
|
||||||
|
<view class="btn_1" @click="priceDo" style="margin: 0 auto;">确认</view>
|
||||||
|
</view>
|
||||||
|
</u-popup>
|
||||||
<!-- 活动时间 -->
|
<!-- 活动时间 -->
|
||||||
<!-- <u-datetime-picker @cancel="datecel" ref="dateRef" title="开始时间" :minDate="minDate" confirmText="下一步"
|
<!-- <u-datetime-picker @cancel="datecel" ref="dateRef" title="开始时间" :minDate="minDate" confirmText="下一步"
|
||||||
@confirm="datefirm" :show="dateShow" v-model="form.date" mode="datetime"></u-datetime-picker> -->
|
@confirm="datefirm" :show="dateShow" v-model="form.date" mode="datetime"></u-datetime-picker> -->
|
||||||
@ -338,7 +379,8 @@
|
|||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
import longDate from "@/components/long-date/long-date.vue"
|
import longDate from "@/components/long-date/long-date.vue"
|
||||||
import {
|
import {
|
||||||
dateWeek,dateWeekData
|
dateWeek,
|
||||||
|
dateWeekData
|
||||||
} from '../../utils/dateFormat'
|
} from '../../utils/dateFormat'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@ -346,6 +388,9 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
price:'',
|
||||||
|
priceName: '免费',
|
||||||
|
priceShow: false,
|
||||||
bmIndex: 1,
|
bmIndex: 1,
|
||||||
hdIndex: 1,
|
hdIndex: 1,
|
||||||
agreeAdd: false,
|
agreeAdd: false,
|
||||||
@ -386,7 +431,7 @@
|
|||||||
content: '',
|
content: '',
|
||||||
refund_id: '',
|
refund_id: '',
|
||||||
refund_idn: '',
|
refund_idn: '',
|
||||||
price: 0,
|
price: '',
|
||||||
stock: '',
|
stock: '',
|
||||||
sign_time: '',
|
sign_time: '',
|
||||||
time: '',
|
time: '',
|
||||||
@ -422,7 +467,7 @@
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
flexColumn: 'column'
|
flexColumn: 'column'
|
||||||
},
|
},
|
||||||
current: 0,
|
current: -1,
|
||||||
currents: -1,
|
currents: -1,
|
||||||
institutionList: [],
|
institutionList: [],
|
||||||
images: '',
|
images: '',
|
||||||
@ -455,6 +500,7 @@
|
|||||||
this.getBqList();
|
this.getBqList();
|
||||||
this.getrefund_list();
|
this.getrefund_list();
|
||||||
this.getitembq();
|
this.getitembq();
|
||||||
|
this.selectItemTuikuan();
|
||||||
//var c=uni.getSystemInfoSync();
|
//var c=uni.getSystemInfoSync();
|
||||||
//844-94-70-100 = 580
|
//844-94-70-100 = 580
|
||||||
//763-47-(100-47)-34-50
|
//763-47-(100-47)-34-50
|
||||||
@ -476,6 +522,31 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
priceDo() {
|
||||||
|
var price = this.price;
|
||||||
|
//判断金额不能小于1
|
||||||
|
if(price<1){
|
||||||
|
uni.showToast({
|
||||||
|
title: '活动价格不能小于1.00',
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000,
|
||||||
|
});
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
//帮忙格式化一下金额。如是正整数,则补全.00,补充位数
|
||||||
|
if (price.indexOf('.') == -1) {
|
||||||
|
price = price + '.00';
|
||||||
|
}
|
||||||
|
this.form.price = this.price;
|
||||||
|
this.priceName = price;
|
||||||
|
this.priceShow = false;
|
||||||
|
|
||||||
|
},
|
||||||
|
selectItemTuikuan() {
|
||||||
|
this.currents = 5;
|
||||||
|
this.form.refund_id = 3;
|
||||||
|
this.form.refund_idn = '不支持自动退款';
|
||||||
|
},
|
||||||
Time(val) {
|
Time(val) {
|
||||||
console.log(val);
|
console.log(val);
|
||||||
},
|
},
|
||||||
@ -1283,7 +1354,10 @@
|
|||||||
this.fileList1 = [];
|
this.fileList1 = [];
|
||||||
this.agree = false;
|
this.agree = false;
|
||||||
this.list1 = '';
|
this.list1 = '';
|
||||||
|
this.price='';
|
||||||
|
this.priceName='免费';
|
||||||
this.form = {
|
this.form = {
|
||||||
|
qunQrcode:'',
|
||||||
cate_ids: '',
|
cate_ids: '',
|
||||||
// 活动分类名字
|
// 活动分类名字
|
||||||
cate_idsName: "",
|
cate_idsName: "",
|
||||||
@ -1484,6 +1558,7 @@
|
|||||||
::v-deep .plasty {
|
::v-deep .plasty {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
color: #9c9c9c;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .plasty_c {
|
::v-deep .plasty_c {
|
||||||
@ -1554,6 +1629,7 @@
|
|||||||
bottom: 128rpx;
|
bottom: 128rpx;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
width: 642rpx;
|
width: 642rpx;
|
||||||
height: 80rpx;
|
height: 80rpx;
|
||||||
@ -1696,7 +1772,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bqlist {
|
.bqlist {
|
||||||
margin-top: 80rpx;
|
margin-top: 147rpx;
|
||||||
z-index: 200;
|
z-index: 200;
|
||||||
margin-left: 80rpx;
|
margin-left: 80rpx;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -1710,7 +1786,7 @@
|
|||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
height: 760rpx;
|
height: 690rpx;
|
||||||
width: 700rpx;
|
width: 700rpx;
|
||||||
|
|
||||||
.titles_fl {
|
.titles_fl {
|
||||||
|
BIN
static/qrcode_yes.png
Normal file
BIN
static/qrcode_yes.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
Loading…
x
Reference in New Issue
Block a user