除了首页的肆野轮播图跳转,其余的隐藏

This commit is contained in:
wangzimeng 2025-08-13 09:52:04 +08:00
parent d16f460fe8
commit 24fec04585
6 changed files with 81 additions and 69 deletions

View File

@ -94,7 +94,8 @@
<view style="padding-top: 40rpx;"> <view style="padding-top: 40rpx;">
<view style="display: flex;align-items: center;justify-content: space-between;"> <view style="display: flex;align-items: center;justify-content: space-between;">
<view> <view>
<view style="font-size: 28rpx;color: #323232;">{{ item.name }} {{item.mobile}}</view> <!-- <view style="font-size: 28rpx;color: #323232;">{{ item.name }} {{item.mobile}}</view> -->
<view style="font-size: 28rpx;color: #323232;">{{ item.name }}</view>
<view style="color: #9C9C9C;font-size: 24rpx;margin-top: 10rpx;">身份证 {{ item.idnum }} <view style="color: #9C9C9C;font-size: 24rpx;margin-top: 10rpx;">身份证 {{ item.idnum }}
</view> </view>
</view> </view>

View File

@ -161,14 +161,19 @@
</view> </view>
</view> </view>
<view class="" <view class="third-center" style="padding-top: 0;">
<image mode="widthFix" class="imgs" v-for="(item, index) in detail.images" :key="index" :src="item">
</image>
</view>
<!-- <view class=""
style="display: flex;flex-wrap: wrap;justify-content: flex-start;width: 690rpx;padding: 0 30rpx;gap: 10rpx;"> style="display: flex;flex-wrap: wrap;justify-content: flex-start;width: 690rpx;padding: 0 30rpx;gap: 10rpx;">
<view class="imgs" v-for="(item, index) in detail.images" :key="index"> <view class="imgs" v-for="(item, index) in detail.images" :key="index">
<image mode="aspectFill" style="width: 220rpx;height: 220rpx;" :src="item"> <image mode="aspectFill" style="width: 220rpx;height: 220rpx;" :src="item">
</image> </image>
</view> </view>
</view> </view> -->
</view> </view>
@ -281,8 +286,8 @@
</u-popup> </u-popup>
<!-- 报名人的列表展示类型 --> <!-- 报名人的列表展示类型 -->
<u-popup :show="sortTypeShow" mode="bottom" :round="10" :zIndex="99999" :custom-style="popupStyle" @close="sortTypeShow == false" <u-popup :show="sortTypeShow" mode="bottom" :round="10" :zIndex="99999" :custom-style="popupStyle"
@open="sortTypeShow == true"> @close="sortTypeShow == false" @open="sortTypeShow == 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" style="justify-content: space-between;"> <!-- <view class="pop-header flex align-items" style="justify-content: space-between;">
<image src="../../static/center/classTime.png" mode="" style="width: 252rpx; height: 48rpx;"> <image src="../../static/center/classTime.png" mode="" style="width: 252rpx; height: 48rpx;">
@ -470,7 +475,7 @@
return { return {
checkSortType: 0, checkSortType: 0,
sortTypeShow: false, sortTypeShow: false,
signPeopleList: [],// signPeopleList: [], //
peopleNum: 0, peopleNum: 0,
peopleParams: { peopleParams: {
page: 1, page: 1,
@ -563,7 +568,7 @@
} }
console.log(options.id) console.log(options.id)
this.getDetail(); this.getDetail();
this.getSignPeople(); // this.getSignPeople();
// this.getPeople() // this.getPeople()
// this.getTime() // this.getTime()
this.getShare() this.getShare()
@ -862,7 +867,7 @@
} }
}).then(res => { }).then(res => {
if (res.code == 1) { if (res.code == 1) {
console.log('peopleList',res.code,res.data); console.log('peopleList', res.code, res.data);
this.signPeopleList = res.data.list; this.signPeopleList = res.data.list;
this.peopleNum = res.data.count; this.peopleNum = res.data.count;
} else { } else {
@ -1413,7 +1418,9 @@
} }
.imgs { .imgs {
display: flex; display: block;
width: 690rpx;
// display: flex;
// width: 690rpx; // width: 690rpx;
} }
@ -1429,14 +1436,16 @@
} }
.imgs { .imgs {
display: block;
width: 690rpx; width: 690rpx;
// width: 690rpx;
// display: block; // display: block;
} }
} }
.imgs { .imgs {
// display: block; display: block;
// width: 690rpx; width: 690rpx;
} }

View File

