Commit f92c0bbc authored by fwz's avatar fwz

Merge remote-tracking branch 'origin/dev_cd' into dev_cd

parents f3297df3 4ab7a444
<template> <template>
<view class="appCotent" v-if="show"> <view class="appCotent" v-if="show">
<view class="index-content"> <view class="index-content">
<u-swiper radius="0 0 0 30px" :height="210" :list="list5" circular @change="e => current = e.current" :autoplay="true" keyName="imageUrl" @click="goOtherLink"> <u-swiper radius="0 0 0 30px" :height="210" :list="list5" circular @change="e => current = e.current"
:autoplay="true" keyName="imageUrl" @click="goOtherLink">
<view slot="indicator" class="indicator"> <view slot="indicator" class="indicator">
<view class="indicator__dot" v-for="(item, index) in list5" :key="index" :class="[index === current && 'indicator__dot--active']"> <view class="indicator__dot" v-for="(item, index) in list5" :key="index"
:class="[index === current && 'indicator__dot--active']">
</view> </view>
</view> </view>
</u-swiper> </u-swiper>
...@@ -51,11 +53,11 @@ ...@@ -51,11 +53,11 @@
</div> </div>
<u-gap bgColor="transparent" height="60"></u-gap> <u-gap bgColor="transparent" height="60"></u-gap>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
show: false, show: false,
...@@ -126,7 +128,7 @@ export default { ...@@ -126,7 +128,7 @@ export default {
}) })
}, },
// 轮播跳转其他页面 // 轮播跳转其他页面
goOtherLink(index){ goOtherLink(index) {
let item = this.list5[index] let item = this.list5[index]
let link = item.link; let link = item.link;
var newStr = link.indexOf("http"); var newStr = link.indexOf("http");
...@@ -151,16 +153,16 @@ export default { ...@@ -151,16 +153,16 @@ export default {
this.show = true this.show = true
}, 100); }, 100);
}, },
onReady: function () { onReady: function() {
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title: '友众挪车牌' title: '友众挪车牌'
}); });
} }
}; };
</script> </script>
<style lang="scss"> <style lang="scss">
.index-content { .index-content {
/deep/ .u-swiper__indicator { /deep/ .u-swiper__indicator {
position: absolute; position: absolute;
right: 30rpx !important; right: 30rpx !important;
...@@ -231,7 +233,7 @@ export default { ...@@ -231,7 +233,7 @@ export default {
} }
.code__money { .code__money {
width:360rpx; width: 390rpx;
margin: 0 20rpx; margin: 0 20rpx;
.money__title { .money__title {
...@@ -242,13 +244,14 @@ export default { ...@@ -242,13 +244,14 @@ export default {
line-height: 42rpx; line-height: 42rpx;
} }
.code__tips { .code__tips {
font-size: 30rpx; font-size: 30rpx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: 500;
color: #666666; color: #666666;
line-height: 42rpx; line-height: 42rpx;
margin-bottom:20rpx; margin-bottom: 20rpx;
} }
.money__num { .money__num {
...@@ -334,5 +337,5 @@ export default { ...@@ -334,5 +337,5 @@ export default {
font-size: 24rpx; font-size: 24rpx;
} }
} }
} }
</style> </style>
...@@ -378,6 +378,9 @@ export default { ...@@ -378,6 +378,9 @@ export default {
} }
.address__right { .address__right {
width:60rpx;
display: flex;
justify-content: flex-end;
image { image {
width: 14rpx; width: 14rpx;
height: 24rpx; height: 24rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment