qualifications.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>产品中心-快钱资质-创业帮</title>
  6. <meta name="keywords" content="产品中心-快钱资质-创业帮">
  7. <meta name="description" content="产品中心-快钱资质-创业帮">
  8. <meta content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,shrink-to-fit=no,user-scalable=no" name="viewport" viewport="cover">
  9. <meta name="apple-mobile-web-app-capable" content="yes">
  10. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  11. <meta content="telephone=no" name="format-detection">
  12. <meta content="email=no" name="format-detection">
  13. <meta name="apple-mobile-web-app-title" content="产品中心-快钱资质-创业帮">
  14. <meta http-equiv="Cache-Control" content="no-siteapp">
  15. <link rel="stylesheet" href="./static/css/main.css">
  16. </head>
  17. <body class="back-color pb0 pt0 ovh" style="padding-top:0;">
  18. <div id="app" v-cloak>
  19. <van-nav-bar class="user_rank_explan_title user_title_normal bottom_line" title="产品资质" @click-left="goback" right-text="保存本地" @click-right="savefn" v-if="toptitleisshow" left-arrow>
  20. <template #left> <img src="./static/images/left.png" alt=""></template>
  21. </van-nav-bar>
  22. <van-tabs class="tab-underline" v-model="active" swipeable animated line-width="50" color="#FFD500" @change="checktab" line-height="2" :ellipsis="false" sticky>
  23. <van-tab v-for="item,index in bounds" :key="index" :title="item.name">
  24. <div class="tc f12 c333 mt16">{{item.notice1}}</div>
  25. <div class="pl16 pr16" @touchstart="gtouchstart(item.img1)" @touchend="gtouchend" @touchmove="gtouchmove" @click="clickimg(index,item.img1)" style="min-height:80vh;"><img :src="item.img1" alt="" style="width:100%;"></div>
  26. </van-tab>
  27. </van-tabs>
  28. </div>
  29. <script src="./static/js/klm-vv.min.js"></script>
  30. <script src="./static/js/appfunc.min.js"></script>
  31. <script src="./static/js/klm-axios-config.js"></script>
  32. <script src="./static/js/publicfn.js"></script>
  33. <script>
  34. // 通过 CDN 引入时不会自动注册 Lazyload 组件
  35. // 可以通过下面的方式手动注册
  36. Vue.use(vant.Lazyload);
  37. PublicLib.SetStatusBarBgColor({bgcolor:'ffffff'});
  38. // 在 #app 标签下渲染一个按钮组件
  39. let app = new Vue({
  40. el: '#app',
  41. data() {
  42. return {
  43. showimg:'',
  44. imgisshow:false,
  45. toptitleisshow,
  46. checkimg:'',
  47. active:0,
  48. type:'',
  49. bounds:[
  50. {
  51. name:'金控',
  52. notice1:'金控支付许可证',
  53. img1:'https://ap.kexiaoshuang.com/skin/app/default/static/images/qualifications1.jpg',
  54. },
  55. {
  56. name:'开店宝',
  57. notice1:'开店宝支付许可证',
  58. img1:'https://ap.kexiaoshuang.com/skin/app/default/static/images/qualifications2.jpg?t=1',
  59. },
  60. {
  61. name:'乐刷',
  62. notice1:'乐刷支付许可证',
  63. img1:'https://ap.kexiaoshuang.com/skin/app/default/static/images/qualifications3.jpg',
  64. },
  65. {
  66. name:'立刷',
  67. notice1:'立刷支付许可证',
  68. img1:'https://ap.kexiaoshuang.com/skin/app/default/static/images/qualifications4.jpg',
  69. },
  70. {
  71. name:'盛付通',
  72. notice1:'盛付通支付许可证',
  73. img1:'https://ap.kexiaoshuang.com/skin/app/default/static/images/qualifications5.jpg',
  74. },
  75. ],
  76. };
  77. },
  78. created() {
  79. this.type = browsertype.versions.ios ? 'ios' : 'android';
  80. },
  81. computed:{
  82. imglist(){
  83. return this.bounds.map(item=>item.img1);
  84. },
  85. },
  86. methods: {
  87. checktab(){
  88. this.checkimg = this.bounds[this.active].img1
  89. },
  90. clickimg(index,img){
  91. PublicLib.PhotoBrowser(index,this.imglist);
  92. },
  93. goback(){
  94. PublicLib.GoBack({Level:1});
  95. },
  96. gtouchstart(img){
  97. const that = this;
  98. this.timeOutEvent = setTimeout(()=>{
  99. that.saveimg(img)
  100. },600);
  101. },
  102. gtouchend(){
  103. clearTimeout(this.timeOutEvent);
  104. },
  105. gtouchmove(){
  106. clearTimeout(this.timeOutEvent);
  107. this.timeOutEvent = 0;
  108. },
  109. saveimg(img){
  110. PublicLib.SaveToSd({PicPath:img});
  111. },
  112. savefn(){
  113. PublicLib.SaveToSd({PicPath:this.checkimg});
  114. },
  115. }
  116. });
  117. </script>
  118. </body>
  119. </html>