register.blade.php 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. @extends('muc_front.app.index')
  2. @section('lang', 'Zh-CN')
  3. @section('title')
  4. 注册
  5. @endsection
  6. @section('firstStyle')
  7. <meta name="format-detection" content="telephone=no">
  8. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1, user-scalable=no">
  9. <meta name="apple-mobile-web-app-capable" content="yes">
  10. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  11. <link rel="stylesheet" href="{{ asset('front/xfn/css/home.css') }}" />
  12. <link rel="stylesheet" href="{{ asset('front/xfn/css/style/style.css') }}" />
  13. @endsection
  14. @section('style')
  15. {{-- <link rel="stylesheet" href="{{ asset('front/muc/css/style/login.css') }}" />--}}
  16. @endsection
  17. @section('headerScript')
  18. <script type="text/javascript" src="{{ asset('front/xfn/js/jQuery-2.2.0.min.js') }}"></script>
  19. <script type="text/javascript" src="{{ asset('front/xfn/js/vue.js') }}"></script>
  20. <script type="text/javascript" src="{{ asset('front/xfn/js/home.js') }}"></script>
  21. <script type="text/javascript" charset="utf-8"></script>
  22. @endsection
  23. @section('footer-nav')
  24. @endsection
  25. @section('content')
  26. <div id="app">
  27. <header class="mui-bar mui-bar-nav mui-bar-esp2">
  28. <a href="#" class="mui-icon mui-icon-left-nav mui-pull-left"></a>
  29. <!--<h1 class="mui-title">邀请好友</h1>-->
  30. </header>
  31. <div class="mui-content">
  32. <div class="share-bg"></div>
  33. <div class="share-con">
  34. {{-- <div class="share-hd">我是XXX</div>--}}
  35. <div class="share-hd">我为小富农代言</div>
  36. <div class="share-code">
  37. <img src="{{ asset('front/xfn/xz.png') }}" />
  38. </div>
  39. <div class="share-num">
  40. {{ $code }}
  41. </div>
  42. <div class="share-ft">扫码注册,免费领取试炼矿机,收货您的果实吧!</div>
  43. </div>
  44. </div>
  45. </div>
  46. @endsection
  47. @section('bodyScript')
  48. <script>
  49. /**
  50. * vue 数据绑定
  51. */
  52. var vm = new Vue({
  53. el: '#app',
  54. data: {
  55. //数据集
  56. is_loading: true,
  57. is_ajax: false
  58. },
  59. methods: {
  60. format: function(timestamp) {
  61. //timestamp是整数,否则要parseInt转换,不会出现少个0的情况
  62. var date = new Date(timestamp * 1000);
  63. var y = 1900 + date.getYear();
  64. var d_m = "0" + (date.getMonth() * 1 + 1);
  65. var d = "0" + date.getDate();
  66. var h = "0" + date.getHours();
  67. var m = "0" + date.getMinutes();
  68. var s = "0" + date.getSeconds();
  69. return y + "-" + d_m.substring(d_m.length - 2, d_m.length) + "-" + d.substring(d.length - 2, d.length);
  70. // return y.substring(y.length - 2, y.length) + "." + d_m.substring(d_m.length - 2, d_m.length) + "." + d.substring(d.length - 2, d.length);
  71. },
  72. },
  73. watch: {
  74. //数据监测函数
  75. },
  76. created: function() {
  77. //加载触发函数
  78. this.is_loading = false;
  79. }
  80. });
  81. </script>
  82. @endsection