fix bug
This commit is contained in:
parent
3d4fadf43a
commit
8362ea89fd
@ -126,10 +126,10 @@
|
|||||||
onLoad: function(options) {
|
onLoad: function(options) {
|
||||||
this.queryParams.id = options.id;
|
this.queryParams.id = options.id;
|
||||||
this.getInfo();
|
this.getInfo();
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
getInfo() {
|
getInfo() {
|
||||||
var that = this;
|
var that = this;
|
||||||
getFxDetails(this.queryParams).then(response => {
|
getFxDetails(this.queryParams).then(response => {
|
||||||
|
@ -150,7 +150,7 @@
|
|||||||
statusBarHeight: 0,
|
statusBarHeight: 0,
|
||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 3,
|
pageSize: 10,
|
||||||
dateStatus: 0,
|
dateStatus: 0,
|
||||||
taskName: null,
|
taskName: null,
|
||||||
taskDate: null,
|
taskDate: null,
|
||||||
@ -197,6 +197,9 @@
|
|||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
reload(){
|
||||||
|
this.refresh();
|
||||||
|
},
|
||||||
openSelect(){
|
openSelect(){
|
||||||
// 通过组件定义的ref调用uni-popup方法 ,如果传入参数 ,type 属性将失效 ,仅支持 ['top','left','bottom','right','center']
|
// 通过组件定义的ref调用uni-popup方法 ,如果传入参数 ,type 属性将失效 ,仅支持 ['top','left','bottom','right','center']
|
||||||
this.$refs.popup.open('bottom')
|
this.$refs.popup.open('bottom')
|
||||||
|
@ -112,9 +112,19 @@
|
|||||||
onLoad: function(options) {
|
onLoad: function(options) {
|
||||||
this.queryParams.id = options.id;
|
this.queryParams.id = options.id;
|
||||||
this.getInfo();
|
this.getInfo();
|
||||||
|
|
||||||
},
|
},
|
||||||
|
onUnload: function() {
|
||||||
|
// console.log('关闭页面');
|
||||||
|
var pages = getCurrentPages();
|
||||||
|
// console.log(pages.length);
|
||||||
|
var Page = pages[pages.length-1];//当前页
|
||||||
|
// console.log(pages[pages.length-1].route);//输出当前路由
|
||||||
|
var prevPage = pages[pages.length-2];
|
||||||
|
// console.log(pages[pages.length-2].route);//输出上一个页面的路由
|
||||||
|
if(pages[pages.length-2].route == 'pages/index'){ //确定要返回到相应页面,在触发
|
||||||
|
prevPage.$vm.reload()
|
||||||
|
}
|
||||||
|
},
|
||||||
methods:{
|
methods:{
|
||||||
getInfo() {
|
getInfo() {
|
||||||
var that = this;
|
var that = this;
|
||||||
|
@ -910,7 +910,13 @@
|
|||||||
height: 35rpx;
|
height: 35rpx;
|
||||||
}
|
}
|
||||||
.status2{
|
.status2{
|
||||||
background-image: url("/static/images/fundrecord/wf.png");
|
background-image: url("/static/images/fundrecord/paystatus-2.png");
|
||||||
|
background-size: 100% 100%;
|
||||||
|
width: 100rpx;
|
||||||
|
height: 35rpx;
|
||||||
|
}
|
||||||
|
.status3{
|
||||||
|
background-image: url("/static/images/fundrecord/paystatus-3.png");
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
width: 100rpx;
|
width: 100rpx;
|
||||||
height: 35rpx;
|
height: 35rpx;
|
||||||
|
BIN
static/images/fundrecord/paystatus-2.png
Normal file
BIN
static/images/fundrecord/paystatus-2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
static/images/fundrecord/paystatus-3.png
Normal file
BIN
static/images/fundrecord/paystatus-3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 940 B |
Loading…
Reference in New Issue
Block a user