详情小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
1.3 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. <template>
  2. <view></view>
  3. </template>
  4. <script>
  5. export default {
  6. data(){
  7. return {
  8. }
  9. },
  10. onLoad(options){
  11. const callbackURL = encodeURIComponent('http://192.168.3.183:8080/#/pages/index/index');
  12. const appId = 'wx98e64ab875b2553e';
  13. const dataStr = '1';
  14. const redirectURI = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appId}&redirect_uri=${callbackURL}&response_type=code&scope=snsapi_userinfo&state=${dataStr}#wechat_redirect`;
  15. location.replace(redirectURI);
  16. },
  17. methods: {
  18. }
  19. }
  20. </script>
  21. <style>
  22. page{
  23. overflow: hidden;
  24. }
  25. </style>
  26. <style lang="scss" scoped="scoped">
  27. .box{
  28. padding: 60rpx 32rpx;
  29. width: 750rpx;
  30. height: auto;
  31. box-sizing: border-box;
  32. position: relative;
  33. .img{
  34. width: 180rpx;
  35. height: 180rpx;
  36. border-radius: 50%;
  37. }
  38. .btn{
  39. background-color: #09BB07;
  40. color: #FFFFFF;
  41. width: 100%;
  42. height: 88rpx;
  43. border-radius: 42rpx;
  44. font-size: 32rpx;
  45. line-height: 88rpx;
  46. margin-top: 80rpx;
  47. }
  48. }
  49. .fixed-bottom{
  50. position: fixed;
  51. bottom: 60rpx;
  52. left: 0;
  53. padding: 0 32rpx;
  54. .highlight{
  55. color: #1e90ff;
  56. }
  57. }
  58. .mask{
  59. position: absolute;
  60. bottom: 46rpx;
  61. left: 0;
  62. width: 100%;
  63. height: 190rpx;
  64. }
  65. .display-inline-block{
  66. display: inline-block;
  67. }
  68. </style>