update
This commit is contained in:
parent
06c85a31bc
commit
4b8b5c9dd7
@ -58,23 +58,23 @@
|
||||
<text class="searchText">请输入想看的服务区</text>
|
||||
</view>
|
||||
</div>
|
||||
<picker class="pick" @change="handleChangeFestival($event)" :value="currentIndex" :range="canSelectFestivalList"
|
||||
range-key="label">
|
||||
<!-- :range="defaultFestivalList" -->
|
||||
<div class="festivalChangeBox" :style="{ paddingTop: menu.bottom + 32 + 'px' }">
|
||||
<div class="newChangeBox">
|
||||
<image class="changeIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex/1stDateTime.svg" />
|
||||
<!-- defaultFestivalList[currentIndex].label -->
|
||||
<span class="festivalName">{{
|
||||
canSelectFestivalList[currentIndex].label
|
||||
}}</span>
|
||||
<image class="changeIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/rightArrow.svg" />
|
||||
</div>
|
||||
<view class="jumpBtn" @click.stop="goToRobot">
|
||||
<image class="jumpBtnIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/AIAssistant.svg" />
|
||||
数智助手
|
||||
</view>
|
||||
<!-- <image
|
||||
|
||||
<div class="pickBox" :style="{ paddingTop: menu.bottom + 32 + 'px' }">
|
||||
<picker class="pick" @change="handleChangeFestival($event)" :value="currentIndex" :range="canSelectFestivalList"
|
||||
range-key="label">
|
||||
<!-- :range="defaultFestivalList" -->
|
||||
<div class="festivalChangeBox">
|
||||
<div class="newChangeBox">
|
||||
<image class="changeIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/newIndex/1stDateTime.svg" />
|
||||
<!-- defaultFestivalList[currentIndex].label -->
|
||||
<span class="festivalName">{{
|
||||
canSelectFestivalList[currentIndex].label
|
||||
}}</span>
|
||||
<image class="changeIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/rightArrow.svg" />
|
||||
</div>
|
||||
|
||||
|
||||
<!-- <image
|
||||
:style="{
|
||||
width:
|
||||
selectFestival === 1 || selectFestival===2
|
||||
@ -128,7 +128,7 @@
|
||||
: ''
|
||||
"
|
||||
/> -->
|
||||
<!-- <image
|
||||
<!-- <image
|
||||
class="changeIcon"
|
||||
:src="
|
||||
selectFestival === 1 || selectFestival===2
|
||||
@ -148,8 +148,18 @@
|
||||
: ''
|
||||
"
|
||||
/> -->
|
||||
</div>
|
||||
</picker>
|
||||
</div>
|
||||
</picker>
|
||||
<view class="backToHomeBox" @click.stop="goToHome">
|
||||
<image class="backToHomeIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/backToHome.svg" />
|
||||
回到首页
|
||||
</view>
|
||||
|
||||
<view class="jumpBtn" @click.stop="goToRobot">
|
||||
<image class="jumpBtnIcon" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/AIAssistant.svg" />
|
||||
春运播报
|
||||
</view>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pageContent">
|
||||
@ -4027,6 +4037,9 @@ export default {
|
||||
uni.removeStorageSync("springService");
|
||||
},
|
||||
methods: {
|
||||
goToHome() {
|
||||
this.$util.toNextRoute("switchTab", `/pages/index/index`);
|
||||
},
|
||||
goToRobot() {
|
||||
this.$util.toNextRoute("navigateTo", `/pages/robot/index`);
|
||||
},
|
||||
@ -5533,7 +5546,9 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.picker {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 40px;
|
||||
@ -5587,45 +5602,90 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.festivalChangeBox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 32rpx;
|
||||
|
||||
.newChangeBox {
|
||||
background: #fff;
|
||||
padding: 16rpx 16rpx 16rpx 32rpx;
|
||||
border-radius: 32rpx;
|
||||
display: flex;
|
||||
.pickBox {
|
||||
width: 100%;
|
||||
padding: 0 32rpx 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
|
||||
.pick {
|
||||
.festivalChangeBox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
|
||||
.newChangeBox {
|
||||
background: #fff;
|
||||
padding: 16rpx 16rpx 16rpx 32rpx;
|
||||
border-radius: 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.festivalName {
|
||||
margin: 0 16rpx;
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #160002;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
|
||||
.changeIcon {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// .festivalImg {
|
||||
// width: 168rpx;
|
||||
// height: 68rpx;
|
||||
// }
|
||||
// .changeIcon {
|
||||
// width: 32rpx;
|
||||
// height: 32rpx;
|
||||
// margin-left: 12rpx;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
.backToHomeBox {
|
||||
padding: 8rpx 16rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 12rpx;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
||||
.festivalName {
|
||||
margin: 0 16rpx;
|
||||
font-size: 28rpx;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #160002;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
|
||||
.changeIcon {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
.backToHomeIcon {
|
||||
width: 34rpx;
|
||||
height: 34rpx;
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.jumpBtn {
|
||||
padding: 8rpx 16rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 32rpx;
|
||||
display: flex;
|
||||
// background-color: #fff;
|
||||
background-color: #FF7C43;
|
||||
border-radius: 12rpx;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: #FFE194;
|
||||
font-weight: 600;
|
||||
line-height: 28rpx;
|
||||
|
||||
.jumpBtnIcon {
|
||||
width: 40rpx;
|
||||
@ -5633,16 +5693,6 @@ export default {
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
}
|
||||
|
||||
// .festivalImg {
|
||||
// width: 168rpx;
|
||||
// height: 68rpx;
|
||||
// }
|
||||
// .changeIcon {
|
||||
// width: 32rpx;
|
||||
// height: 32rpx;
|
||||
// margin-left: 12rpx;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user