jinjiang.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {extend name="public/base_human"/}
  2. {block name="css"}
  3. <style>
  4. .box {width:100%;box-sizing: border-box;padding:0 20px 20px 20px;}
  5. .title {color:#0070C0;font-size:20px;text-align: center;}
  6. .sub-title {color:#0070C0;margin-bottom: 0;font-weight: bold;}
  7. .content {text-indent: 2em;}
  8. .mt-5 {margin-top:5px;}
  9. .mb-5 {margin-bottom: 5px;}
  10. .t0 {text-indent: 0;}
  11. .company {display: block;width: 100%;}
  12. </style>
  13. {/block}
  14. {block name="body"}
  15. <van-nav-bar
  16. class="nav-theme"
  17. :fixed="true"
  18. :placeholder="true"
  19. left-text="返回"
  20. left-arrow
  21. @click-left="onBack"
  22. >
  23. <template #title>
  24. <span class="text-white">服务指南</span>
  25. </template>
  26. </van-nav-bar>
  27. <img src="/static/mobile/images/human/jinjiang1.png" @click="showImage(0)" class="company" alt="">
  28. <img src="/static/mobile/images/human/jinjiang2.png" @click="showImage(1)" class="company" alt="">
  29. <img src="/static/mobile/images/human/jinjiang3.png" @click="showImage(2)" class="company" alt="">
  30. {/block}
  31. {block name="script"}
  32. <script>
  33. function v_setup() {
  34. let base = {};
  35. base.onBack = () => {
  36. history.back();
  37. };
  38. base.showImage = (index) => {
  39. vant.showImagePreview({
  40. images:[
  41. '/static/mobile/images/human/jinjiang1.png',
  42. '/static/mobile/images/human/jinjiang2.png',
  43. '/static/mobile/images/human/jinjiang3.png',
  44. ],
  45. startPosition: index,
  46. });
  47. };
  48. return base;
  49. }
  50. </script>
  51. {/block}