|
@@ -16,21 +16,20 @@
|
|
margin: 0;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
-
|
|
|
|
#upload{
|
|
#upload{
|
|
width: 500px;
|
|
width: 500px;
|
|
max-width: 100%;
|
|
max-width: 100%;
|
|
min-height: 100vh;
|
|
min-height: 100vh;
|
|
margin: auto;
|
|
margin: auto;
|
|
-
|
|
|
|
background: url(bg.png) no-repeat;
|
|
background: url(bg.png) no-repeat;
|
|
background-size: 100%;
|
|
background-size: 100%;
|
|
background-color: #FF7716;
|
|
background-color: #FF7716;
|
|
|
|
+ background-position-y:-10vh;
|
|
padding: 10px;
|
|
padding: 10px;
|
|
}
|
|
}
|
|
.form{
|
|
.form{
|
|
width: 100%;
|
|
width: 100%;
|
|
- margin-top: 34vh;
|
|
|
|
|
|
+ margin-top: 18vh;
|
|
background: #fff;
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
padding: 20px 10px;
|
|
padding: 20px 10px;
|
|
@@ -76,19 +75,18 @@
|
|
<el-input v-model="form.usercode"></el-input>
|
|
<el-input v-model="form.usercode"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="今日资产" prop="today_fund">
|
|
<el-form-item label="今日资产" prop="today_fund">
|
|
- <el-input clearable v-model="form.today_fund" placeholder="请输入今日资产">
|
|
|
|
|
|
+ <el-input clearable type='digit' v-model="form.today_fund" placeholder="请输入今日资产">
|
|
<template slot="append">万元</template>
|
|
<template slot="append">万元</template>
|
|
</el-input>
|
|
</el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="股票名称" prop="today_stock">
|
|
|
|
|
|
+ <el-form-item label="股票名称" prop="today_stock" v-show='!form.is_markt'>
|
|
<div v-for="(item,index) in form.today_stock" :key='index' style="margin-bottom:5px;width:100%;">
|
|
<div v-for="(item,index) in form.today_stock" :key='index' style="margin-bottom:5px;width:100%;">
|
|
<el-input style="width:45%;display:inline-block" v-model="item.name" placeholder="名称/代码" :disabled="form.is_markt==true"></el-input>
|
|
<el-input style="width:45%;display:inline-block" v-model="item.name" placeholder="名称/代码" :disabled="form.is_markt==true"></el-input>
|
|
- <el-input style="width:40%" clearable v-model="item.fund" placeholder="资金" :disabled="form.is_markt==true">
|
|
|
|
|
|
+ <el-input style="width:40%" clearable type='digit' v-model="item.fund" placeholder="资金" :disabled="form.is_markt==true">
|
|
<template slot="append">万元</template>
|
|
<template slot="append">万元</template>
|
|
</el-input>
|
|
</el-input>
|
|
<i @click="form.today_stock.splice(index,1)" style="margin-top:5px;" class="el-icon-circle-close del"></i>
|
|
<i @click="form.today_stock.splice(index,1)" style="margin-top:5px;" class="el-icon-circle-close del"></i>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-button @click="addCode" type="danger" size="small">新增代码</el-button><br>
|
|
<el-button @click="addCode" type="danger" size="small">新增代码</el-button><br>
|
|
@@ -211,6 +209,7 @@
|
|
created(){
|
|
created(){
|
|
this.getNowDate()
|
|
this.getNowDate()
|
|
var id=window.location.search.split('=')[1]
|
|
var id=window.location.search.split('=')[1]
|
|
|
|
+ console.log(id)
|
|
$.get('https://test.scxjc.club/api/wx/player/record/topic/match',{id:id},(res=>{
|
|
$.get('https://test.scxjc.club/api/wx/player/record/topic/match',{id:id},(res=>{
|
|
var match=res.data.match
|
|
var match=res.data.match
|
|
this.form.name=match.name
|
|
this.form.name=match.name
|