Commit 7cd08d38 authored by zL's avatar zL

修复hd环境相关bug

parent f99643f8
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
>上传音频 >上传音频
<div class="big-box"> <div class="big-box">
<div class="pic-box"> <div class="pic-box">
<i class="iconfont iconshangchuanwenjian"></i> <i class="iconfont iconshangchuanwenjianbeifen"></i>
</div> </div>
</div> </div>
</div> </div>
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
>上传PDF >上传PDF
<div class="big-box"> <div class="big-box">
<div class="pic-box"> <div class="pic-box">
<i class="iconfont iconshangchuanwenjian"></i> <i class="iconfont iconshangchuanwenjianbeifen"></i>
</div> </div>
</div> </div>
</div> </div>
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
>上传视频 >上传视频
<div class="big-box" style="width: 138px !important"> <div class="big-box" style="width: 138px !important">
<div class="pic-box" > <div class="pic-box" >
<i class="iconfont iconshangchuanwenjian"></i> <i class="iconfont iconshangchuanwenjianbeifen"></i>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -4,16 +4,16 @@ ...@@ -4,16 +4,16 @@
<div class="imgbox"> <div class="imgbox">
<img src="../../assets/images/newProductList/default.png" /> <img src="../../assets/images/newProductList/default.png" />
</div> </div>
<p>{{tips}}</p> <p>{{ tips }}</p>
<div class="default-page-btn" @click="$emit('to-add')">去添加</div> <div class="default-page-btn" @click="$emit('to-add')">去添加</div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
// //
export default { export default {
props:['tips'] props: ["tips"],
}; };
</script> </script>
...@@ -25,8 +25,9 @@ export default { ...@@ -25,8 +25,9 @@ export default {
margin-top: 218px; margin-top: 218px;
width: 132px; width: 132px;
.imgbox { .imgbox {
width: 132px; width: 98px;
height: 116px; height: 98px;
margin: 0 auto;
img { img {
width: 100%; width: 100%;
} }
......
...@@ -443,7 +443,7 @@ export default class Home extends Vue { ...@@ -443,7 +443,7 @@ export default class Home extends Vue {
background: white; background: white;
.header-left { .header-left {
margin-left: 200px; margin-left: 200px;
width: 150px; height: 46px;
} }
.header-right { .header-right {
display: flex; display: flex;
......
...@@ -11,7 +11,11 @@ import { ...@@ -11,7 +11,11 @@ import {
Button, Button,
Loading, Loading,
DatePicker, DatePicker,
MessageBox //暂时先用着 MessageBox, //暂时先用着
Radio,
RadioGroup,
FormItem,
BreadcrumbItem
} from 'element-ui'; } from 'element-ui';
Vue.use(Checkbox); Vue.use(Checkbox);
...@@ -23,6 +27,10 @@ Vue.use(Breadcrumb); ...@@ -23,6 +27,10 @@ Vue.use(Breadcrumb);
Vue.use(Button); Vue.use(Button);
Vue.use(Form); Vue.use(Form);
Vue.use(DatePicker) Vue.use(DatePicker)
Vue.use(Radio)
Vue.use(RadioGroup)
Vue.use(BreadcrumbItem)
Vue.use(FormItem)
Vue.prototype.$loading = Loading; Vue.prototype.$loading = Loading;
Vue.prototype.$message = Message; Vue.prototype.$message = Message;
Vue.prototype.$confirm = MessageBox //暂时先用着 Vue.prototype.$confirm = MessageBox //暂时先用着
\ No newline at end of file
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
}, },
methods: { methods: {
Queryrecord() { Queryrecord() {
if (this.infos.authenticated === 0) { if (this.infos.auth_suc === 0) {
this.$message({ this.$message({
message: "请先进行认证!", message: "请先进行认证!",
type: "warning", type: "warning",
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
); );
}, },
Recharge() { Recharge() {
if (this.infos.authenticated === 0) { if (this.infos.auth_suc === 0) {
this.$message({ this.$message({
message: "请先进行认证!", message: "请先进行认证!",
type: "warning", type: "warning",
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
// 获取 // 获取
async getBalance(params) { async getBalance(params) {
// auth_suc 是否认证成功 int 0:未认证成功 1:认证成功 // auth_suc 是否认证成功 int 0:未认证成功 1:认证成功
if (this.infos.authenticated === 0) { if (this.infos.auth_suc === 0) {
return false; return false;
} }
const res = await this.$ajax({ const res = await this.$ajax({
...@@ -204,7 +204,7 @@ export default { ...@@ -204,7 +204,7 @@ export default {
font-weight: 400; font-weight: 400;
line-height: 30px; line-height: 30px;
border-radius: 4px; border-radius: 4px;
border: 1px solid #4D7CFE; border: 1px solid #4d7cfe;
} }
} }
.user-assets { .user-assets {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment