|
|
@@ -194,7 +194,10 @@
|
|
|
<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>
|
|
|
+ @click="changeFxTab(index)">
|
|
|
+ <view class="fx-dot" v-if="item.addToday>0 && !getReadFindCode()[item.code]"></view>
|
|
|
+ {{item.name}}
|
|
|
+ </view>
|
|
|
</scroll-view>
|
|
|
</view>
|
|
|
<view class="fx-bar">
|
|
|
@@ -748,6 +751,29 @@
|
|
|
if (this.fxIndex == index) return false;
|
|
|
this.fxIndex = index
|
|
|
this.getFxContenteList(this.fxList[this.fxIndex].code)
|
|
|
+
|
|
|
+
|
|
|
+ if(this.fxList[this.fxIndex].addToday>0){
|
|
|
+ let s = req.getStorage('readFindCode')
|
|
|
+ let readObj = {
|
|
|
+ date:utils.formatTime(new Date()).t2,
|
|
|
+ readCode:(s && s.date == utils.formatTime(new Date()).t2)?s.readCode:{}
|
|
|
+ }
|
|
|
+ if(readObj.readCode[this.fxList[this.fxIndex].code]){
|
|
|
+
|
|
|
+ }else{
|
|
|
+ readObj.readCode[this.fxList[this.fxIndex].code] = true
|
|
|
+ }
|
|
|
+ req.setStorage('readFindCode',readObj)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ getReadFindCode(){
|
|
|
+ let s = req.getStorage('readFindCode')
|
|
|
+ if(s && s.date == utils.formatTime(new Date()).t2){
|
|
|
+ return req.getStorage('readFindCode').readCode
|
|
|
+ }else{
|
|
|
+ return {}
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
async getRqeDatas() {
|