This commit is contained in:
张凯 2025-06-14 14:04:15 +08:00
commit df8f3c76b0
10 changed files with 3035 additions and 2922 deletions

View File

@ -569,7 +569,7 @@ export default {
.line {
width: 630rpx;
height: 1rpx;
background: #F0F0F0;
background: #eeeeee;
margin: 30rpx 0;
}
@ -692,7 +692,7 @@ export default {
.line {
width: 642rpx;
height: 1rpx;
background: #F0F0F0;
background: #eeeeee;
//box-shadow: 1rpx 1rpx 0rpx 0rpx rgba(102, 102, 102, 0.25);
//border-radius: 0rpx 0rpx 0rpx 0rpx;
}

View File

@ -1022,7 +1022,7 @@ export default {
width: 586rpx;
height: 52rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
font-weight: 600;
font-size: 36rpx;
color: #323232;
// margin-left: 16rpx;

View File

@ -14,7 +14,8 @@
<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>
<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 class="flex align-items" style="margin-top: 20rpx;">
@ -30,14 +31,14 @@
</span>
<span class="line"></span>
<span class="first-image flex align-items space-between"
style="width: 100%;"
<span class="first-image flex align-items space-between" style="width: 100%;"
@click.stop="toMap(detail.latitude, detail.longitude, detail.address_detail)">
<view>
<image src="/static/center/address.png" mode="" class="icon-size"></image>
<span class="white-space">{{detail.address_detail}}</span>
</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>
</view>
@ -57,24 +58,17 @@
</view>
<view class="flex w-100 space-between hui align-items" style="margin-top: 30rpx;">
<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 class="footer flex align-items flex-column" style="justify-content: space-between;">
<view class="footer-right flex justify-center align-items">
<span @click="hexiaohd()"> 确认核销 </span>
<view class="footer-right flex justify-center align-items" @click="hexiaohd()">
<span> 确认核销 </span>
</view>
</view>
</view>
</view>
</template>
@ -306,6 +300,7 @@
background-color: #f7f7f7;
height: 100vh;
}
.w-100 {
width: 100%;
}
@ -375,6 +370,7 @@
padding: 30rpx;
border-radius: 18rpx;
box-sizing: border-box;
.head_img {
width: 160rpx;
height: 160rpx;
@ -406,6 +402,7 @@
font-size: 26rpx;
color: #222222;
}
.xieyi {
background-color: #BBFC5B;
width: 156rpx;
@ -447,8 +444,10 @@
background: #ffffff;
margin-top: 20rpx;
border-radius: 44rpx;
.third-center {
padding: 30rpx;
.hui {
font-family: PingFang SC, PingFang SC;
font-weight: 500;
@ -488,6 +487,7 @@
background: #323232;
border-radius: 148rpx;
margin-bottom: 30rpx;
span {
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
font-weight: 400;
@ -495,11 +495,13 @@
color: #BBFC5B;
}
}
.footer-right1 {
width: 690rpx;
height: 90rpx;
background: #E4E4E4;
border-radius: 148rpx;
span {
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
font-weight: 400;
@ -869,9 +871,11 @@
<style lang="scss">
.value_slide {
width: 50%;
::v-deep .uni-slider-handle-wrapper {
height: 10rpx;
}
::v-deep .uni-slider-handle {
background: url('@/static/detail/qiu.png') !important;
border-radius: 0;
@ -881,16 +885,20 @@
top: 14rpx;
margin-left: -18rpx !important;
}
::v-deep .uni-slider-value {
color: #323232;
&::after {
content: '%';
}
}
// #ifdef MP-WEIXIN
.wx-slider-handle-wrapper {
height: 8rpx;
}
.wx-slider-handle {
background: url('@/static/detail/qiu.png') !important;
border-radius: 0;
@ -900,14 +908,17 @@
top: 18rpx;
margin-left: -14rpx !important;
}
.wx-slider-value {
display: flex;
width: 30rpx;
color: #323232;
&::after {
content: '%';
}
}
// #endif
}
</style>

View File

@ -55,7 +55,7 @@
</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>
<image src="/static/message/activen.png" mode="" style="width: 180rpx;height: 180rpx;">
</image>

View File

@ -44,7 +44,7 @@
<span class="title white-space">{{ item.title }}</span>
<span class="first-image flex align-items" style="margin-top: 20rpx; width: 100%">
<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
}}</span>
<view class="white-space" style="width: 60%">

View File

@ -12,9 +12,11 @@
<text class="first-name">{{ detail.title }}</text>
</view>
<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;margin-left: 20rpx;">{{ detailAny.join_info.people_number }}人玩过</text>
<text style="color:#9C9C9C;margin-left: 20rpx;">{{ detailAny.join_info.people_number
}}人玩过</text>
</view>
<view class="flex align-items" style="margin-top: 20rpx;">
{{ detailAny.totalprice }}
@ -29,14 +31,14 @@
</view>
<text class="line"></text>
<view class="first-image flex align-items space-between"
style="width: 100%;"
<view class="first-image flex align-items space-between" style="width: 100%;"
@click.stop="toMap(detail.latitude, detail.longitude, detail.address_detail)">
<view class="flex">
<image src="/static/center/address.png" mode="" class="icon-size"></image>
<text>{{ detail.address_detail }}</text>
</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>
@ -57,7 +59,7 @@
</l-painter-view>
</l-painter> -->
<view class="bottom">
<text>左右滑动二维码核销{{qrindex}}/{{detailAny.num}}</text>
<text>二维码核销{{ qrindex }}/{{ detailAny.num }}</text>
</view>
</view>
@ -67,7 +69,8 @@
<view class="third-center">
<view class="flex w-100 space-between hui align-items" style="margin-top: 8rpx;">
<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 class="flex w-100 space-between hui align-items" style="margin-top: 40rpx;">
<text>订单编号</text>
@ -95,21 +98,24 @@
<!-- v-if="detailAny.feel == 0" -->
<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>
</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>
</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>
</view>
</view>
<u-popup :show="buyShow" mode="center" :round="10" :zIndex="99999" :custom-style="popupStyle" @close="buyClose"
@open="buyOpen" :safeAreaInsetBottom="false" :closeable="true">
<u-popup :show="buyShow" mode="center" :round="10" :zIndex="99999" :custom-style="popupStyle"
@close="buyClose" @open="buyOpen" :safeAreaInsetBottom="false" :closeable="true">
<view class="popupBox flex justify-start align-items flex-column">
<view class="pop-header flex align-items flex-column flex-start">
<view class="name white-space">{{ detail.title }}</view>
@ -330,7 +336,13 @@
this.order_no = options.order_no
console.log(options.id)
this.getDetail()
this.getShare()
this.getShare();
//访this.getDetail()
setTimeout(() => {
setInterval(() => {
this.getDetail()
}, 10000)
}, 10000)
},
methods: {
@ -923,6 +935,7 @@
.detail_all {
background-color: #f7f7f7;
}
.w-100 {
width: 100%;
}
@ -992,6 +1005,7 @@
padding: 30rpx;
border-radius: 18rpx;
box-sizing: border-box;
.head_img {
width: 160rpx;
height: 160rpx;
@ -1023,6 +1037,7 @@
font-size: 26rpx;
color: #222222;
}
.xieyi {
background-color: #BBFC5B;
width: 156rpx;
@ -1064,6 +1079,7 @@
background: #ffffff;
margin-top: 20rpx;
border-radius: 44rpx;
.third-top {
font-family: PingFang SC, PingFang SC;
font-weight: 700;
@ -1077,6 +1093,7 @@
view {
position: relative;
.icons {
width: 37rpx;
height: 20rpx;
@ -1087,15 +1104,18 @@
}
}
}
.third-center {
padding: 30rpx;
position: relative;
.hui {
font-family: PingFang SC, PingFang SC;
font-weight: 500;
font-size: 26rpx;
color: #9C9C9C;
}
.bottom {
width: 100%;
margin-bottom: 10rpx;
@ -1138,6 +1158,7 @@
background: #323232;
border-radius: 148rpx;
margin-bottom: 30rpx;
text {
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
font-weight: 400;
@ -1145,11 +1166,13 @@
color: #BBFC5B;
}
}
.footer-right1 {
width: 690rpx;
height: 90rpx;
background: #E4E4E4;
border-radius: 148rpx;
text {
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
font-weight: 400;

View File

@ -607,7 +607,7 @@
color: #181818;
height: 110rpx;
line-height: 110rpx;
border-bottom: 1rpx solid #f5f6fa;
border-bottom: 1rpx solid #eeeeee;
.right {
display: flex;

View File

@ -6,7 +6,10 @@
<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" />
</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>

View File

@ -19,8 +19,9 @@
<view class="row flex align-items textarea_fb" style="margin-top: 25rpx;">
<u--textarea v-model="form.content" :maxlength="800" placeholder="描述一下活动的亮点、活动内容、推荐的人群、叫大家一起运动吧~"
:height="120" placeholder-class="bttop"></u--textarea>
<u--textarea v-model="form.content" :maxlength="800"
placeholder="描述一下活动的亮点、活动内容、推荐的人群、叫大家一起运动吧~" :height="120"
placeholder-class="bttop"></u--textarea>
</view>
<span class="line-row" style="margin-top: 0;"></span>
@ -46,7 +47,8 @@
集合地点
</view>
<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>
</view>
</view>
@ -67,7 +69,7 @@
<view class="row-right" @click="dateShowHidden()" style="width: 70%;">
<!-- <input type="text" placeholder="请选择活动时间" class="input" disabled="true" v-model="form.time"
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>
</view>
</view>
@ -81,14 +83,15 @@
<span class="row-right" @click="openBq">
<!-- <input type="text" placeholder="请选择活动分类" class="input" disabled="true"
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>
</span>
</view>
<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 ">
<text style="color: #3D3D3D;">*</text>退款政策
</view>
@ -96,7 +99,8 @@
<view class="row-right" @click="tuikuan = true">
<!-- <input type="text" placeholder="请选择退款政策" class="input" disabled="true"
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>
</view>
</view>
@ -128,19 +132,33 @@
活动人数
</span>
<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>
</view>
<span class="line-row"></span>
<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>
<span class="row-right">
<input type="digit" placeholder="请填写活动价格" class="input" v-model="form.price"
placeholder-class="plasty" />
</span>
</view>
<view class="row-right" style="font-size:28rpx;color:#FF4810;font-weight: 600;" @click="priceShow = true">
<!-- <input type="digit" placeholder="请填写活动价格" class="input" v-model="priceName"
placeholder-class="plasty" /> -->
<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>
<span class="line-row"></span>
<view class="row flex align-items" style="margin: 25rpx 0;">
@ -158,7 +176,8 @@
</scroll-view>
<view class="bottom " v-if="status == -1 || status == 2">
<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>
<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"
@ -233,7 +252,8 @@
style="padding: 40rpx 20rpx 10rpx 20rpx;;font-weight: 400;color: #3D3D3D;text-align: center;line-height: 44rpx;font-size: 28rpx;">
只差最后一步完成身份认证即可成为<br>+认证活动官开始分享您的精彩活动
</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_2" @click="openUrl('/packageB/card/index')">我同意</view>
</view>
@ -263,7 +283,7 @@
</view>
</view>
<view class="titles_fl" style="margin-top: 50rpx;">全部标签</view>
<view class="titles_fl">全部标签</view>
<view style="display: flex; flex-wrap: wrap;">
<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>
</view>
</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="下一步"
@confirm="datefirm" :show="dateShow" v-model="form.date" mode="datetime"></u-datetime-picker> -->
@ -338,7 +379,8 @@
import dayjs from 'dayjs';
import longDate from "@/components/long-date/long-date.vue"
import {
dateWeek,dateWeekData
dateWeek,
dateWeekData
} from '../../utils/dateFormat'
export default {
components: {
@ -346,6 +388,9 @@
},
data() {
return {
price:'',
priceName: '免费',
priceShow: false,
bmIndex: 1,
hdIndex: 1,
agreeAdd: false,
@ -386,7 +431,7 @@
content: '',
refund_id: '',
refund_idn: '',
price: 0,
price: '',
stock: '',
sign_time: '',
time: '',
@ -422,7 +467,7 @@
alignItems: 'center',
flexColumn: 'column'
},
current: 0,
current: -1,
currents: -1,
institutionList: [],
images: '',
@ -455,6 +500,7 @@
this.getBqList();
this.getrefund_list();
this.getitembq();
this.selectItemTuikuan();
//var c=uni.getSystemInfoSync();
//844-94-70-100 = 580
//763-47-(100-47)-34-50
@ -476,6 +522,31 @@
}
},
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) {
console.log(val);
},
@ -1283,7 +1354,10 @@
this.fileList1 = [];
this.agree = false;
this.list1 = '';
this.price='';
this.priceName='免费';
this.form = {
qunQrcode:'',
cate_ids: '',
//
cate_idsName: "",
@ -1484,6 +1558,7 @@
::v-deep .plasty {
text-align: right;
z-index: 10;
color: #9c9c9c;
}
::v-deep .plasty_c {
@ -1554,6 +1629,7 @@
bottom: 128rpx;
position: fixed;
z-index: 10;
span {
width: 642rpx;
height: 80rpx;
@ -1696,7 +1772,7 @@
}
.bqlist {
margin-top: 80rpx;
margin-top: 147rpx;
z-index: 200;
margin-left: 80rpx;
height: 100%;
@ -1710,7 +1786,7 @@
overflow-y: auto;
-webkit-overflow-scrolling: touch;
flex-wrap: wrap;
height: 760rpx;
height: 690rpx;
width: 700rpx;
.titles_fl {

BIN
static/qrcode_yes.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB