|
@@ -4,7 +4,8 @@
|
|
|
.content{text-indent: 2em;margin:0;}
|
|
|
.content-box{box-sizing: border-box;padding:10px;background: white;}
|
|
|
.text-center {text-align: center;}
|
|
|
- .content-box img {width:50%;display: block;margin:10px auto;}
|
|
|
+ .content-box .wechat {width:50%;display: block;margin:10px auto;}
|
|
|
+ .company {display: block;width: 100%;}
|
|
|
</style>
|
|
|
{/block}
|
|
|
{block name="body"}
|
|
@@ -27,6 +28,10 @@
|
|
|
<p class="text-center">扫码联系业务合作</p>
|
|
|
<img src="/static/mobile/images/wechat_qrcode.jpg" class="wechat" alt="">
|
|
|
</div>
|
|
|
+<img src="/static/mobile/images/company/1.jpg" @click="showImage(0)" class="company" alt="">
|
|
|
+<img src="/static/mobile/images/company/2.jpg" @click="showImage(1)" class="company" alt="">
|
|
|
+<img src="/static/mobile/images/company/3.jpg" @click="showImage(2)" class="company" alt="">
|
|
|
+<img src="/static/mobile/images/company/4.jpg" @click="showImage(3)" class="company" alt="">
|
|
|
|
|
|
{/block}
|
|
|
{block name="script"}
|
|
@@ -38,6 +43,18 @@
|
|
|
history.back();
|
|
|
};
|
|
|
|
|
|
+ base.showImage = (index) => {
|
|
|
+ vant.showImagePreview({
|
|
|
+ images:[
|
|
|
+ '/static/mobile/images/company/1.jpg',
|
|
|
+ '/static/mobile/images/company/2.jpg',
|
|
|
+ '/static/mobile/images/company/3.jpg',
|
|
|
+ '/static/mobile/images/company/4.jpg',
|
|
|
+ ],
|
|
|
+ startPosition: index,
|
|
|
+ });
|
|
|
+ };
|
|
|
+
|
|
|
return base;
|
|
|
}
|
|
|
</script>
|