推送关联云服务空间、添加用户协议和隐私政策外部链接、修改活动状态和图片定位显示问题
This commit is contained in:
@@ -52,9 +52,6 @@
|
||||
<!-- 活动卡片 -->
|
||||
<view v-for="activity in displayedActivities" :key="activity.id" class="activity-card"
|
||||
@tap="viewActivityDetail(activity)">
|
||||
<view class="status-badge">
|
||||
{{activity.statusText}}
|
||||
</view>
|
||||
|
||||
<view v-if="activity.applied && activeTab === 'list'" class="signed-badge">
|
||||
<text>已报名</text>
|
||||
@@ -65,6 +62,9 @@
|
||||
<up-row justify="space-between" customStyle="margin-bottom: 10px">
|
||||
<up-col span="4">
|
||||
<view class="info-image-left">
|
||||
<view class="status-badge">
|
||||
{{activity.statusText}}
|
||||
</view>
|
||||
<image :src="activity.coverImage" mode="aspectFill" style="width: 100%;height: 100%;border-radius: 16rpx;"></image>
|
||||
</view>
|
||||
</up-col>
|
||||
@@ -522,8 +522,8 @@ watch(() => myFilter.value, () => {
|
||||
/* 活动状态标签 */
|
||||
.status-badge {
|
||||
position: absolute;
|
||||
top: 33rpx;
|
||||
left: 11rpx;
|
||||
top: 0;
|
||||
left: 0;
|
||||
padding: 6rpx 20rpx;
|
||||
font-size: 22rpx;
|
||||
border-radius: 15rpx 0rpx 15rpx 0rpx;
|
||||
@@ -560,6 +560,7 @@ watch(() => myFilter.value, () => {
|
||||
.info-image-left {
|
||||
width: 170rpx;
|
||||
height: 220rpx;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.activity-title {
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
</view>
|
||||
|
||||
<text class="agreement-text" >我已阅读并同意
|
||||
<text class="agreePrivacy" @click.stop="">《用户协议》</text>和
|
||||
<text class="agreePrivacy" @click.stop="goToUserAgreement">《用户协议》</text>和
|
||||
<text class="agreePrivacy" @click.stop="goToPrivacy">《隐私政策》</text>
|
||||
</text>
|
||||
</view>
|
||||
@@ -100,9 +100,24 @@ const toggleAgreement = () => {
|
||||
const showPrivacyPopup = ref(false)
|
||||
const pendingAction = ref('') // 记录待执行操作,如 'smsLogin'
|
||||
|
||||
// 跳转隐私协议页面
|
||||
// 打开用户协议
|
||||
const goToUserAgreement = () => {
|
||||
// #ifdef APP-PLUS
|
||||
plus.runtime.openURL('https://wuye.ckdzkj.com/parivw/ownler_xieyi.html')
|
||||
// #endif
|
||||
// #ifdef H5
|
||||
window.open('https://wuye.ckdzkj.com/parivw/ownler_xieyi.html')
|
||||
// #endif
|
||||
}
|
||||
|
||||
// 打开隐私政策
|
||||
const goToPrivacy = () => {
|
||||
uni.navigateTo({ url: "/pageSubPack/loginSub/privacy" })
|
||||
// #ifdef APP-PLUS
|
||||
plus.runtime.openURL('https://wuye.ckdzkj.com/parivw/owner.html')
|
||||
// #endif
|
||||
// #ifdef H5
|
||||
window.open('https://wuye.ckdzkj.com/parivw/owner.html')
|
||||
// #endif
|
||||
}
|
||||
|
||||
// 打开隐私弹窗(可传入待执行操作标识)
|
||||
|
||||
@@ -259,7 +259,7 @@ const goBack = () => {
|
||||
|
||||
.card-img {
|
||||
width: 100%;
|
||||
height: 52px;
|
||||
height: 56px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user