Agreement.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template>
  2. <TuiModal :show="privacyShow" :custom="true" :fadein="true">
  3. <view class="Put-box1">
  4. <view class="text-align fs34 fs-bold">
  5. 协议与隐私政策
  6. </view>
  7. <p class="mar-top-20">欢迎来到shop!我们根据最新的法律、法规、监管政策要求,更新了shop隐私政策。</p>
  8. <view class="flex-display flex-sp-between">
  9. <view class="btn submit" @click="privacyShow = false">
  10. 同意
  11. </view>
  12. </view>
  13. </view>
  14. </TuiModal>
  15. </template>
  16. <script>
  17. import TuiModal from '@/components/modal/modal'
  18. export default {
  19. name: 'Agreement',
  20. components: { TuiModal },
  21. data() {
  22. return {
  23. privacyShow: false
  24. }
  25. },
  26. created() {
  27. // this.privacyShow = true
  28. if (!uni.getStorageSync('storage_key')) {
  29. // #ifdef APP-PLUS
  30. this.privacyShow = true
  31. // #endif
  32. }
  33. },
  34. methods: {}
  35. }
  36. </script>
  37. <style
  38. lang="scss"
  39. scoped
  40. >
  41. .Put-box1 {
  42. .btn {
  43. text-align: center;
  44. margin-top: 40rpx;
  45. border: 1px solid #333333;
  46. height: 80upx;
  47. line-height: 80upx;
  48. width: 100%;
  49. color: #333333;
  50. }
  51. .submit {
  52. background-color: #333333;
  53. color: #FFEBC4;
  54. }
  55. }
  56. </style>