Browse Source

修改接口

master
liaoxinyu 2 years ago
parent
commit
1f6e215a92
  1. 16
      app.js
  2. 2
      manifest.json
  3. 2
      pages.json
  4. 14
      pages/auth/senior.vue

16
app.js

@ -3,21 +3,21 @@ let config = {};
if (process.env.NODE_ENV == 'production'||true) { //生产环境 if (process.env.NODE_ENV == 'production'||true) { //生产环境
config = { config = {
// ajax地址 // ajax地址
baseUrl: 'https://djs.jedcoin.com', baseUrl: 'https://xgg.gtstcoin.com',
// 图片地址 (暂时无用) // 图片地址 (暂时无用)
imgUrl: 'https://djs.jedcoin.com/storage', imgUrl: 'https://xgg.gtstcoin.com/storage',
// socket地址 // socket地址
socketUrl: 'wss://djs.jedcoin.com/ws1', socketUrl: 'wss://xgg.gtstcoin.com/ws1',
socketUrl1: 'wss://djs.jedcoin.com/ws2', socketUrl1: 'wss://xgg.gtstcoin.com/ws2',
// pc端地址 // pc端地址
pcUrl:'https://www.jedcoin.com/', pcUrl:'https://www.gtstcoin.com/',
// app名称 // app名称
appName: 'JEDcoin', appName: 'GTSTCoin',
// 版本 // 版本
version: '1.0.0', version: '1.0.0',
// 移动端地址 // 移动端地址
mobile: 'https://app.jedcoin.com/', mobile: 'https://app.gtstcoin.com/',
down:"https://app.jedcoin.com/download/JEDCoin.html" down:"https://app.gtstcoin.com/download/GTSTCoin.html"
}; };
} else { //开发环境 } else { //开发环境
config = { config = {

2
manifest.json

@ -112,7 +112,7 @@
"router" : { "router" : {
"base" : "./" "base" : "./"
}, },
"domain" : "https://app.ajcoins.com", "domain" : "https://app.gtstcoin.com",
"title" : "GTSTcoin", "title" : "GTSTcoin",
"template" : "main.html" "template" : "main.html"
} }

2
pages.json

@ -220,7 +220,7 @@
"titleNView": false "titleNView": false
}, },
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "JEDcoin", "navigationBarTitleText": "GTSTcoin",
"navigationBarBackgroundColor": "#007AFF", "navigationBarBackgroundColor": "#007AFF",
"backgroundColor": "#FFFFFF" "backgroundColor": "#FFFFFF"
}, },

14
pages/auth/senior.vue

@ -4,7 +4,7 @@
<v-header :title="$t('auth.a4')"></v-header> <v-header :title="$t('auth.a4')"></v-header>
<main class="layout-main"> <main class="layout-main">
<view class="form-item border-b p-md m-b-md"> <view class="form-item border-b p-md m-b-md" v-if="0">
<view class="label m-b-xs">{{$t('auth.a7')}}</view> <view class="label m-b-xs">{{$t('auth.a7')}}</view>
<view class="input color-light"> <view class="input color-light">
<v-picker :value="form.country_id" @change="selectCountry" :list="countryList" <v-picker :value="form.country_id" @change="selectCountry" :list="countryList"
@ -17,13 +17,13 @@
</v-picker> </v-picker>
</view> </view>
</view> </view>
<view class="form-item border-b p-md m-b-md"> <view class="form-item border-b p-md m-b-md" v-if="0">
<view class="label m-b-xs">{{$t('auth.a9')}}</view> <view class="label m-b-xs">{{$t('auth.a9')}}</view>
<view class="input color-light"> <view class="input color-light">
<v-input v-model="form.realname" :placeholder="$t('auth.b0')"></v-input> <v-input v-model="form.realname" :placeholder="$t('auth.b0')"></v-input>
</view> </view>
</view> </view>
<view class="form-item border-b p-md m-b-md"> <view class="form-item border-b p-md m-b-md" v-if="0">
<view class="label m-b-xs">{{$t('auth.b1')}}</view> <view class="label m-b-xs">{{$t('auth.b1')}}</view>
<view class="input color-light"> <view class="input color-light">
<v-input v-model="form.id_card" :placeholder="$t('auth.b2')"></v-input> <v-input v-model="form.id_card" :placeholder="$t('auth.b2')"></v-input>
@ -97,10 +97,10 @@ export default {
countryList: [], countryList: [],
imgBase: undefined, imgBase: undefined,
form: { form: {
id_card: "", // id_card: "",
realname: "", // realname: "",
country_id: "", // country_id: "",
country_code: "", // country_code: "",
hand_img: "", hand_img: "",
back_img: "", back_img: "",
front_img: "", front_img: "",

Loading…
Cancel
Save