admin
2024-07-27 65aaf1c05bd06cefa82ebc40cc3e01cf4ac233c0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
$(function(){
    var app=new Vue({
        el:'#container',
        data:{
            mode:0,
            temp_screen_time_index:0,
            screen_time_index:0,
            orders:[1,1,1,1,1,1,1,1],
            withdraw_records:[1,1,1]
        },
        methods:{
            change_mode:function(mode){
                app.mode = mode;
            },
            search:function(){
                
            },
            open_screen:function(){
                app.temp_screen_time_index = app.screen_time_index;
                let index = layer.open({
                    id:'screen-layer',
                    type:1,
                    title:false,
                    offset:'b',
                    content:$("#screen"),
                    shadeClose:true,
                    anim: 2,
                    isOutAnim:false,
                    area:['7.5rem','4.6rem'],
                    closeBtn: 0
                });
                layer.style(index, {
                  background: 'transparent'
                });   
            },
            closeScreen:function(){
                layer.closeAll();
            },
            selectScreenTime:function(index){
                app.temp_screen_time_index = index;
            },
            resetScreen:function(){
                app.temp_screen_time_index = 0;
            },
            sureScreen:function(){
                app.screen_time_index = app.temp_screen_time_index;
                    layer.closeAll();
            },
            setAlipayAccount:function(){
                window.location.href="alipay_account_setting.html";
            }
            
            
        }
        
    });
    
    
});