authorize.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <template>
  2. <view class="container">
  3. <view class="authorize">
  4. <image src="../../static/ws/logo.png" mode="widthFix"></image>
  5. <view class="text">
  6. 您暂未授权<text>维沙采购商城</text>小程序获取您的信息将无法正常使用小程序的功能,如需正常使用,请点击 “<text>授权</text>” 按钮打开头像,昵称等信息的授权
  7. </view>
  8. <view class="btns">
  9. <button type="primary">微信授权</button>
  10. <button type="default">取消</button>
  11. </view>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. </script>
  17. <style lang="scss">
  18. .container{
  19. overflow: hidden;
  20. }
  21. .authorize{
  22. width: 572rpx;
  23. margin: 180rpx auto 0;
  24. display: flex;
  25. flex-direction: column;
  26. align-items: center;
  27. image{
  28. width: 152rpx;
  29. height: 152rpx;
  30. border-radius: 50%;
  31. }
  32. .text{
  33. font-size: 26rpx;
  34. line-height: 48rpx;
  35. margin: 60rpx 0;
  36. color: #666;
  37. text{
  38. color: #333;
  39. }
  40. }
  41. .btns{
  42. button{
  43. width: 540rpx;
  44. height: 90rpx;
  45. border-radius: 45rpx;
  46. font-size: 30rpx;
  47. line-height: 90rpx;
  48. text-align: center;
  49. margin-top: 20rpx;
  50. &:last-child{
  51. background-color: #fff;
  52. border: 1rpx solid #b4b4b4;
  53. box-sizing: border-box;
  54. }
  55. }
  56. }
  57. }
  58. </style>