privacy.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <template>
  2. <view class="privacy">
  3. <view class="content">
  4. <view class="top">
  5. <view class="title">
  6. 欢迎使用直播直聘
  7. </view>
  8. <view class="Subtitle">
  9. 为更好的服务,部分功能需以下权限才能使用!
  10. </view>
  11. </view>
  12. <view class="bottom">
  13. <view class="content_detail">
  14. <view class="row" v-for="(item,index) in privacy_list" :key="index">
  15. <view class="">
  16. <image :src="item.icon" mode="widthFix" style="width: 76rpx;"></image>
  17. </view>
  18. <view class="">
  19. <view class="name">
  20. {{item.name}}
  21. </view>
  22. <view class="subtitle">
  23. {{item.content}}
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. <view class="btn_box">
  29. <view class="" @click="closePrivacy">
  30. 知道了
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. </template>
  37. <script>
  38. export default{
  39. data(){
  40. return{
  41. privacy_list:[
  42. {name:"相册功能",content:"提供头像更新,相册更新功能",icon:require("@/static/login/privacy/icon-1.png")},
  43. {name:"相机功能",content:"向您提供图片和视频拍摄功能",icon:require("@/static/login/privacy/icon-2.png")},
  44. {name:"拨号功能",content:"提供快捷沟通联系功能",icon:require("@/static/login/privacy/icon-3.png")},
  45. {name:"系统通知权限",content:"提供消息提醒服务",icon:require("@/static/login/privacy/icon-4.png")},
  46. {name:"精准位置权限",content:"选择查看直播地点",icon:require("@/static/login/privacy/icon-5.png")}
  47. ]
  48. }
  49. },
  50. methods:{
  51. closePrivacy(){
  52. this.$emit("closePrivacy")
  53. }
  54. }
  55. }
  56. </script>
  57. <style scoped>
  58. .privacy{
  59. height: 100vh;
  60. width: 100%;
  61. background: rgba(0, 0,0, .6);
  62. position: fixed;
  63. top: 0;
  64. left: 0;
  65. z-index: 1;
  66. display: flex;
  67. justify-content: center;
  68. }
  69. .privacy>view{
  70. align-self: center;
  71. }
  72. .content{
  73. width: 584rpx;
  74. /* height: 634rpx; */
  75. background: #fff;
  76. border-radius: 20rpx;
  77. }
  78. .top{
  79. width: 100%;
  80. height: 120rpx;
  81. background: #FA4485;
  82. border-radius: 20rpx 20rpx 0 0;
  83. color: #fff;
  84. box-sizing: border-box;
  85. padding: 16rpx 0 0 32rpx;
  86. }
  87. .title{
  88. font-size: 36rpx;
  89. font-weight: 600;
  90. /* margin: 16rpx 0 0 32rpx; */
  91. }
  92. .Subtitle{
  93. font-size: 24rpx;
  94. font-weight: 400;
  95. margin-top: 10rpx;
  96. }
  97. .content_detail{
  98. width: 510rpx;
  99. /* height: 372rpx; */
  100. padding: 20rpx 0;
  101. margin: 34rpx auto 0 auto;
  102. /* background: #000; */
  103. /* background: #e9e9e9; */
  104. font-size: 28rpx;
  105. font-weight: 400;
  106. }
  107. .btn_box{
  108. width: 515rpx;
  109. height: 80rpx;
  110. display: flex;
  111. justify-content: space-between;
  112. margin: 30rpx auto;
  113. }
  114. .btn_box>view{
  115. width: 100%;
  116. height: 76rpx;
  117. text-align: center;
  118. line-height: 80rpx;
  119. background: #FA4485;
  120. color: #fff;
  121. border-radius: 64rpx;
  122. }
  123. .row{
  124. height: 100rpx;
  125. /* background: #FA4485; */
  126. display: flex;
  127. margin: 8rpx auto;
  128. }
  129. .row image{
  130. display: flex;
  131. margin-right: 10rpx;
  132. }
  133. .row>view{
  134. align-self: center;
  135. }
  136. .name{
  137. font-size: 28rpx;
  138. font-weight: 400;
  139. }
  140. .subtitle{
  141. font-size: 24rpx;
  142. font-weight: 400;
  143. color: #333;
  144. margin-top: 4rpx;
  145. }
  146. </style>