|
|
@@ -4,7 +4,7 @@
|
|
|
|
|
|
<view v-show="popupShow" class="popup" :style="{ height: popupHeight + 'px', width: popupWidth + 'px' }">
|
|
|
<!-- <uni-section title="活动路线列表" type="line"> -->
|
|
|
- <uni-data-picker class="actionsTree" placeholder="请选择活动" popup-title="请选择活动路线" :localdata="actionsTree"
|
|
|
+ <uni-data-picker class="actionsTree" :style="{ width: popupWidth + 'px' }" placeholder="请选择活动" popup-title="请选择活动路线" :localdata="actionsTree"
|
|
|
v-model="sltActRoute" @change="onActionChange" @popupopened="onActionsTreePopupOpened" @popupclosed="onActionsTreePopupClosed"></uni-data-picker>
|
|
|
<!-- </uni-section> -->
|
|
|
|
|
|
@@ -27,8 +27,8 @@
|
|
|
{{item.distance}}米 配速 {{formatTime(item.pace, false)}}
|
|
|
</view>
|
|
|
<view class="slot-note">
|
|
|
- 心率 {{item.lasthr}} 平均 {{item.avghr}} 最大 {{item.maxhr}} | CAL
|
|
|
- {{Math.round(item.calorie/1000)}} Ck {{Math.round(item.ck/1000)}} Ei
|
|
|
+ 心率 {{item.lasthr}} 平均 {{item.avghr}} 最大 {{item.maxhr}} | Cal
|
|
|
+ {{Math.round(item.calorie/1000)}} Ck {{item.ck}} Ei
|
|
|
{{Math.round(item.ei*100)/100}}
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -81,7 +81,7 @@
|
|
|
popupHeight: 0,
|
|
|
popupWidth: 0,
|
|
|
popupHeightPortrait: 360, // 竖屏状态下的底部弹框高度
|
|
|
- popupWidthlandscape: 330, // 横屏状态下的右侧弹框宽度
|
|
|
+ popupWidthlandscape: 336, // 横屏状态下的右侧弹框宽度
|
|
|
popupType: 'bottom',
|
|
|
popupShow: false,
|
|
|
extraIcon: {
|
|
|
@@ -228,7 +228,7 @@
|
|
|
value: act.actid + '-' + course.courseid
|
|
|
})
|
|
|
}
|
|
|
- if (actUserNum > 0) {
|
|
|
+ if (actUserNum >= 0) {
|
|
|
pushData.children.unshift({
|
|
|
text: '全部 (' + actUserNum + '人)',
|
|
|
value: act.actid + '-' + 0
|
|
|
@@ -605,7 +605,7 @@
|
|
|
}
|
|
|
|
|
|
.actionsTree {
|
|
|
- width: 100%;
|
|
|
+ // width: 100%;
|
|
|
// background-color: #ffffff;
|
|
|
|
|
|
/deep/ .input-value-border {
|
|
|
@@ -646,7 +646,8 @@
|
|
|
/* #endif */
|
|
|
flex-direction: column;
|
|
|
align-items: flex-start;
|
|
|
- max-width: 280px;
|
|
|
+ width: 330px;
|
|
|
+ max-width: 350px;
|
|
|
}
|
|
|
|
|
|
.slot-image {
|