| | |
| | | if (!visible) return null; |
| | | |
| | | return ( |
| | | <View className='privacy-popup' catchMove> |
| | | <View className='privacy-mask'></View> |
| | | <View className='privacy-content' animation={animationData}> |
| | | <View className='title'>用户协议与隐私政策</View> |
| | | <View className='rt-privacy-popup' catchMove> |
| | | <View className='rt-privacy-mask'></View> |
| | | <View className='rt-privacy-content' animation={animationData}> |
| | | <View className='rt-title'>用户协议与隐私政策</View> |
| | | |
| | | <View className='privacy-text'> |
| | | <Text className='text-content'> |
| | | <View className='rt-privacy-text'> |
| | | <Text className='rt-text-content'> |
| | | 欢迎使用小鹏Robotaxi小程序!为了更好地保障您的个人权益,我们将通过 {agreementNamesText || ''} 等文档来保护您的个人信息。 |
| | | </Text> |
| | | <View className='txt-tip'>我已满十四周岁,阅读并同意:</View> |
| | | <View className='rt-txt-tip'>我已满十四周岁,阅读并同意:</View> |
| | | </View> |
| | | |
| | | <View className='privacy-link'> |
| | | <View className='rt-privacy-link'> |
| | | { |
| | | agreementList.map((item) => ( |
| | | <View className='link-item' key={String(item.id)}> |
| | | <Image onClick={checkItem(String(item.id))} className='item-radio' src={isAgree[String(item.id)] ? 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/check.png' : 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/uncheck.png'} |
| | | <View className='rt-link-item' key={String(item.id)}> |
| | | <Image onClick={checkItem(String(item.id))} className='rt-item-radio' src={isAgree[String(item.id)] ? 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/check.png' : 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/uncheck.png'} |
| | | mode='aspectFill' /> |
| | | <View className='item-name' onClick={() => handleLinkClick(item.id)}>《 {item.name} 》</View> |
| | | <View className='rt-item-name' onClick={() => handleLinkClick(item.id)}>《 {item.name} 》</View> |
| | | </View> |
| | | )) |
| | | } |
| | | <View className='link-item'> |
| | | <Image onClick={checkAll} className='item-radio' src={isAllAgree ? 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/check.png' : 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/uncheck.png'} |
| | | <View className='rt-link-item'> |
| | | <Image onClick={checkAll} className='rt-item-radio' src={isAllAgree ? 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/check.png' : 'https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/uncheck.png'} |
| | | mode='aspectFill' /> |
| | | <View onClick={checkAll} className='item-name'>全部勾选</View> |
| | | <View onClick={checkAll} className='rt-item-name'>全部勾选</View> |
| | | </View> |
| | | </View> |
| | | |
| | | <View className={'agree-btn ' + (!isAllAgree && 'btn-no-agree')} onClick={handleAgree}> |
| | | <View className={`rt-agree-btn ${!isAllAgree ? 'rt-btn-no-agree' : ''}`} onClick={handleAgree}> |
| | | 同意并进入 |
| | | </View> |
| | | |
| | | <View className='close-txt' onClick={handleClose}>暂不同意,留在游客模式</View> |
| | | <View className='rt-close-txt' onClick={handleClose}>暂不同意,留在游客模式</View> |
| | | </View> |
| | | </View> |
| | | ) |