辅导员部分界面功能测试完毕;

This commit is contained in:
Saturneric 2021-04-11 03:43:07 +08:00
parent 6f57dcdac8
commit 366f9a16ec
27 changed files with 461 additions and 175 deletions

11
api/robot.js Normal file
View File

@ -0,0 +1,11 @@
import request from '../utils/request.js'
export const search = (title) => {
return request({
url: "/robot",
method: "get",
data: {
title
}
})
}

View File

@ -17,7 +17,8 @@
"pages/robot/robot",
"pages/my-children/my-children",
"pages/student-grade-trend/student-grade-trend",
"pages/student-need-concerning/student-need-concerning"
"pages/student-need-concerning/student-need-concerning",
"pages/question/question"
],
"window": {
"backgroundTextStyle": "light",

View File

@ -133,5 +133,12 @@ Page({
*/
onShareAppMessage: function () {
},
onClickQuestion() {
// 跳转
wx.navigateTo({
url: '/pages/question/question'
})
}
})

View File

@ -23,7 +23,7 @@
</view>
</view>
<view class="weui-form-preview__ft">
<a class="weui-form-preview__btn weui-form-preview__btn_primary">修改</a>
<a class="weui-form-preview__btn weui-form-preview__btn_primary" bindtap="onClickQuestion">反映问题</a>
</view>
</view>
</view>
@ -70,7 +70,7 @@
</view>
</view>
<view class="weui-form-preview__ft">
<a class="weui-form-preview__btn weui-form-preview__btn_primary">反映问题</a>
<a class="weui-form-preview__btn weui-form-preview__btn_primary" bindtap="onClickQuestion">反映问题</a>
</view>
</view>
</view>

View File

@ -9,7 +9,8 @@ Page({
data: {
parentsInfo: [],
childrenInfo: [],
supervisorsInfo: []
supervisorsInfo: [],
noRecord: false
},
/**
@ -60,6 +61,12 @@ Page({
supervisorsInfo: res
})
})
}).finally(res => {
if(this.data.supervisorsInfo.length === 0 && this.data.childrenInfo.length === 0 && this.data.parentsInfo.length === 0) {
this.setData({
noRecord: true
})
}
})
},
@ -110,5 +117,12 @@ Page({
*/
onShareAppMessage: function () {
},
onClickQuestion() {
// 跳转
wx.navigateTo({
url: '/pages/question/question'
})
}
})

View File

@ -1,3 +1,5 @@
{
"usingComponents": {}
"usingComponents": {
"i-spin": "../../dist/spin/index"
}
}

View File

@ -35,7 +35,7 @@
</view>
</view>
<view class="weui-form-preview__ft">
<a class="weui-form-preview__btn weui-form-preview__btn_primary">反映问题</a>
<a class="weui-form-preview__btn weui-form-preview__btn_primary" bindtap="onClickQuestion">反映问题</a>
</view>
</view>
</view>
@ -58,7 +58,7 @@
</view>
</view>
<view class="weui-form-preview__ft">
<a class="weui-form-preview__btn weui-form-preview__btn_primary">反映问题</a>
<a class="weui-form-preview__btn weui-form-preview__btn_primary" bindtap="onClickQuestion">反映问题</a>
</view>
</view>
</view>
@ -93,9 +93,9 @@
</view>
</view>
<view class="weui-form-preview__ft">
<a class="weui-form-preview__btn weui-form-preview__btn_primary">反映问题</a>
<a class="weui-form-preview__btn weui-form-preview__btn_primary" bindtap="onClickQuestion">反映问题</a>
</view>
</view>
</view>
<i-spin size="large" fix wx:if="{{ noRecord }}" custom><view>没有发现相关信息</view></i-spin>
</view>

View File

@ -22,9 +22,9 @@ Page({
document: null,
showDocument: false,
toast: false,
hideToast: true,
hideToast: false,
warnToast: false,
hideWarnToast: true,
hideWarnToast: false,
warnText: '',
},
@ -138,27 +138,29 @@ Page({
toast: false,
hideToast: false,
});
// 绑定成功后,跳转进入小程序首页
wx.navigateTo({
url: '/pages/index/index'
})
}, 300);
}, 3000);
}).then(res => {
// 绑定成功后,跳转进入小程序首页
wx.navigateTo({
url: '/pages/index/index'
})
}).catch(err =>{
console.log(err)
this.setData({
warnToast: true,
warnText: '绑定失败'
});
})
}).then(res => {
setTimeout(() => {
this.setData({
hidewarnToast: true,
hideWarnToast: true,
});
setTimeout(() => {
this.setData({
warnToast: false,
hidewarnToast: false,
hideWarnToast: false,
});
}, 300);
}, 3000);
@ -219,7 +221,8 @@ Page({
this.setData({
warnToast: true,
warnText: '未找到对应档案'
});
})
}).then(res => {
setTimeout(() => {
this.setData({
hidewarnToast: true,
@ -227,7 +230,7 @@ Page({
setTimeout(() => {
this.setData({
warnToast: false,
hidewarnToast: false,
hideWarnToast: false,
});
}, 300);
}, 3000);

View File

@ -1,130 +1,131 @@
<view class="container">
<view class="weui-form__text-area">
<view wx:if="{{!showDocument}}">
<h2 class="weui-form__title">绑定您的个人档案</h2>
<view class="weui-form__desc">在这里将您的账户与您在学院留存的档案绑定,以便确认您的身份。绑定完成后,系统将通过档案获知您的账号与其他账号的关系。</view>
</view>
<view wx:if="{{showDocument}}">
<h2 class="weui-form__title">确认您的档案信息</h2>
<view class="weui-form__desc">您的档案已找到,请确认这是属于您的档案。确认无误后,点击绑定按钮完成绑定流程。 如果有误的,请重新查询。</view>
</view>
</view>
<view class="page" data-weui-theme="{{theme}}">
<view class="weui-form">
<view class="weui-form__control-area">
<view class="weui-cells__group weui-cells__group_form" wx:if="{{!showDocument}}">
<view class="weui-cells__title">账号类型</view>
<view class="weui-cells weui-cells_radio">
<radio-group class="radio-group" bindchange="radioChange">
<label class="weui-cell weui-cell_active weui-check__label" wx:for="{{radioItems}}" wx:key="name">
<view class="weui-cell__bd">
<view>{{item.value}}</view>
</view>
<view class="weui-cell__ft">
<radio
class="weui-check"
value="{{item.name}}"
checked="{{item.checked}}"
/>
<i class="weui-icon-checked"></i>
</view>
</label>
</radio-group>
</view>
<view class="weui-form__text-area">
<view wx:if="{{!showDocument}}">
<h2 class="weui-form__title">绑定您的个人档案</h2>
<view class="weui-form__desc">在这里将您的账户与您在学院留存的档案绑定,以便确认您的身份。绑定完成后,系统将通过档案获知您的账号与其他账号的关系。</view>
</view>
<view class="weui-cells__group weui-cells__group_form" wx:if="{{!showDocument}}">
<view class="weui-cells__title">档案口令</view>
<view class="weui-cells weui-cells_form">
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">口令码</label></view>
<view class="weui-cell__bd">
<input class="weui-input" placeholder="学院下发的档案口令码" placeholder-class="weui-input__placeholder" bindinput="onCurrentInput" />
<view wx:if="{{showDocument}}">
<h2 class="weui-form__title">确认您的档案信息</h2>
<view class="weui-form__desc">您的档案已找到,请确认这是属于您的档案。确认无误后,点击绑定按钮完成绑定流程。 如果有误的,请重新查询。</view>
</view>
</view>
<view class="weui-form">
<view class="weui-form__control-area">
<view class="weui-cells__group weui-cells__group_form" wx:if="{{!showDocument}}">
<view class="weui-cells__title">账号类型</view>
<view class="weui-cells weui-cells_radio">
<radio-group class="radio-group" bindchange="radioChange">
<label class="weui-cell weui-cell_active weui-check__label" wx:for="{{radioItems}}" wx:key="name">
<view class="weui-cell__bd">
<view>{{item.value}}</view>
</view>
<view class="weui-cell__ft">
<radio
class="weui-check"
value="{{item.name}}"
checked="{{item.checked}}"
/>
<i class="weui-icon-checked"></i>
</view>
</label>
</radio-group>
</view>
</view>
<view class="weui-cells__group weui-cells__group_form" wx:if="{{!showDocument}}">
<view class="weui-cells__title">档案口令</view>
<view class="weui-cells weui-cells_form">
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">口令码</label></view>
<view class="weui-cell__bd">
<input class="weui-input" placeholder="学院下发的档案口令码" placeholder-class="weui-input__placeholder" bindinput="onCurrentInput" />
</view>
</view>
</view>
</view>
<view class="weui-cells__group weui-cells__group_form" wx:if="{{showDocument}}">
<view class="weui-cells__title">档案信息</view>
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">真实姓名</label></view>
<view class="weui-cell__bd weui-flex">
<input
class="weui-input"
type="text"
value="{{document.realName}}"
placeholder-class="weui-input__placeholder"
/>
</view>
</view>
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">性别</label></view>
<view class="weui-cell__bd weui-flex">
<input
class="weui-input"
type="text"
value="{{document.gender}}"
placeholder-class="weui-input__placeholder"
/>
</view>
</view>
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">角色</label></view>
<view class="weui-cell__bd weui-flex">
<input
class="weui-input"
type="text"
value="{{document.role}}"
placeholder-class="weui-input__placeholder"
/>
</view>
</view>
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">行政班号</label></view>
<view class="weui-cell__bd weui-flex">
<input
class="weui-input"
type="text"
value="{{document.className}}"
placeholder-class="weui-input__placeholder"
/>
</view>
</view>
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">入学年份</label></view>
<view class="weui-cell__bd weui-flex">
<input
class="weui-input"
type="text"
value="{{document.gradeYear}}"
placeholder-class="weui-input__placeholder"
/>
</view>
</view>
</view>
</view>
</view>
<view wx:if="{{!showDocument}}">
<a class="weui-btn weui-btn_primary" bindtap="onConfirm">查询档案</a>
</view>
<view wx:if="{{showDocument}}">
<a class="weui-btn weui-btn_default" bindtap="onReset">重新查询</a>
<a class="weui-btn weui-btn_primary" bindtap="onBind">绑定</a>
</view>
<view class="fadeIn {{hideWarnToast ? 'fadeOut' : ''}}" wx:if="{{warnToast}}">
<view class="weui-mask_transparent"></view>
<view class="weui-toast">
<i class="weui-icon-warn weui-icon_toast"></i>
<view class="weui-toast__content">{{warnText}}</view>
</view>
</view>
<view class="fadeIn {{hideToast ? 'fadeOut' : ''}}" wx:if="{{toast}}">
<view class="weui-mask_transparent"></view>
<view class="weui-toast">
<i class="weui-icon-success-no-circle weui-icon_toast"></i>
<view class="weui-toast__content">已完成</view>
</view>
<view class="weui-cells__group weui-cells__group_form" wx:if="{{showDocument}}">
<view class="weui-cells__title">档案信息</view>
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">真实姓名</label></view>
<view class="weui-cell__bd weui-flex">
<input
class="weui-input"
type="text"
value="{{document.realName}}"
placeholder-class="weui-input__placeholder"
/>
</view>
</view>
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">性别</label></view>
<view class="weui-cell__bd weui-flex">
<input
class="weui-input"
type="text"
value="{{document.gender}}"
placeholder-class="weui-input__placeholder"
/>
</view>
</view>
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">角色</label></view>
<view class="weui-cell__bd weui-flex">
<input
class="weui-input"
type="text"
value="{{document.role}}"
placeholder-class="weui-input__placeholder"
/>
</view>
</view>
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">行政班号</label></view>
<view class="weui-cell__bd weui-flex">
<input
class="weui-input"
type="text"
value="{{document.className}}"
placeholder-class="weui-input__placeholder"
/>
</view>
</view>
<view class="weui-cell weui-cell_active">
<view class="weui-cell__hd"><label class="weui-label">入学年份</label></view>
<view class="weui-cell__bd weui-flex">
<input
class="weui-input"
type="text"
value="{{document.gradeYear}}"
placeholder-class="weui-input__placeholder"
/>
</view>
</view>
</view>
</view>
</view>
<view wx:if="{{!showDocument}}">
<a class="weui-btn weui-btn_primary" bindtap="onConfirm">查询档案</a>
</view>
<view wx:if="{{showDocument}}">
<a class="weui-btn weui-btn_disabled weui-btn_default" bindtap="onReset">重新查询</a>
<a class="weui-btn weui-btn_primary" bindtap="onBind">绑定</a>
</view>
<view class="fadeIn {{hideWarnToast ? 'fadeOut' : ''}}" wx:if="{{warnToast}}">
<view class="weui-mask_transparent"></view>
<view class="weui-toast">
<i class="weui-icon-warn weui-icon_toast"></i>
<view class="weui-toast__content">{{warnText}}</view>
</view>
</view>
<view class="fadeIn {{hideToast ? 'fadeOut' : ''}}" wx:if="{{toast}}">
<view class="weui-mask_transparent"></view>
<view class="weui-toast">
<i class="weui-icon-success-no-circle weui-icon_toast"></i>
<view class="weui-toast__content">已完成</view>
</view>
</view>
</view>

View File

@ -1 +1,3 @@
/* pages/bind-document.wxss */
/* pages/bind-document.wxss */
.page{height:100%}
.page{background-color:var(--weui-BG-2)}

View File

@ -1,11 +1,14 @@
<view class="container">
<view class="weui-form__text-area">
<h2 class="weui-form__title">个人信息授权</h2>
<view class="weui-form__desc">我们需要您进行基本信息授权,我们将用这些信息以初始化您的账户。</view>
</view>
<view class="page__bd">
<view class="weui-btn-area">
<button open-type="getUserInfo" type="primary" bindgetuserinfo="bindGetUserInfo" >授权</button>
</view>
<view class="page" data-weui-theme="{{theme}}">
<view class="weui-form">
<view class="weui-form__text-area">
<h2 class="weui-form__title">个人信息授权</h2>
<view class="weui-form__desc">我们需要您进行基本信息授权,我们将用这些信息以初始化您的账户。</view>
</view>
<view class="page__bd">
<view class="weui-btn-area">
<button open-type="getUserInfo" type="primary" bindgetuserinfo="bindGetUserInfo" >授权</button>
</view>
</view>
</view>
</view>

View File

@ -1 +1,2 @@
/* pages/get-user-info/get-user-info.wxss */
/* pages/get-user-info/get-user-info.wxss */
.page{height:100%}

View File

@ -287,5 +287,10 @@ Page({
wx.navigateTo({
url: '/pages/my-children/my-children?openid=' + query
})
},
bindRobot(){
wx.navigateTo({
url: '/pages/robot/robot'
})
}
})

View File

@ -56,11 +56,10 @@
<view class="weui-cell weui-cell_active weui-cell_access" bindtap="bindMessage">
<view class="weui-cell__bd">
<text class="demo_badge_title">收到的消息</text>
<text class="weui-badge">32</text>
</view>
<view class="weui-cell__ft"></view>
</view>
<view class="weui-cell weui-cell_active weui-cell_access" wx:if="{{userDocument.role === 'ROLE_PARENT'}}">
<view class="weui-cell weui-cell_active weui-cell_access" bindtap="bindRobot" wx:if="{{userDocument.role === 'ROLE_PARENT'}}">
<view class="weui-cell__bd">
<text class="demo_badge_title">问答机器人</text>
</view>

View File

@ -113,11 +113,13 @@ Page({
this.setData({
inputVal
});
searchStudents(inputVal).then(res => {
console.log(res)
this.setData({
searchStudentsList: res
if(inputVal.length > 0) {
searchStudents(inputVal).then(res => {
console.log(res)
this.setData({
searchStudentsList: res
})
})
})
}
}
})

View File

@ -0,0 +1,79 @@
// pages/question/question.js
Page({
/**
* 页面的初始数据
*/
data: {
textLength: 0
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
},
inputTyping: function (e) {
let inputVal = e.detail.value
this.setData({
inputVal,
textLength: inputVal.length
});
if(inputVal.length > 0) {
}
},
})

View File

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

View File

@ -0,0 +1,25 @@
<view class="page" data-weui-theme="{{theme}}">
<view class="weui-form">
<view class="weui-form__text-area">
<h2 class="weui-form__title">给系统维护者留言</h2>
<view class="weui-form__desc">您的留言将发给系统维护者的账户TA将评估并解决您的问题</view>
</view>
<view class="weui-form__control-area">
<view class="weui-cells__group weui-cells__group_form">
<view class="weui-cells__title">给系统维护者留言</view>
<view class="weui-cells weui-cells_form">
<view class="weui-cell">
<view class="weui-cell__bd">
<textarea class="weui-textarea" placeholder="请描述你所发生的问题" placeholder-class="weui-input__placeholder" rows="3" bindinput="inputTyping"></textarea>
<view class="weui-textarea-counter"><span>{{textLength}}</span>/200</view>
</view>
</view>
</view>
</view>
</view>
<view class="weui-form__opr-area">
<a class="weui-btn weui-btn_primary" bindtap="bindSend">发送</a>
</view>
</view>
</view>

View File

@ -0,0 +1 @@
/* pages/question/question.wxss */

View File

@ -1,11 +1,17 @@
// pages/robot/robot.js
import {search} from '../../api/robot'
Page({
/**
* 页面的初始数据
*/
data: {
inputShowed: false,
inputVal: "",
searchStudentsList: [],
targetAnswer: {},
showAnswer: false
},
/**
@ -62,5 +68,62 @@ Page({
*/
onShareAppMessage: function () {
},
showInput: function () {
this.setData({
inputShowed: true
});
},
hideInput: function () {
this.setData({
inputVal: "",
inputShowed: false
});
},
clearInput: function () {
this.setData({
inputVal: ""
});
},
onClickShowDocument(e) {
let showIndex = e.currentTarget.dataset['index']
let targetAnswer = this.data.searchStudentsList[showIndex]
this.setData({
targetAnswer,
showAnswer: true
})
},
inputTyping: function (e) {
let inputVal = e.detail.value
this.setData({
inputVal
});
if(inputVal.length > 0) {
search(inputVal).then(res => {
console.log(res)
this.setData({
searchStudentsList: res
})
})
}
},
onClickBack() {
this.setData({
showAnswer: false,
targetAnswer: {}
})
},
onClickQuestion() {
// 跳转
wx.navigateTo({
url: '/pages/question/question'
})
}
})

View File

@ -1,2 +1,49 @@
<!--pages/robot/robot.wxml-->
<text>pages/robot/robot.wxml</text>
<!--pages/my-student/my-students.wxml-->
<view class="page" data-weui-theme="{{theme}}">
<view class="page__hd" wx:if="{{!showAnswer}}">
<view class="page__title">机器人问答搜索</view>
<view class="page__desc">我关心的问题这里都有</view>
</view>
<view class="page__hd" wx:else>
<view class="page__title">{{targetAnswer.title}}</view>
<view class="page__desc">下面是相关问题的解释</view>
</view>
<view class="page__bd" wx:if="{{!showAnswer}}">
<view class="weui-search-bar {{inputShowed ? 'weui-search-bar_focusing' : ''}}" id="searchBar">
<form class="weui-search-bar__form">
<view class="weui-search-bar__box">
<i class="weui-icon-search"></i>
<input type="text" class="weui-search-bar__input" placeholder="搜索" value="{{inputVal}}" focus="{{inputShowed}}" bindinput="inputTyping" />
<span class="weui-icon-clear" wx:if="{{inputVal.length > 0}}" bindtap="clearInput"></span>
</view>
<label class="weui-search-bar__label" bindtap="showInput">
<i class="weui-icon-search"></i>
<span class="weui-search-bar__text">输入学号搜索</span>
</label>
</form>
<view class="weui-search-bar__cancel-btn" bindtap="hideInput">取消</view>
</view>
<view class="weui-cells searchbar-result" wx:if="{{inputVal.length > 0}}">
<view class="weui-cell weui-cell_active weui-cell_access" wx:for="{{searchStudentsList}}" wx:key="index" data-index="{{index}}" bindtap="onClickShowDocument">
<view class="weui-cell__bd weui-cell_primary">
<view>{{item.title}}</view>
</view>
</view>
</view>
</view>
<view wx:else>
<view class="page__bd">
<view class="weui-article">
<view class="weui-article__section">
<view class="weui-article__section">
<view class="weui-article__p">
{{targetAnswer.context}}
</view>
</view>
</view>
</view>
<a class="weui-btn weui-btn_primary" bindtap="onClickQuestion">留言</a>
<a class="weui-btn weui-btn_disabled weui-btn_default" bindtap="onClickBack">返回搜索</a>
</view>
</view>
</view>

View File

@ -1 +1 @@
/* pages/robot/robot.wxss */
/* pages/robot/robot.wxss */

View File

@ -177,7 +177,7 @@ Page({
console.log(sems)
option.xAxis.data = sems
option.series.data = values
option.series[0].data = values
this.setData({
showGraph: true,
@ -194,12 +194,14 @@ Page({
this.setData({
inputVal
});
searchStudents(inputVal).then(res => {
console.log(res)
this.setData({
searchStudentsList: res
if(inputVal.length > 0) {
searchStudents(inputVal).then(res => {
console.log(res)
this.setData({
searchStudentsList: res
})
})
})
}
},
onShareAppMessage: function (res) {

View File

@ -33,6 +33,6 @@
</view>
<view class="graph" wx:else>
<ec-canvas id="mychart-dom-line" canvas-id="mychart-line" ec="{{ ec }}"></ec-canvas>
<a class="weui-btn weui-btn_disabled weui-btn_default" bindtap="onClickBack">返回搜索</a>
<a class="weui-btn weui-btn_primary" bindtap="onClickBack">返回搜索</a>
</view>
</view>

View File

@ -9,7 +9,8 @@ Page({
data: {
studentsGradeInfo: {},
studentsGradeSemesterInfo: {},
showSemester: false
showSemester: false,
loading: true
},
/**
@ -21,6 +22,10 @@ Page({
this.setData({
studentsGradeInfo: res
})
}).then(res => {
this.setData({
loading: false
})
})
},
@ -101,5 +106,12 @@ Page({
this.setData({
showSemester: false
})
},
onClickQuestion() {
// 跳转
wx.navigateTo({
url: '/pages/question/question'
})
}
})

View File

@ -1,3 +1,5 @@
{
"usingComponents": {}
"usingComponents": {
"i-spin": "../../dist/spin/index"
}
}

View File

@ -36,7 +36,7 @@
</view>
</view>
<view class="weui-form-preview__ft">
<a class="weui-form-preview__btn weui-form-preview__btn_primary">反映问题</a>
<a class="weui-form-preview__btn weui-form-preview__btn_primary" bindtap="onClickQuestion">反映问题</a>
</view>
</view>
</view>
@ -97,11 +97,12 @@
</view>
</view>
<view class="weui-form-preview__ft">
<a class="weui-form-preview__btn weui-form-preview__btn_primary">反映问题</a>
<a class="weui-form-preview__btn weui-form-preview__btn_primary" bindtap="onClickQuestion">反映问题</a>
</view>
</view>
</view>
<a class="weui-btn weui-btn_disabled weui-btn_default" bindtap="onClickBack">返回</a>
<a class="weui-btn weui-btn_primary" bindtap="onClickBack">返回</a>
</view>
<i-spin size="large" fix wx:if="{{ loading }}"></i-spin>
</view>