Agreement.vue 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <tui-modal :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. </tui-modal>
  15. </template>
  16. <script>
  17. import { T_STORAGE_KEY } from '../../../constant'
  18. export default {
  19. name: 'Agreement',
  20. data() {
  21. return {
  22. privacyShow: false
  23. }
  24. },
  25. created() {
  26. // this.privacyShow = true
  27. if (!uni.getStorageSync(T_STORAGE_KEY)) {
  28. // #ifdef APP
  29. this.privacyShow = true
  30. // #endif
  31. }
  32. },
  33. methods: {}
  34. }
  35. </script>
  36. <style
  37. lang="scss"
  38. scoped
  39. >
  40. .Put-box1 {
  41. .btn {
  42. text-align: center;
  43. margin-top: 40rpx;
  44. border: 1px solid #333333;
  45. height: 80upx;
  46. line-height: 80upx;
  47. width: 100%;
  48. color: #333333;
  49. }
  50. .submit {
  51. background-color: #333333;
  52. color: #FFEBC4;
  53. }
  54. }
  55. </style>