| | |
| | | </image> |
| | | </view> |
| | | <view class="index_box_function"> |
| | | <view class="cXYC" v-for="(item, index) in functionList" :key="index" @click.stop="jump(item)"> |
| | | <view class="cXYC" :style="{ marginTop: item.id === 5 ? '30rpx' : '' }" v-for="(item, index) in functionList" :key="index" @click.stop="jump(item)"> |
| | | <button open-type="getPhoneNumber" @getphonenumber="getPhone" v-if="!userInfo.mobile"></button> |
| | | <image class="img80" :src="item.icon" mode="widthFix"></image> |
| | | <text class="f26 c3 mt10">{{item.name}}</text> |
| | |
| | | id: 4, |
| | | name: '消费明细', |
| | | icon: require('@/static/images/home_ic_mingxi@2x.png') |
| | | }, |
| | | { |
| | | id: 5, |
| | | name: '运营中心', |
| | | icon: require('@/static/icon/home_ic_mingxi.png') |
| | | }, |
| | | ], |
| | | |
| | |
| | | uni.navigateTo({ |
| | | url: '/pages/consumptionDetails/consumptionDetails' |
| | | }); |
| | | } else if (item.id === 5) { |
| | | if (!this.userInfo.sysuser) { |
| | | uni.navigateTo({ |
| | | url: '/pages/operationLogin/operationLogin' |
| | | }); |
| | | } else { |
| | | uni.navigateTo({ |
| | | url: '/pages/operationsCenter/operationsCenter' |
| | | }); |
| | | } |
| | | } else if (item.id === 2) { |
| | | if (!this.userInfo.mobile) return |
| | | if (this.info.rideStatus === 1) { |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | flex-wrap: wrap; |
| | | position: relative; |
| | | top: -24rpx; |
| | | text { |
| | | font-weight: 400; |
| | | } |
| | | .cXYC { |
| | | width: 23%; |
| | | position: relative; |
| | | button { |
| | | width: 100%; |