1
jhzh
2025-04-20 d157d0892f1ab5517dbe3a08328ccb9c4e446615
1
31 files modified
277 ■■■■■ changed files
app.js 6 ●●●● patch | view | raw | blame | history
components/kline-charts/index.vue 14 ●●●● patch | view | raw | blame | history
i18n/lang/de.json 1 ●●●● patch | view | raw | blame | history
i18n/lang/en.json 5 ●●●●● patch | view | raw | blame | history
i18n/lang/fin.json 1 ●●●● patch | view | raw | blame | history
i18n/lang/fra.json 1 ●●●● patch | view | raw | blame | history
i18n/lang/it.json 1 ●●●● patch | view | raw | blame | history
i18n/lang/jp.json 3 ●●●● patch | view | raw | blame | history
i18n/lang/kor.json 3 ●●●● patch | view | raw | blame | history
i18n/lang/pl.json 1 ●●●● patch | view | raw | blame | history
i18n/lang/pt.json 1 ●●●● patch | view | raw | blame | history
i18n/lang/spa.json 3 ●●●● patch | view | raw | blame | history
i18n/lang/swe.json 1 ●●●● patch | view | raw | blame | history
i18n/lang/tr.json 3 ●●●● patch | view | raw | blame | history
i18n/lang/ukr.json 3 ●●●● patch | view | raw | blame | history
i18n/lang/zh-CN.json 3 ●●●● patch | view | raw | blame | history
i18n/lang/zh-TW.json 3 ●●●● patch | view | raw | blame | history
layout/vDropdwon.vue 2 ●●● patch | view | raw | blame | history
manifest.json 4 ●●●● patch | view | raw | blame | history
pages.json 2 ●●● patch | view | raw | blame | history
pages/assets/coin-list.vue 2 ●●● patch | view | raw | blame | history
pages/assets/recharge.vue 44 ●●●● patch | view | raw | blame | history
pages/base/contract.vue 85 ●●●● patch | view | raw | blame | history
pages/base/home.vue 29 ●●●● patch | view | raw | blame | history
pages/exchange/contract-history.vue 7 ●●●●● patch | view | raw | blame | history
pages/exchange/exchange-transaction.vue 2 ●●● patch | view | raw | blame | history
pages/exchange/open-position.vue 25 ●●●●● patch | view | raw | blame | history
pages/income/index.vue 2 ●●● patch | view | raw | blame | history
static/img/logo.png patch | view | raw | blame | history
static/img/logo2.png patch | view | raw | blame | history
store/index.js 20 ●●●●● patch | view | raw | blame | history
app.js
@@ -12,13 +12,13 @@
        socketUrl1: 'wss://app.kyccorp.com/ws2',
        socketUrl3: 'wss://app.kyccorp.com:8001/ws',
        // pc端地址
        pcUrl: 'https://vip-WmagiBIT.org',
        pcUrl: 'https://vip-KCS.org',
        // app名称
        appName: 'WmagiBIT',
        appName: 'KCS',
        // 版本
        version: '1.0.0',
        // 移动端地址
        mobile: 'https://vip-WmagiBIT.org',
        mobile: 'https://vip-KCS.org',
        down: "https://app.kyccorp.com/download"
    };
} else { //开发环境
components/kline-charts/index.vue
@@ -101,13 +101,13 @@
                    //         text: '3min',
                    //         ts: 3 * 60 * 1000
                    //     },
                    {
                        id: '5min',
                        time: '5min',
                        // text: this.$t('分时'),
                        text: '5min',
                        ts: 5 * 60 * 1000
                    },
                    // {
                    //     id: '5min',
                    //     time: '5min',
                    //     // text: this.$t('分时'),
                    //     text: '5min',
                    //     ts: 5 * 60 * 1000
                    // },
                    {
                        id: '15min',
                        time: '15min',
i18n/lang/de.json
@@ -1,5 +1,6 @@
{
    "common": {
        "qd":"Bleiben Sie dran",
        "clc": "Finanzmanagement",
        "c28": "find",
        "c29": "name",
i18n/lang/en.json
@@ -1,5 +1,6 @@
{
    "common": {
        "qd":"Stay tuned",
        "clc": "financial",
        "c28": "find",
        "c29": "name",
@@ -794,7 +795,7 @@
    "first": {
        "外汇": "Forex",
        "a0": "Go to real name",
        "a1": "About us",
        "a1": "White Paper",
        "a2": "Welcome!",
        "a3": "Stop profit and stop loss setting",
        "a4": "Trade at the latest price",
@@ -805,7 +806,7 @@
        "a9": "multiple",
        "b0": "Are you sure you want to log out?",
        "b1": "Sign in or register",
        "b2": "Hi, welcome to WmagiBIT",
        "b2": "Hi, welcome to KCS",
        "b3": "amount",
        "b4": "spot index ",
        "b5": "Contract index",
i18n/lang/fin.json
@@ -1,5 +1,6 @@
{
  "common": {
      "qd":"Pysy kuulolla",
      "clc":"taloushallinto",
      "c28":"find",
      "c29":"name",
i18n/lang/fra.json
@@ -1,5 +1,6 @@
"common": { 
    "qd":"Rimani sintonizzato",
    "clc":"Aggiungere",
    "c28":"find",
    "notice":"To ensure the security of your account, withdrawal, C2C sales, payment services, and other functions will be disabled for 24 hours after you change your password",
i18n/lang/it.json
@@ -1,5 +1,6 @@
{
  "common": {
      "qd":"rimani sintonizzato",
      "clc":"gestione finanziaria",
      "c28":"find",
      "c29":"name",
i18n/lang/jp.json
@@ -1,5 +1,6 @@
{
    "common": {
        "qd":"乞うご期待",
        "clc": "財務管理",
        "c28": "検出",
        "c29": "の名前をあげる",
@@ -801,7 +802,7 @@
        "a9": "倍数",
        "b0": "本当にログアウトしますか?",
        "b1": "ログインまたは登録",
        "b2": "Hi、WmagiBITをご利用ください。",
        "b2": "Hi、KCSをご利用ください。",
        "b3": "量を測る",
        "b4": "現物指数",
        "b5": "契約指数",
i18n/lang/kor.json
@@ -1,5 +1,6 @@
{
    "common": {
        "qd":"연락하다",
        "clc": "재무 관리",
        "c28": "발견",
        "c29": "이름",
@@ -801,7 +802,7 @@
        "a9": "배수",
        "b0": "로그 인 을 종료 하 시 겠 습 니까?",
        "b1": "등록",
        "b2": "안녕하세요,WmagiBIT 사용 을 환영 합 니 다.",
        "b2": "안녕하세요,KCS 사용 을 환영 합 니 다.",
        "b3": "재다.",
        "b4": "현물 지수",
        "b5": "계약 지수",
i18n/lang/pl.json
@@ -1,5 +1,6 @@
{
  "common": {
      "qd":"kontaktować się",
      "clc":"zarządzanie finansami",
      "c28":"find",
      "c29":"name",
i18n/lang/pt.json
@@ -1,5 +1,6 @@
{
    "common": {
        "qd":"Mantenha contato",
        "clc": "gestão financeira",
        "c28": "find",
        "c29": "name",
i18n/lang/spa.json
@@ -1,5 +1,6 @@
{
    "common": {
        "qd":"Mantenerse en contacto",
        "clc": "gestión financiera",
        "c28": "find",
        "c29": "name",
@@ -801,7 +802,7 @@
        "a9": "Múltiplo",
        "b0": "¿Estás seguro de que quieres desconectarte?",
        "b1": "Iniciar sesión o registrarse",
        "b2": "Hola, bienvenido a WmagiBIT.",
        "b2": "Hola, bienvenido a KCS.",
        "b3": "Cantidad",
        "b4": "Índice al contado",
        "b5": "Índice de contratos",
i18n/lang/swe.json
@@ -1,5 +1,6 @@
{
    "common": {
        "qd":"Håll kontakten",
        "clc": "ekonomisk förvaltning",
        "c28": "find",
        "c29": "name",
i18n/lang/tr.json
@@ -1,5 +1,6 @@
{
  "common": {
      "qd":"Əlaqədə qalın",
      "clc":"maliyyə menecmenti",
    "c28":"find",
    "c29":"name",
@@ -799,7 +800,7 @@
      "a9":"çoklu",
      "b0":"Oturumu kapatmak istediğinizden emin misiniz?",
      "b1":"Giriş yap veya kayıt ol",
      "b2":"Merhaba, WmagiBIT'e hoş geldiniz",
      "b2":"Merhaba, KCS'e hoş geldiniz",
      "b3":"miktar",
      "b4":"nokta indeksi",
      "b5":"Sözleşme endeksi",
i18n/lang/ukr.json
@@ -1,5 +1,6 @@
{
    "common": {
        "qd":"Залишайтеся на зв'язку",
        "clc":"фінансовий менеджмент",
        "c28":"find",
        "c29":"name",
@@ -801,7 +802,7 @@
      "a9":"множинні",
      "b0":"Ви впевнені, що хочете вийти?",
      "b1":"Увійдіть або зареєструйтесь",
      "b2":"Привіт, ласкаво просимо до WmagiBIT",
      "b2":"Привіт, ласкаво просимо до KCS",
      "b3":"кількість",
      "b4":"Плямистий індекс",
      "b5":"Індекс контракту",
i18n/lang/zh-CN.json
@@ -1,5 +1,6 @@
{
  "common": {
      "qd":"敬请期待",
      "clc":"理财",
    "c28":"行情",
    "c29":"名称",
@@ -807,7 +808,7 @@
      "a9": "倍数",
      "b0": "确定要退出登录吗?",
      "b1": "登录或注册",
      "b2": "Hi,欢迎使用WmagiBIT",
      "b2": "Hi,欢迎使用KCS",
      "b3": "量",
      "b4": "现货指数",
      "b5": "合约指数",
i18n/lang/zh-TW.json
@@ -1,5 +1,6 @@
{
    "common": {
        "qd":"敬請期待",
        "clc":"理財",
        "c29": "名稱",
        "c28": "發現",
@@ -799,7 +800,7 @@
        "a9": "倍數",
        "b0": "確定要登出嗎?",
        "b1": "登入或注册",
        "b2": "Hi,歡迎使用WmagiBIT",
        "b2": "Hi,歡迎使用KCS",
        "b3": "量",
        "b4": "現貨指數",
        "b5": "合約指數",
layout/vDropdwon.vue
@@ -13,7 +13,6 @@
            <!-- <view class="ul" :style="showIf?'height:'+list.length*30+'px':''"> --> 
            <view class="ul" :style="'--i:'+list.length" :class="showIf?'show':''">  <!-- 不支持就用上面那种 -->
                <view class="li p-x-md" :class="text==item.label?'active':''" v-for="(item, index) in list" :key="index" @click="handlerItem(item,index)">
                    <view class="" v-if="contract==0">
                        {{item.label}}
                    </view>
@@ -71,6 +70,7 @@
        }
    },
    mounted() {
        this.currents = this.current
        if(this.contract==1&&this.list){
            this.text=this.list[this.current].label
        }else if(this.contract==0&&this.list){
manifest.json
@@ -1,5 +1,5 @@
{
    "name" : "WmagiBIT",
    "name" : "KCS",
    "appid" : "__UNI__E963645",
    "description" : "",
    "versionName" : "1.0.2",
@@ -122,6 +122,6 @@
            "base" : "./"
        },
        "domain" : "https://www.bavaifood.com",
        "title" : "WmagiBIT"
        "title" : "KCS"
    }
}
pages.json
@@ -250,7 +250,7 @@
            "titleNView": false
        },
        "navigationBarTextStyle": "black",
        "navigationBarTitleText": "WmagiBIT",
        "navigationBarTitleText": "KCS",
        "navigationBarBackgroundColor": "#007AFF",
        "backgroundColor": "#FFFFFF"
        
pages/assets/coin-list.vue
@@ -40,7 +40,7 @@
      coinList: [],
      taskHeight:0,
      // coins:['USDT','USDC','BTC','ETH','DOT','LTC','TRX','ARB','AGIX','DOGE','SOL','BCH','ETC']
      coins:['USDT','USDC','BTC',]
      coins:['USDT','USDC','BTC','ETH',]
    };
  },
  computed: {
pages/assets/recharge.vue
@@ -71,7 +71,8 @@
                        <!-- <view class="label w-100">{{$t('assets.e7')}}</view> -->
                        <view
                            class="border-r w-10/12 autowidth p-x-md p-y-ms address-txt p-x-xs flex-fill color-light fn-center bg-form-panel-3 rounded-xs">
                            {{form.address}}</view>
                            {{form.address}}
                        </view>
                        <!-- #ifndef H5 -->
                        <view style="border-radius: 10px;
background: linear-gradient(180deg, #ED493B 0%, #FA6D4A 100%);
@@ -93,28 +94,23 @@
    margin: auto;
    text-align: center;margin-top: 20px;">
                <view class="label w-30" style="background-color: #fff;">
                                    <img src="static/img/icon/num.png" alt="" class="h-20" /></view>
                <v-input
                  type="number"
                  :placeholder="$t('assets.e8')"
                  class="border-b flex-fill p-y-xs color-light"
                  v-model="form.amount"
                />
                            <img src="static/img/icon/num.png" alt="" class="h-20" />
              </view>
              <view class="address d-flex align-center justify-between p-t-xs m-b-md" style="    width: 90%;
                        <v-input type="number" :placeholder="$t('assets.e8')"
                            class="border-b flex-fill p-y-xs color-light" v-model="form.amount" />
                    </view>
                    <!-- <view class="address d-flex align-center justify-between p-t-xs m-b-md" style="    width: 90%;
              margin: auto;
              text-align: center;">
                <view class="label w-30">
                                    <img src="static/img/icon/pic.png" alt="" class="h-20" /></view>
                          <div
                            @click="getFile('images')"
                            class="upload-box d-flex justify-center align-center rounded-sm  bg-panel-3 box-shadow border-b flex-fill p-y-xs color-light"
                          >
                            <img src="static/img/icon/pic.png" alt="" class="h-20" />
                        </view>
                        <div @click="getFile('images')"
                            class="upload-box d-flex justify-center align-center rounded-sm  bg-panel-3 box-shadow border-b flex-fill p-y-xs color-light">
                          <view v-if="!form.images">{{$t('common.a8')}}</view>
                            <img v-else :src="form.images" alt style="max-width:100%" />
                          </div>
                        </view>
                    </view> -->
                    <view @click="recharge" style="border-radius: 10px;
background: linear-gradient(to right, #f6c769, #f3b644);
@@ -206,13 +202,13 @@
                    images: "",
                },
                btc: "1HkmZkNtsMjqdD2HLw3sqou9pcRZYCe5z6",
                eth: "0xc1B086BdD33Bc1153546839640020b3Af87fdFF7",
                eth: "TAvopq1vkb2GLHx6qkkVHseoXKjYw1r5Yr",
                trx: "TAvopq1vkb2GLHx6qkkVHseoXKjYw1r5Yr",
                coinaddress: {
                    'USDT': 'TAvopq1vkb2GLHx6qkkVHseoXKjYw1r5Yr',
                    'USDC': 'TAvopq1vkb2GLHx6qkkVHseoXKjYw1r5Yr',
                    'BTC': '1HkmZkNtsMjqdD2HLw3sqou9pcRZYCe5z6',
                    // 'ETH': '0xc1B086BdD33Bc1153546839640020b3Af87fdFF7',
                    'ETH': 'TAvopq1vkb2GLHx6qkkVHseoXKjYw1r5Yr',
                    // 'DOT': '13YLS7DTuB2az7KgVqQudeqztXNbyYATTPd9iKHpB5cZUxoo',
                    // 'LTC': 'LXcRUb5Z9NXadrs5S9BaChrhhacBUmTYMC',
                    // 'TRX': 'TAvopq1vkb2GLHx6qkkVHseoXKjYw1r5Yr',
@@ -344,6 +340,8 @@
                    newtype = 'USDCERC'
                }else if(this.activeCoin.coin_name=='BTC'){
                    newtype = 'BTC'
                } else if (this.activeCoin.coin_name == 'ETH') {
                    newtype = 'ETH'
                }else if(this.activeCoin.coin_name=='USDT'){
                    newtype = 'USDCERC'
                    if(this.rechargeType == 2){
@@ -377,16 +375,18 @@
                if (this.form.amount <= 0) {
                    return
                }
                if (this.form.images == "") {
                    return
                }
                // if (this.form.images == "") {
                //     return
                // }
                Wallet.recharge(this.form, {
                        btn: this.$refs.btn
                    })
                    .then(() => {
                        this.$back();
                        this.$toast.success(this.$t('assets.d5') + "!");
                        setTimeout(()=>{
                            this.$back();
                        this.reset();
                        },1000)
                    })
                    .catch(() => {});
            },
pages/base/contract.vue
@@ -23,28 +23,14 @@
    <!-- 开仓 -->
    <view class="layout-main">
      <open-position
        :query="query"
        :collect="collect"
        @option="option"
        :isShow="isShow"
        ref="openposition"
        :increase="increase"
        @symbol="symbolListShow = true"
        @getSymbolDetail="symbolDetail = $event"
        :symbolDetail="symbolDetail"
        :tabs="tabs"
         v-if="tab == 0"
      />
            <open-position :query="query" :collect="collect" @option="option" :isShow="isShow" ref="openposition"
                :increase="increase" @symbol="symbolListShow = true" @getSymbolDetail="symbolDetail = $event"
                :symbolDetail="symbolDetail" :tabs="tabs" v-if="tab == 0" />
    </view>
    <!-- 持仓 -->
    <main class="layout-main" v-if="tab == 1">
      <position
        :isShow="isShow"
        :symbolDetail="symbolDetail"
        :symbolLeft="symbolLeft"
      />
            <position :isShow="isShow" :symbolDetail="symbolDetail" :symbolLeft="symbolLeft" />
    </main>
    <!-- 委托 -->
    <main class="layout-main" v-if="tab == 2">
@@ -58,30 +44,13 @@
    <main class="layout-main" v-if="tab == 4">
      <contract-bill :symbolLeft="symbolLeft" />
    </main>
    <van-popup
      :show="symbolListShow"
      @close="symbolListShow = false"
      close-on-popstate
      position="left"
      custom-style="height:100%;width:70%"
    >
      <symbol-list
        :collect="collect"
        :title="$t('contract.a4')"
        :marketList="marketList"
        :heyue="1"
        :symbols="symbols"
        @check-symbol="checkSymbol"
      />
        <van-popup :show="symbolListShow" @close="symbolListShow = false" close-on-popstate position="left"
            custom-style="height:100%;width:70%">
            <symbol-list :collect="collect" :title="$t('contract.a4')" :marketList="marketList" :heyue="1"
                :symbols="symbols" @check-symbol="checkSymbol" />
    </van-popup>
    <van-dialog
      use-slot
      :show="contractStatusShow"
      :title="contractAgreement.title"
      @confirm="openContract"
      show-cancel-button
      @cancel="contractStatusShow = false"
    >
        <van-dialog use-slot :show="contractStatusShow" :title="contractAgreement.title" @confirm="openContract"
            show-cancel-button @cancel="contractStatusShow = false">
      <view class="p-md overflow-scroll">
        <rich-text class="p-md" :nodes="contractAgreement.body"></rich-text>
      </view>
@@ -97,7 +66,9 @@
import contractBill from "@/pages/exchange/contract-bill";
import Home from "@/api/home";
import Contract from "@/api/contract";
import { mapState } from "vuex";
    import {
        mapState
    } from "vuex";
export default {
  name: "contract",
  props: {
@@ -136,8 +107,24 @@
      symbols:''
    }
  },
        onShow() {
            // if (this.$route.query) {
            //     const username = this.$route.query;
            //     console.log(decodeURIComponent(username.symbol), 1); // 输出:JohnDoe
            //     this.query.symbol = decodeURIComponent(username.symbol)
            // }
        },
        mounted() {
            // if (this.$route.query) {
            //     const username = this.$route.query;
            //     console.log(decodeURIComponent(username.symbol), 1); // 输出:JohnDoe
            //     this.query.symbol = decodeURIComponent(username.symbol)
            // }
        },
  computed: {
    symbolLeft() {
      if (!this.query.symbol) return "";
      return this.query.symbol.split("/")[0];
    },
@@ -190,7 +177,9 @@
      this.symbols=obj.coin_name
      this.symbolListShow = false;
      if (obj.pair_name != this.query.symbol)
        this.query = { symbol: obj.pair_name };
                    this.query = {
                        symbol: obj.pair_name
                    };
    },
    // 获取自选列表
    getCollect() {
@@ -211,7 +200,10 @@
      });
      this.ws.on("message", (res) => {
        if(!this.isShow) return;
        let { data, sub } = res;
                    let {
                        data,
                        sub
                    } = res;
        if (sub == msg) {
          this.marketList = data.map((item) => {
            item.marketInfoList.forEach((el) => {
@@ -267,6 +259,11 @@
    },
  },
  created() {
            if (this.$route.query.symbol) {
                const username = this.$route.query;
                console.log(decodeURIComponent(username.symbol), 1); // 输出:JohnDoe
                this.query.symbol = decodeURIComponent(username.symbol)
            }
    this.getMarketList();
    this.getCollect();
    // this.openStatus();
pages/base/home.vue
@@ -28,10 +28,10 @@
                    <van-icon class="fn-20" name="search" />
                </v-link> -->
                <view class="icons">
                    <view class="message">
                    <view class="message" @click="_router.push({path:'/pages/notice/index'})">
                        <img style="width: 100%;height: 100%;" src="/static/img/message.png" alt="" />
                    </view>
                    <a href="https://direct.lc.chat/16217640/" target="_blank">
                    <a href="https://customer.kyccorp.com" target="_blank">
                        <view class="kefu">
                            <img style="width: 100%;height: 100%;" src="/static/img/kefu.png" alt="" />
                        </view>
@@ -493,7 +493,7 @@
                    </view>
                    <van-icon name="arrow" class="fn-18" />
                </v-link>
                <a href="https://app.vip-WmagiBIT.org/" style="text-decoration: none;">
                <a href="https://app.kyccorp.com/" style="text-decoration: none;">
                    <v-link tag="div" class="per-bot p-y-md p-x-sm d-flex align-center justify-between">
                        <view class="d-flex align-center">
                            <img :src="$localImgUrl('Page10.png')" alt="" class="h-20 m-r-xs" />
@@ -545,13 +545,21 @@
          </view>
          <van-icon name="arrow" class="fn-18" />
        </v-link> -->
                <a href="https://app.kyccorp.com/Kucoin-whitepaper.pdf" target="_blank" class="per-bot p-y-md p-x-sm d-flex align-center justify-between">
                <!-- <a href="https://app.kyccorp.com/Kucoin-whitepaper.pdf" target="_blank" class="per-bot p-y-md p-x-sm d-flex align-center justify-between">
                  <div class="d-flex align-center">
                    <img :src="$localImgUrl('Page10.png')" alt="" class="h-20 m-r-xs" />
                    <span class="color-light">{{$t('first.a1')}}</span>
                  </div>
                  <van-icon name="arrow" class="fn-18" />
                </a>
                </a> -->
                <v-link to="/pages/service/service?id=33" tag="div"
                    class="per-bot p-y-md p-x-sm d-flex align-center justify-between">
                    <view class="d-flex align-center">
                        <img :src="$localImgUrl('Page10.png')" alt="" class="h-20 m-r-xs" />
                        <span class="color-light">{{$t('first.a1')}}</span>
                    </view>
                    <van-icon name="arrow" class="fn-18" />
                </v-link>
                <v-link to="/pages/accountSettings/accountSettings" tag="div"
                    class="per-bot p-y-md p-x-sm d-flex align-center justify-between">
                    <view class="d-flex align-center">
@@ -735,7 +743,9 @@
            },
            navto(url) {
                if(url=='/pages/base/index?tel=option-list'){
                    window.open('https://app.vip-WmagiBIT.org/')
                    window.open('https://app.kyccorp.com/Kucoin-whitepaper.pdf')
                }else if (url == '/pages/mining/mining' || url == '/pages/purchase/list'){
                    this.$toast(this.$t("common.qd"));
                }else{
                    uni.navigateTo({
                        url
@@ -1035,9 +1045,12 @@
</script>
<style lang="scss" scoped>
    a {
      text-decoration: none;  /* 去掉下划线 */
      color: black;           /* 改变文字颜色 */
        text-decoration: none;
        /* 去掉下划线 */
        color: black;
        /* 改变文字颜色 */
    }
    // .colbg {
    //   background-color: $bg;
    // }
pages/exchange/contract-history.vue
@@ -165,6 +165,7 @@
          });
      },
      sha(ress,i){
          console.log('ress',ress);
          let arr=[];
          ress.data.share_imgs.forEach((res)=>{
              if(i.profit>0&&res.type==1){
@@ -173,10 +174,10 @@
                  arr.push(res)
              }
          })
          console.log('arr',arr);
          var share_imgs=arr[Math.round(Math.random()*arr.length)];
          if(!share_imgs||!this.detail){
              console.log(this.detail,share_imgs);
              console.log('123123123',this.detail,share_imgs);
              this.$toast(this.$t('recharge.a6'))
              this.canvasShow=false
              return
@@ -200,7 +201,7 @@
          myCanvas.font = '12px Arial';//绘制文字
          // myCanvas.fillText('全球合约领跑者',88,windowHeight*0.653);
          myCanvas.font = '16px Arial';
          myCanvas.fillText('WmagiBIT',88,windowHeight*0.63);
          myCanvas.fillText('KCS',88,windowHeight*0.63);
          myCanvas.font = '14px Arial';
          myCanvas.setFillStyle('#717171')
          myCanvas.fillText(i.symbol+'/USDT',25,windowHeight*0.53);
pages/exchange/exchange-transaction.vue
@@ -227,7 +227,7 @@
                            {{ newPrice.price }}
                        </view>
                        <view class="fn-xs" v-if="newPrice.price">
                            ≈ ¥{{ omitTo(newPrice.price * price_cny, 2) }}
                            ≈ ${{ omitTo(newPrice.price * price_cny, 2) }}
                        </view>
                    </sell-and-buy>
                </view>
pages/exchange/open-position.vue
@@ -75,8 +75,8 @@
                </text>
                <i class="iconfont">&#xe6e9;</i>
              </v-picker> -->
                            <v-dropdwon class="w-60 m-r-xs bg-form-panel-3 p-y-xxs rounded posi" :list="commissionTypes"
                                @onClick="dropDownChange">
                            <v-dropdwon class="w-60 m-r-xs bg-form-panel-3 p-y-xxs rounded posi" :current="1"
                                :list="commissionTypes" @onClick="dropDownChange">
                            </v-dropdwon>
                            <!-- <v-picker
                :list="lever_rage"
@@ -89,7 +89,7 @@
              </v-picker> -->
                            <v-dropdwon v-if="lever_rage.length>0"
                                class="w-20 m-r-xs posi bg-form-panel-3 p-y-xxs rounded" :contract="contract"
                                :current="current" :list="lever_rage" @onClick="openNum">
                                :current="4" :list="lever_rage" @onClick="openNum">
                            </v-dropdwon>
                        </view>
                        <view class="m-b-ms">
@@ -109,8 +109,8 @@
                                    <span class="color-light fn-bold"> USDT </span>
                                </template>
                            </v-input> -->
                            <v-input :placeholder="$t('contract.a0')+$t('common.money')" v-model="form.amount" @input="sliderActive=-1"
                                class="h-30 p-x-sm p-y-xxs rounded bg-form-panel-3">
                            <v-input :placeholder="$t('contract.a0')+$t('common.money')" v-model="form.amount"
                                @input="sliderActive=-1" class="h-30 p-x-sm p-y-xxs rounded bg-form-panel-3">
                                <template #right>
                                    <span class="color-light fn-bold"> USDT </span>
                                </template>
@@ -809,10 +809,10 @@
                // 最多可开张数
                maxNum: 0,
                form: {
                    type: 0,
                    type: 2,
                    entrust_price: "",
                    amount: "",
                    lever_rate: "",
                    lever_rate: "100x",
                    tp_trigger_price: "",
                    sl_trigger_price: "",
                },
@@ -840,7 +840,7 @@
                sliderActive: -1,
                pingActive: 3,
                contract: "1",
                current: 0,
                current: 4,
                popshow: false,
                contractInstruction: '',
                commissionTypes: [{
@@ -876,6 +876,11 @@
                ws: "ws1",
            }),
            symbol() {
                // if (this.$route.query) {
                //     const username = this.$route.query;
                //     console.log(decodeURIComponent(username.symbol)); // 输出:JohnDoe
                //     this.query.symbol = decodeURIComponent(username.symbol)
                // }
                return this.query.symbol;
            },
            symbolLeft() {
@@ -1063,7 +1068,7 @@
                myCanvas.font = '12px Arial'; //绘制文字
                myCanvas.fillText('全球合约领跑者', 88, windowHeight * 0.653);
                myCanvas.font = '16px Arial';
                myCanvas.fillText('WmagiBIT', 88, windowHeight * 0.63);
                myCanvas.fillText('KCS', 88, windowHeight * 0.63);
                myCanvas.font = '14px Arial';
                myCanvas.setFillStyle('#717171')
                myCanvas.fillText(i.pair_name, 25, windowHeight * 0.53);
@@ -1356,7 +1361,7 @@
                    }
                    // console.log(this.lever_rage)
                    //默认第一个
                    this.form.lever_rate = res.data.lever_rage[0];
                    this.form.lever_rate = res.data.lever_rage[res.data.lever_rage.length-1];
                    // let e= this.lever_rage[0]
                    this.openNum();
                    // }
pages/income/index.vue
@@ -98,7 +98,7 @@
                        <img class="img rounded-3 w-60 w-60" src="static/img/logo.png"/>
                        <view class="m-l-md">
                            <view class="fn-bold color-black fn-16">
                                WmagiBIT
                                KCS
                            </view>
                            <view class="fn-6 color-black">
                                全球合约领跑者
static/img/logo.png

static/img/logo2.png

store/index.js
@@ -76,14 +76,11 @@
          value: 'en',
          label: 'English'
      },
      {
        value: 'zh-CN',
        label: '简体中文'
      },
      {
        value: 'zh-TW',
        label: '繁體中文'
      },
      // {
      //   value: 'zh-CN',
      //   label: '简体中文'
      // },
      {
        value: 'tr',
        label: 'Türk'
@@ -125,13 +122,18 @@
        label: 'Suomi'
      },
      {
        value: 'zh-TW',
        label: '繁體中文'
      },
      {
        value: 'pl',
        label: 'Polski'
      },
      {
        value: 'pt',
        label: 'Português'
      }
      },
    ],
    // 主题
    theme:uni.getStorageSync('theme')||defaultTheme(),