xhj před 2 roky
rodič
revize
94adc4d68f

+ 4 - 0
app.css

@@ -371,6 +371,10 @@ image {
 .tovers{overflow : hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
 
 
+.grayTheme{
+	filter: grayscale(1);
+}
+
 /* ios底部安全距离-padding */
 .savepadding{
     padding-bottom: constant(safe-area-inset-bottom);  

+ 5 - 3
components/msg-number/index.vue

@@ -1,6 +1,6 @@
 <template>
 	<view>
-		<view class="lt-msg ddflex" @click="jumpConversation()" :style="'bottom:'+bottom+';'">
+		<view :class="'lt-msg ddflex'+(about.greyTheme==1?' grayTheme':'')" @click="jumpConversation()" :style="'bottom:'+bottom+';'">
 			<view class="ddflex" style="position: relative;width: 100%;height: 100%;">
 				<image src="../../static/pages/images/lt.png"></image>
 				<view class="lt-msg-num" v-if="unReadSpotNum>0">{{unReadSpotNum}}</view>
@@ -18,7 +18,8 @@
 		data() {
 			return {
 				picUrlss: req.public.picUrls,
-				unReadSpotNum: 0
+				unReadSpotNum: 0,
+				about:''
 			};
 		},
 
@@ -31,11 +32,12 @@
 		},
 		watch: {},
 
-		mounted() {
+		async mounted() {
 			//发起获取未读消息通知
 			disp.fire("em.main.ready");
 			//监听未读消息数
 			disp.on("em.unreadspot", this.onChatPageUnreadspot);
+			this.about = await req.getsysConfig()
 		},
 
 		onUnload() {

+ 4 - 3
components/nav-bar/index.vue

@@ -1,12 +1,12 @@
 <template>
 	<view>
-		<view class="Tabbar savepadding">
+		<view :class="'Tabbar savepadding '+(about.greyTheme==1?' grayTheme':'')">
 			<view v-for="(item, index) in list" :key="index" class="tab-item" @tap="goUrl(item.click)">
 				<image class="nav_icon11 image" :src="channel===item.channel ?item.selectedIconPath:item.iconPath">
 				</image>
 				<view :class="channel===item.channel?'active':''">{{item.text}}<text class="dots"
 						v-if="count > 0&&item.channel==='cart'">{{count}}</text></view>
-
+			
 			</view>
 		</view>
 		<view class="savepadding" style="height:115rpx"></view>
@@ -55,8 +55,9 @@
 			}
 		},
 
-		mounted() {
+		async mounted() {
 			// console.log('ready');
+			this.about = await req.getsysConfig()
 			this.isReady = true;
 			this.getCount();
 			this.getTab();

+ 2 - 2
pages/found/found.vue

@@ -1,6 +1,6 @@
 <template>
 	<view>
-		<view class="top-fixed">
+		<view :class="'top-fixed'+(config.greyTheme==1?' grayTheme':'')">
 			<view class="search-box ddflex">
 				<view class="search-input ddflex fflex">
 					<image src="/static/images/ssico.png"></image>
@@ -20,7 +20,7 @@
 			</view>
 		</view>
 		<view style="height: 400rpx;"></view>
-		<view class="list">
+		<view :class="'list'+(config.greyTheme==1?' grayTheme':'')">
 			<view class="video-box" v-if="fxContentList&&fxContentList.length > 0">
 				<view class="video-card" v-for="(item, index) in fxContentList" :key="index" @click="jumpUrl('/topic/content/content?id='+item.id)">
 					<view class="video-cover">

+ 225 - 236
pages/index/index.vue

@@ -1,281 +1,270 @@
 <template>
 	<view>
-		<!-- <view :class="'top-fixed' + (skinNotColor ? ' not-color' : '')" :style="'height: '+ systems.barHeight + 'rpx;'">
-			<block v-if="about.CONFIG_PROJECT_TITLE_BG || about.CONFIG_PROJECT_TITLE_PIC">
-			<image :src="about.CONFIG_PROJECT_TITLE_BG" class="topbg" v-if="about.CONFIG_PROJECT_TITLE_BG"></image>
-			<view class="top-title" :style="'height: '+ systems.navigationHeight + 'rpx;top:' + systems.ktxStatusHeight + 'rpx;'" v-if="about.CONFIG_PROJECT_TITLE_PIC">
-				<image :src="about.CONFIG_PROJECT_TITLE_PIC" mode="heightFix"></image>
+		<view :class="(about.greyTheme==1?'grayTheme':'')">
+			<view class="bg">
+				<image :src="about.INDEX_PIC"></image>
 			</view>
-			</block>
-			<view class="top-title" :style="'line-height: '+ systems.navigationHeight + 'rpx;top:' + systems.ktxStatusHeight + 'rpx;'" v-else>
-				{{about.CONFIG_PROJECT_TITLE?about.CONFIG_PROJECT_TITLE:''}}
-			</view>
-		</view>
-		<view :style="'height: '+ systems.barHeight + 'rpx;'"></view> -->
-		<!-- <view @click="saoma()" style="z-index: 999;position: relative;">扫码</view> -->
-		<view class="bg">
-			<image :src="about.INDEX_PIC"></image>
-		</view>
-		<view v-if="!recommendCard">
-			<view class="top-title ddflex" :style="'height: '+ systems.navigationHeight + 'rpx;top:' + systems.ktxStatusHeight + 'rpx;'">
-				<image :src="about.CONFIG_PROJECT_LOGO" mode="heightFix"></image>
-				{{about.CONFIG_PROJECT_TITLE?about.CONFIG_PROJECT_TITLE:''}}
-			</view>
-		</view>
-		<view class="service-person" :style="'top:' + systems.ktxStatusHeight + 'rpx;'" v-if="recommendCard">
-			<view class="ddflex" @click="jumpUrl('/card/index/index?cardId='+recommendCard.id)">
-				<image class="service-person-header"
-					:src="recommendCard.avatar?recommendCard.avatar:'../../static/pages/images/userimg.png'"></image>
-				<view>
-					<view class="service-person-name ddflex">
-						<view>{{recommendCard.realName}}的微页</view>
-						<image src="/static/images/rico2.png" class="rico"></image>
-					</view>
-					<view class="service-person-number">(工号:{{recommendCard.jobNumber}}) <text v-if="recommendCard&&userInfo.id!=recommendCard.userId">欢迎您来到我的微页</text></view>
+			<view v-if="!recommendCard">
+				<view class="top-title ddflex" :style="'height: '+ systems.navigationHeight + 'rpx;top:' + systems.ktxStatusHeight + 'rpx;'">
+					<image :src="about.CONFIG_PROJECT_LOGO" mode="heightFix"></image>
+					{{about.CONFIG_PROJECT_TITLE?about.CONFIG_PROJECT_TITLE:''}}
 				</view>
 			</view>
-			<view style="margin: 20rpx 30rpx 0;justify-content: space-between;" class="ddflex">
-				<view>
-					<view class="ddflex">
-						<view class="service-person-tag">{{recommendCard.companyName}}</view>
-						<view class="service-person-tag">{{recommendCard.jobName}}</view>
+			<view class="service-person" :style="'top:' + systems.ktxStatusHeight + 'rpx;'" v-if="recommendCard">
+				<view class="ddflex" @click="jumpUrl('/card/index/index?cardId='+recommendCard.id)">
+					<image class="service-person-header"
+						:src="recommendCard.avatar?recommendCard.avatar:'../../static/pages/images/userimg.png'"></image>
+					<view>
+						<view class="service-person-name ddflex">
+							<view>{{recommendCard.realName}}的微页</view>
+							<image src="/static/images/rico2.png" class="rico"></image>
+						</view>
+						<view class="service-person-number">(工号:{{recommendCard.jobNumber}}) <text v-if="recommendCard&&userInfo.id!=recommendCard.userId">欢迎您来到我的微页</text></view>
 					</view>
-					<view class="service-person-options ddflex">
-						<view class="service-person-option ddflex">
-							<image src="/static/pages/images/dz.png"></image>
-							<view>{{recommendCard.favorableComment}}%</view>
+				</view>
+				<view style="margin: 20rpx 30rpx 0;justify-content: space-between;" class="ddflex">
+					<view>
+						<view class="ddflex">
+							<view class="service-person-tag">{{recommendCard.companyName}}</view>
+							<view class="service-person-tag">{{recommendCard.jobName}}</view>
 						</view>
-						<view class="service-person-option ddflex">
-							<image src="/static/pages/images/cy.png"></image>
-							<view>入司{{recommendCard.inDate?monthDayDiff(recommendCard.inDate):'1年'}}</view>
+						<view class="service-person-options ddflex">
+							<view class="service-person-option ddflex">
+								<image src="/static/pages/images/dz.png"></image>
+								<view>{{recommendCard.favorableComment}}%</view>
+							</view>
+							<view class="service-person-option ddflex">
+								<image src="/static/pages/images/cy.png"></image>
+								<view>入司{{recommendCard.inDate?monthDayDiff(recommendCard.inDate):'1年'}}</view>
+							</view>
+							<view class="service-person-option ddflex">
+								<image src="/static/pages/images/fw.png"></image>
+								<view>为{{recommendCard.cntCust?recommendCard.cntCust:0}}人服务</view>
+							</view>
 						</view>
-						<view class="service-person-option ddflex">
-							<image src="/static/pages/images/fw.png"></image>
-							<view>为{{recommendCard.cntCust?recommendCard.cntCust:0}}人服务</view>
+					</view>
+					<view class="ddflex">
+						<view class="service-person-phone" v-if="recommendCard.phone"
+							@click="callPhone(recommendCard.phone)">
+							<image src="../../static/pages/images/dh.png"></image>
+							<view>电话</view>
+						</view>
+						<view class="service-person-phone" v-if="recommendCard.wechat" @click="isShowCodePop=true">
+							<image src="../../static/pages/images/wx.png"></image>
+							<view>微信</view>
 						</view>
 					</view>
 				</view>
-				<view class="ddflex">
-					<view class="service-person-phone" v-if="recommendCard.phone"
-						@click="callPhone(recommendCard.phone)">
-						<image src="../../static/pages/images/dh.png"></image>
-						<view>电话</view>
-					</view>
-					<view class="service-person-phone" v-if="recommendCard.wechat" @click="isShowCodePop=true">
-						<image src="../../static/pages/images/wx.png"></image>
-						<view>微信</view>
-					</view>
+			</view>
+			<view style="height: 610rpx;"></view>
+			<view v-for="(item, index) in contact" :key="index">
+				<!-- 弹窗广告 -->
+				<view style="position: absolute;top:290rpx;left: 0;right: 0;">
+					<banner v-if="item == 'ad' && bannerShow" :bannerList="bannerList" :url="site" :web="url"
+						:config="about" :couponList="couponList" :officeList="officeList"
+						:districtTemplate="districtTemplate"></banner>
 				</view>
+				<district v-if="item == 'king_kong_district' && districtShow" :url="site" :web="url"
+					:districtTemplate="districtTemplate"></district>
+			
 			</view>
-		</view>
-		<view style="height: 610rpx;"></view>
-		<view v-for="(item, index) in contact" :key="index">
-			<!-- 弹窗广告 -->
-			<view style="position: absolute;top:290rpx;left: 0;right: 0;">
-				<banner v-if="item == 'ad' && bannerShow" :bannerList="bannerList" :url="site" :web="url"
-					:config="about" :couponList="couponList" :officeList="officeList"
-					:districtTemplate="districtTemplate"></banner>
+			
+			<view class="index-box" style="margin-top: 10rpx;" v-if="hotActivityList.length>0">
+				<view class="index-box-title">热门活动</view>
+				<view class="ddflex" style="margin-top: 20rpx;">
+					<view style="margin-right: 20rpx;">
+						<image class="pic230" :src="hotActivityList[0].pic" @click="getUrlHot(hotActivityList[0])"></image>
+						<image class="pic230" style="margin-top: 20rpx;" :src="hotActivityList[1].pic" @click="getUrlHot(hotActivityList[1])"></image>
+					</view>
+					<image class="pic480" :src="hotActivityList[2].pic" @click="getUrlHot(hotActivityList[2])"></image>
+				</view>
 			</view>
-			<district v-if="item == 'king_kong_district' && districtShow" :url="site" :web="url"
-				:districtTemplate="districtTemplate"></district>
-
-		</view>
-
-		<view class="index-box" style="margin-top: 10rpx;" v-if="hotActivityList.length>0">
-			<view class="index-box-title">热门活动</view>
-			<view class="ddflex" style="margin-top: 20rpx;">
-				<view style="margin-right: 20rpx;">
-					<image class="pic230" :src="hotActivityList[0].pic" @click="getUrlHot(hotActivityList[0])"></image>
-					<image class="pic230" style="margin-top: 20rpx;" :src="hotActivityList[1].pic" @click="getUrlHot(hotActivityList[1])"></image>
+			
+			<!-- 参与活动 -->
+			<view class="index-box" style="margin-top: 50rpx;" v-if="matchList.length>0">
+				<view class="index-box-title">更多活动</view>
+				<view class="map-ac">
+					<scroll-view scroll-x="true" class="map-acs">
+						<view class="li" v-for="(item,index) in matchList" :key="index"
+							@click="jumpUrl('/match/activityDetail/activityDetail?id='+item.id)">
+							<view style="position: relative;border-radius: 20rpx;overflow: hidden;">
+								<image :src="item.pic ? item.pic : '/static/images/def_zw1.png'" mode="aspectFill"></image>
+								<view class="ac-type" v-if="item.categoryName">{{ item.categoryName }}</view>
+							</view>
+							<view class="ac-title tovers">{{ item.title }}</view>
+						</view>
+					</scroll-view>
 				</view>
-				<image class="pic480" :src="hotActivityList[2].pic" @click="getUrlHot(hotActivityList[2])"></image>
 			</view>
-		</view>
-
-		<!-- 参与活动 -->
-		<view class="index-box" style="margin-top: 50rpx;" v-if="matchList.length>0">
-			<view class="index-box-title">更多活动</view>
-			<view class="map-ac">
-				<scroll-view scroll-x="true" class="map-acs">
-					<view class="li" v-for="(item,index) in matchList" :key="index"
-						@click="jumpUrl('/match/activityDetail/activityDetail?id='+item.id)">
-						<view style="position: relative;border-radius: 20rpx;overflow: hidden;">
-							<image :src="item.pic ? item.pic : '/static/images/def_zw1.png'" mode="aspectFill"></image>
-							<view class="ac-type" v-if="item.categoryName">{{ item.categoryName }}</view>
+			
+			<!-- 投保案例 -->
+			<view class="index-box" style="margin:0;padding: 30rpx;background-color: #f5f5f5;" v-if="tbalList.length>0">
+				<view class="index-box-title">投保案例</view>
+				<view>
+					<view class="tbal-nav ddflex">
+						<view :class="'tbal-nav-item '+(tbalIndex==index?'tbal-nav-item-active':'' )"
+							v-for="item,index in tbalList" @click="changeTbalTab(index)" :key="index">
+							<view>{{item.name}}</view>
+							<view class="tbal-nav-label" v-if="index==0">20~30岁</view>
+							<view class="tbal-nav-label" v-else-if="index==1">25-35岁</view>
+							<view class="tbal-nav-label" v-else-if="index==2">30-50岁</view>
+							<view class="tbal-nav-label" v-else-if="index==3">50-65岁</view>
+						</view>
+					</view>
+			
+					<block v-if="tbalContentList.length>0">
+						<view class="tbal-item ddflex" v-for="it in tbalContentList"
+							@click="jumpUrl('/topic/content/content?id='+it.id)">
+							<!-- @click="jumpUrl('/topic/alContent/alContent?id='+it.id)" -->
+							<image class="tbal-pic" :src="it.pic?it.pic:'/static/images/lj_img.png'" mode="aspectFill"></image>
+							<view class="flex">
+								<view class="tbal-title">{{it.title}}</view>
+								<view class="ddflex">
+									<view class="flex">
+										<view class="tbal-price">
+											{{it.fieldValues&&it.fieldValues.yearMoney?it.fieldValues.yearMoney:'0'}}
+										</view>
+										<view class="tbal-price-text">年缴费</view>
+									</view>
+									<view class="tbal-line"></view>
+									<view class="flex">
+										<view class="tbal-price">
+											{{it.fieldValues&&it.fieldValues.allMoney?it.fieldValues.allMoney:'0'}}
+										</view>
+										<view class="tbal-price-text">总保额 </view>
+									</view>
+								</view>
+								<view class="tbal-btn">去看看</view>
+							</view>
+							<view class="tbal-tag" v-if="it.fieldValues&&it.fieldValues.version">{{it.fieldValues.version}}
+							</view>
 						</view>
-						<view class="ac-title tovers">{{ item.title }}</view>
+					</block>
+					<view class="nodata" v-else style="padding-top: 0rpx;">
+						<image :src="picUrlss+'empty_dd.png'"></image>
+						<text>暂无数据</text>
 					</view>
-				</scroll-view>
+				</view>
 			</view>
-		</view>
-
-		<!-- 投保案例 -->
-		<view class="index-box" style="margin:0;padding: 30rpx;background-color: #f5f5f5;" v-if="tbalList.length>0">
-			<view class="index-box-title">投保案例</view>
-			<view>
-				<view class="tbal-nav ddflex">
-					<view :class="'tbal-nav-item '+(tbalIndex==index?'tbal-nav-item-active':'' )"
-						v-for="item,index in tbalList" @click="changeTbalTab(index)" :key="index">
-						<view>{{item.name}}</view>
-						<view class="tbal-nav-label" v-if="index==0">20~30岁</view>
-						<view class="tbal-nav-label" v-else-if="index==1">25-35岁</view>
-						<view class="tbal-nav-label" v-else-if="index==2">30-50岁</view>
-						<view class="tbal-nav-label" v-else-if="index==3">50-65岁</view>
+			
+			<!-- 真实理赔故事 -->
+			<view class="index-box" v-if="lpalList.length>0">
+				<view class="index-box-title ddflex">
+					<text class="fflex">真实理赔故事</text>
+					<view class="fx-header-more ddflex"
+						@click="jumpUrl('/topic/contentList/contentList?code='+lpalCode+'&title=理赔案例')">
+						更多
+						<image src="/static/pages/images/more.png"></image>
 					</view>
 				</view>
-
-				<block v-if="tbalContentList.length>0">
-					<view class="tbal-item ddflex" v-for="it in tbalContentList"
-						@click="jumpUrl('/topic/content/content?id='+it.id)">
-						<!-- @click="jumpUrl('/topic/alContent/alContent?id='+it.id)" -->
-						<image class="tbal-pic" :src="it.pic?it.pic:'/static/images/lj_img.png'" mode="aspectFill"></image>
-						<view class="flex">
-							<view class="tbal-title">{{it.title}}</view>
-							<view class="ddflex">
-								<view class="flex">
-									<view class="tbal-price">
-										{{it.fieldValues&&it.fieldValues.yearMoney?it.fieldValues.yearMoney:'0'}}
+				<view class="map-ac">
+					<scroll-view scroll-x="true" class="map-acs ddflex" style="height: 430rpx;">
+						<view class="lpgs-item" v-for="items,indexs in lpalList ">
+							<image class="lpgs-icon" src="../../static/images/lpgs_icon.png"></image>
+							<view :class="'lpgs-header '+(indexs%2==0?'':'lpgs-header-c')">
+								<view>{{items.name}}</view>
+							</view>
+							<view class="lpgs-content" v-if="items.contentList&&items.contentList.length>0">
+								<view class="lpgs-item-content ddflex" v-for="item,index in items.contentList" :key="index"
+									@click="jumpUrl('/topic/content/content?id='+item.id)">
+									<view class="flex" style="min-width: 0;">
+										<view class="lpgs-item-content-title tovers">{{item.title}}</view>
+										<view class="lpgs-item-content-look ddflex">
+											<image src="/static/images/eyes.png"></image>
+											<view>{{unitFormat(item.browse)}}</view>
+										</view>
 									</view>
-									<view class="tbal-price-text">年缴费</view>
+									<image class="lpgs-item-content-pic"
+										:src="item.pic?item.pic:'/static/images/lj_img.png'"></image>
 								</view>
-								<view class="tbal-line"></view>
-								<view class="flex">
-									<view class="tbal-price">
-										{{it.fieldValues&&it.fieldValues.allMoney?it.fieldValues.allMoney:'0'}}
-									</view>
-									<view class="tbal-price-text">总保额 </view>
+							</view>
+							<view class="lpgs-content" v-else>
+								<view class="nodata" style="padding-top: 40rpx;padding-bottom: 40rpx;">
+									<image :src="picUrlss+'empty_dd.png'" style="margin: 0 auto 0rpx;width: 208rpx;height: 139rpx;" mode="aspectFill"></image>
+									<text>暂无数据</text>
 								</view>
 							</view>
-							<view class="tbal-btn">去看看</view>
 						</view>
-						<view class="tbal-tag" v-if="it.fieldValues&&it.fieldValues.version">{{it.fieldValues.version}}
-						</view>
-					</view>
-				</block>
-				<view class="nodata" v-else style="padding-top: 0rpx;">
-					<image :src="picUrlss+'empty_dd.png'"></image>
-					<text>暂无数据</text>
+					</scroll-view>
 				</view>
 			</view>
-		</view>
-
-		<!-- 真实理赔故事 -->
-		<view class="index-box" v-if="lpalList.length>0">
-			<view class="index-box-title ddflex">
-				<text class="fflex">真实理赔故事</text>
-				<view class="fx-header-more ddflex"
-					@click="jumpUrl('/topic/contentList/contentList?code='+lpalCode+'&title=理赔案例')">
-					更多
-					<image src="/static/pages/images/more.png"></image>
+			
+			<!-- 发现 -->
+			<view class="index-box" style="margin:0;padding: 30rpx;background-color: #f5f5f5;" v-if="fxList.length>0">
+				<view class="map-ac">
+					<scroll-view scroll-x="true" class="map-acs ddflex" style="height: 70rpx;">
+						<view :class="'fx-nav '+(fxIndex==index?'fx-nav-active':'')" v-for="item,index in fxList"
+							@click="changeFxTab(index)">{{item.name}}</view>
+					</scroll-view>
 				</view>
-			</view>
-			<view class="map-ac">
-				<scroll-view scroll-x="true" class="map-acs ddflex" style="height: 430rpx;">
-					<view class="lpgs-item" v-for="items,indexs in lpalList ">
-						<image class="lpgs-icon" src="../../static/images/lpgs_icon.png"></image>
-						<view :class="'lpgs-header '+(indexs%2==0?'':'lpgs-header-c')">
-							<view>{{items.name}}</view>
+				<view class="fx-bar">
+					<view class="fx-header ddflex">
+						<view class="ddflex">
+							<view class="fx-header-title">{{fxList[fxIndex].name}}</view>
+							<view class="fx-header-more">{{unitFormat(fxList[fxIndex].shareCount?fxList[fxIndex].shareCount:0)}}人浏览</view>
 						</view>
-						<view class="lpgs-content" v-if="items.contentList&&items.contentList.length>0">
-							<view class="lpgs-item-content ddflex" v-for="item,index in items.contentList" :key="index"
-								@click="jumpUrl('/topic/content/content?id='+item.id)">
-								<view class="flex" style="min-width: 0;">
-									<view class="lpgs-item-content-title tovers">{{item.title}}</view>
-									<view class="lpgs-item-content-look ddflex">
+						<view class="fx-header-more ddflex"
+							@click="jumpUrl('/topic/contentList/contentList?code='+fxList[fxIndex].code+'&title='+fxList[fxIndex].name)">
+							更多
+							<image src="/static/pages/images/more.png"></image>
+						</view>
+					</view>
+					<view v-if="fxContentList.length>0">
+						<view class="fx-item ddflex" v-for="item in fxContentList"
+							@click="jumpUrl('/topic/content/content?id='+item.id)">
+							<view class="flex" style="min-width: 0;">
+								<view class="fx-item-title tovers">{{item.title}}</view>
+								<view class="ddflex" style="margin-top: 24rpx;">
+									<view class="fx-item-time">{{formatTime(item.createDate)}}</view>
+									<view class="fx-item-look ddflex">
 										<image src="/static/images/eyes.png"></image>
 										<view>{{unitFormat(item.browse)}}</view>
 									</view>
 								</view>
-								<image class="lpgs-item-content-pic"
-									:src="item.pic?item.pic:'/static/images/lj_img.png'"></image>
-							</view>
-						</view>
-						<view class="lpgs-content" v-else>
-							<view class="nodata" style="padding-top: 40rpx;padding-bottom: 40rpx;">
-								<image :src="picUrlss+'empty_dd.png'" style="margin: 0 auto 0rpx;width: 208rpx;height: 139rpx;" mode="aspectFill"></image>
-								<text>暂无数据</text>
 							</view>
+							<image class="fx-item-pic" :src="item.pic?item.pic:'../../static/images/lj_img.png'"></image>
 						</view>
 					</view>
-				</scroll-view>
-			</view>
-		</view>
-
-		<!-- 发现 -->
-		<view class="index-box" style="margin:0;padding: 30rpx;background-color: #f5f5f5;" v-if="fxList.length>0">
-			<view class="map-ac">
-				<scroll-view scroll-x="true" class="map-acs ddflex" style="height: 70rpx;">
-					<view :class="'fx-nav '+(fxIndex==index?'fx-nav-active':'')" v-for="item,index in fxList"
-						@click="changeFxTab(index)">{{item.name}}</view>
-				</scroll-view>
+					<view class="nodata" v-else style="padding-top: 0rpx;padding-bottom: 40rpx;">
+						<image :src="picUrlss+'empty_dd.png'" style="margin: 0 auto 0rpx;width: 208rpx;height: 139rpx;" mode="aspectFill"></image>
+						<text>暂无数据</text>
+					</view>
+				</view>
 			</view>
-			<view class="fx-bar">
-				<view class="fx-header ddflex">
-					<view class="ddflex">
-						<view class="fx-header-title">{{fxList[fxIndex].name}}</view>
-						<view class="fx-header-more">{{unitFormat(fxList[fxIndex].shareCount?fxList[fxIndex].shareCount:0)}}人浏览</view>
+			
+			<!-- <component v-for="(item,index) in contact" ></component> -->
+			<!-- <ad></ad> -->
+			<block v-if="contactShow">
+				<view class="spinner">
+					<view class="spinner-container container1">
+						<view class="circle1"></view>
+						<view class="circle2"></view>
+						<view class="circle3"></view>
+						<view class="circle4"></view>
 					</view>
-					<view class="fx-header-more ddflex"
-						@click="jumpUrl('/topic/contentList/contentList?code='+fxList[fxIndex].code+'&title='+fxList[fxIndex].name)">
-						更多
-						<image src="/static/pages/images/more.png"></image>
+					<view class="spinner-container container2">
+						<view class="circle1"></view>
+						<view class="circle2"></view>
+						<view class="circle3"></view>
+						<view class="circle4"></view>
 					</view>
-				</view>
-				<view v-if="fxContentList.length>0">
-					<view class="fx-item ddflex" v-for="item in fxContentList"
-						@click="jumpUrl('/topic/content/content?id='+item.id)">
-						<view class="flex" style="min-width: 0;">
-							<view class="fx-item-title tovers">{{item.title}}</view>
-							<view class="ddflex" style="margin-top: 24rpx;">
-								<view class="fx-item-time">{{formatTime(item.createDate)}}</view>
-								<view class="fx-item-look ddflex">
-									<image src="/static/images/eyes.png"></image>
-									<view>{{unitFormat(item.browse)}}</view>
-								</view>
-							</view>
-						</view>
-						<image class="fx-item-pic" :src="item.pic?item.pic:'../../static/images/lj_img.png'"></image>
+					<view class="spinner-container container3">
+						<view class="circle1"></view>
+						<view class="circle2"></view>
+						<view class="circle3"></view>
+						<view class="circle4"></view>
 					</view>
 				</view>
-				<view class="nodata" v-else style="padding-top: 0rpx;padding-bottom: 40rpx;">
-					<image :src="picUrlss+'empty_dd.png'" style="margin: 0 auto 0rpx;width: 208rpx;height: 139rpx;" mode="aspectFill"></image>
-					<text>暂无数据</text>
-				</view>
-			</view>
-		</view>
-
-		<!-- <component v-for="(item,index) in contact" ></component> -->
-		<!-- <ad></ad> -->
-		<block v-if="contactShow">
-			<view class="spinner">
-				<view class="spinner-container container1">
-					<view class="circle1"></view>
-					<view class="circle2"></view>
-					<view class="circle3"></view>
-					<view class="circle4"></view>
-				</view>
-				<view class="spinner-container container2">
-					<view class="circle1"></view>
-					<view class="circle2"></view>
-					<view class="circle3"></view>
-					<view class="circle4"></view>
-				</view>
-				<view class="spinner-container container3">
-					<view class="circle1"></view>
-					<view class="circle2"></view>
-					<view class="circle3"></view>
-					<view class="circle4"></view>
-				</view>
+				<view class="lond">加载中···</view>
+			</block>
+			<view class="foot-logo">
+				<image src="/static/images/zgrs_logo.png"></image>
 			</view>
-			<view class="lond">加载中···</view>
-		</block>
-		<view class="foot-logo">
-			<image src="/static/images/zgrs_logo.png"></image>
-		</view>
-		<!-- <footer-copyright v-if="logo"></footer-copyright> -->
-		<!-- <contact-button img-url="/static/pages/images/kfico1_1.png" class-name="contact_index" button-text="客服"></contact-button> -->
-		<view class="guide" @tap="hideGuide" v-if="first">
-			<image src="/static/pages/images/guide.png" mode="widthFix"></image>
+			<!-- <footer-copyright v-if="logo"></footer-copyright> -->
+			<!-- <contact-button img-url="/static/pages/images/kfico1_1.png" class-name="contact_index" button-text="客服"></contact-button> -->
+			<!-- <view class="guide" @tap="hideGuide" v-if="first">
+				<image src="/static/pages/images/guide.png" mode="widthFix"></image>
+			</view> -->
 		</view>
 		<!-- <view class="placeholder-view" :style="'height:' + (bottomBlankHeight + 115) + 'rpx'"></view> -->
 		<foot channel="home" :isUpdate="isUpdate"></foot>
@@ -283,7 +272,7 @@
 
 		<view class="ceng2" v-if="isShowCodePop" @click="isShowCodePop = false" @touchmove.stop.prevent="moveHandle">
 		</view>
-		<view class="code-pop" v-if="isShowCodePop">
+		<view :class="'code-pop ' +(about.greyTheme==1?'grayTheme':'')" v-if="isShowCodePop">
 			<view class="code-content" v-if="recommendCard.wechatCode">
 				<image :src="recommendCard.wechatCode?recommendCard.wechatCode:'/static/images/wxCode.jpg'"
 					show-menu-by-longpress="true"></image>

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 407 - 346
pages/interactive/index.vue


+ 43 - 39
pages/matchList/index.vue

@@ -1,48 +1,50 @@
 <template>
 	<view v-if="isShow">
-		<view class="ddflex" style="margin: 0 60rpx;">
-			<view class="fflex">
-				<image style="width: 86rpx;height: 86rpx;margin: 0 auto 20rpx;" src="/static/images/rmhd.png"></image>
-				<view style="font-size: 24rpx;color: #302222;text-align: center;">热门活动</view>
-			</view>
-			<view class="fflex">
-				<image style="width: 86rpx;height: 86rpx;margin: 0 auto 20rpx;" src="/static/images/ttcj.png"></image>
-				<view style="font-size: 24rpx;color: #302222;text-align: center;">天天抽奖</view>
-			</view>
-			<view class="fflex">
-				<image style="width: 86rpx;height: 86rpx;margin: 0 auto 20rpx;" src="/static/images/zxzq.png"></image>
-				<view style="font-size: 24rpx;color: #302222;text-align: center;">赠险专区</view>
+		<view :class="(about.greyTheme==1?' grayTheme':'')">
+			<view class="ddflex" style="margin: 0 60rpx;">
+				<view class="fflex">
+					<image style="width: 86rpx;height: 86rpx;margin: 0 auto 20rpx;" src="/static/images/rmhd.png"></image>
+					<view style="font-size: 24rpx;color: #302222;text-align: center;">热门活动</view>
+				</view>
+				<view class="fflex">
+					<image style="width: 86rpx;height: 86rpx;margin: 0 auto 20rpx;" src="/static/images/ttcj.png"></image>
+					<view style="font-size: 24rpx;color: #302222;text-align: center;">天天抽奖</view>
+				</view>
+				<view class="fflex">
+					<image style="width: 86rpx;height: 86rpx;margin: 0 auto 20rpx;" src="/static/images/zxzq.png"></image>
+					<view style="font-size: 24rpx;color: #302222;text-align: center;">赠险专区</view>
+				</view>
 			</view>
-		</view>
-		<view class="act-list" v-if="pageList && pageList.length > 0">
-			<view class="li" v-for="(item, index) in pageList" :key="index" @click="toActivity(item)">
-				<view class="imgbox"><image :src="item.pic" mode="aspectFill"></image></view>
-				<view class="infos fflex">
-					<view class="act-tit tovers">{{ item.title }}</view>
-					<view class="stas ddflex">
-						<view class="fflex">
-							<view class="tag-box tovers">{{ item.brief }}</view>
-							<view class="area">
-								<block v-if="item.state < 4">报名截止时间:{{ item.enlistEndTime }}</block>
-								<block v-else>活动结束时间:{{ item.endTime }}</block>
+			<view class="act-list" v-if="pageList && pageList.length > 0">
+				<view class="li" v-for="(item, index) in pageList" :key="index" @click="toActivity(item)">
+					<view class="imgbox"><image :src="item.pic" mode="aspectFill"></image></view>
+					<view class="infos fflex">
+						<view class="act-tit tovers">{{ item.title }}</view>
+						<view class="stas ddflex">
+							<view class="fflex">
+								<view class="tag-box tovers">{{ item.brief }}</view>
+								<view class="area">
+									<block v-if="item.state < 4">报名截止时间:{{ item.enlistEndTime }}</block>
+									<block v-else>活动结束时间:{{ item.endTime }}</block>
+								</view>
+								<!-- <view class="money" v-if="userinfovip.levelGrade>0&& !userinfovip.end"><text>¥</text>{{item.vipMoney}}</view>
+								<view class="money" v-else><text>¥</text>{{item.money}}</view> -->
 							</view>
-							<!-- <view class="money" v-if="userinfovip.levelGrade>0&& !userinfovip.end"><text>¥</text>{{item.vipMoney}}</view>
-							<view class="money" v-else><text>¥</text>{{item.money}}</view> -->
+							<view class="act-btn" @click.stop="jumpUrl('/match/activity/activity')" v-if="item.isEnlist">我已报名</view>
+							<block v-else>
+								<view class="act-btn" @click.stop="toActivity(item)" v-if="item.state == 2">立即报名</view>
+								<view class="act-btn" @click.stop="toActivity(item)" v-if="item.state == 3">报名结束</view>
+								<view class="act-btn" @click.stop="toActivity(item)" v-if="item.state == 4">活动中</view>
+								<view class="act-btn end" @click.stop="toActivity(item)" v-if="item.state == 5">活动结束</view>
+							</block>
 						</view>
-						<view class="act-btn" @click.stop="jumpUrl('/match/activity/activity')" v-if="item.isEnlist">我已报名</view>
-						<block v-else>
-							<view class="act-btn" @click.stop="toActivity(item)" v-if="item.state == 2">立即报名</view>
-							<view class="act-btn" @click.stop="toActivity(item)" v-if="item.state == 3">报名结束</view>
-							<view class="act-btn" @click.stop="toActivity(item)" v-if="item.state == 4">活动中</view>
-							<view class="act-btn end" @click.stop="toActivity(item)" v-if="item.state == 5">活动结束</view>
-						</block>
 					</view>
 				</view>
 			</view>
-		</view>
-		<view class="nodata" v-else>
-			<image :src="picUrlss + 'empty_dd.png'"></image>
-			<text>暂无记录~</text>
+			<view class="nodata" v-else>
+				<image :src="picUrlss + 'empty_dd.png'"></image>
+				<text>暂无记录~</text>
+			</view>
 		</view>
 		
 		<foot channel="match" :isUpdate="isUpdate"></foot>
@@ -68,11 +70,13 @@ export default {
 				limit: 10
 			},
 			isLogin: false,
-			userinfovip: {}
+			userinfovip: {},
+			about:''
 		};
 	},
 	onLoad() {},
-	onShow() {
+	async onShow() {
+		this.about = await req.getsysConfig()
 		this.isLogin = req.isAuth();
 		this.getPageList(true);
 		if (this.isLogin) {

+ 127 - 125
pages/user/user.vue

@@ -1,6 +1,6 @@
 <template>
 	<view>
-		<view :class="'mine' + (skinNotColor ? ' not-color' : '')">
+		<view :class="'mine' + (skinNotColor ? ' not-color' : '')+(config.greyTheme==1?' grayTheme':'')">
 			<view :style="'height:' + systems.barHeight + 'rpx;'"></view>
 			<view
 				:style="'top:' + systems.ktxStatusHeight + 'rpx;z-index:3;position: absolute;'+'line-height: '+ systems.navigationHeight+'rpx;text-align: center;left: 0;font-size: 34rpx;right: 0;color: #FFFFFF;'">
@@ -50,141 +50,143 @@
 			<view style="height: 80rpx;"></view>
 		</view>
 
-		<view class="con" style="margin-top: -80rpx;" v-if="userInfos.userType!=1">
-			<view class="order">
-				<navigator url="" hover-class="none" class="tits dflex" @click="jumpUrl('match/activity/activity')">
-					<view class="flex">我的活动</view>
-					全部活动
-					<image src="../../static/pages/images/more.png" class="rico"></image>
-				</navigator>
-				<view class="ddflex" style="justify-content: space-between;padding: 40rpx 0rpx;">
-					<view class="order-item ddflex fflex" @click="jumpUrl('match/activity/activity?current=2')">
-						<image src="/static/images/hd_dcy.png"></image>
-						<view>待参与</view>
-					</view>
-					<vieW class="order-line"></vieW>
-					<view class="order-item ddflex fflex" @click="jumpUrl('match/activity/activity?current=3')">
-						<image src="/static/images/hd_ywc.png"></image>
-						<view>已完成</view>
-					</view>
-				</view>
-			</view>
-		</view>
-		<view class="con" style="margin-top: -80rpx;" v-else>
-			<view class="order">
-				<view class="ddflex" style="justify-content: space-between;padding: 40rpx 0rpx;">
-					<view class="order-item ddflex fflex" @click="jumpUrl('match/activityManage/activityManage')">
-						<image src="/static/images/hdgl.png"></image>
-						<view>活动管理</view>
-					</view>
-					<vieW class="order-line"></vieW>
-					<view class="order-item ddflex fflex" @click="jumpUrl('library/poster/index')">
-						<image src="/static/images/hbtg.png"></image>
-						<view>海报推广</view>
-					</view>
-					<vieW class="order-line"></vieW>
-					<view class="order-item ddflex fflex" @click="jumpUrl('library/page/page')">
-						<image src="/static/images/yxdy.png"></image>
-						<view>营销单页</view>
-					</view>
-				</view>
-			</view>
-		</view>
-
-		<view class="con" v-if="!userInfos.userType&&recommendCard">
-			<view class="order">
-				<navigator url="" hover-class="none" class="tits dflex" @click="jumpUrl('mine/order/order')">
-					<view class="flex">我的顾问</view>
-				</navigator>
-				<view class="service-person">
-					<view class="dflex" @click="jumpUrl('/card/index/index')">
-						<image class="service-person-header" :src="recommendCard.avatar?recommendCard.avatar:'../../static/pages/images/userimg.png'"></image>
-						<view class="fflex">
-							<view class="dflex">
-								<view class="fflex">
-									<view class="service-person-name ddflex">
-										<view>Hi~我是{{recommendCard.realName}}</view>
-										<image src="/static/images/rico2.png" class="rico"></image>
-									</view>
-									<view class="service-person-number">(工号:{{recommendCard.jobNumber}}) 您的1V1专属保险顾问</view>
+		<view :class="(config.greyTheme==1?' grayTheme':'')">
+			<view class="con" style="margin-top: -80rpx;" v-if="userInfos.userType!=1">
+						<view class="order">
+							<navigator url="" hover-class="none" class="tits dflex" @click="jumpUrl('match/activity/activity')">
+								<view class="flex">我的活动</view>
+								全部活动
+								<image src="../../static/pages/images/more.png" class="rico"></image>
+							</navigator>
+							<view class="ddflex" style="justify-content: space-between;padding: 40rpx 0rpx;">
+								<view class="order-item ddflex fflex" @click="jumpUrl('match/activity/activity?current=2')">
+									<image src="/static/images/hd_dcy.png"></image>
+									<view>待参与</view>
+								</view>
+								<vieW class="order-line"></vieW>
+								<view class="order-item ddflex fflex" @click="jumpUrl('match/activity/activity?current=3')">
+									<image src="/static/images/hd_ywc.png"></image>
+									<view>已完成</view>
 								</view>
-								<view class="service-person-btn" @click="jumpSingleChatRoom()">在线咨询</view>
 							</view>
-							<view class="service-person-options ddflex">
-								<view class="service-person-option ddflex">
-									<image src="/static/pages/images/dz_hui.png"></image>
-									<view>{{recommendCard.favorableComment}}%</view>
+						</view>
+					</view>
+					<view class="con" style="margin-top: -80rpx;" v-else>
+						<view class="order">
+							<view class="ddflex" style="justify-content: space-between;padding: 40rpx 0rpx;">
+								<view class="order-item ddflex fflex" @click="jumpUrl('match/activityManage/activityManage')">
+									<image src="/static/images/hdgl.png"></image>
+									<view>活动管理</view>
 								</view>
-								<view class="service-person-option ddflex">
-									<image src="/static/pages/images/cy_hui.png"></image>
-									<view>入司{{recommendCard.inDate?monthDayDiff(recommendCard.inDate):'1年'}}</view>
+								<vieW class="order-line"></vieW>
+								<view class="order-item ddflex fflex" @click="jumpUrl('library/poster/index')">
+									<image src="/static/images/hbtg.png"></image>
+									<view>海报推广</view>
 								</view>
-								<view class="service-person-option ddflex">
-									<image src="/static/pages/images/fw_hui.png"></image>
-									<view>为{{recommendCard.cntCust?recommendCard.cntCust:0}}人服务</view>
+								<vieW class="order-line"></vieW>
+								<view class="order-item ddflex fflex" @click="jumpUrl('library/page/page')">
+									<image src="/static/images/yxdy.png"></image>
+									<view>营销单页</view>
 								</view>
 							</view>
 						</view>
 					</view>
-					<view class="service-person-phone ddflex">
-						<view class="ddflex flex" style="justify-content: center;" @click.stop="callPhone(recommendCard.phone)">
-							<image src="/static/pages/images/phone1.png"></image>
-							<view>联系电话</view>
+			
+					<view class="con" v-if="!userInfos.userType&&recommendCard">
+						<view class="order">
+							<navigator url="" hover-class="none" class="tits dflex" @click="jumpUrl('mine/order/order')">
+								<view class="flex">我的顾问</view>
+							</navigator>
+							<view class="service-person">
+								<view class="dflex" @click="jumpUrl('/card/index/index')">
+									<image class="service-person-header" :src="recommendCard.avatar?recommendCard.avatar:'../../static/pages/images/userimg.png'"></image>
+									<view class="fflex">
+										<view class="dflex">
+											<view class="fflex">
+												<view class="service-person-name ddflex">
+													<view>Hi~我是{{recommendCard.realName}}</view>
+													<image src="/static/images/rico2.png" class="rico"></image>
+												</view>
+												<view class="service-person-number">(工号:{{recommendCard.jobNumber}}) 您的1V1专属保险顾问</view>
+											</view>
+											<view class="service-person-btn" @click="jumpSingleChatRoom()">在线咨询</view>
+										</view>
+										<view class="service-person-options ddflex">
+											<view class="service-person-option ddflex">
+												<image src="/static/pages/images/dz_hui.png"></image>
+												<view>{{recommendCard.favorableComment}}%</view>
+											</view>
+											<view class="service-person-option ddflex">
+												<image src="/static/pages/images/cy_hui.png"></image>
+												<view>入司{{recommendCard.inDate?monthDayDiff(recommendCard.inDate):'1年'}}</view>
+											</view>
+											<view class="service-person-option ddflex">
+												<image src="/static/pages/images/fw_hui.png"></image>
+												<view>为{{recommendCard.cntCust?recommendCard.cntCust:0}}人服务</view>
+											</view>
+										</view>
+									</view>
+								</view>
+								<view class="service-person-phone ddflex">
+									<view class="ddflex flex" style="justify-content: center;" @click.stop="callPhone(recommendCard.phone)">
+										<image src="/static/pages/images/phone1.png"></image>
+										<view>联系电话</view>
+									</view>
+									<view class="order-line" v-if="recommendCard.phone&&recommendCard.wechat"></view>
+									<view class="ddflex flex" style="justify-content: center;" @click.stop="isShowCodePop=true">
+										<image style="width: 35rpx;height: 28rpx;" src="/static/pages/images/qw.png"></image>
+										<view>加微信</view>
+									</view>
+								</view>
+							</view>
 						</view>
-						<view class="order-line" v-if="recommendCard.phone&&recommendCard.wechat"></view>
-						<view class="ddflex flex" style="justify-content: center;" @click.stop="isShowCodePop=true">
-							<image style="width: 35rpx;height: 28rpx;" src="/static/pages/images/qw.png"></image>
-							<view>加微信</view>
+					</view>
+			<!-- url="/promote/invite/invite" -->
+					<view class="box mlist" v-if="userInfos.userType!=1">
+						<button class="li ddflex"  open-type="share">
+							<image src="/static/images/yqhy.png" class="mico"></image>
+							<view class="fflex">推荐好友</view>
+							<image src="../../static/pages/images/more.png" class="rico"></image>
+						</button>
+					</view>
+					<view class="box mlist" v-else>
+						<navigator class="li ddflex" @click="toCard()" hover-class="none">
+							<image src="/static/images/wdmp.png" class="mico"></image>
+							<view class="fflex">我的名片</view>
+							<image src="../../static/pages/images/more.png" class="rico"></image>
+						</navigator>
+					</view>
+			
+					<view class="box mlist">
+						<view class="li ddflex">
+							<view class="fflex">
+								<contact-button class-name="ddflex" img-url="/static/images/lxkf.png"
+									img-style='width: 49rpx;height: 49rpx;margin: 0 25rpx 0 0;' button-text="联系客服"
+									styles="line-height:initial;"></contact-button>
+							</view>
+							<image src="../../static/pages/images/more.png" class="rico"></image>
 						</view>
+						<navigator class="li ddflex" url="/mine/help/help" hover-class="none">
+							<image src="/static/images/bzzx.png" class="mico" mode="aspectFit"></image>
+							<view class="fflex">帮助中心</view>
+							<image src="../../static/pages/images/more.png" class="rico"></image>
+						</navigator>
+						<navigator class="li ddflex" url="/mine/feedback/feedback" hover-class="none">
+							<image src="/static/images/jyfk.png" class="mico"></image>
+							<view class="fflex">建议与反馈</view>
+							<image src="../../static/pages/images/more.png" class="rico"></image>
+						</navigator>
+						<navigator class="li ddflex" url="/pages/about/about" hover-class="none">
+							<image src="/static/images/gywm.png" class="mico"></image>
+							<view class="fflex">关于中国人寿</view>
+							<image src="../../static/pages/images/more.png" class="rico"></image>
+						</navigator>
+						<navigator class="li ddflex" url="/mine/set/set" hover-class="none">
+							<image src="/static/images/setting.png" class="mico"></image>
+							<view class="fflex">设置中心</view>
+							<image src="../../static/pages/images/more.png" class="rico"></image>
+						</navigator>
 					</view>
-				</view>
-			</view>
-		</view>
-<!-- url="/promote/invite/invite" -->
-		<view class="box mlist" v-if="userInfos.userType!=1">
-			<button class="li ddflex"  open-type="share">
-				<image src="/static/images/yqhy.png" class="mico"></image>
-				<view class="fflex">推荐好友</view>
-				<image src="../../static/pages/images/more.png" class="rico"></image>
-			</button>
-		</view>
-		<view class="box mlist" v-else>
-			<navigator class="li ddflex" @click="toCard()" hover-class="none">
-				<image src="/static/images/wdmp.png" class="mico"></image>
-				<view class="fflex">我的名片</view>
-				<image src="../../static/pages/images/more.png" class="rico"></image>
-			</navigator>
-		</view>
-
-		<view class="box mlist">
-			<view class="li ddflex">
-				<view class="fflex">
-					<contact-button class-name="ddflex" img-url="/static/images/lxkf.png"
-						img-style='width: 49rpx;height: 49rpx;margin: 0 25rpx 0 0;' button-text="联系客服"
-						styles="line-height:initial;"></contact-button>
-				</view>
-				<image src="../../static/pages/images/more.png" class="rico"></image>
-			</view>
-			<navigator class="li ddflex" url="/mine/help/help" hover-class="none">
-				<image src="/static/images/bzzx.png" class="mico" mode="aspectFit"></image>
-				<view class="fflex">帮助中心</view>
-				<image src="../../static/pages/images/more.png" class="rico"></image>
-			</navigator>
-			<navigator class="li ddflex" url="/mine/feedback/feedback" hover-class="none">
-				<image src="/static/images/jyfk.png" class="mico"></image>
-				<view class="fflex">建议与反馈</view>
-				<image src="../../static/pages/images/more.png" class="rico"></image>
-			</navigator>
-			<navigator class="li ddflex" url="/pages/about/about" hover-class="none">
-				<image src="/static/images/gywm.png" class="mico"></image>
-				<view class="fflex">关于中国人寿</view>
-				<image src="../../static/pages/images/more.png" class="rico"></image>
-			</navigator>
-			<navigator class="li ddflex" url="/mine/set/set" hover-class="none">
-				<image src="/static/images/setting.png" class="mico"></image>
-				<view class="fflex">设置中心</view>
-				<image src="../../static/pages/images/more.png" class="rico"></image>
-			</navigator>
 		</view>
 		<!-- <footer-copyright></footer-copyright> -->
 		<view style="height: 80rpx;"></view>

+ 23 - 2
utils/request.js

@@ -2,7 +2,7 @@ const app = getApp();
 let WebIM = (wx.WebIM = require("../hxChatSDK/utils/WebIM")["default"]);
 
 const env = {
-	NODE_ENV: 'dev',
+	NODE_ENV: 'pota',
 	dev: {
 		apiUrl: 'https://rsapi.zhiqiyun.net'
 	},
@@ -121,6 +121,26 @@ const silenceLogin = (parentId, merchantId) => {
 }
 
 
+const getsysConfig = (upData)=>{
+	// upData true刷新缓存系统参数
+	return new Promise((r,j)=>{
+		if(upData){
+			getRequest('/api/other/config', {}, res => {
+				setStorage('configRes', JSON.stringify(res));
+				r(res)
+			});
+		}else{
+			if(getStorage('configRes')) r(JSON.parse(getStorage('configRes')))
+			else{
+				getRequest('/api/other/config', {}, res => {
+					setStorage('configRes', JSON.stringify(res));
+					r(res)
+				});
+			}
+		}
+	})
+}
+
 /**
  * 初始化 IMsdk
  */
@@ -1270,5 +1290,6 @@ module.exports = {
 	initIMChat: initIMChat,
 	getIMToken: getIMToken,
 	jumpConversation: jumpConversation,
-	jumpSingleChatRoom: jumpSingleChatRoom
+	jumpSingleChatRoom: jumpSingleChatRoom,
+	getsysConfig:getsysConfig
 }

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů