Commit 30d2e590 authored by zhangyanni's avatar zhangyanni

积分兑换中心页面

parent 3deb6494
......@@ -2166,7 +2166,9 @@ module.exports = {
integral:{
mineInt:"My integral",
intQa:"Integral QA",
intDetail:"Integral details"
intDetail:"Integral details",
intexchange:"Integral Exchange Center"
}
......
......@@ -2263,7 +2263,8 @@ module.exports = {
integral:{
mineInt:"我的积分",
intQa:"积分问答",
intDetail:"积分明细"
intDetail:"积分明细",
intexchange:"积分兑换中心"
}
......
<template>
<div class="breadWrap" :class="[isColor?'transparentWrap':'',isTransparent?'transWrap':'',isTop?'topZero':'',medalImg?'bgWrap':'',medalDetail?'detailBgWrap':'']">
<i class="iconfont icon-fanhui" :class="hasIcon?'hasColor':''" @click="handleReturn" v-if="isReturn&&isTop"></i>
<i class="iconfont icon-fanhui" :class="[hasIcon?'hasColor':'',grayColor?'grayColor':'']" @click="handleReturn" v-if="isReturn&&isTop"></i>
<span class="leftTitle" :class="[isReturn&&isTranslate||!isReturn&&isTranslate?'positionLeftScreen':'',!isTranslate?'positionRightScreen':'']" @click="handleScreen" v-if="isSearch">{{$t("mobile.screenTitle")}} <i class="iconfont icon-xiala"></i></span>
<p v-if="title">{{title}} <span>{{count}}</span></p>
<span class="rightTitle translate" v-if="isTranslate" @click="handleTranslate">{{isTrans?$t("mobile.showOldActicle"):$t("mobile.translateTitle")}}</span>
......@@ -51,6 +51,10 @@
type:Boolean,
default:false
},
grayColor:{
type:Boolean,
default:false
}
},
data() {
return {
......@@ -194,7 +198,7 @@
&::after {
border-bottom: unset;
}
i.hasColor{
i.hasColor,i.grayColor{
color: #3F3F53;
}
}
......
......@@ -109,7 +109,7 @@ const mobileFeedback =() => import('views/mobile/settings/feedback').catch(route
const mineIntegral = () => import('views/mobile/integral/mine').catch(routerUtils.catchImport);//我的积分
const mineIntegralDetail = () => import('views/mobile/integral/detail').catch(routerUtils.catchImport);//我的积分明细
const integralIntro = () => import('views/mobile/integral/questionAnswer').catch(routerUtils.catchImport);//积分问答
const integralExchange = () => import('views/mobile/integral/exchange').catch(routerUtils.catchImport);//积分兑换
Vue.use(Router)
const originalReplace = Router.prototype.replace;
Router.prototype.replace = function replace(location) {
......@@ -1615,6 +1615,11 @@ const router = new Router({
name:"integralIntroParentRouter",
component:integralIntro,
},
{
path:'/integralExchange',
name:"integralExchangeParentRouter",
component:integralExchange,
},
]
});
......
......@@ -236,8 +236,8 @@
getInitFunc(size, flag) {
let params = {
pagination:{
start: this.page,
number: this.pageSize,
numberOfPages: this.page,
currentPage: this.pageSize,
},
search:{
typeId: this.channelList.length > 0 && this.currentTab.id > 0 ? this.currentTab.id : null
......
This diff is collapsed.
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