Compare commits

...

3 Commits

Author SHA1 Message Date
yangchunyu
0183ffaa95 Merge branch 'main' of https://gitea.dykj.co/sundongyu/dykj-outsource-12123 2024-06-27 15:33:33 +08:00
yangchunyu
b2631ee2ad 代码上传 2024-06-27 15:31:57 +08:00
yangchunyu
a7fd251707 清除多余图片 2024-06-27 15:24:12 +08:00
10 changed files with 16 additions and 6 deletions

View File

@ -64,14 +64,15 @@
<uni-icons type="right" size="20" color="#acacac" style="margin-right: 20rpx"></uni-icons> <uni-icons type="right" size="20" color="#acacac" style="margin-right: 20rpx"></uni-icons>
</view> </view>
<view class="information-content"> <view class="information-content">
<uni-swiper-dot :info="info" :current="current" :dots-styles="{selectedBackgroundColor: '#2065b1',backgroundColor: '#e6e6e6'}" field="content" mode="default"> <uni-swiper-dot :info="info" :current="current"
:dots-styles="{selectedBackgroundColor: '#2065b1',backgroundColor: '#e6e6e6'}" field="content" mode="default">
<swiper class="swiper-box" @change="change"> <swiper class="swiper-box" @change="change">
<swiper-item v-for="(item, index) in info" :key="index"> <swiper-item v-for="(item, index) in info" :key="index">
<view class="swiper-item" style="margin-right: 20rpx"> <view class="swiper-item" style="margin-right: 20rpx">
<image src="../../static/index-bgd.png" style="width: 200rpx; height: 200rpx; margin-left: 20rpx"> <image :src="item.Image" style="width: 200rpx; height: 200rpx; margin-left: 20rpx">
</image> </image>
<view class="swiper-text"> <view class="swiper-text">
<text>{{ '测试数据' }}</text> <text>{{ item.content }}</text>
<view style="width: 100%; display: flex; justify-content: flex-end; color: #cecdd3; font-size: 28rpx"> <view style="width: 100%; display: flex; justify-content: flex-end; color: #cecdd3; font-size: 28rpx">
{{ '2024-06-14' }} {{ '2024-06-14' }}
</view> </view>
@ -105,6 +106,7 @@
</view> </view>
</view> </view>
</view> </view>
<image src="../../static/hp1.png" style="width: 100rpx; height: 100rpx" class="kefu"></image>
</view> </view>
</template> </template>
@ -170,13 +172,16 @@
} }
]); ]);
const info = [{ const info = [{
content: '内容 A' Image: '../../static/wq.png',
content: '公安部8项公安交管便民利企改革新措施解读'
}, },
{ {
content: '内容 B' Image: '../../static/wq.png',
content: '公安部8项公安交管便民利企改革新措施解读'
}, },
{ {
content: '内容 C' Image: '../../static/wq.png',
content: '公安部8项公安交管便民利企改革新措施解读'
} }
]; ];
const current = ref(0); const current = ref(0);
@ -362,4 +367,9 @@
} }
} }
} }
.kefu{
position: absolute;
right: 20rpx;
bottom: 40rpx;
}
</style> </style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

BIN
static/hP1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

BIN
static/wq.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB