Browse Source

优化内容

master
ltlzx 4 years ago
parent
commit
19c89904c6
  1. 4
      api/college.js
  2. 13
      i18n/lang/en.json
  3. 3
      i18n/lang/zh-TW.json
  4. 4
      pages/base/home.vue
  5. 8
      pages/base/index.vue
  6. 2
      pages/help/index.vue
  7. 8
      pages/service/service.vue

4
api/college.js

@ -9,8 +9,8 @@ class College {
return Serve.get(`/articleList`,data);
}
static getCategoryList() {
return Serve.get(`/categoryList`);
static getCategoryList(data) {
return Serve.get(`/categoryList`,data);
}
static getArticleDetail(data) {

13
i18n/lang/en.json

@ -361,13 +361,13 @@
"a1": "Regiser Account",
"a2": "Email",
"a3": "Enter your email address",
"a4": "Mailbox",
"a5": "Please enter the mailbox number",
"a4": "Email",
"a5": "Enter your email address",
"a6": "Email verification Code",
"a7": "Enter the email verification code",
"a8": "Password",
"a9": "Enter a password",
"b0": "Confirm Password",
"a9": "Enter your password",
"b0": "Confirm your password",
"b1": "Confirm your password",
"b2": "Recommended person",
"b3": "Please enter the recommender",
@ -384,7 +384,7 @@
"c4": "Please fill in the mailbox number",
"c5": "Registered successfully",
"c6":"Referral ID(required)",
"c7":"Fill in the referral ID"
"c7":"Enter your referral code"
},
"safe": {
"a0": "Untie",
@ -492,7 +492,8 @@
"help": {
"a0": "Details",
"a1": "College",
"a2": "Classification"
"a2": "Classification",
"a3":"Learn"
},
"login": {
"a0": "Email",

3
i18n/lang/zh-TW.json

@ -490,7 +490,8 @@
"help": {
"a0": "詳情",
"a1": "學院",
"a2": "分類"
"a2": "分類",
"a3": "學院"
},
"login": {
"a0": "手機或郵箱號",

4
pages/base/home.vue

@ -337,6 +337,7 @@
<view class="right color-light">{{ $t("common.dark") }}</view>
</view>
</view> -->
<img width="25px" height="25px" @click="changtTheme" :src="theme == 'light' ? 'static/img/moon.png' : 'static/img/sun.png'" />
</view>
<view class="information p-l-md m-t-xl">
@ -487,8 +488,7 @@
</view>
<van-icon name="arrow" class="fn-18" />
</v-link> -->
<v-link
to="/pages/service/service?id=33"
<v-link :to="'/pages/service/service?id=33&type=0'"
tag="div"
class="per-bot p-y-md p-x-sm d-flex align-center justify-between"
>

8
pages/base/index.vue

@ -46,6 +46,7 @@
import Home from "./home";
import ExchangeOperation from "./exchange-operation";
import Purchase from "../purchase/index";
import Help from "@/pages/help/index.vue"
import Mine from "./mine";
import OptionList from "./option-list";
// import List from "./list";
@ -58,7 +59,8 @@ export default {
OptionList,
Mine,
Contract,
Purchase
Purchase,
Help
},
computed: {
navList() {
@ -84,8 +86,8 @@ export default {
{
// label: this.$t("base.a4"),
// tel: "option-list",
label: this.$t("purchase.a5"),
tel: "purchase",
label: this.$t("help.a3"),
tel: "help",
icon: "static/img/base_qukuai_0.png",
activeIcon: "static/img/base_qukuai_1.png",
},

2
pages/help/index.vue

@ -1,6 +1,6 @@
<template>
<div class="layout-page" :style="themeStyle">
<v-header :title="$t('help.a1')"></v-header>
<v-header :title="$t('help.a3')"></v-header>
<main class="layout-main">
<template v-for="parentItem in list">
<v-link

8
pages/service/service.vue

@ -4,8 +4,8 @@
<main class="layout-main p-md">
<view class="top p-b-sm border-b">
<view class="title fn-lg fn-center m-b-md color-light">{{detail.title}}</view>
<!-- <view class="time fn-sm">{{detail.created_at}}</view> -->
<view class="time fn-sm">{{detail.created_ats | parseTime}}</view>
<view class="time fn-sm">{{detail.created_at}}</view>
<!-- <view class="time fn-sm">{{detail.created_ats | parseTime}}</view> -->
</view>
<view class="edit-content m-t-md" v-html="detail.body"></view>
</main>
@ -39,8 +39,8 @@ export default {
},
},
onLoad($ev) {
this.query = $ev;
this.serviceDetail();
this.query = $ev;
this.serviceDetail();
},
};
</script>

Loading…
Cancel
Save