recommendSuccess.vue
2.1 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<template>
<view class="change_company">
<view class="c-no-data" >
<view class="image">
<u-image :src="vuex_baseImgUrl&&`${vuex_baseImgUrl}no_order.png`" width="456rpx" height="262rpx"></u-image>
</view>
<view class="title">
<text>提交成功,感谢您的推荐</text>
<text>可在“我的-我的推荐”中查看推荐情况</text>
</view>
</view>
<view class="footer">
<view class="left_btn">
<c-button type="cancel" text="返回" @click="handelSkip">
</c-button>
</view>
<view class="right_btn">
<c-button type="confirm" @click="handelAdd" text="继续推荐"></c-button>
</view>
</view>
</view>
</template>
<script>
import {
mapState,
mapActions
} from 'vuex'
export default {
data() {
return {
list: [],
}
},
onLoad() {
},
onShow() {
},
methods: {
handelAdd() {
let pages = getCurrentPages();
let prevPage = pages[pages.length - 2];
prevPage.$vm.form.mobile = ''
prevPage.$vm.form.name = ''
prevPage.$vm.form.ability = ''
uni.navigateBack({
delta:1
})
},
handelSkip() {
uni.navigateBack({
delta:2
})
}
}
}
</script>
<style lang="scss" scoped>
.change_company {
width: 100%;
min-height: 100%;
height: auto;
position: relative;
background-color: #F7F7F7;
.c-no-data {
width: 100%;
padding: 174rpx 0 0 0;
.image {
width: 456rpx;
margin: 0 auto;
}
.title {
margin: 48rpx 0 0 0;
text {
display: block;
text-align: center;
font-size: 40rpx;
line-height: 40rpx;
color: #000000;
}
text:last-child {
font-size: 26rpx;
line-height: 26rpx;
color: rgba(0, 0, 0, 0.6500);
margin: 30rpx 0 0 0;
}
}
}
.footer {
width: 100%;
height: 130rpx;
padding: 20rpx 40rpx;
background: #FFFFFF;
position: fixed;
bottom: 0;
left: 0;
z-index: 99;
border-top: 2rpx solid #F0F0F1;
view {
display: inline-block;
}
.left_btn {
width: 192rpx;
margin: 0 40rpx 0 0;
}
.right_btn {
width: 434rpx;
}
}
}
</style>