修改
This commit is contained in:
parent
ac1392d8a8
commit
5354b3b911
@ -145,7 +145,7 @@
|
|||||||
const phone = uni.getStorageSync('phone');
|
const phone = uni.getStorageSync('phone');
|
||||||
if (phone) {
|
if (phone) {
|
||||||
uni.navigateToMiniProgram({
|
uni.navigateToMiniProgram({
|
||||||
appId: 'wxa690d053c34ceebd',
|
appId: 'wx3341cfb0602789f6',
|
||||||
path: 'pages/index/index',
|
path: 'pages/index/index',
|
||||||
extraData: {
|
extraData: {
|
||||||
'from': 'qy',
|
'from': 'qy',
|
||||||
|
|||||||
@ -2,16 +2,16 @@
|
|||||||
<view class="app">
|
<view class="app">
|
||||||
<!-- 轮播图 -->
|
<!-- 轮播图 -->
|
||||||
<swiper :indicator-dots="true" indicator-color='#fff' indicator-active-color='#0086d6' :autoplay="autoplay"
|
<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">
|
<swiper-item v-for="(item ,index) in Banners" :key="index">
|
||||||
<view class="swiper-item" v-show="!splits(item)" wx-if="{item}" @tap='goswiper(item)'>
|
<view class="swiper-item" v-show="!splits(item)" wx-if="{item}" @tap='goswiper(item)'>
|
||||||
<image v-if="item" :src="item" mode="widthFix"></image>
|
<image v-if="item" :src="item" mode="widthFix"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="swiper-item" v-show="splits(item)" v-if="item">
|
<view class="swiper-item" v-show="splits(item)" v-if="item">
|
||||||
<video :id="'myVideo'+index" :autoplay="false" :src="item" controls show-fullscreen-btn
|
<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
|
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
|
show-play-btn :enable-progress-gesture='true' :show-center-play-btn='true' enable-play-gesture
|
||||||
auto-pause-if-open-native show-mute-btn></video>
|
auto-pause-if-open-native show-mute-btn></video>
|
||||||
</view>
|
</view>
|
||||||
</swiper-item>
|
</swiper-item>
|
||||||
</swiper>
|
</swiper>
|
||||||
@ -73,7 +73,7 @@
|
|||||||
<view class="tive">
|
<view class="tive">
|
||||||
<view class="tab-box">
|
<view class="tab-box">
|
||||||
<view class="tab-item" @tap="testTabClick(item)" v-for="(item,index) in tabLists" :key="index"
|
<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}}
|
{{item.name}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -81,7 +81,7 @@
|
|||||||
</u-tabs>
|
</u-tabs>
|
||||||
<view class="" v-if="servelist.length>0&&choicetab==false" style="margin:0">
|
<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'
|
<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>
|
<image :src="item.itemPictureUrl"></image>
|
||||||
<view class="huanyao">{{item.nurseItemName}}
|
<view class="huanyao">{{item.nurseItemName}}
|
||||||
</view>
|
</view>
|
||||||
@ -178,9 +178,9 @@
|
|||||||
}], //分类标题
|
}], //分类标题
|
||||||
tabIndex: 0,
|
tabIndex: 0,
|
||||||
tabLists: [{
|
tabLists: [{
|
||||||
name: '服务项目',
|
name: '服务项目',
|
||||||
id: 0,
|
id: 0,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '产品',
|
name: '产品',
|
||||||
id: 1,
|
id: 1,
|
||||||
@ -380,7 +380,7 @@
|
|||||||
res.data.stationPictureUrl = baseurl + res.data.stationPictureUrl
|
res.data.stationPictureUrl = baseurl + res.data.stationPictureUrl
|
||||||
if (res.data.agencyIntroduce) {
|
if (res.data.agencyIntroduce) {
|
||||||
res.data.agencyIntroduce = res.data.agencyIntroduce.replace(/\<img/gi,
|
res.data.agencyIntroduce = res.data.agencyIntroduce.replace(/\<img/gi,
|
||||||
"<br/><img class='richPic'")
|
"<br/><img class='richPic'")
|
||||||
}
|
}
|
||||||
res.data.nurseClassifyInfoList.forEach(e => {
|
res.data.nurseClassifyInfoList.forEach(e => {
|
||||||
e.name = e.classifyName
|
e.name = e.classifyName
|
||||||
@ -395,7 +395,7 @@
|
|||||||
})
|
})
|
||||||
if (res.data.poserInfoList[0].posterVideoUrl) {
|
if (res.data.poserInfoList[0].posterVideoUrl) {
|
||||||
res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0]
|
res.data.poserInfoList[0].video = baseurl + res.data.poserInfoList[0]
|
||||||
.posterVideoUrl
|
.posterVideoUrl
|
||||||
this.Banners.push(res.data.poserInfoList[0].video)
|
this.Banners.push(res.data.poserInfoList[0].video)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user