Commit 4336834e authored by Damon's avatar Damon

Merge branch 'dev-v1.0.0' of git.banshouhui.com:wuzhenzhe/study into dev-v1.0.0

parents cd7f7cea 6b2adf0a
......@@ -15,12 +15,15 @@ let learnApiFun = function(vm) {
'/rest/question/query/getQuestionWarehouse/' + subjectId,
params
)
let getProvinceList = async (params = {}) =>
await vm.$u.get('/rest/question/getProvinceList', params)
const learnApi = {
getQuestion,
getQuestionTotal,
answer,
subjectList,
getQuestionWarehouse,
getProvinceList,
}
return learnApi
}
......
......@@ -54,7 +54,7 @@ export default {
},
computed: {
imageUrl() {
return '/static/logo.png'
return process.uniEnv.qn_base_url + 'zuoyouqiehuantishi.png'
},
buttonStyle() {
return {
......@@ -87,7 +87,7 @@ export default {
text-align: center;
.tip-image {
width: 670rpx;
width: 662rpx;
height: 136rpx;
margin-bottom: 60rpx;
}
......
......@@ -166,6 +166,7 @@ export default {
onLoad(e) {
this.getPageInfo()
this.getLocation()
this.getProvinceList()
},
methods: {
handleClickArea() {
......@@ -198,6 +199,10 @@ export default {
handleClickSure() {
this.showPop = true
},
async getProvinceList() {
let res = await this.$u.api.getProvinceList()
console.log(res)
},
async handleClickSubmit() {
if (this.buttonDisabled) return
let param = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment