authorize.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. .authorize{
  19. width: 572rpx;
  20. margin: 180rpx auto 0;
  21. display: flex;
  22. flex-direction: column;
  23. align-items: center;
  24. image{
  25. width: 152rpx;
  26. height: 152rpx;
  27. border-radius: 50%;
  28. }
  29. .text{
  30. font-size: 26rpx;
  31. line-height: 48rpx;
  32. margin: 60rpx 0;
  33. color: #666;
  34. text{
  35. color: #333;
  36. }
  37. }
  38. .btns{
  39. button{
  40. width: 540rpx;
  41. height: 90rpx;
  42. border-radius: 45rpx;
  43. font-size: 30rpx;
  44. line-height: 90rpx;
  45. text-align: center;
  46. margin-top: 20rpx;
  47. &:last-child{
  48. background-color: #fff;
  49. border: 1rpx solid #b4b4b4;
  50. box-sizing: border-box;
  51. }
  52. }
  53. }
  54. }
  55. </style>