|
|
@@ -66,6 +66,9 @@
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
<!-- #endif -->
|
|
|
+ <uni-popup ref="bannerPopup" class="bannerPopup">
|
|
|
+ <image :src="bannerBig" mode="widthFix"></image>
|
|
|
+ </uni-popup>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
@@ -109,6 +112,7 @@ export default {
|
|
|
business: -1
|
|
|
},
|
|
|
pageData: {},
|
|
|
+ bannerBig: "",
|
|
|
};
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
@@ -235,7 +239,11 @@ export default {
|
|
|
this.goto("/pages/notice/detail", { id });
|
|
|
},
|
|
|
// 轮播图跳转
|
|
|
- goList(e) {},
|
|
|
+ goList(e) {
|
|
|
+ console.log(e);
|
|
|
+ this.bannerBig = e
|
|
|
+ this.$refs.bannerPopup.open()
|
|
|
+ },
|
|
|
// 金刚区跳转
|
|
|
setPageUrl(item) {
|
|
|
if ([1, 3, 4, 6].includes(item.type)) {
|
|
|
@@ -636,4 +644,12 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+.bannerPopup{
|
|
|
+ width: 100vw;
|
|
|
+ image{
|
|
|
+ width: 100vw;
|
|
|
+ // height: fit-content;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|