lanan-repair/pages/guideList/guideList.vue
2024-09-22 15:07:01 +08:00

76 lines
1.4 KiB
Vue

<template>
<view class="container">
<v-navigation-bar title="操作指南" background-color="#fff" title-color="#333"></v-navigation-bar>
<view class="body">
<view @click="gotoDetail(item)" v-for="(item,index) in data" :key="index" class="guideItem">
<text class="guide_content">如何在小程序上下单车辆维修</text>
<image class="guideIcon" src="../../static/icons/homeInfoMore.png" mode="aspectFit"></image>
</view>
</view>
</view>
</template>
<script>
import VNavigationBar from '@/components/VNavigationBar.vue'
export default {
components: {
VNavigationBar
},
data() {
return {
data: [{}, {}]
};
},
methods: {
gotoDetail() {
uni.navigateTo({
url: '/pages/guideList/guideDetail'
})
}
}
}
</script>
<style lang="less" scoped>
.container {
background-color: #F3F5F7;
height: 100%;
display: flex;
flex-direction: column;
.body {
flex: 1;
height: 0;
padding: 0 0 20rpx;
display: flex;
flex-direction: column;
.guideItem {
margin: 20rpx 32rpx 0;
background: #FFFFFF;
border-radius: 12rpx 12rpx 12rpx 12rpx;
padding: 40rpx 30rpx;
display: flex;
align-items: center;
column-gap: 10rpx;
font-size: 32rpx;
color: #333333;
.guide_content {
flex: 1;
width: 0;
}
.guideIcon {
width: 24rpx;
height: 24rpx;
}
}
}
}
</style>