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

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="display: flex;align-items: center;justify-content: space-between;">
<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>
</view>

View File

@ -161,14 +161,19 @@
</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;">
<view class="imgs" v-for="(item, index) in detail.images" :key="index">
<image mode="aspectFill" style="width: 220rpx;height: 220rpx;" :src="item">
</image>
</view>
</view>
</view> -->
</view>
@ -181,7 +186,7 @@
</span>
</view>
<view style="display: flex;align-items: center;" @click="sortTypeShow == true">
<view style="font-size: 28rpx;margin-left: 10rpx;">默认排序</view>
<view>
<image src="https://naweigetetest2.hschool.com.cn/uniapp_image/signSort.png" mode=""
@ -189,7 +194,7 @@
</view>
</view>
</view>
<!-- <view style="padding:0rpx 30rpx;">
<view style="padding-top: 0rpx;">
<view style="display: flex;align-items: center;justify-content: space-between;">
@ -202,13 +207,13 @@
</view>
<view style="height: 1px;background-color: #F0F0F0;width: 100%;margin-top: 40rpx;"></view>
</view> -->
<view v-for="(item, index) in signPeopleList" @click="chickTeam(item, index)"
style="padding:0rpx 30rpx;">
<view style="padding-top: 40rpx;">
<view style="display: flex;align-items: center;justify-content: space-between;">
<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="color: #9C9C9C;font-size: 24rpx;margin-top: 10rpx;">身份证 {{ item.idnum }}
</view>
</view>
@ -216,8 +221,8 @@
</view>
<view style="height: 1px;background-color: #F0F0F0;width: 100%;margin-top: 40rpx;"></view>
</view>
</view>
</view>
<view style="width: 100%;height: 100rpx;"></view>
<view class="footer flex align-items" style="justify-content: space-between;" v-if="detail.status == 4">
@ -279,10 +284,10 @@
</view>
</u-popup>
<!-- 报名人的列表展示类型 -->
<u-popup :show="sortTypeShow" mode="bottom" :round="10" :zIndex="99999" :custom-style="popupStyle" @close="sortTypeShow == false"
@open="sortTypeShow == true">
<u-popup :show="sortTypeShow" mode="bottom" :round="10" :zIndex="99999" :custom-style="popupStyle"
@close="sortTypeShow == false" @open="sortTypeShow == true">
<view class="popupBox flex justify-start align-items flex-column">
<!-- <view class="pop-header flex align-items" style="justify-content: space-between;">
<image src="../../static/center/classTime.png" mode="" style="width: 252rpx; height: 48rpx;">
@ -296,7 +301,7 @@
{{ item.name }}</span>
</view> -->
</view>
</u-popup>
<!-- 购买弹窗 -->
@ -470,7 +475,7 @@
return {
checkSortType: 0,
sortTypeShow: false,
signPeopleList: [],//
signPeopleList: [], //
peopleNum: 0,
peopleParams: {
page: 1,
@ -563,7 +568,7 @@
}
console.log(options.id)
this.getDetail();
this.getSignPeople();
// this.getSignPeople();
// this.getPeople()
// this.getTime()
this.getShare()
@ -849,7 +854,7 @@
}
}).catch(error => {});
},
//
getSignPeople() {
uni.$u.http.get('/api/school.new_activity/people_list', {
@ -862,7 +867,7 @@
}
}).then(res => {
if (res.code == 1) {
console.log('peopleList',res.code,res.data);
console.log('peopleList', res.code, res.data);
this.signPeopleList = res.data.list;
this.peopleNum = res.data.count;
} else {
@ -874,7 +879,7 @@
}
}).catch(error => {});
},
// 0 1 2 3
sign() {
@ -1413,7 +1418,9 @@
}
.imgs {
display: flex;
display: block;
width: 690rpx;
// display: flex;
// width: 690rpx;
}
@ -1429,25 +1436,27 @@
}
.imgs {
display: block;
width: 690rpx;
// width: 690rpx;
// display: block;
}
}
.imgs {
// display: block;
// width: 690rpx;
display: block;
width: 690rpx;
}
}
.fourth {
width: 100%;
background: #ffffff;
margin-top: 20rpx;
border-radius: 44rpx;
.fourth-top {
font-family: PingFang SC, PingFang SC;
font-weight: bold;
@ -1459,10 +1468,10 @@
position: relative;
z-index: 10;
}
span {
position: relative;
.icons {
width: 37rpx;
height: 20rpx;
@ -1472,17 +1481,17 @@
z-index: -1;
}
}
.mgbot {
margin-bottom: 210rpx;
}
}
.yes {
background-color: #999999;
}
.line {
width: 690rpx;
height: 2rpx;

View File

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

View File

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

View File

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

View File

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