diff --git a/.gitignore b/.gitignore index b02c4d0..366402f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /unpackage -/.hbuilderx \ No newline at end of file +/.hbuilderx +.history \ No newline at end of file diff --git a/common/js/utils.js b/common/js/utils.js index cbf2744..2c7d858 100644 --- a/common/js/utils.js +++ b/common/js/utils.js @@ -5,6 +5,9 @@ const api_prefix = api_host + '/addons/exam/' //工具类 module.exports = { + apiUrlReturn(){ + return api_host; + }, isShowTip(apiUrl) { let filterList = ['/agency/getAuditVersion'] if (filterList.indexOf(apiUrl) != -1) { diff --git a/components/kz-page-index-color-1/kz-page-index-color-1.vue b/components/kz-page-index-color-1/kz-page-index-color-1.vue index d20add8..b4acb5c 100644 --- a/components/kz-page-index-color-1/kz-page-index-color-1.vue +++ b/components/kz-page-index-color-1/kz-page-index-color-1.vue @@ -41,7 +41,8 @@ - + @@ -53,18 +54,30 @@ - + - + - + 关于我们 + + + + + + + + 预约报名 + + + + + + + + + 题库中心 + + + + + + + + + + + + {{ item.text }} + + + + + + + - @@ -123,7 +151,6 @@ - {{ item.title }} @@ -147,7 +174,7 @@ - + --> + \ No newline at end of file diff --git a/pages.json b/pages.json index 658e36c..44561a8 100644 --- a/pages.json +++ b/pages.json @@ -95,7 +95,7 @@ }, { "path": "pages/train/index", "style": { - "navigationBarTitleText": "题目选择", + "navigationBarTitleText": "平台题库", "enablePullDownRefresh": false } @@ -106,6 +106,13 @@ "enablePullDownRefresh": false } + }, { + "path": "pages/train/detail", + "style": { + "navigationBarTitleText": "题目选择", + "enablePullDownRefresh": false + } + }, { "path": "pages/webview/webview", "style": { @@ -142,7 +149,7 @@ }, { "path": "pages/index/news-detail", "style": { - "navigationBarTitleText": "详情", + "navigationBarTitleText": "关于我们", "enablePullDownRefresh": false } }, { @@ -219,6 +226,11 @@ "navigationBarTitleText": "科目", "enablePullDownRefresh": true } + },{ + "path": "sign_up", + "style": { + "navigationBarTitleText": "预约报名" + } }, { "path": "video/index", diff --git a/pages/index/news-detail.vue b/pages/index/news-detail.vue index 5c5478c..57070cc 100644 --- a/pages/index/news-detail.vue +++ b/pages/index/news-detail.vue @@ -14,18 +14,17 @@ 我们的位置 - + + + + 预约报名 + + + + + 免费 + + 会员 + + + + + + + {{ item.text }} + + + + + + + + diff --git a/pages/train/index.vue b/pages/train/index.vue index 83601ae..c7a6002 100644 --- a/pages/train/index.vue +++ b/pages/train/index.vue @@ -3,8 +3,8 @@ - - + + - - {{btnText}} + --> + + + + + + + + + + + + {{ item.text }} + + + + + + + @@ -42,130 +63,58 @@ \ No newline at end of file diff --git a/pages/train/train.vue b/pages/train/train.vue index 1696cb4..867613d 100644 --- a/pages/train/train.vue +++ b/pages/train/train.vue @@ -6,6 +6,7 @@ + @@ -30,6 +31,9 @@ export default { this.getQuestion() }, methods: { + ajax(){ + this.getQuestion() + }, // 获取试题(包括延迟获取) getQuestion (page = 1, callback = null) { console.log('getQuestion', page, this.currentPage, this.lastPage) diff --git a/pagesSubject/sign_up.vue b/pagesSubject/sign_up.vue new file mode 100644 index 0000000..5711f7f --- /dev/null +++ b/pagesSubject/sign_up.vue @@ -0,0 +1,953 @@ + + + + + diff --git a/static/img/4.png b/static/img/4.png index 1832e8f..2aff0f5 100644 Binary files a/static/img/4.png and b/static/img/4.png differ diff --git a/static/img/5.png b/static/img/5.png new file mode 100644 index 0000000..219fa7c Binary files /dev/null and b/static/img/5.png differ diff --git a/tuniao-ui/components/tn-radio/tn-radio.vue b/tuniao-ui/components/tn-radio/tn-radio.vue index 0be0b5a..2b55df8 100644 --- a/tuniao-ui/components/tn-radio/tn-radio.vue +++ b/tuniao-ui/components/tn-radio/tn-radio.vue @@ -201,6 +201,7 @@ overflow: hidden; user-select: none; line-height: 1.8; + padding-bottom: 20rpx; &__icon-wrap { color: $tn-font-color; @@ -216,7 +217,7 @@ text-align: center; transition-property: color, border-color, background-color; font-size: 20rpx; - border: 1rpx solid $tn-font-sub-color; + border: 1px solid $tn-font-sub-color; transition-duration: 0.2s; /* #ifdef MP-TOUTIAO */