Commit af4fd6ee by liangjianmin

css

parent dcb49802
......@@ -23,6 +23,15 @@
padding-top: 36rpx;
font-size: 24rpx;
color: #404547;
image{
max-width: 100%;
}
img{
max-width: 100%;
}
.rich_pages{
max-width:100%;
}
}
.share {
position: fixed;
......
......@@ -109,10 +109,6 @@ export default {
},
onLoad(options) {
this.getData();
this.list = [];
this.page = 1;
this.currentIndex = 0;
this.changeTab(0);
},
onReachBottom() {
if (this.flag) return;
......@@ -120,11 +116,13 @@ export default {
this.getAskCustomerProblemList();
},
onShow() {
this.list = [];
this.page = 1;
this.getAskCustomerProblemList();
},
methods: {
getData() {
this.request(API.GetNotice, 'GET', { limit: 2, notice_type: 1 }, true).then(res => {
this.request(API.GetNotice, 'GET', { limit: 2, notice_type: 1 }, false).then(res => {
if (res.err_code === 0) {
this.noticeData = res.data.data;
}
......
......@@ -95,7 +95,7 @@ export default {
},
methods: {
getData() {
this.request(API.UserInfo, 'POST', {}, true).then(res => {
this.request(API.UserInfo, 'POST', {}, false).then(res => {
if (res.err_code === 0) {
this.userData = res.data;
this.isLogin = true;
......
......@@ -102,14 +102,11 @@ export default {
is_login: true
};
},
onLoad(options) {
onLoad(options) {},
onShow() {
this.list = [];
this.page = 1;
this.currentIndex = 0;
this.changeTab(0);
},
onShow() {
this.getAskCustomerProblemList();
},
methods: {
inputChange() {
......
const API_BASE = 'http://supplyapi.liexin.com'
const API_BASE = 'https://api.ichunt.com'
const API = {
/**
......
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 sign in to comment