@ -1,35 +1,28 @@
@@ -1,35 +1,28 @@
|
||||
{ |
||||
"$schema": "https://json.schemastore.org/prettierrc.json", |
||||
"$schema": "http://json.schemastore.org/prettierrc", |
||||
"printWidth": 120, |
||||
"tabWidth": 2, |
||||
"useTabs": false, |
||||
"semi": true, |
||||
"semi": false, |
||||
"singleQuote": true, |
||||
"bracketSpacing": true, |
||||
"trailingComma": "all", |
||||
"arrowParens": "always", |
||||
"endOfLine": "auto", |
||||
"endOfLine": "lf", |
||||
"htmlWhitespaceSensitivity": "ignore", |
||||
"singleAttributePerLine": false, |
||||
"jsxSingleQuote": true, |
||||
"overrides": [ |
||||
{ |
||||
"files": "*.wxml", |
||||
"options": { |
||||
"parser": "html" |
||||
} |
||||
"options": { "parser": "html" } |
||||
}, |
||||
{ |
||||
"files": "*.wxss", |
||||
"options": { |
||||
"parser": "css" |
||||
} |
||||
"options": { "parser": "css" } |
||||
}, |
||||
{ |
||||
"files": "*.wxs", |
||||
"options": { |
||||
"parser": "babel" |
||||
} |
||||
"options": { "parser": "babel" } |
||||
} |
||||
] |
||||
} |
||||
|
||||
@ -1,19 +1,15 @@
@@ -1,19 +1,15 @@
|
||||
/* custom-tab-bar/index.wxss */ |
||||
|
||||
|
||||
.tab-item { |
||||
.icon { |
||||
width: 50rpx; |
||||
height: 50rpx; |
||||
width: 48rpx; |
||||
height: 48rpx; |
||||
} |
||||
.name { |
||||
font-size: 24rpx; |
||||
color: #CCCCCC; |
||||
&.active{ |
||||
color: #CF5375; |
||||
} |
||||
&.drug-active{ |
||||
color: #25D9C8; |
||||
font-size: 20rpx; |
||||
color: rgba(105, 104, 110, 1); |
||||
&.active { |
||||
color: rgba(33, 29, 46, 1); |
||||
} |
||||
} |
||||
} |
||||
|
||||
|
After Width: | Height: | Size: 456 KiB |
|
After Width: | Height: | Size: 603 B |
|
After Width: | Height: | Size: 581 B |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 660 B |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 933 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 9.1 KiB |
@ -1,43 +1,50 @@
@@ -1,43 +1,50 @@
|
||||
<view |
||||
class="page" |
||||
style="padding-top: {{top+5}}px;background: url({{imageUrl}}za-images//doctor/my-bg.png?t={{Timestamp}}) no-repeat top center / 100% 740rpx" |
||||
style="padding-top: {{pageTop+40}}px;background: url({{imageUrl}}bg10.png?t={{Timestamp}}) no-repeat top center / 100% 610rpx" |
||||
> |
||||
<navBar title="" fixed background="{{background}}" home="{{false}}" back bind:back="handleBack"></navBar> |
||||
<navbar fixed title="" custom-style="background:{{background}}"> |
||||
<van-icon name="arrow-left" slot="left" size="18px" color="#000" bind:tap="handleBack" /> |
||||
</navbar> |
||||
<view class="container"> |
||||
<view class="avatar"> |
||||
<image class="avatar-user" mode="aspectFill" src="{{detail.Img}}"></image> |
||||
</view> |
||||
<view class="name">{{detail.Name}}</view> |
||||
<view class="name"> |
||||
{{detail.Name}} |
||||
<view class="label">主任医生 | 眼科</view> |
||||
</view> |
||||
<view class="hostipal"> |
||||
<view class="tag">三级甲等</view> |
||||
{{detail.hospital.Name}} |
||||
<!-- <view class="tag" wx:if="{{detail.hospital.HospitalClassificationName || detail.hospital.HospitalLevelName}}"> --> |
||||
<!-- {{detail.hospital.HospitalClassificationName}}{{detail.hospital.HospitalLevelName}} --> |
||||
<!-- </view> --> |
||||
</view> |
||||
<view class="card"> |
||||
<view class="content"> |
||||
{{detail.hospital.Name}} |
||||
<view class="tag" wx:if="{{detail.hospital.HospitalClassificationName || detail.hospital.HospitalLevelName}}"> |
||||
{{detail.hospital.HospitalClassificationName}}{{detail.hospital.HospitalLevelName}} |
||||
</view> |
||||
</view> |
||||
<view |
||||
class="c-row" |
||||
bind:tap="handleOpenMap" |
||||
wx:if="{{detail.hospital.ProvinceName || detail.hospital.CityName || detail.hospital.CountyName || detail.hospital.Address}}" |
||||
> |
||||
<image class="icon" src="{{imageUrl}}za-images//doctor/icon-site.png?t={{Timestamp}}"></image> |
||||
<image class="icon" src="/images/icon41.png"></image> |
||||
<view> |
||||
{{detail.hospital.ProvinceName}}{{detail.hospital.CityName}}{{detail.hospital.CountyName}}{{detail.hospital.Address}} |
||||
<view class="site-num">{{detail.hospital.dist}}</view> |
||||
</view> |
||||
</view> |
||||
<view class="c-row" bind:tap="handlePhone" wx:if="{{ detail.Telephone }}"> |
||||
<image class="icon" src="{{imageUrl}}za-images//doctor/icon-phone.png?t={{Timestamp}}"></image> |
||||
<image class="icon" src="/images/icon42.png"></image> |
||||
{{ detail.Telephone }} |
||||
</view> |
||||
</view> |
||||
<view class="row" wx:if="{{detail.Introduce}}"> |
||||
<image class="r-title" src="{{imageUrl}}za-images//doctor/my-title1.png?t={{Timestamp}}"></image> |
||||
<view class="r-content">{{detail.Introduce}}</view> |
||||
</view> |
||||
<view class="row" wx:if="{{detail.weekName}}"> |
||||
<image class="r-title" src="{{imageUrl}}za-images//doctor/my-title2.png?t={{Timestamp}}"></image> |
||||
<view class="r-content pre-line">{{detail.weekName}}</view> |
||||
</view> |
||||
</view> |
||||
|
||||
<view class="info-card" wx:if="{{detail.Introduce}}"> |
||||
<image class="r-title" src="{{imageUrl}}za-images//doctor/my-title1.png?t={{Timestamp}}"></image> |
||||
<view class="r-content">{{detail.Introduce}}</view> |
||||
</view> |
||||
<view class="info-card" wx:if="{{detail.weekName}}"> |
||||
<image class="r-title" src="{{imageUrl}}za-images//doctor/my-title2.png?t={{Timestamp}}"></image> |
||||
<view class="r-content pre-line">{{detail.weekName}}</view> |
||||
</view> |
||||
</view> |
||||
|
||||
@ -1,9 +1,10 @@
@@ -1,9 +1,10 @@
|
||||
{ |
||||
"navigationBarTitleText": "互动", |
||||
"navigationStyle": "default", |
||||
"navigationStyle": "custom", |
||||
"usingComponents": { |
||||
"van-icon": "@vant/weapp/icon/index", |
||||
"van-loading": "@vant/weapp/loading/index", |
||||
"referralFrom": "/components/referralFrom/index" |
||||
"referralFrom": "/components/referralFrom/index", |
||||
"navbar": "/components/navbar/index" |
||||
} |
||||
} |
||||
|
||||
@ -1,11 +1,12 @@
@@ -1,11 +1,12 @@
|
||||
{ |
||||
"navigationBarTitleText": "", |
||||
"navigationStyle": "default", |
||||
"navigationStyle": "custom", |
||||
"navigationBarBackgroundColor": "#fafafa", |
||||
"usingComponents": { |
||||
"van-tab": "@vant/weapp/tab/index", |
||||
"van-tabs": "@vant/weapp/tabs/index", |
||||
"van-icon": "@vant/weapp/icon/index", |
||||
"navbar": "/components/navbar/index", |
||||
"patient-tab-bar": "/components/patient-tab-bar/index" |
||||
} |
||||
} |
||||
|
||||
@ -1,10 +1,12 @@
@@ -1,10 +1,12 @@
|
||||
{ |
||||
"navigationBarTitleText": "活动详情", |
||||
"navigationBarBackgroundColor": "#EEF0F3", |
||||
"navigationStyle": "default", |
||||
"navigationStyle": "custom", |
||||
"usingComponents": { |
||||
"mp-html": "mp-html", |
||||
"van-icon": "@vant/weapp/icon/index", |
||||
"customPoster": "/components/customPoster/index", |
||||
"navbar": "/components/navbar/index", |
||||
"van-popup": "@vant/weapp/popup/index" |
||||
} |
||||
} |
||||
|
||||
@ -1,5 +1,7 @@
@@ -1,5 +1,7 @@
|
||||
{ |
||||
"navigationBarTitleText": "", |
||||
"navigationStyle": "default", |
||||
"usingComponents": {} |
||||
"navigationStyle": "custom", |
||||
"usingComponents": { |
||||
"navbar": "/components/navbar/index" |
||||
} |
||||
} |
||||
|
||||
@ -1,100 +1,84 @@
@@ -1,100 +1,84 @@
|
||||
const app = getApp<IAppOption>(); |
||||
import dayjs from "dayjs"; |
||||
let live_time: null | number = null; |
||||
const app = getApp<IAppOption>() |
||||
import dayjs from 'dayjs' |
||||
let live_time: null | number = null |
||||
|
||||
Page({ |
||||
data: { |
||||
id: "", |
||||
id: '', |
||||
detail: {} as any, |
||||
liveDetail: {} as any, |
||||
zdUserInfo: {}, |
||||
codeUrl: "", |
||||
dateValue: "" as string | number, |
||||
codeUrl: '', |
||||
dateValue: '' as string | number, |
||||
rewardScore: 0 as number | undefined, |
||||
}, |
||||
onLoad(options) { |
||||
this.setData({ |
||||
id: options.id, |
||||
rewardScore: options.rewardScore, |
||||
}); |
||||
}) |
||||
if (live_time) { |
||||
clearInterval(live_time); |
||||
clearInterval(live_time) |
||||
} |
||||
this.setData({ |
||||
dateValue: dayjs().valueOf(), |
||||
}); |
||||
}) |
||||
live_time = setInterval(() => { |
||||
this.setData({ |
||||
dateValue: dayjs().valueOf(), |
||||
}); |
||||
}, 1000); |
||||
app.zdWaitLogin().then((_res) => { |
||||
this.getLiveDetail(); |
||||
this.getDetail(); |
||||
this.getCode(); |
||||
app.getZdUserInfo(this, true); |
||||
}); |
||||
}) |
||||
}, 1000) |
||||
app.waitLogin({ type: [1] }).then((_res) => { |
||||
this.getLiveDetail() |
||||
this.getDetail() |
||||
app.getZdUserInfo(this, true) |
||||
}) |
||||
}, |
||||
getDetail() { |
||||
wx.ajax({ |
||||
method: "GET", |
||||
url: "?r=zd/activity/sign-up-detail", |
||||
method: 'GET', |
||||
url: '?r=zd/activity/sign-up-detail', |
||||
data: { |
||||
Id: this.data.id, |
||||
}, |
||||
}).then((res) => { |
||||
res.BeginTime = dayjs(res.BeginTime).format("YYYY-MM-DD HH:mm"); |
||||
res.BeginTimeValue = dayjs(res.BeginTime).valueOf(); |
||||
res.BeginTime = dayjs(res.BeginTime).format('YYYY-MM-DD HH:mm') |
||||
res.BeginTimeValue = dayjs(res.BeginTime).valueOf() |
||||
this.setData({ |
||||
detail: res, |
||||
}); |
||||
}); |
||||
}) |
||||
}) |
||||
}, |
||||
getLiveDetail() { |
||||
wx.ajax({ |
||||
method: "GET", |
||||
url: "?r=zd/activity/detail", |
||||
method: 'GET', |
||||
url: '?r=zd/activity/detail', |
||||
data: { |
||||
Id: this.data.id, |
||||
}, |
||||
}).then((res) => { |
||||
this.setData({ |
||||
liveDetail: res, |
||||
}); |
||||
}); |
||||
}) |
||||
}) |
||||
}, |
||||
handleLive() { |
||||
const { TencentMeetingCode } = this.data.detail; |
||||
const { TencentMeetingCode } = this.data.detail |
||||
wx.navigateToMiniProgram({ |
||||
appId: "wx33fd6cdc62520063", // 要跳转的微信小程序appid
|
||||
appId: 'wx33fd6cdc62520063', // 要跳转的微信小程序appid
|
||||
path: `pages/index/index?code=${TencentMeetingCode}`, |
||||
}); |
||||
}, |
||||
getCode() { |
||||
const { registChannel } = app.globalData; |
||||
wx.ajax({ |
||||
method: "GET", |
||||
url: "?r=zd/common/get-channel-wx-code", |
||||
data: { |
||||
Id: this.data.id, |
||||
ChannelType: registChannel, |
||||
}, |
||||
}).then((res) => { |
||||
this.setData({ |
||||
codeUrl: res, |
||||
}); |
||||
}); |
||||
}) |
||||
}, |
||||
handleHome() { |
||||
wx.reLaunch({ |
||||
url: "/patient/pages/index/index", |
||||
}); |
||||
url: '/patient/pages/index/index', |
||||
}) |
||||
}, |
||||
onShareAppMessage() { |
||||
return { |
||||
title: this.data.detail.ActivityName, |
||||
path: `/patient/pages/liveDetail/index?id=${this.data.detail.ActivityId}`, |
||||
imageUrl: `${this.data.liveDetail.IntroductionUrl}`, |
||||
}; |
||||
} |
||||
}, |
||||
}); |
||||
}) |
||||
|
||||
@ -1,61 +1,23 @@
@@ -1,61 +1,23 @@
|
||||
<view class="page"> |
||||
<block wx:if="{{detail.AuditStatus==1}}"> |
||||
<image class="badge" mode="aspectFit" src="{{imageUrl}}za-images/1/live-result-reject.png?t={{Timestamp}}"></image> |
||||
<view class="status green">资料审核中</view> |
||||
<view class="tip">资料审核通过后可参与活动</view> |
||||
</block> |
||||
<block wx:elif="{{detail.SignUpStatus==2 && (detail.AuditStatus==3 || detail.AuditStatus==4)}}"> |
||||
<!-- <block> --> |
||||
<image class="badge" mode="aspectFit" src="{{imageUrl}}za-images/1/live-result-success.png?t={{Timestamp}}"></image> |
||||
<navbar fixed title="" custom-style="background:{{background}}"> |
||||
<van-icon name="arrow-left" slot="left" color="background=='#FFFFFF'?'#000':'#fff'" bind:tap="handleBack" /> |
||||
</navbar> |
||||
<!-- padding-top:{{pageTop+22}}px; --> |
||||
<view class="page" style="background: url('/images/bg10.png') no-repeat top center/100% 610rpx"> |
||||
<view class="bg"></view> |
||||
<view class="page-container" style="top:{{pageTop+30}}px;"> |
||||
<image class="badge" mode="aspectFit" src="/images/icon43.png"></image> |
||||
<view class="status">报名成功</view> |
||||
<view class="tip">您已成功报名大咖秀</view> |
||||
<view class="price" wx:if="{{rewardScore>0}}"> |
||||
+{{rewardScore}} |
||||
<view class="sub">能量</view> |
||||
</view> |
||||
</block> |
||||
<view class="container"> |
||||
<view class="c-content"> |
||||
<!-- <video --> |
||||
<!-- class="video" --> |
||||
<!-- show-mute-btn --> |
||||
<!-- autoplay --> |
||||
<!-- src="https://rs-os-lyh-dt-publicread-video-auto1080tr-prod.liangyihui.net/boss-upload/Mabd3TtaDlquV01ODi6qwA/YsT9kzIy5QKlZTYY.mp4" --> |
||||
<!-- controls --> |
||||
<!-- ></video> --> |
||||
<view class="c-title">{{detail.ActivityName}}</view> |
||||
<view class="date"> |
||||
<image class="icon" src="{{imageUrl}}za-images/1/date.png?t={{Timestamp}}"></image> |
||||
{{detail.BeginTime}} |
||||
<view class="tip">欢迎您参与此次活动</view> |
||||
<view class="container"> |
||||
<view class="c-content"> |
||||
<image class="banner" src="{{liveDetail.IntroductionUrl}}"></image> |
||||
<view class="c-title">{{detail.ActivityName}}</view> |
||||
<view class="date">直播时间: {{detail.BeginTime}}</view> |
||||
<view wx:if="{{detail.BeginTimeValue * 1 < dateValue * 1 && detail.Type==1}}" class="btn" bind:tap="handleLive"> |
||||
立即进入直播间 |
||||
</view> |
||||
<button open-type="share" class="btn btn2">分享活动</button> |
||||
</view> |
||||
<view class="site" wx:if="{{detail.Type==2}}">地点:{{detail.Location}}</view> |
||||
<block wx:if="{{detail.IsFollow==0}}"> |
||||
<image class="code" src="{{codeUrl}}" show-menu-by-longpress></image> |
||||
<view class="c-tip">关注"gMG给力加油站"公众号获取活动通知</view> |
||||
</block> |
||||
</view> |
||||
</view> |
||||
<view class="footer"> |
||||
<block wx:if="{{detail.AuditStatus==1}}"> |
||||
<button wx:if="{{detail.IsFollow==1}}" open-type="share" class="btn">邀约好友参与</button> |
||||
<view class="btn btn2" bind:tap="handleHome">随便看看</view> |
||||
</block> |
||||
<block wx:elif="{{detail.SignUpStatus==2 && (detail.AuditStatus==3 || detail.AuditStatus==4)}}"> |
||||
<block wx:if="{{detail.IsFollow==0}}"> |
||||
<view class="btn" wx:if="{{detail.BeginTimeValue * 1 < dateValue * 1 && detail.Type==1}}" bind:tap="handleLive"> |
||||
进入会议间 |
||||
</view> |
||||
</block> |
||||
<block wx:else> |
||||
<view |
||||
class="btn btn1" |
||||
wx:if="{{detail.BeginTimeValue * 1 < dateValue * 1 && detail.Type==1}}" |
||||
bind:tap="handleLive" |
||||
> |
||||
立即进入会议间 |
||||
</view> |
||||
<button open-type="share" class="btn">邀约好友参与</button> |
||||
</block> |
||||
</block> |
||||
</view> |
||||
</view> |
||||
|
||||
@ -1,9 +1,10 @@
@@ -1,9 +1,10 @@
|
||||
{ |
||||
"navigationBarTitleText": "我报名的活动", |
||||
"navigationStyle": "default", |
||||
"navigationStyle": "custom", |
||||
"usingComponents": { |
||||
"van-tab": "@vant/weapp/tab/index", |
||||
"van-tabs": "@vant/weapp/tabs/index", |
||||
"navbar": "/components/navbar/index", |
||||
"van-icon": "@vant/weapp/icon/index" |
||||
} |
||||
} |
||||
|
||||
@ -1,162 +1,62 @@
@@ -1,162 +1,62 @@
|
||||
<view class="page"> |
||||
<view class="sticky"> |
||||
<van-tabs |
||||
wx:if="{{online_open_status==1 && offline_open_status==1}}" |
||||
class="navbar" |
||||
active="{{ active }}" |
||||
bind:change="tabChange" |
||||
title-inactive-color="#9E9E9E" |
||||
title-active-color="#484848" |
||||
line-width="{{17}}" |
||||
line-height="{{4}}" |
||||
color="#E04775" |
||||
tab-class="tab" |
||||
tab-active-class="tab-active" |
||||
> |
||||
<van-tab title="全部"></van-tab> |
||||
<van-tab title="线上活动"></van-tab> |
||||
<van-tab title="线下活动"></van-tab> |
||||
</van-tabs> |
||||
</view> |
||||
<navbar fixed title="我报名的活动" custom-style="background:{{background}}"> |
||||
<van-icon name="arrow-left" slot="left" color="#000" bind:tap="handleBack" /> |
||||
</navbar> |
||||
|
||||
<view |
||||
class="page" |
||||
style="background: url('/images/bg10.png') no-repeat top center/100% 410rpx;padding-top:{{pageTop+22}}px;" |
||||
> |
||||
<view class="allin-list"> |
||||
<block wx:for="{{list}}" wx:key="Id"> |
||||
<view class="on-list-item" wx:if="{{item.Type==1}}" bind:tap="handleDetail" data-id="{{item.Id}}"> |
||||
<view class="photo-wrap"> |
||||
<image class="photo" mode="aspectFill" src="{{item.IntroductionUrl}}"></image> |
||||
<view class="status {{item.Status != 2 && 'bad'}}"> |
||||
<view class="dot"></view> |
||||
{{liveStatus[item.Status]}} |
||||
</view> |
||||
<!-- <view class="date"> --> |
||||
<!-- <view class="d-title"> --> |
||||
<!-- <van-icon class="icon" name="play" /> --> |
||||
<!-- 会议时间 --> |
||||
<!-- </view> --> |
||||
<!-- <block wx:if="{{item.isDay}}"> --> |
||||
<!-- <view class="ymd">{{item.BeginDate}}</view> --> |
||||
<!-- <view class="hm">{{item.BeginHm}}-{{item.EndHm}}</view> --> |
||||
<!-- </block> --> |
||||
<!-- <block wx:else> --> |
||||
<!-- <view class="ymd">{{item.BeginTime}}</view> --> |
||||
<!-- <view class="hm">{{item.EndTime}}</view> --> |
||||
<!-- </block> --> |
||||
<!-- </view> --> |
||||
</view> |
||||
<view class="inner"> |
||||
<view class="tag" wx:if="{{active==0}}">线上活动</view> |
||||
<view class="title">{{item.Name}}</view> |
||||
<view class="content"> |
||||
<view class="labels"> |
||||
<view class="label" wx:for="{{item.Labels}}" wx:for-item="label" wx:key="index">{{label}}</view> |
||||
</view> |
||||
<view class="people" wx:if="{{~~item.SignUpPeopleNum}}">{{item.SignUpPeopleNum}}人已报名</view> |
||||
</view> |
||||
<view class="footer"> |
||||
<view class="site">{{item.MasterName}} {{item.MasterTitle}}</view> |
||||
<view class="btn active" wx:if="{{ item.Status==99}}">已取消</view> |
||||
<view class="btn active" wx:elif="{{ item.Status==100}}">已删除</view> |
||||
<view class="btn" wx:elif="{{item.Status==3 && item.ReplayVideoUrl}}">看回放</view> |
||||
<view class="btn active" wx:elif="{{item.Status==3 && !item.ReplayVideoUrl}}">回放生成中</view> |
||||
<block wx:elif="{{item.IsSignUp==1 && zdUserInfo.AuditStatus}}"> |
||||
<block wx:if="{{zdUserInfo.AuditStatus == 1 || zdUserInfo.AuditStatus == 3 || zdUserInfo.AuditStatus == 4}}"> |
||||
<view class="btn active" wx:if="{{item.SignUpStatus==1}}">审核中</view> |
||||
<block wx:elif="{{item.SignUpStatus==2}}"> |
||||
<view class="btn" wx:if="{{item.BeginTimeValue * 1 < dateValue * 1}}">参会</view> |
||||
<view class="btn active" wx:else>已报名</view> |
||||
</block> |
||||
<block wx:elif="{{item.SignUpStatus==3}}"> |
||||
<view |
||||
class="btn active" |
||||
wx:if="{{item.IsLimitUser==1 && item.SignUpPeopleNum * 1 >= item.LimitPeopleNum * 1}}" |
||||
> |
||||
已满额 |
||||
</view> |
||||
</block> |
||||
</block> |
||||
</block> |
||||
<block wx:else> |
||||
<view |
||||
class="btn active" |
||||
wx:if="{{item.IsLimitUser==1 && item.SignUpPeopleNum * 1 >= item.LimitPeopleNum * 1}}" |
||||
> |
||||
已满额 |
||||
</view> |
||||
<view class="btn active" wx:elif="{{item.SignUpDeadlineValue * 1 < dateValue * 1}}">报名已截止</view> |
||||
<view class="btn" wx:else>报名</view> |
||||
</block> |
||||
</view> |
||||
</view> |
||||
<view class="list-item" wx:for="{{list}}" bind:tap="handleDetail" data-id="{{item.Id}}" wx:key="index"> |
||||
<view class="photo-wrap"> |
||||
<image class="photo" mode="aspectFill" src="{{item.IntroductionUrl}}"></image> |
||||
<view class="sign" wx:if="{{item.SignUpStatus==2}}">已报名</view> |
||||
</view> |
||||
<view class="off-list-item" wx:elif="{{item.Type==2}}" bind:tap="handleDetail" data-id="{{item.Id}}"> |
||||
<view class="photo-wrap"> |
||||
<image class="photo" mode="aspectFill" src="{{item.IntroductionUrl}}"></image> |
||||
<view class="status {{item.Status != 2 && 'bad'}}"> |
||||
<view class="dot"></view> |
||||
{{activityStatus[item.Status]}} |
||||
</view> |
||||
<!-- <view class="date"> --> |
||||
<!-- <view class="d-title"> --> |
||||
<!-- <van-icon name="play" /> --> |
||||
<!-- 活动时间 --> |
||||
<!-- </view> --> |
||||
<!-- <block wx:if="{{item.isDay}}"> --> |
||||
<!-- <view class="ymd">{{item.BeginDate}}</view> --> |
||||
<!-- <view class="hm">{{item.BeginHm}}-{{item.EndHm}}</view> --> |
||||
<!-- </block> --> |
||||
<!-- <block wx:else> --> |
||||
<!-- <view class="ymd">{{item.BeginTime}}</view> --> |
||||
<!-- <view class="hm">{{item.EndTime}}</view> --> |
||||
<!-- </block> --> |
||||
<!-- </view> --> |
||||
<view class="inner"> |
||||
<view class="title">{{item.Name}}</view> |
||||
<view class="labels" wx:if="{{item.doctorName}}"> |
||||
{{item.doctorName}} |
||||
<text class="line" wx:if="{{item.MasterHosipital}}"></text> |
||||
{{item.MasterHosipital}} |
||||
</view> |
||||
<view class="inner"> |
||||
<view class="tag" wx:if="{{active==0}}">线下活动</view> |
||||
<view class="title">{{item.Name}}</view> |
||||
<view class="content"> |
||||
<view class="labels"> |
||||
<view class="label" wx:for="{{item.Labels}}" wx:for-item="label" wx:key="index">{{label}}</view> |
||||
</view> |
||||
<view class="people" wx:if="{{~~item.SignUpPeopleNum}}">{{item.SignUpPeopleNum}}人已报名</view> |
||||
</view> |
||||
<view class="footer"> |
||||
<view class="site"> |
||||
<view>{{item.Location}}</view> |
||||
<view>{{item.Distance}}</view> |
||||
</view> |
||||
<view class="btn active" wx:if="{{ item.Status==3}}">已结束</view> |
||||
<view class="btn active" wx:elif="{{ item.Status==99}}">已取消</view> |
||||
<view class="btn active" wx:elif="{{ item.Status==100}}">已删除</view> |
||||
<block wx:elif="{{item.IsSignUp==1 && zdUserInfo.AuditStatus}}"> |
||||
<block wx:if="{{zdUserInfo.AuditStatus == 1 || zdUserInfo.AuditStatus == 3 || zdUserInfo.AuditStatus == 4}}"> |
||||
<view class="btn active" wx:if="{{item.SignUpStatus==1}}">审核中</view> |
||||
<block wx:elif="{{item.SignUpStatus==2}}"> |
||||
<view class="btn" wx:if="{{item.BeginTimeValue * 1 < dateValue * 1}}">已报名</view> |
||||
<view class="btn active" wx:else>已报名</view> |
||||
</block> |
||||
<block wx:elif="{{item.SignUpStatus==3}}"> |
||||
<view |
||||
class="btn active" |
||||
wx:if="{{item.IsLimitUser==1 && item.SignUpPeopleNum * 1 >= item.LimitPeopleNum * 1}}" |
||||
> |
||||
已满额 |
||||
</view> |
||||
</block> |
||||
<view class="footer"> |
||||
<view class="people" wx:if="{{item.SignUpPeopleNum * 1}}">{{item.SignUpPeopleNum}}人已报名</view> |
||||
<view class="btn active" wx:if="{{ item.Status==99}}">已取消</view> |
||||
<view class="btn active" wx:elif="{{ item.Status==100}}">已删除</view> |
||||
<view class="btn" wx:elif="{{item.Status==3 && item.ReplayVideoUrl}}">看回放</view> |
||||
<view class="btn active" wx:elif="{{item.Status==3 && !item.ReplayVideoUrl}}">回放生成中</view> |
||||
<block wx:elif="{{item.IsSignUp==1 && zdUserInfo.AuditStatus}}"> |
||||
<block |
||||
wx:if="{{zdUserInfo.AuditStatus == 1 || zdUserInfo.AuditStatus == 3 || zdUserInfo.AuditStatus == 4}}" |
||||
> |
||||
<view class="btn active" wx:if="{{item.SignUpStatus==1}}">审核中</view> |
||||
<block wx:elif="{{item.SignUpStatus==2}}"> |
||||
<view class="btn" wx:if="{{item.BeginTimeValue * 1 < dateValue * 1}}">参会</view> |
||||
<view class="btn active" wx:else>已报名</view> |
||||
</block> |
||||
<block wx:elif="{{item.SignUpStatus==3}}"> |
||||
<view |
||||
class="btn active" |
||||
wx:if="{{item.IsLimitUser==1 && item.SignUpPeopleNum * 1 >= item.LimitPeopleNum * 1}}" |
||||
> |
||||
已满额 |
||||
</view> |
||||
</block> |
||||
</block> |
||||
<block wx:else> |
||||
<view |
||||
class="btn active" |
||||
wx:if="{{item.IsLimitUser==1 && item.SignUpPeopleNum * 1 >= item.LimitPeopleNum * 1}}" |
||||
> |
||||
已满额 |
||||
</view> |
||||
<view class="btn active" wx:elif="{{item.SignUpDeadlineValue * 1 < dateValue * 1}}">报名已截止</view> |
||||
<view class="btn" wx:else>报名</view> |
||||
</block> |
||||
</view> |
||||
</block> |
||||
<block wx:else> |
||||
<view |
||||
class="btn active" |
||||
wx:if="{{item.IsLimitUser==1 && item.SignUpPeopleNum * 1 >= item.LimitPeopleNum * 1}}" |
||||
> |
||||
已满额 |
||||
</view> |
||||
<view class="btn active" wx:elif="{{item.SignUpDeadlineValue * 1 < dateValue * 1}}">报名已截止</view> |
||||
<view class="btn" wx:else>报名</view> |
||||
</block> |
||||
</view> |
||||
</view> |
||||
</block> |
||||
</view> |
||||
</view> |
||||
<pagination pagination="{{pagination}}"></pagination> |
||||
</view> |
||||
|
||||
@ -1,9 +1,10 @@
@@ -1,9 +1,10 @@
|
||||
{ |
||||
"navigationBarTitleText": "我的收藏", |
||||
"navigationStyle": "default", |
||||
"navigationStyle": "custom", |
||||
"usingComponents": { |
||||
"van-tab": "@vant/weapp/tab/index", |
||||
"van-tabs": "@vant/weapp/tabs/index", |
||||
"navbar": "/components/navbar/index", |
||||
"van-icon": "@vant/weapp/icon/index" |
||||
} |
||||
} |
||||
|
||||
@ -1,10 +1,11 @@
@@ -1,10 +1,11 @@
|
||||
{ |
||||
"navigationBarTitleText": "", |
||||
"navigationStyle": "default", |
||||
"navigationStyle": "custom", |
||||
"usingComponents": { |
||||
"van-tab": "@vant/weapp/tab/index", |
||||
"van-tabs": "@vant/weapp/tabs/index", |
||||
"van-icon": "@vant/weapp/icon/index", |
||||
"patient-tab-bar": "/components/patient-tab-bar/index" |
||||
"patient-tab-bar": "/components/patient-tab-bar/index", |
||||
"navbar": "/components/navbar/index" |
||||
} |
||||
} |
||||
|
||||