protocol.js 514 B

12345678910111213141516171819202122232425
  1. // 协议枚举
  2. const protocolEnum = {
  3. // 隐私政策
  4. privacyPolicy: 'Privacy-Policy',
  5. // 个人信息处理规则
  6. personalRules: 'Personal-Information-Rules',
  7. // 用户授权协议
  8. authAgreement: 'User-Authorization-Agreement'
  9. }
  10. // 协议跳转
  11. const protocolNavigateTo = function(type) {
  12. // console.info('navigateTo-->', type)
  13. if(!type) {
  14. return
  15. }
  16. // my.navigateTo({
  17. // url: '/pages/protocol/protocol?type=' + type
  18. // })
  19. }
  20. export default {
  21. protocolEnum,
  22. protocolNavigateTo
  23. }