update fiv to vic

This commit is contained in:
luk.lu
2019-09-27 14:30:58 +08:00
parent 464a2dac9f
commit 788c918c4b
11 changed files with 63 additions and 44 deletions

View File

@@ -111,7 +111,7 @@
"frameworks" : [] /*Native.jsObjective-c APIFrameWorkGameCenter"GameKit.framework"*/
},
"google" : {
"packagename" : "org.tacever.vic", /*Androidio.dcloud.HelloH5*/
"packagename" : "net.yuanjin.vic", /*Androidio.dcloud.HelloH5*/
"keystore" : "unpackage/key/vic.keystore", /*Android使*/
"password" : "vic@2019", /*Android使*/
"aliasname" : "vic", /*Android使*/

BIN
src/assets/a_wechat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@@ -13,5 +13,6 @@ export default {
linkIOS: 'https://vic.yuanjin.net/webapp',
linkWeb: 'https://vic.yuanjin.net/webapp',
linkTelegram: 'https://t.me/vichome',
linkWechat: 'vichome',
linkEmail: 'team-vic@outlook.com',
};

View File

@@ -1,9 +1,9 @@
export default {
'app.name': 'The 5th Dimension',
'app.name': 'VIC',
'app.error': 'Loading failed, click to reload',
'index.start': 'Splash Screen',
'index.start1': 'Cryptocurrencies',
'index.start2': 'Wealth Management Platform',
'index.start1': 'Activating Value of Individual',
'index.start2': 'Initial Mining Offering',
'network.error': 'Network error',
'common.phoneHolder': 'Phone number',
@@ -111,7 +111,7 @@ export default {
'draw.avaliable': 'Available balance{num} {coin}',
'draw.fee': 'Transfer fee {num} {coin}',
'draw.actual': 'Estimated amount of arrival {num} {coin}',
'draw.drawHint': 'at least 1000 VIC, or once per week for USDT',
'draw.drawHint': 'at least 1000 to withdraw',
'draw.draw': 'Withdraw',
'draw.qrPrompt': 'Please install App to scan QR code',
'draw.qrError': 'Scanning QR code fails',
@@ -158,7 +158,7 @@ export default {
'profile.identity': 'KYC',
'profile.share': 'Promotion',
'profile.msg': 'Message Center',
'profile.about': 'About',
'profile.about': 'About VIC',
'account.title': 'My Account',
'account.nickname': 'Nickname',
@@ -175,12 +175,12 @@ export default {
'system.currency': 'Currency',
'system.chooseLang': 'Choose Language',
'about.title': 'About FIV',
'about.desc': 'Cryptocurrencies Wealth Management Platform',
'about.title': 'About VIC',
'about.desc': 'Activating Value of Individual',
'about.appTitle': 'Download APP',
'about.appDesc': '(Click to get app link)',
'about.comTitle': 'Join in Community',
'about.comDesc': '(Click to get community link)',
'about.appDesc': '',
'about.comTitle': 'Join Community',
'about.comDesc': '',
'about.contact': 'Contact Us',
'about.copyright': 'Copyright ©2019 FIV',
'about.copyright': 'Copyright ©2019 VIC',
}

View File

@@ -1,9 +1,9 @@
export default {
'app.name': '五维星球',
'app.name': 'Value of Invididual',
'app.error': '加载失败,点击重新加载',
'index.start': '启动页',
'index.start1': '加密货币',
'index.start2': '财富管理平台',
'index.start1': '激活个性价值',
'index.start2': '首次挖矿发行',
'network.error': '网络错误',
'common.phoneHolder': '请输入手机号',
@@ -59,7 +59,7 @@ export default {
'home.mine.valid': '当前有效矿晶',
'home.mine.retrieve': '获取矿晶',
'home.mine.refresh': '刷新',
'home.mine.validTime': '获日期:',
'home.mine.validTime': '获日期:',
'home.mine.invalidTime': '有效期至:',
'home.mine.status': '状态:',
'home.mine.status0': '等待确认',
@@ -101,7 +101,7 @@ export default {
'mine.calc': '汇率计算器:',
'mine.mine': '矿晶',
'mine.addressTitle': '充值 {label} 到您的专属地址。扫描二维码或点击地址复制:',
'mine.info': '充值到达目标账户后,请回到上一页矿场点击刷新,平台查账确认后,您即可获矿晶。',
'mine.info': '充值到达目标账户后,请回到上一页矿场点击刷新,平台查账确认后,您即可获矿晶。',
'draw.title': '提币转账',
'draw.selection': '请选择提取币种',
@@ -111,7 +111,7 @@ export default {
'draw.avaliable': '可用余额:{num} {coin}',
'draw.fee': '转账费用 {num} {coin}',
'draw.actual': '预计到账 {num} {coin}',
'draw.drawHint': 'VIC最低1000起; USDT每周仅限一次',
'draw.drawHint': '最低数额1000起',
'draw.draw': '提币',
'draw.qrPrompt': '请安装 App 以扫描二维码',
'draw.qrError': '扫描二维码错误',
@@ -158,7 +158,7 @@ export default {
'profile.identity': '实名认证',
'profile.share': '社区推广',
'profile.msg': '消息中心',
'profile.about': '关于五维星球',
'profile.about': '关于 VIC',
'account.title': '我的账户',
'account.nickname': '昵称',
@@ -175,12 +175,12 @@ export default {
'system.currency': '法币偏好',
'system.chooseLang': '请选择语言',
'about.title': '关于五维星球',
'about.desc': '加密货币财富管理平台',
'about.title': '关于 VIC',
'about.desc': '激活个性价值,首次挖矿发行',
'about.appTitle': '下载 APP',
'about.appDesc': '(点击相应图标获取 APP 下载地址)',
'about.appDesc': '',
'about.comTitle': '加入社区',
'about.comDesc': '(点击相应图标获取社区地址)',
'about.comDesc': '',
'about.contact': '联系我们',
'about.copyright': 'Copyright ©2019 五维星球',
'about.copyright': 'Copyright ©2019 VIC',
}

View File

@@ -15,6 +15,7 @@ import pAndroid from '@/assets/a_android.png';
import pIOS from '@/assets/a_ios.png';
import pWeb from '@/assets/a_web.png';
import pTelegram from '@/assets/a_telegram.png';
import pWechat from '@/assets/a_wechat.png';
import styles from './style.less';
@@ -95,11 +96,12 @@ const AboutPage: React.FC = () => {
</div>
</div>
)}
{config.linkTelegram && (
{(config.linkTelegram || config.linkWechat) && (
<div className="section">
<span className="title">{formatMessage({ id: 'about.comTitle' })}</span>
<span className="desc">{formatMessage({ id: 'about.comDesc' })}</span>
<div className="icon-list">
{config.linkAndroid && (
<div
className="icon-item"
onClick={() => {
@@ -110,13 +112,22 @@ const AboutPage: React.FC = () => {
<div className="icon-icon"><FittedImage src={pTelegram} /></div>
<span className="icon-name">Telegram</span>
</div>
)}
{config.linkWechat && (
<div
className="icon-item"
onClick={() => {
setInfo(config.linkWechat);
setTitle('Web');
}}
>
<div className="icon-icon"><FittedImage src={pWechat} /></div>
<span className="icon-name">Wechat</span>
</div>
)}
</div>
</div>
)}
<div className="section">
<span className="title">{formatMessage({ id: 'about.contact' })}</span>
<span className="desc">{config.linkEmail}</span>
</div>
</div>
<div>{formatMessage({ id: 'about.copyright' })}</div>
@@ -126,4 +137,9 @@ const AboutPage: React.FC = () => {
);
}
// <div className="section">
// <span className="title">{formatMessage({ id: 'about.contact' })}</span>
// <span className="desc">{config.linkEmail}</span>
// </div>
export default AboutPage;

View File

@@ -36,7 +36,7 @@ const MinePage: React.FC<HomeMineModelState & DispatchProp> = ({
<span className="title">{formatMessage({ id: 'home.mine.valid' })}</span>
<span className="content">
<span className="large">{info ? info.activeFund : 0}</span>
KG
[VIC]
</span>
<div className={styles.card}>
<div className="left">
@@ -64,7 +64,7 @@ const MinePage: React.FC<HomeMineModelState & DispatchProp> = ({
<div className={styles.item} key={it.id}>
<div className="line">
<div>{formatMessage({ id: 'home.mine.validTime' })}{displayTime(it.createdAt)}</div>
<div className="amount">+{it.amount} KG</div>
<div className="amount">+{it.amount} [VIC]</div>
</div>
<div className="line">
<div>

View File

@@ -45,10 +45,10 @@ const FundPage: React.FC<HomeFundModelState & DispatchProp> = ({
<span className="title">{formatMessage({ id: 'home.fund.total' })}</span>
<span className="content">
<span className="line">
{info ? (info.vic || 0) : 0} VIC
{info ? (info.vic || 0) : 0} VIC()
</span>
<span className="line">
{info ? (info.usdt || 0) : 0} USDT
{info ? (info.usdt || 0) : 0} VIC()
</span>
</span>
<div className={styles.card}>

View File

@@ -45,7 +45,7 @@ const CommunityPage: React.FC<HomeCommunityModelState & DispatchProp> = ({
<div className="bg" />
<span className="title">{formatMessage({ id: 'home.community.total' })}</span>
<span className="content">
<span className="large">+{info ? info.reward : 0} USDT</span>
<span className="large">+{info ? info.reward : 0} VIC</span>
</span>
<div className={styles.card}>
<div className="left">

View File

@@ -12,3 +12,5 @@ rules:
jsx-no-lambda: false
jsx-no-multiline-js: false
jsx-alignment: false
jsx-wrap-multiline: false