This commit is contained in:
2023-09-04 14:25:53 +08:00
parent ac1392d8a8
commit 5354b3b911
2 changed files with 12 additions and 12 deletions

View File

@ -145,7 +145,7 @@
const phone = uni.getStorageSync('phone');
if (phone) {
uni.navigateToMiniProgram({
appId: 'wxa690d053c34ceebd',
appId: 'wx3341cfb0602789f6',
path: 'pages/index/index',
extraData: {
'from': 'qy',

View File

@ -2,16 +2,16 @@
<view class="app">
<!-- 轮播图 -->
<swiper :indicator-dots="true" indicator-color='#fff' indicator-active-color='#0086d6' :autoplay="autoplay"
:interval="2000" :duration="1000" class="swiper-box" :circular='true' @change="swiperChange">
:interval="2000" :duration="1000" class="swiper-box" :circular='true' @change="swiperChange">
<swiper-item v-for="(item ,index) in Banners" :key="index">
<view class="swiper-item" v-show="!splits(item)" wx-if="{item}" @tap='goswiper(item)'>
<image v-if="item" :src="item" mode="widthFix"></image>
</view>
<view class="swiper-item" v-show="splits(item)" v-if="item">
<video :id="'myVideo'+index" :autoplay="false" :src="item" controls show-fullscreen-btn
object-fit="fill" @play="play" @pause="pause" @ended="ended" auto-pause-if-navigate
show-play-btn :enable-progress-gesture='true' :show-center-play-btn='true' enable-play-gesture
auto-pause-if-open-native show-mute-btn></video>
object-fit="fill" @play="play" @pause="pause" @ended="ended" auto-pause-if-navigate
show-play-btn :enable-progress-gesture='true' :show-center-play-btn='true' enable-play-gesture
auto-pause-if-open-native show-mute-btn></video>
</view>
</swiper-item>
</swiper>
@ -73,7 +73,7 @@
<view class="tive">
<view class="tab-box">
<view class="tab-item" @tap="testTabClick(item)" v-for="(item,index) in tabLists" :key="index"
:class="tabIndex == index?'active':''">
:class="tabIndex == index?'active':''">
{{item.name}}
</view>
</view>
@ -81,7 +81,7 @@
</u-tabs>
<view class="" v-if="servelist.length>0&&choicetab==false" style="margin:0">
<view class="item" v-for="item in servelist" :key="" v-show='choicetab==false'
@click.stop='goProjectDetails(item)'>
@click.stop='goProjectDetails(item)'>
<image :src="item.itemPictureUrl"></image>
<view class="huanyao">{{item.nurseItemName}}
</view>
@ -178,9 +178,9 @@
}], //
tabIndex: 0,
tabLists: [{
name: '服务项目',
id: 0,
},
name: '服务项目',
id: 0,
},
{
name: '产品',
id: 1,
@ -380,7 +380,7 @@
res.data.stationPictureUrl = baseurl + res.data.stationPictureUrl
if (res.data.agencyIntroduce) {
res.data.agencyIntroduce = res.data.agencyIntroduce.replace(/\<img/gi,
"<br/><img class='richPic'")
"<br/><img class='richPic'")
}
res.data.nurseClassifyInfoList.forEach(e => {
e.name = e.classifyName
@ -395,7 +395,7 @@
})
if (res.data.poserInfoList[0].posterVideoUrl) {
res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0]
.posterVideoUrl
.posterVideoUrl
this.Banners.push(res.data.poserInfoList[0].video)
}
} else {