@ -31,7 +31,7 @@
<view class="shenfen row flex flex-column" style="margin-top: 42rpx;"> <view class="shenfen row flex flex-column" style="margin-top: 42rpx;">
<u-upload :fileList="fileList1" @afterRead="afterRead" :previewFullImage="true" <u-upload :fileList="fileList1" @afterRead="afterRead" :previewFullImage="true"
@delete="deletePic" @oversize="oversize" name="1" multiple :maxSize="1 * 1024 * 1024" @delete="deletePic" @oversize="oversize" name="1" multiple :maxSize="1 * 1024 * 1024"
:maxCount="9"> :maxCount="5">
<view class="pic_view"> <view class="pic_view">
<image src="@/static/index/upload1.png" mode="widthFix" <image src="@/static/index/upload1.png" mode="widthFix"
style="width: 44rpx;height: 44rpx;" /> style="width: 44rpx;height: 44rpx;" />

View File

@ -31,7 +31,7 @@
<view class="shenfen row flex flex-column" style="margin-top: 42rpx;"> <view class="shenfen row flex flex-column" style="margin-top: 42rpx;">
<u-upload :fileList="fileList1" @afterRead="afterRead" :previewFullImage="true" <u-upload :fileList="fileList1" @afterRead="afterRead" :previewFullImage="true"
@delete="deletePic" @oversize="oversize" name="1" multiple :maxSize="1 * 1024 * 1024" @delete="deletePic" @oversize="oversize" name="1" multiple :maxSize="1 * 1024 * 1024"
:maxCount="9"> :maxCount="5">
<view class="pic_view"> <view class="pic_view">
<image src="@/static/index/upload1.png" mode="widthFix" <image src="@/static/index/upload1.png" mode="widthFix"
style="width: 44rpx;height: 44rpx;" /> style="width: 44rpx;height: 44rpx;" />

View File

