addcompanythree.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <template>
  2. <view>
  3. <web-view id="mapContainer" :src="srcHandler()"></web-view>
  4. <!-- <view style='text-align:center;height:90vh;'>
  5. <view style='transform: translateY(50%);'>
  6. <image class="xj-image" src="@/static/mine/company/shipinrenzheng.png" @click="openVideo"></image>
  7. <view class='hinttext'>请打开摄像头并阅读提示文字</view>
  8. </view>
  9. </view>
  10. <view class="content4">
  11. <view style='margin:0 0 18px;font-size:12px;color:#999;' class='flex items-center'>
  12. <u--image style='margin-right:5px;' @click='consent'
  13. :src="checked?'../../../static/mine/duihao@2x.png':'../../../static/mine/wxz.png'"
  14. width="12px" height="12px"></u--image>
  15. 我已阅读并同意全部细则
  16. </view>
  17. <view class='line'></view>
  18. <view class="next-btn" :class="checked?'active':'' " @click="goDetailPage('/pages/mine/company/companyvideo')">
  19. 开始
  20. </view>
  21. </view> -->
  22. </view>
  23. </template>
  24. <script>
  25. export default {
  26. data() {
  27. return {
  28. checked:false,
  29. }
  30. },
  31. methods: {
  32. srcHandler() {
  33. //
  34. return `/hybrid/html/video.html`
  35. },
  36. // openVideo(){
  37. // uni.$u.route('/pages/mine/camera/video/video?dotype=idcardface');
  38. // // console.log(uni)
  39. // // uni.chooseVideo({
  40. // // count: 1,
  41. // // mediaType: ['video'],
  42. // // sourceType: ['camera'],
  43. // // maxDuration: 30,
  44. // // camera: 'back',
  45. // // success(res) {
  46. // // console.log(res.tempFilest)
  47. // // }
  48. // // })
  49. // },
  50. // consent(){
  51. // this.checked=!this.checked
  52. // },
  53. // goDetailPage(src)
  54. // {
  55. // if(this.checked){
  56. // uni.$u.route(src);
  57. // }
  58. // },
  59. }
  60. }
  61. </script>
  62. <style lang="scss" scoped>
  63. page{
  64. background:#F5F6FA;
  65. }
  66. .xj-image{
  67. width:216rpx;
  68. height:216rpx;
  69. }
  70. .hinttext{
  71. width:236rpx;
  72. margin:80rpx auto 0;
  73. font-size:32rpx;
  74. }
  75. .content4 {
  76. position:fixed;
  77. bottom:0;
  78. background: white;
  79. width:100%;
  80. text-align:center;
  81. left:0;
  82. box-sizing: border-box;;
  83. padding:10px 15px;
  84. .line{
  85. position:absolute;
  86. left:0;
  87. margin-top:-9px;
  88. border-top:1px solid #eee;
  89. width:100%;
  90. }
  91. .next-btn {
  92. background: #F1F3F6;
  93. width: 85%;
  94. padding: 20rpx 20rpx;
  95. text-align: center;
  96. color: #C5CAD4;
  97. border-radius: 50rpx;margin:0 auto;
  98. margin-top:10px;
  99. }
  100. .next-btn.active{
  101. background: #2772FB;
  102. color:#fff;
  103. }
  104. }
  105. </style>