| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 | 
							- <template>
 
- 	<view>
 
- 		<!-- 月度政策 -->
 
- 		<view class="picture" v-html="contentDetail"></view>
 
- 	</view>
 
- </template>
 
- <script>
 
- 	import {
 
- 		request
 
- 	} from '@/common/request/request'
 
- 	require("promise.prototype.finally").shim()
 
- 	export default {
 
- 		data() {
 
- 			return {
 
- 				contentDetail: null
 
- 			}
 
- 		},
 
- 		onLoad() {
 
- 			this.handleGetData();
 
- 		},
 
- 		methods: {
 
- 			handleGetData(){
 
- 				uni.showLoading({
 
- 					title: "加载中"
 
- 				});
 
- 				var _this = this;
 
- 				request({
 
- 					url: '/homepage/getArticleOne',
 
- 					method: 'post',
 
- 					data: {
 
- 						"displayType": "1" //门店1
 
- 					}
 
- 				}).then(res => {
 
- 					console.log(res)
 
- 					if (res.data.code == 0) {
 
- 						_this.contentDetail = res.data.data.contentDetail;
 
- 					}
 
- 				}).catch(err => {})
 
- 				.finally(() => {
 
- 					setTimeout(() => {
 
- 						uni.hideLoading();
 
- 						this.loading = false;
 
- 					}, 1000);
 
- 				})
 
- 			}
 
- 		}
 
- 	}
 
- </script>
 
- <style lang="scss" scoped>
 
- 	.picture {
 
- 		/deep/img {
 
- 			width: 100%;
 
- 		}
 
- 	}
 
- </style>
 
 
  |