This commit is contained in:
xx 2025-06-10 04:22:54 +08:00
parent 3ee2f0ee34
commit a54e41054f
6 changed files with 43 additions and 13 deletions

View File

@ -64,7 +64,9 @@
"text6": "Available balance",
"text7": "Upgrade now",
"text8": "Insufficient user balance",
"tect9": "Cannot purchase VIP"
"tect9": "Cannot purchase VIP",
"text10": "upgrade",
"text11": "channel partner"
},
"Questionnaire":{
"title": "Questionnaire",
@ -367,7 +369,8 @@
"text21": "Identity portrait consistency",
"text22": "Behavior pattern simulation",
"text23": "Equipment environment quarantine",
"text24": "Core advantage"
"text24": "Core advantage",
"text25": "Select Language"
},
"nav":{
"home": "Home",

View File

@ -64,7 +64,9 @@
"text6": "可用余额",
"text7": "立即升级",
"text8": "用户余额不足",
"tect9": "不能购买VIP"
"tect9": "不能购买VIP",
"text10": "升级",
"text11": "渠道商"
},
"Questionnaire":{
"title": "问卷",
@ -367,7 +369,8 @@
"text21": "身份画像一致性",
"text22": "行为模式模拟",
"text23": "设备环境隔离",
"text24": "核心优势"
"text24": "核心优势",
"text25": "选择语言"
},
"nav":{
"home": "首页",

View File

@ -20,7 +20,7 @@
If you are looking for an easy way to make money with surveys, you can join the "MMT" community.
</view>
</view>
<view style="bottom: 0rpx; position: absolute; width:100vw; height: 120rpx; ">
<view style="bottom: 0rpx; position: absolute; width:100vw; height: 200rpx; ">
<button style="width: 86%; background-color: #1D61E7; color: #fff; margin: auto;" @click="button">{{text}}</button>
</view>
</view>
@ -79,5 +79,5 @@
<style lang="scss" scoped>
@import '@/style/mixin.scss';
body{background-color: #fff;}
.page{min-height: 96vh; padding-top: 100rpx;}
.page{min-height: 96vh; padding-top: 200rpx;}
</style>

View File

@ -1,12 +1,15 @@
<template>
<view class="page">
<view style="margin-top: 60rpx;">
<view style="padding-top: 80rpx;">
<image src="/static/images/logo.png" style="width: 140rpx; height: 60rpx; float: left; margin-left: 20rpx;"></image>
<view class="v1">
<view class="v1" style="line-height: 50rpx;" @click="selectlanguage">
<!-- <uni-icons size="20" type="gift"></uni-icons> -->
<uni-badge @click="onPageJump('/pages/mine/notice')" class="uni-badge-left-margin" :is-dot="true" text="0" :offset="[5, 10]" absolute="rightTop" size="small">
<!-- <uni-badge @click="onPageJump('/pages/mine/notice')" class="uni-badge-left-margin" :is-dot="true" text="0" :offset="[5, 10]" absolute="rightTop" size="small">
<uni-icons size="30" type="notification" style="margin-left: 40rpx;"></uni-icons>
</uni-badge>
</uni-badge> -->
<span style="float: right; margin-left: 10rpx; font-size: 28rpx;" v-if="$i18n.locale == 'en'">EN</span>
<span style="float: right; margin-left: 10rpx; font-size: 28rpx;" v-if="$i18n.locale == 'zh'">ZH</span>
<image src="/static/images/earth.png" style="width: 40rpx; height: 40rpx; float: right;"></image>
</view>
<view style="clear: both;"></view>
</view>
@ -92,7 +95,7 @@
</view>
<view style="font-size: 24rpx; font-weight: 400; color: #999; line-height: 40rpx;">
<view style="float: left; color: #333; font-size: 32rpx; font-weight: 500; line-height: 80rpx;">
{{$t('index.text10')}}: <span style="font-size: 40rpx;">${{parseFloat(item.price).toFixed(2)}} </span>
{{$t('index.text10')}}: <span style="font-size: 40rpx;">${{parseFloat(item.interest_rate).toFixed(2)}} </span>
</view>
<view style="float: right;">
<button type="primary" class="b" @click="onTokenJump('/pages/questionnaire/details?id='+item.id)">To answer</button>
@ -143,6 +146,19 @@
</view>
</uni-section>
</view>
<uni-popup ref="popup" background-color="#fff">
<view style="width: 80vw; padding: 20rpx 30rpx; border-radius: 40rpx; line-height: 50rpx;">
<view style="font-size: 36rpx; font-weight: bold; text-align: center; margin-bottom: 30rpx;">{{$t('index.text25')}}</view>
<view style="padding-bottom: 20rpx; width: 100%;">
<view @click="switchlan('en')" style="height: 80rpx; line-height: 80rpx;" :style = "$i18n.locale == 'en' ? 'background-color:#1D61E7; color: #fff' : 'color: #333'">
<view style="font-weight: 600;font-size: 32rpx; margin-left: 20rpx;">English</view>
</view>
<view @click="switchlan('zh')" style="height: 80rpx; line-height: 80rpx;" :style = "$i18n.locale == 'zh' ? 'background-color:#1D61E7; color: #fff' : 'color: #333'">
<view style="font-weight: 600;font-size: 32rpx;margin-left: 20rpx;">简体中文</view>
</view>
</view>
</view>
</uni-popup>
<zNavigation></zNavigation>
</view>
</template>
@ -215,6 +231,13 @@
url: "/pages/questionnaire/select?kw="+this.kw
});
},
selectlanguage(){
this.$refs.popup.open('center');
},
switchlan(l){
this.$i18n.locale = l;
this.$refs.popup.close();
},
onTokenJump(url) {
this.judgeLogin(() => {
uni.navigateTo({
@ -257,6 +280,7 @@
</script>
<style lang="scss" scoped>
@import '@/style/mixin.scss';
::v-deep .uni-popup__wrapper{border-radius: 30rpx;}
::v-deep .uni-searchbar__box{padding: 30rpx 20rpx;}
::v-deep .uni-searchbar__box{height: 100rpx;}
::v-deep .uni-noticebar-icon{margin-top: 8rpx;}

View File

@ -43,8 +43,8 @@
<image v-if="item.id==3" style="width: 80rpx; height: 80rpx;" src="/static/images/u1.png" mode="cover"></image>
</uni-col>
<uni-col :span="12">
<view v-if="item.id==2" style="font-weight: 600;font-size: 30rpx;color: #3D3D3D;line-height: 80rpx;">upgrade VIP</view>
<view v-if="item.id==3" style="font-weight: 600;font-size: 30rpx;color: #3D3D3D;line-height: 40rpx;">upgrade <br>channel partner</view>
<view v-if="item.id==2" style="font-weight: 600;font-size: 30rpx;color: #3D3D3D;line-height: 80rpx;">{{$t('upgrade.text10')}} VIP</view>
<view v-if="item.id==3" style="font-weight: 600;font-size: 30rpx;color: #3D3D3D;line-height: 40rpx;">{{$t('upgrade.text10')}} <br>{{$t('upgrade.text11')}}</view>
</uni-col>
<uni-col :span="7">
<view style="font-weight: 600;font-size: 36rpx;color: #3D3D3D;line-height: 80rpx;">{{item.price}} USDT</view>

BIN
static/images/earth.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB