h5/pages/driver/reservedGuide.vue
@@ -1,6 +1,6 @@ <template> <view> <view class="box"> <mp-html :content="content" /> </view> </template> @@ -8,12 +8,20 @@ export default { data() { return { content: '' }; }, onLoad(option) { this.content = uni.getStorageSync('driverGuide')[option.str] }, methods: { } } </script> <style lang="scss"> .box{ padding: 0 30rpx; } </style>