Pārlūkot izejas kodu

美博会版本

yuwenjun 4 gadi atpakaļ
vecāks
revīzija
51e9e888fb
1 mainītis faili ar 28 papildinājumiem un 0 dzēšanām
  1. 28 0
      h5/pages/activity/activity-detail.vue

+ 28 - 0
h5/pages/activity/activity-detail.vue

@@ -0,0 +1,28 @@
+<template>
+	<view class="detail">
+		<image :src="productInfo.adsImage" mode="widthFix"></image>
+	</view>
+</template>
+
+<script>
+	export default{
+		data(){
+			return{
+				productInfo:''
+			}
+		},
+		onLoad(option) {
+			this.productInfo = option.detail
+			console.log(option)
+		}
+	}
+</script>
+
+<style lang="scss">
+.detail{
+	width: 750rpx;
+	image{
+		width: 750px;
+	}
+}
+</style>