| | |
| | | <image :src="shop.imgurl||'/static/icon/default3.png'" mode="widthFix"></image> |
| | | </view> |
| | | <view class="user-left-info"> |
| | | <view class="user-left-info-title">{{shop.name||''}}</view> |
| | | <view class="user-left-info-title"> |
| | | <text>{{shop.name||''}}</text> |
| | | <view class="user-left-info-title-tips1" v-if="shopInfo.saleType == 1">自主采购</view> |
| | | <view class="user-left-info-title-tips2" v-if="shopInfo.saleType == 0">平台铺货</view> |
| | | </view> |
| | | <view class="user-left-info-val"> |
| | | <text>门店ID:{{shop.code}}</text> |
| | | <text>积分:{{(shop.integral||0).toFixed(0)}}</text> |
| | | <text>积分:{{(shop.integral||0).toFixed(0)}} <text style="color: #004096; margin-left: 10rpx;" @click="jumpShopIntegral">明细</text></text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <view :class="'data-a-left-item '+(active ==1?'active':'')" @click="changeActive(1)">本月</view> |
| | | <view :class="'data-a-left-item '+(active ==2?'active':'')" @click="changeActive(2)">上月</view> |
| | | </view> |
| | | <view class="data-a-to" @click="jumpShopIntegral"> |
| | | <view class="data-a-to" @click="jumpMX"> |
| | | <text>销售明细</text> |
| | | <image src="/static/icon/ic_ar2@2x.png" mode="widthFix"></image> |
| | | </view> |
| | |
| | | }) |
| | | }, |
| | | methods:{ |
| | | jumpMX() { |
| | | uni.navigateTo({ |
| | | url: '/pagesA/pages/virtual-account/virtual-account' |
| | | }) |
| | | }, |
| | | getBase64Img(path){ |
| | | var that =this |
| | | uni.getFileSystemManager().readFile({ |
| | |
| | | encoding: 'base64', |
| | | success: (res) => { |
| | | const base64Data = 'data:image/png;base64,' + res.data; // 拼接前缀,用于页面显示 |
| | | console.log('图片Base64编码:', base64Data); |
| | | // console.log('图片Base64编码:', base64Data); |
| | | // 可以将 base64Data 绑定到 data 中,用于页面展示 |
| | | that.backgroundImage = base64Data; |
| | | }, |
| | |
| | | flex-direction: column; |
| | | justify-content: space-between; |
| | | .user-left-info-title { |
| | | font-weight: 600; |
| | | font-size: 36rpx; |
| | | color: #111111; |
| | | display: flex; |
| | | align-items: center; |
| | | text { |
| | | width: calc(100vw - 192rpx - 116rpx - 12rpx); |
| | | white-space: nowrap; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | font-weight: 600; |
| | | font-size: 36rpx; |
| | | color: #111111; |
| | | } |
| | | .user-left-info-title-tips1 { |
| | | width: 116rpx; |
| | | height: 36rpx; |
| | | line-height: 36rpx; |
| | | text-align: center; |
| | | font-weight: 400; |
| | | font-size: 24rpx; |
| | | color: #FFFFFF; |
| | | background: linear-gradient( 319deg, #EE9D0E 0%, #FF4E4E 100%); |
| | | border-radius: 18rpx; |
| | | margin-left: 12rpx; |
| | | } |
| | | .user-left-info-title-tips2 { |
| | | width: 116rpx; |
| | | height: 36rpx; |
| | | line-height: 36rpx; |
| | | text-align: center; |
| | | font-weight: 400; |
| | | font-size: 24rpx; |
| | | color: #FFFFFF; |
| | | background: linear-gradient( 270deg, #00DDAD 0%, #00B775 100%); |
| | | border-radius: 18rpx; |
| | | margin-left: 12rpx; |
| | | } |
| | | } |
| | | .user-left-info-val { |
| | | width: 100%; |