You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
691 B
36 lines
691 B
![]()
1 year ago
|
<template>
|
||
|
<view class="guide_body">
|
||
|
<view v-for="(item,index) in guideList " :key="index" class="guide_item">
|
||
|
<view class="guide_item_title">{{item.info}}</view>
|
||
|
<image mode="widthFix" :src="imgs" v-for=" (imgs,imgsIndex) in item.imgs " :key="imgsIndex" class="guide_item_img"></image>
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
guideList:null
|
||
|
}
|
||
|
},
|
||
|
onLoad(e) {
|
||
|
if(e.guideList){
|
||
|
this.init(e)
|
||
|
}
|
||
|
},
|
||
|
methods: {
|
||
|
init(e){
|
||
|
this.guideList = this.difData(e);
|
||
|
},
|
||
|
difData(e){
|
||
|
return JSON.parse(decodeURIComponent(e.guideList))
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" scoped>
|
||
|
@import 'index.scss';
|
||
|
</style>
|