123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <template>
- <view class="jpmain ">
- <view class="body">
- <u-steps :list="numList" mode="number" :current="current" un-active-color="#999999"></u-steps>
- </view>
- <view class="data">
- <!-- <u-icon name="clock-fill" color="#1677FF" size="128"></u-icon>-->
- <u-icon name="checkmark-circle-fill" color="#00B962" size="128"></u-icon>
- <view class="t1">等待审核中</view>
- <view class="t2">绑定申请已提交,等待后台审核完成建站</view>
- </view>
- <view class="floating-button" @click="goBack()">
- <view class="button button2">
- 返回
- </view>
- </view>
- </view>
- </view>
- </template>
- <script >
- import * as API from '@/apis/pagejs/index.js'
-
- export default {
- data() {
- return {
- bindInfo:{},
- current: 1,
- numList: [{
- name: '绑定地锁'
- }, {
- name: '等待审核'
- }, {
- name: '完成绑定'
- }],
- };
- },
- onLoad(op) {
- this.id=op.id
- this.getInfo()
- },
- methods:{
- goBack(){
- uni.navigateBack()
- },
- getInfo(){
- uni.showLoading({
- title: "加载中",
- mask: true,
- })
- API.details( {
- id:this.id
- } ).then((res) => {
- this.bindInfo=res.data.applicationRecord;
- if(this.bindInfo.status==0){
- this.current= 1
- }
- if(this.bindInfo.status==1){
- this.current= 2
- }
- uni.hideLoading();
-
-
- }).catch(error => {
- uni.showToast({
- title: error,
- icon: "none"
- })
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
-
- .body {
- padding: 32rpx;
- background-color: rgba(242, 244, 246, 1);
- }
- .data{
- text-align: center;
- padding-top:120rpx;
- .t1{
- color: #101010;
- font-weight: bold;
- margin-top: 40rpx;
- font-size: 40rpx;
- }
- .t2{
- margin-top: 8rpx;
- color: rgba(119,119,119,1);
- font-size: 24rpx;
- }
- }
- .floating-button {
- padding-top:120rpx;
- text-align: center;
- .button {
- margin: 0 auto;
-
- border-radius: 50px;
- height: 80rpx;
- width: 80%;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 12rpx;
- background-color: rgba(22, 119, 255, 1);
- color: rgba(255, 255, 255, 1);
- font-size: 36rpx;
- }
- .button2{
- background-color: #00B962
- }
- }
- </style>
|