@ -38,7 +38,7 @@
</view> </view>
<view style="width: 75%;"> <view style="width: 75%;">
<input :cursor-spacing="300" type="text" placeholder="请填写真实姓名" class="input" <input :cursor-spacing="300" type="text" placeholder="请填写真实姓名" class="input"
v-model="form.name" @confirm="checkFormValidity"/> v-model="form.name"/>
</view> </view>
</view> </view>
<view style="height: 1px;background-color: #eeeeee;width: 100%;margin-top: 20rpx;"></view> <view style="height: 1px;background-color: #eeeeee;width: 100%;margin-top: 20rpx;"></view>
@ -48,11 +48,11 @@
</view> </view>
<view style="width: 75%;"> <view style="width: 75%;">
<input :cursor-spacing="300" type="idcard" placeholder="请填写身份证号" class="input" <input :cursor-spacing="300" type="idcard" placeholder="请填写身份证号" class="input"
v-model="form.idnum" @confirm="checkFormValidity"/> v-model="form.idnum"/>
</view> </view>
</view> </view>
<view style="height: 1px;background-color: #eeeeee;width: 100%;"></view> <view style="height: 1px;background-color: #eeeeee;width: 100%;"></view>
<view style="display: flex;align-items: center;justify-content: space-between;padding: 30rpx 0rpx;"> <!-- <view style="display: flex;align-items: center;justify-content: space-between;padding: 30rpx 0rpx;">
<view style="font-size: 30rpx;"> <view style="font-size: 30rpx;">
手机号 手机号
</view> </view>
@ -61,16 +61,16 @@
v-model="form.mobile" @confirm="checkFormValidity"/> v-model="form.mobile" @confirm="checkFormValidity"/>
</view> </view>
</view> </view>
<view style="height: 1px;background-color: #eeeeee;width: 100%;"></view> <view style="height: 1px;background-color: #eeeeee;width: 100%;"></view> -->
<view style="display: flex;justify-content: flex-start;align-items: center;margin-top: 30rpx;"> <!-- <view style="display: flex;justify-content: flex-start;align-items: center;margin-top: 30rpx;">
<image v-if="privacyShow == false" src="../../static/fabu/nocheck.png" <image v-if="privacyShow == false" src="../../static/fabu/nocheck.png"
style="width: 34rpx;height: 34rpx;border-radius: 63rpx;" @click="privacyShow = true"></image> style="width: 34rpx;height: 34rpx;border-radius: 63rpx;" @click="privacyShow = true"></image>
<image v-else src="../../static/fabu/check.png" @click="privacyShow = false" <image v-else src="../../static/fabu/check.png" @click="privacyShow = false"
style="width: 34rpx;height: 34rpx;border-radius: 63rpx;"></image> style="width: 34rpx;height: 34rpx;border-radius: 63rpx;"></image>
<view style="color: #3D3D3D;font-size: 22rpx;line-height: 33rpx;margin-left: 15rpx;"> <view style="color: #3D3D3D;font-size: 22rpx;line-height: 33rpx;margin-left: 15rpx;">
隐私报名(报名信息仅对我和组织者公开)</view> 隐私报名(报名信息仅对我和组织者公开)</view>
</view> </view> -->
<view style="font-size: 24rpx;color: #9C9C9C;margin-top: 40rpx;"> <view style="font-size: 24rpx;color: #9C9C9C;margin-top: 40rpx;">
<text>你的个人信息我们将严格保密并仅用于投保使用详情可查看</text> <text>你的个人信息我们将严格保密并仅用于投保使用详情可查看</text>
<text style="color: #0CA013;" @click="go('/packageB/privacy?type=privacy')">隐私政策</text> <text style="color: #0CA013;" @click="go('/packageB/privacy?type=privacy')">隐私政策</text>
@ -79,9 +79,11 @@
</view> </view>
</view> </view>
<view style="margin-top: 40rpx;"> <view style="margin-top: 40rpx;">
<view class="btn_1" v-if="btnShow == true" @click="save">确认 <view class="btn_1" @click="save">确认
</view> </view>
<view class="btn_3" v-else @click="unSave">确认</view> <!-- <view class="btn_1" v-if="btnShow == true" @click="save">确认
</view>
<view class="btn_3" v-else @click="unSave">确认</view> -->
</view> </view>
</u-popup> </u-popup>
</view> </view>
@ -124,15 +126,15 @@
this.form.name = item.name; this.form.name = item.name;
this.form.idnum = item.idnum; this.form.idnum = item.idnum;
this.form.ids = item.id; this.form.ids = item.id;
this.form.mobile = item.mobile; // this.form.mobile = item.mobile;
this.form.open = item.open; // this.form.open = item.open;
this.show = true; this.show = true;
if(this.form.open == 0) { // if(this.form.open == 0) {
this.privacyShow = true; // this.privacyShow = true;
}else { // }else {
this.privacyShow = false; // this.privacyShow = false;
} // }
this.checkFormValidity(); // this.checkFormValidity();
}, },
del(item) { del(item) {
var that = this; var that = this;
@ -201,14 +203,14 @@
}); });
return; return;
} }
if (this.form.mobile == '') { // if (this.form.mobile == '') {
uni.showToast({ // uni.showToast({
title: '请填写手机号', // title: '',
icon: 'none', // icon: 'none',
duration: 2000 // duration: 2000
}); // });
return; // return;
} // }
// //
const reg = /^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/; const reg = /^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
if (!reg.test(this.form.idnum)) { if (!reg.test(this.form.idnum)) {
@ -219,20 +221,20 @@
}); });
return; return;
} }
if (!/^1[3-9]\d{9}$/.test(this.form.mobile)) { // if (!/^1[3-9]\d{9}$/.test(this.form.mobile)) {
uni.showToast({ // uni.showToast({
title: '请输入正确的手机号', // title: '',
icon: 'none', // icon: 'none',
duration: 2000 // duration: 2000
}) // })
return; // return;
} // }
console.log('privacyShow', this.privacyShow); console.log('privacyShow', this.privacyShow);
if (this.privacyShow == true) { // if (this.privacyShow == true) {
this.form.open = 0 // this.form.open = 0
} else { // } else {
this.form.open = 1 // this.form.open = 1
} // }
var url = "/api/school.newactivity.activity_join/add"; var url = "/api/school.newactivity.activity_join/add";
if (this.isAdd == 0) { if (this.isAdd == 0) {
url = "/api/school.newactivity.activity_join/edit"; url = "/api/school.newactivity.activity_join/edit";

View File

@ -30,7 +30,7 @@
<view class="shenfen row flex flex-column" style="margin-top: 42rpx;"> <view class="shenfen row flex flex-column" style="margin-top: 42rpx;">
<u-upload :fileList="fileList1" @afterRead="afterRead" :previewFullImage="true" <u-upload :fileList="fileList1" @afterRead="afterRead" :previewFullImage="true"
@delete="deletePic" @oversize="oversize" name="1" multiple :maxSize="1 * 1024 * 1024" @delete="deletePic" @oversize="oversize" name="1" multiple :maxSize="1 * 1024 * 1024"
:maxCount="9"> :maxCount="5">
<view class="pic_view"> <view class="pic_view">
<image src="@/static/index/upload1.png" mode="widthFix" <image src="@/static/index/upload1.png" mode="widthFix"
style="width: 44rpx;height: 44rpx;" /> style="width: 44rpx;height: 44rpx;" />