Browse Source

优化文档内容

master
ltlzx 4 years ago
parent
commit
3b68d48a9e
  1. 5
      src/components/Header.vue
  2. 11
      src/components/orderDetails/index.vue
  3. 6
      src/components/page/classification/Category.vue
  4. 4
      src/utils/request.js

5
src/components/Header.vue

@ -11,10 +11,12 @@
<img src="../assets/icons/svg/user.svg" alt="" > <img src="../assets/icons/svg/user.svg" alt="" >
<span class="f_title">王甜甜</span> <span class="f_title">王甜甜</span>
</div> </div>
<a href="http://58.30.231.137:8035/#/cache/index">
<div class="header_right_item"> <div class="header_right_item">
<img src="../assets/icons/svg/yingyong.svg" alt="" > <img src="../assets/icons/svg/yingyong.svg" alt="" >
<span class="f_title">我的应用</span> <span class="f_title">我的应用</span>
</div> </div>
</a>
</div> </div>
</div> </div>
</template> </template>
@ -29,6 +31,9 @@ export default {
} }
</script> </script>
<style scoped> <style scoped>
a{
color: white;
}
.header{ .header{
width: 100%; width: 100%;
height: 65px; height: 65px;

11
src/components/orderDetails/index.vue

@ -63,7 +63,15 @@
<div v-show="orederActive==1"> <div v-show="orederActive==1">
<p class="oreder_content_title">资金结算表</p> <p class="oreder_content_title">资金结算表</p>
<a-table :columns="columns" :data-source="data" bordered :pagination="false"></a-table> <a-table :columns="columns" :data-source="data" bordered :pagination="false">
<template slot="close_status" slot-scope="close_status">
<span v-if="close_status==1">无结算信息</span>
<span v-else-if="close_status==2">结算中</span>
<span v-else-if="close_status==3">用户名和收款人不一致</span>
<span v-else-if="close_status==4">收款信息错误</span>
<span v-else-if="close_status==5">结算成功</span>
</template>
</a-table>
</div> </div>
<div v-show="orederActive==2"> <div v-show="orederActive==2">
@ -173,6 +181,7 @@
{ {
title: '结算状态', title: '结算状态',
dataIndex: 'close_status', dataIndex: 'close_status',
scopedSlots: { customRender: 'close_status' },
width:'120px', width:'120px',
align:'center' align:'center'
}, },

6
src/components/page/classification/Category.vue

@ -93,7 +93,7 @@
<a-row justify="space-between" > <a-row justify="space-between" >
<a-col :span="10" class="query_item"> <a-col :span="10" class="query_item">
<span>一级分类</span> <span>一级分类</span>
<a-select default-value="" @change="handleChange(1)" v-model="query1.addtop_class"> <a-select default-value="" @change="handleChange(1)" v-model="query1.pull_top_class">
<a-select-option :value="item" v-for="(item,index) in oneList" :key="index"> <a-select-option :value="item" v-for="(item,index) in oneList" :key="index">
{{item}} {{item}}
</a-select-option> </a-select-option>
@ -156,7 +156,7 @@ export default {
query1:{ query1:{
top_class:'', top_class:'',
son_class:'', son_class:'',
addtop_class:'' pull_top_class:''
}, },
modeStyle:{ modeStyle:{
'height':'200px' 'height':'200px'
@ -251,7 +251,7 @@ export default {
getSon(type){ getSon(type){
let data let data
if(type==1){ if(type==1){
data={top_class:this.query1.addtop_class} data={top_class:this.query1.pull_top_class}
}else{ }else{
data=this.query data=this.query
} }

4
src/utils/request.js

@ -3,8 +3,8 @@ import axios from 'axios';
const service = axios.create({ const service = axios.create({
// process.env.NODE_ENV === 'development' 来判断是否开发环境 // process.env.NODE_ENV === 'development' 来判断是否开发环境
// baseURL:process.env.NODE_ENV == 'production' ? 'https://yztapi.xingtongworld.com' : '/api/', // baseURL:process.env.NODE_ENV == 'production' ? 'https://yztapi.xingtongworld.com' : '/api/',
// baseURL:'http://jiao.api.alpha.xingtongworld.com', baseURL:'http://jiao.api.alpha.xingtongworld.com',
baseURL:'http://192.168.66.254:8080', // baseURL:'http://192.168.66.254:8080',
timeout: 5000, timeout: 5000,
}); });

Loading…
Cancel
Save