|
@@ -13,12 +13,18 @@
|
|
<!-- #endif -->
|
|
<!-- #endif -->
|
|
|
|
|
|
<!-- #ifdef APP-PLUS -->
|
|
<!-- #ifdef APP-PLUS -->
|
|
- <u-navbar :is-back="false" title="消息" :background="{ background: '#F6F7F8' }" title-color="#404133" :border-bottom="false" z-index="1001">
|
|
|
|
|
|
+ <u-navbar :is-back="false" title="粮信" :background="{ background: '#F6F7F8' }" title-color="#404133" :border-bottom="false" z-index="1001">
|
|
|
|
+ <view class="slot-wrap">
|
|
|
|
+ <text class = 'tip_text cuIcon-back' @click='back' ></text>
|
|
|
|
+ </view>
|
|
|
|
+ </u-navbar>
|
|
|
|
+ <!-- #endif -->
|
|
|
|
+ <!-- #ifdef H5 -->
|
|
|
|
+ <u-navbar :is-back="false" title="粮信" :background="{ background: '#F6F7F8' }" title-color="#404133" :border-bottom="false" z-index="1001">
|
|
<view class="slot-wrap">
|
|
<view class="slot-wrap">
|
|
<text class = 'tip_text cuIcon-back' @click='back' ></text>
|
|
<text class = 'tip_text cuIcon-back' @click='back' ></text>
|
|
</view>
|
|
</view>
|
|
</u-navbar>
|
|
</u-navbar>
|
|
-
|
|
|
|
<!-- #endif -->
|
|
<!-- #endif -->
|
|
<!-- <selectInput :list="selectList" :list-key="'name'" :show.sync="selectShow" @on-select="checkSelect" @close="closeSelect" /> -->
|
|
<!-- <selectInput :list="selectList" :list-key="'name'" :show.sync="selectShow" @on-select="checkSelect" @close="closeSelect" /> -->
|
|
<searchInput :searchType="1"/>
|
|
<searchInput :searchType="1"/>
|
|
@@ -35,7 +41,14 @@
|
|
</u-navbar>
|
|
</u-navbar>
|
|
<!-- #endif -->
|
|
<!-- #endif -->
|
|
<!-- #ifdef APP-PLUS -->
|
|
<!-- #ifdef APP-PLUS -->
|
|
- <u-navbar :is-back="false" title="通讯录" :background="{ background: '#F6F7F8' }" title-color="#404133" :border-bottom="false" z-index="1001">
|
|
|
|
|
|
+ <u-navbar :is-back="false" title="粮信" :background="{ background: '#F6F7F8' }" title-color="#404133" :border-bottom="false" z-index="1001">
|
|
|
|
+ <view class="slot-wrap">
|
|
|
|
+ <text class = 'tip_text cuIcon-back' @click='back'></text>
|
|
|
|
+ </view>
|
|
|
|
+ </u-navbar>
|
|
|
|
+ <!-- #endif -->
|
|
|
|
+ <!-- #ifdef H5 -->
|
|
|
|
+ <u-navbar :is-back="false" title="粮信" :background="{ background: '#F6F7F8' }" title-color="#404133" :border-bottom="false" z-index="1001">
|
|
<view class="slot-wrap">
|
|
<view class="slot-wrap">
|
|
<text class = 'tip_text cuIcon-back' @click='back'></text>
|
|
<text class = 'tip_text cuIcon-back' @click='back'></text>
|
|
</view>
|
|
</view>
|
|
@@ -53,7 +66,14 @@
|
|
</u-navbar>
|
|
</u-navbar>
|
|
<!-- #endif -->
|
|
<!-- #endif -->
|
|
<!-- #ifdef APP-PLUS -->
|
|
<!-- #ifdef APP-PLUS -->
|
|
- <u-navbar :is-back="false" title="发现" :background="{ background: '#F6F7F8' }" title-color="#404133" :border-bottom="false" z-index="1001">
|
|
|
|
|
|
+ <u-navbar :is-back="false" title="粮信" :background="{ background: '#F6F7F8' }" title-color="#404133" :border-bottom="false" z-index="1001">
|
|
|
|
+ <view class="slot-wrap">
|
|
|
|
+ <text class = 'tip_text cuIcon-back' @click='back' ></text>
|
|
|
|
+ </view>
|
|
|
|
+ </u-navbar>
|
|
|
|
+ <!-- #endif -->
|
|
|
|
+ <!-- #ifdef H5 -->
|
|
|
|
+ <u-navbar :is-back="false" title="粮信" :background="{ background: '#F6F7F8' }" title-color="#404133" :border-bottom="false" z-index="1001">
|
|
<view class="slot-wrap">
|
|
<view class="slot-wrap">
|
|
<text class = 'tip_text cuIcon-back' @click='back' ></text>
|
|
<text class = 'tip_text cuIcon-back' @click='back' ></text>
|
|
</view>
|
|
</view>
|
|
@@ -65,7 +85,7 @@
|
|
</u-cell-item>
|
|
</u-cell-item>
|
|
</u-cell-group>
|
|
</u-cell-group>
|
|
<view style="height: 10rpx;"></view>
|
|
<view style="height: 10rpx;"></view>
|
|
- <u-cell-group>
|
|
|
|
|
|
+ <!-- <u-cell-group>
|
|
<u-cell-item title="扫一扫" :title-style="{marginLeft:'30rpx',fontWeight:'800'}" @tap="linkToScan">
|
|
<u-cell-item title="扫一扫" :title-style="{marginLeft:'30rpx',fontWeight:'800'}" @tap="linkToScan">
|
|
<u-icon slot="icon" name="scan" color="#409eff" size="40"></u-icon>
|
|
<u-icon slot="icon" name="scan" color="#409eff" size="40"></u-icon>
|
|
</u-cell-item>
|
|
</u-cell-item>
|
|
@@ -78,56 +98,7 @@
|
|
</u-cell-item>
|
|
</u-cell-item>
|
|
</u-cell-group>
|
|
</u-cell-group>
|
|
<view v-if="index!=linkItem.length" class="" style="height: 10rpx;"></view>
|
|
<view v-if="index!=linkItem.length" class="" style="height: 10rpx;"></view>
|
|
- </view>
|
|
|
|
- </block>
|
|
|
|
- <block v-if='PageCur=="my"'>
|
|
|
|
- <!-- #ifdef MP-WEIXIN -->
|
|
|
|
- <u-navbar :is-back="false" title=" " :border-bottom="false">
|
|
|
|
- <view class="slot-wrap">
|
|
|
|
- <text class = 'tip_text cuIcon-back' @click='back' ></text>
|
|
|
|
- </view>
|
|
|
|
- <view class="u-flex u-row-right" style="width: 100%;">
|
|
|
|
- <view class="camera u-flex u-row-center">
|
|
|
|
- <u-icon @tap="linkToMoment" name="camera-fill" color="#000000" size="48"></u-icon>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </u-navbar>
|
|
|
|
- <!-- #endif -->
|
|
|
|
- <!-- #ifdef APP-PLUS -->
|
|
|
|
- <u-navbar :is-back="false" title=" " :border-bottom="false">
|
|
|
|
- <view class="slot-wrap">
|
|
|
|
- <text class = 'tip_text cuIcon-back' @click='back' ></text>
|
|
|
|
- </view>
|
|
|
|
- </u-navbar>
|
|
|
|
- <!-- #endif -->
|
|
|
|
- <view class="u-flex user-box u-p-l-30 u-p-r-20 u-p-b-30" @tap="linkToPerson">
|
|
|
|
- <view class="u-m-r-10">
|
|
|
|
- <u-avatar mode="square" :src="userData.user.avatar" size="140"></u-avatar>
|
|
|
|
- </view>
|
|
|
|
- <view class="u-flex-1">
|
|
|
|
- <view class="u-font-18 u-p-b-20">{{userData.user.realname}}</view>
|
|
|
|
- <view class="u-font-14 u-tips-color">积分: {{userData.user.money}}</view>
|
|
|
|
- </view>
|
|
|
|
- <view class="u-m-l-10 u-p-10">
|
|
|
|
- <u-icon name="arrow-right" color="#969799" size="28"></u-icon>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
-
|
|
|
|
- <view class="u-m-t-20">
|
|
|
|
- <u-cell-group>
|
|
|
|
- <u-cell-item @tap="linkTomy(index)" v-for="(item, index) in groupList" :key="index" :title="item.title" :title-style="{ marginLeft: '30rpx' ,fontWeight:'800'}">
|
|
|
|
- <u-icon slot="icon" :name="item.icon" :color="item.color" size="40"></u-icon>
|
|
|
|
- </u-cell-item>
|
|
|
|
- </u-cell-group>
|
|
|
|
- </view>
|
|
|
|
-
|
|
|
|
- <view class="u-m-t-20">
|
|
|
|
- <u-cell-group>
|
|
|
|
- <u-cell-item @click="linkToSetting" title="设置" :title-style="{ marginLeft: '30rpx' ,fontWeight:'800'}">
|
|
|
|
- <u-icon slot="icon" name="setting" color="#409eff" size="40"></u-icon>
|
|
|
|
- </u-cell-item>
|
|
|
|
- </u-cell-group>
|
|
|
|
- </view>
|
|
|
|
|
|
+ </view> -->
|
|
</block>
|
|
</block>
|
|
<view class="cu-bar tabbar bg-white shadow foot">
|
|
<view class="cu-bar tabbar bg-white shadow foot">
|
|
<view :class="PageCur=='msg'?'action text-pink':'action text-gray'" @click="tabClick" data-cur="msg">
|
|
<view :class="PageCur=='msg'?'action text-pink':'action text-gray'" @click="tabClick" data-cur="msg">
|
|
@@ -139,9 +110,6 @@
|
|
<view :class="PageCur=='find'?'action text-pink':'action text-gray'" @click="tabClick" data-cur="find">
|
|
<view :class="PageCur=='find'?'action text-pink':'action text-gray'" @click="tabClick" data-cur="find">
|
|
<view :class="PageCur=='find'?'cuIcon-friendfill':'cuIcon-friendfill'"></view> 发现
|
|
<view :class="PageCur=='find'?'cuIcon-friendfill':'cuIcon-friendfill'"></view> 发现
|
|
</view>
|
|
</view>
|
|
- <view :class="PageCur=='my'?'action text-pink':'action text-gray'" @click="tabClick" data-cur="my">
|
|
|
|
- <view :class="PageCur=='my'?'cuIcon-people':'cuIcon-people'"></view> 我的
|
|
|
|
- </view>
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
@@ -224,8 +192,14 @@ export default {
|
|
computed: {
|
|
computed: {
|
|
...mapState(['hasLogin', 'userInfo'])
|
|
...mapState(['hasLogin', 'userInfo'])
|
|
},
|
|
},
|
|
|
|
+ onReady() {
|
|
|
|
+ uni.setNavigationBarTitle({
|
|
|
|
+ title: '新的标题'
|
|
|
|
+ });
|
|
|
|
+ },
|
|
onShow() {
|
|
onShow() {
|
|
uni.hideTabBar()
|
|
uni.hideTabBar()
|
|
|
|
+
|
|
this.userInfo = uni.getStorageSync("userInfo")
|
|
this.userInfo = uni.getStorageSync("userInfo")
|
|
console.log(this.userData.user.realname,this.userInfo.nickname)
|
|
console.log(this.userData.user.realname,this.userInfo.nickname)
|
|
// if(this.userData.user.realname == this.userInfo.nickname){
|
|
// if(this.userData.user.realname == this.userInfo.nickname){
|