Commit 61e7845c by chenwq

金额格式化,头像

1 parent 58770778
<!-- pages/tab/output/components/sceneBox/sceneBox.wxml --> <!-- pages/tab/output/components/sceneBox/sceneBox.wxml -->
<wxs src="/pages/tab/output/index.wxs" module="filter" />
<view class="flex scene"> <view class="flex scene">
<view class="scene-item {{ (formData['scene' + (index + 1)] && hasOpenIcon) ? 'open' : ''}} {{ (sceneActive != -1 && sceneActive == index + 1) ? 'active' : ''}}" wx:for="{{custSceneList}}" wx:key="index" bindtap="handleClick" data-idx="{{index + 1}}"> <view class="scene-item {{ (formData['scene' + (index + 1)] && hasOpenIcon) ? 'open' : ''}} {{ (sceneActive != -1 && sceneActive == index + 1) ? 'active' : ''}}" wx:for="{{custSceneList}}" wx:key="index" bindtap="handleClick" data-idx="{{index + 1}}">
<view wx:if="{{hasOpenIcon && formData['scene' + (index + 1)]}}" class="open-icon"> <view wx:if="{{hasOpenIcon && formData['scene' + (index + 1)]}}" class="open-icon">
...@@ -14,7 +15,7 @@ ...@@ -14,7 +15,7 @@
</view> </view>
<view>{{item.subTitle}}</view> <view>{{item.subTitle}}</view>
<view class="total-price" wx:if="{{scenePriceList.length}}"> <view class="total-price" wx:if="{{scenePriceList.length}}">
¥ {{scenePriceList[index].total}} ¥ {{filter.money_three_for_two_thousands(scenePriceList[index].total || 0.00)}}
</view> </view>
</view> </view>
</view> </view>
\ No newline at end of file \ No newline at end of file
...@@ -176,9 +176,24 @@ ...@@ -176,9 +176,24 @@
} }
.rank-head { .rank-head {
position: relative;
width: 64rpx; width: 64rpx;
height: 64rpx; height: 64rpx;
margin-right: 12rpx; margin-right: 12rpx;
.icon-wechat {
position: absolute;
bottom: -4rpx;
right: -4rpx;
width: 40rpx;
height: 40rpx;
}
image {
width: 100%;
height: 100%;
border-radius: 50%;
}
} }
.rank-content { .rank-content {
......
...@@ -38,7 +38,11 @@ ...@@ -38,7 +38,11 @@
<view class="rank"> <view class="rank">
<view class="rank-left"> <view class="rank-left">
<view class="rank-num">{{idx + 1}}</view> <view class="rank-num">{{idx + 1}}</view>
<glsx-image class="rank-head" src="output/icon-head.webp"></glsx-image> <view class="rank-head">
<!-- <glsx-image class="icon-wechat" src="output/icon-wechat.webp"></glsx-image> -->
<image wx:if="{{subItem.imageUrl}}" src="{{subItem.imageUrl}}"></image>
<glsx-image wx:else src="output/icon-head.webp"></glsx-image>
</view>
<view class="rank-content"> <view class="rank-content">
<view class="rank-row"> <view class="rank-row">
<text wx:if="{{subItem.goodUrl}}" class="rank-row-name" bindtap="handleXiReport" data-item="{{subItem}}">{{subItem.shareName}}</text> <text wx:if="{{subItem.goodUrl}}" class="rank-row-name" bindtap="handleXiReport" data-item="{{subItem}}">{{subItem.shareName}}</text>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!