Commit 7610d294 by chenwq

样式修改

1 parent d09febe9
/* packageOutput/pages/summary/components/outputTransform/outputTransform.wxss */ /* packageOutput/pages/summary/components/outputTransform/outputTransform.wxss */
.layout { .layout {
margin: 20rpx;
.box {
position: relative;
width: 100%;
height: 100%;
background: #FFFFFF url("https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/summary-bg.png") bottom left no-repeat;
background-size: 100% 176rpx;
}
.content {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
}
.block { .block {
width: calc(100% / 3); width: calc(100% / 3);
...@@ -17,19 +29,29 @@ ...@@ -17,19 +29,29 @@
font-weight: 400; font-weight: 400;
margin-top: 8rpx; margin-top: 8rpx;
} }
z-index: 2;
} }
} }
.link { .link {
box-sizing: border-box;
display: inline-block; display: inline-block;
height: 36rpx; height: 68rpx;
line-height: 68rpx;
width: calc(100% - 64rpx);
font-size: 24rpx; font-size: 24rpx;
color: #5C7097; color: #5C7097;
margin: 180rpx 0 0 28rpx; text-align: right;
margin: 0 32rpx;
border-top: 1rpx dotted #CCCED1;
.link-btn {
box-sizing: border-box;
width: 100%;
}
.icon-link { .icon-link {
width: 20rpx; width: 20rpx;
height: 20rpx; height: 20rpx;
margin: -6rpx 8rpx 0 0;
vertical-align: middle; vertical-align: middle;
} }
} }
\ No newline at end of file \ No newline at end of file
<!-- packageOutput/pages/summary/components/outputTransform/outputTransform.wxml --> <!-- packageOutput/pages/summary/components/outputTransform/outputTransform.wxml -->
<view class="layout"> <view class="layout">
<view class="box">
<view class="content">
<view class="block" wx:for="{{formDataList}}" wx:key="index"> <view class="block" wx:for="{{formDataList}}" wx:key="index">
<view> <view>
<text wx:if="{{item.prefix}}">{{item.prefix}}</text> <text wx:if="{{item.prefix}}">{{item.prefix}}</text>
...@@ -8,15 +10,12 @@ ...@@ -8,15 +10,12 @@
</view> </view>
<view class="label">{{item.label}}</view> <view class="label">{{item.label}}</view>
</view> </view>
</view> </view>
<navigator <navigator version="trial" class="link" target="miniProgram" open-type="navigate" app-id="wx570d9331f9ace0bd" version="release">
version="trial" <view class="link-btn">
class="link"
target="miniProgram"
open-type="navigate"
app-id="wx570d9331f9ace0bd"
version="release">
<image class="icon-link" src="{{IMGURL}}output/icon-link.png?v={{img_version}}" /> <image class="icon-link" src="{{IMGURL}}output/icon-link.png?v={{img_version}}" />
查看订单详情 查看订单详情
</navigator> </view>
</navigator>
</view>
</view>
\ No newline at end of file \ No newline at end of file
<!-- packageOutput/pages/summary/summary.wxml --> <!-- packageOutput/pages/summary/summary.wxml -->
<view class="summary"> <view class="summary">
<view class="layout {{ (sceneActive == 4 && activityList[activityActive].productStatus == 2) ? 'bg-grey' : 'bg-white'}}"> <view class="layout {{ (sceneActive != 1 && activityList[activityActive].productStatus == 2) ? 'bg-grey' : 'bg-white'}}">
<view class="{{ (sceneActive == 4 && activityList[activityActive].productStatus == 2) ? 'bg-white' : 'p-rl-20'}}"> <view class="{{ (sceneActive != 1 && activityList[activityActive].productStatus == 2) ? 'bg-white' : 'p-rl-20'}}">
<view class="{{ (sceneActive == 4 && activityList[activityActive].productStatus == 2) ? 'm-rl-20' : ''}}"> <view class="{{ (sceneActive != 1 && activityList[activityActive].productStatus == 2) ? 'm-rl-20' : ''}}">
<view class="title bg-white ">选产品/活动</view> <view class="title bg-white ">选产品/活动</view>
<view class="scene-box bg-white"> <view class="scene-box bg-white">
<scene-box <scene-box
...@@ -34,9 +34,9 @@ ...@@ -34,9 +34,9 @@
</scroll-view> </scroll-view>
</view> </view>
<!-- 活动内容 --> <!-- 活动内容 -->
<view class="activity-content {{ (sceneActive == 4 && activityList[activityActive].productStatus == 2) ? '' : 'p-rl-20'}}"> <view class="activity-content {{ (sceneActive != 1 && activityList[activityActive].productStatus == 2) ? '' : 'p-rl-20'}}">
<view wx:if="{{activityList[activityActive].productStatus == 2 && sceneActive != 1}}"> <view wx:if="{{activityList[activityActive].productStatus == 2 && sceneActive != 1}}">
<view class="activity-title title bg-white p-l-20 {{ sceneActive == 4 ? 'no-border' : ''}}"> <view class="activity-title title bg-white p-l-20 no-border">
<view>看产值</view> <view>看产值</view>
<view class="select" bindtap="handleSearch"> <view class="select" bindtap="handleSearch">
<view wx:if="{{sceneActive == 2 || sceneActive == 3}}" class="select-txt"> <view wx:if="{{sceneActive == 2 || sceneActive == 3}}" class="select-txt">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!