Commit 5fa3d3db by 杨明

样式

1 parent 7ad51099
images/ok.png

905 Bytes

...@@ -85,6 +85,7 @@ const loginSuccess = () => { ...@@ -85,6 +85,7 @@ const loginSuccess = () => {
targetPath targetPath
} }
} = wx.$router.getPageInstance() } = wx.$router.getPageInstance()
wx.setStorageSync('first_enter', true)
if (targetPath) { if (targetPath) {
const { const {
url, url,
......
...@@ -233,6 +233,7 @@ Component({ ...@@ -233,6 +233,7 @@ Component({
} }
return result return result
}) })
console.log(sfaffList,'sfaffList')
this.setData({ this.setData({
sfaff: sfaffList sfaff: sfaffList
}) })
......
.box { .box {
margin: 20rpx; margin: 20rpx;
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0 2rpx 20rpx 0 #b4bacc52; box-shadow: 0 2rpx 20rpx 0 #b4bacc52;
border-radius: 20rpx; border-radius: 20rpx;
padding: 32rpx 40rpx; padding: 32rpx 40rpx;
.box-title { .box-title {
font-weight: 600; font-weight: 600;
font-size: 32rpx; font-size: 32rpx;
color: #1B233D; color: #1B233D;
line-height: 48rpx; line-height: 48rpx;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.select-up { .select-up {
font-weight: 400; font-weight: 400;
font-size: 24rpx; font-size: 24rpx;
color: #666666; color: #666666;
position: relative; position: relative;
text-align: center; text-align: center;
.staff-type { .staff-type {
width: 128rpx; width: 160rpx;
text { text {
display: inline-block; display: inline-block;
width: 100rpx; width: 120rpx;
text-align: right;
}
.up-icon {
width: 32rpx;
height: 32rpx;
vertical-align: middle;
}
}
.up-box {
position: absolute;
width: 128rpx;
left: 20rpx;
background: #FFFFFF;
box-shadow: 0 0 18rpx 0 #3a596a1c;
border-radius: 8rpx;
z-index: 10;
.up-item {
flex: auto;
font-weight: 400;
font-size: 22rpx;
color: #666666;
line-height: 53rpx;
&.checked {
color: #708CFF;
}
}
}
} }
}
.up-icon { .staff-input {
width: 14rpx; // width: 638rpx;
height: 8rpx; // height: 64rpx;
vertical-align: middle; // background: #ffffff7d;
} // border: 2rpx solid #EEEEEE;
} // border-radius: 12rpx;
// margin: 40rpx auto 20rpx;
.up-box { // display: flex;
position: absolute; // justify-content: space-between;
width: 128rpx; // align-items: center;
background: #FFFFFF; // padding: 0rpx 20rpx;
box-shadow: 0 0 18rpx 0 #3a596a1c; box-sizing: border-box;
border-radius: 8rpx; // width: 686rpx;
z-index: 10; width: 100%;
height: 64rpx;
.up-item { // margin-top: 28rpx;
flex: auto; // background: #ffffff7d;
font-weight: 400; // border-radius: 12rpx;
font-size: 22rpx; background: #F8F9FC;
color: #666666; border: 2rpx solid #EEEEEE;
line-height: 53rpx; border-radius: 32rpx;
margin: 28rpx auto 24rpx;
&.checked { display: flex;
color: #708CFF; justify-content: space-between;
} align-items: center;
padding: 0rpx 24rpx 0rpx 24rpx;
input {
// height: 64rpx;
// line-height: 64rpx;
// color: #999999;
// flex: 1;
flex: 1;
height: 64rpx;
line-height: 64rpx;
margin-left: 15rpx;
} }
}
} }
}
.staff-input {
// width: 638rpx;
// height: 64rpx;
// background: #ffffff7d;
// border: 2rpx solid #EEEEEE;
// border-radius: 12rpx;
// margin: 40rpx auto 20rpx;
// display: flex;
// justify-content: space-between;
// align-items: center;
// padding: 0rpx 20rpx;
box-sizing: border-box;
// width: 686rpx;
width: 100%;
height: 64rpx;
// margin-top: 28rpx;
// background: #ffffff7d;
// border-radius: 12rpx;
background: #F8F9FC;
border: 2rpx solid #EEEEEE;
border-radius: 32rpx;
margin: 28rpx auto 24rpx;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0rpx 24rpx 0rpx 24rpx;
input {
// height: 64rpx;
// line-height: 64rpx;
// color: #999999;
// flex: 1;
flex: 1;
height: 64rpx;
line-height: 64rpx;
margin-left: 15rpx;
}
}
} }
.table { .table {
display: flex; display: flex;
} }
.table_left_column { .table_left_column {
min-width: 150rpx; min-width: 150rpx;
height: auto; height: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.left_col_item { .left_col_item {
width: 100%; width: 100%;
height: 63rpx; height: 63rpx;
font-size: 20rpx; font-size: 20rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center;
text-align: center;
color: #1B233D;
// background: #F9F9F9;
background: #F5F9FE;
&:first-child {
font-weight: 600;
font-size: 24rpx;
color: #1B233D; color: #1B233D;
} // background: #F9F9F9;
background: #F5F9FE;
&:first-child {
font-weight: 600;
font-size: 24rpx;
color: #1B233D;
}
&:nth-child(2n) { &:not(:first-child) {
background: #ffffff; // border-right: 2rpx solid #F3F3F3;
} }
&:nth-child(2n) {
background: #ffffff;
}
.left_item_avatar {
flex: 1;
margin-left: 20rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #666666;
image {
width: 36rpx;
height: 36rpx;
border-radius: 36rpx;
margin-right: 10rpx;
}
}
} }
.table_right_scroll_box { .table_right_scroll_box {
display: flex; display: flex;
white-space: nowrap; white-space: nowrap;
overflow-x: scroll; overflow-x: scroll;
} }
.flex_direction_column_item { .flex_direction_column_item {
min-width: 200rpx; min-width: 200rpx;
display: inline-block; display: inline-block;
/* border: 1px solid #000; */ /* border: 1px solid #000; */
} }
.item_name { .item_name {
min-width: 200rpx; min-width: 200rpx;
height: 63rpx; height: 63rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 20rpx; font-size: 20rpx;
color: #1B233D;
// background: #F9F9F9;
background: #F5F9FE;
white-space: normal;
image {
width: 36rpx;
height: 36rpx;
border-radius: 36rpx;
margin-right: 10rpx;
}
&:first-child {
font-weight: 600;
font-size: 24rpx;
color: #1B233D; color: #1B233D;
} // background: #F9F9F9;
background: #F5F9FE;
white-space: normal;
image {
width: 36rpx;
height: 36rpx;
border-radius: 36rpx;
margin-right: 10rpx;
}
&:first-child {
font-weight: 600;
font-size: 24rpx;
color: #1B233D;
}
&:nth-child(2n) { &:nth-child(2n) {
background: #ffffff; background: #ffffff;
} }
} }
.empty { .empty {
margin: 20rpx auto 0; margin: 20rpx auto 0;
text-align: center; text-align: center;
.empty-icon { .empty-icon {
width: 400rpx; width: 400rpx;
height: 400rpx; height: 400rpx;
display: inline-block; display: inline-block;
} }
.empty-text { .empty-text {
font-weight: 400; font-weight: 400;
font-size: 28rpx; font-size: 28rpx;
color: #7A8299; color: #7A8299;
text-align: center; text-align: center;
margin: 32rpx 106rpx; margin: 32rpx 106rpx;
} }
} }
\ No newline at end of file \ No newline at end of file
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<view class="select-up"> <view class="select-up">
<view catchtap="showUp" class="staff-type"> <view catchtap="showUp" class="staff-type">
<text>{{dataType[downType][selectValue-1].label}}</text> <text>{{dataType[downType][selectValue-1].label}}</text>
<glsx-image webp custom-class="up-icon" src="store-assistant-assemble/output/arrow.png"></glsx-image> <glsx-image webp custom-class="up-icon" src="store-assistant-assemble/output/down.png"></glsx-image>
</view> </view>
<view class="up-box" hidden="{{show}}"> <view class="up-box" hidden="{{show}}">
<view class="up-item {{selectValue == item.value? 'checked':''}}" wx:for="{{dataType[downType]}}" wx:key="index" data-label="{{item.label}}" data-value="{{item.value}}" catchtap="selectType"> <view class="up-item {{selectValue == item.value? 'checked':''}}" wx:for="{{dataType[downType]}}" wx:key="index" data-label="{{item.label}}" data-value="{{item.value}}" catchtap="selectType">
...@@ -24,17 +24,23 @@ ...@@ -24,17 +24,23 @@
<!-- 左侧固定 --> <!-- 左侧固定 -->
<view class='table_left_column'> <view class='table_left_column'>
<view class='left_col_item'>排名</view> <view class='left_col_item'>排名</view>
<view class='left_col_item' wx:for="{{sfaff[0].list}}" wx:for-index="index" wx:key="index">{{index+1}}</view> <view class='left_col_item' wx:for="{{sfaff[0].list}}" wx:for-index="index" wx:key="index">
<text>{{index+1}}</text>
<view class="left_item_avatar">
<image wx:if="{{item.avatarUrl}}" src="{{ item.avatarUrl}}" mode="scaleToFill"></image>
<text>{{item.transferName?item.transferName:'--'}}</text>
</view>
</view>
</view> </view>
<!-- 右侧表格滚动 --> <!-- 右侧表格滚动 -->
<view class="table_right_scroll_box"> <view class="table_right_scroll_box">
<view class="flex_direction_column_item" wx:for="{{sfaff}}" wx:for-index="index" wx:key="index"> <view class="flex_direction_column_item" wx:for="{{filter.sliceArr(sfaff,1)}}" wx:for-index="index" wx:key="index">
<view class='item_name'>{{item.name}}</view> <view class='item_name'>{{item.name}}</view>
<view wx:for="{{item.list}}" wx:for-item="litem" wx:for-index="lindex" wx:key="lindex" class='item_name item_desc'> <view wx:for="{{item.list}}" wx:for-item="litem" wx:for-index="lindex" wx:key="lindex" class='item_name item_desc'>
<image wx:if="{{item.name == '员工'&& litem.avatarUrl}}" src="{{ litem.avatarUrl? litem.avatarUrl:''}}" mode="scaleToFill"></image> <!-- <image wx:if="{{item.name == '员工'&& litem.avatarUrl}}" src="{{ litem.avatarUrl? litem.avatarUrl:''}}" mode="scaleToFill"></image> -->
<text> <text>
<block wx:if="{{item.name == '转化率'}}">{{litem?litem+'%': '--'}}</block> <block wx:if="{{item.name == '转化率'}}">{{litem?litem+'%': '--'}}</block>
<block wx:elif="{{item.name == '员工'}}">{{litem.transferName?litem.transferName:'--'}}</block> <!-- <block wx:elif="{{item.name == '员工'}}">{{litem.transferName?litem.transferName:'--'}}</block> -->
<block wx:else>{{filter.thousand(litem)||'--'}}</block> <block wx:else>{{filter.thousand(litem)||'--'}}</block>
</text> </text>
</view> </view>
......
...@@ -4,4 +4,7 @@ function thousand(n) { ...@@ -4,4 +4,7 @@ function thousand(n) {
var p = (n+'').replace(r, ',') var p = (n+'').replace(r, ',')
return p return p
} }
module.exports = {thousand:thousand}
\ No newline at end of file \ No newline at end of file
function sliceArr(arr,n) {
return arr.slice(n)
}
module.exports = {thousand:thousand,sliceArr:sliceArr}
\ No newline at end of file \ No newline at end of file
...@@ -19,7 +19,11 @@ ...@@ -19,7 +19,11 @@
.search-text+.search-text { .search-text+.search-text {
margin-left: 40rpx; margin-left: 40rpx;
} }
.search-unit {
margin-left: auto;
font-size: 24rpx;
color: #8A8C90;
}
.active { .active {
font-weight: 600; font-weight: 600;
font-size: 32rpx; font-size: 32rpx;
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<view class="searchList"> <view class="searchList">
<block wx:for="{{opts.barList}}" wx:for-item="item" wx:key="index"> <block wx:for="{{opts.barList}}" wx:for-item="item" wx:key="index">
<view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view></block> <view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view></block>
<view class="search-unit">单位:{{opts.barList.length == 3?'元':'张'}}</view>
</view> </view>
<view class="container"> <view class="container">
......
.bar-wrap { .bar-wrap {
padding: 34rpx 30rpx 30rpx 40rpx; padding: 34rpx 30rpx 30rpx 40rpx;
box-sizing: border-box; box-sizing: border-box;
.searchList { .searchList {
display: flex; display: flex;
align-items: center; align-items: center;
.search-text { .search-text {
font-weight: 400; font-weight: 400;
font-size: 28rpx; font-size: 28rpx;
color: #A6A6A6; color: #A6A6A6;
line-height: 48rpx; line-height: 48rpx;
} }
.search-text+.search-text { .search-text+.search-text {
margin-left: 40rpx; margin-left: 40rpx;
} }
.active { .search-unit {
font-weight: 600; margin-left: auto;
font-size: 32rpx; font-size: 24rpx;
color: #1B233D; color: #8A8C90;
}
.active {
font-weight: 600;
font-size: 32rpx;
color: #1B233D;
}
} }
}
.searchTime { .searchTime {
margin-top: 24rpx; margin-top: 24rpx;
display: flex; display: flex;
align-items: center; align-items: center;
z-index: 9999; z-index: 9999;
margin-bottom: 20rpx; margin-bottom: 20rpx;
position: relative; position: relative;
.time { .time {
padding: 6rpx 30rpx; padding: 6rpx 30rpx;
// border: 2rpx solid #EBEBEB; // border: 2rpx solid #EBEBEB;
// border-radius: 32rpx; // border-radius: 32rpx;
background: #FFFFFF; background: #FFFFFF;
border: 1rpx solid #C3C3C3; border: 1rpx solid #C3C3C3;
border-radius: 6rpx; border-radius: 6rpx;
font-weight: 400; font-weight: 400;
font-size: 20rpx; font-size: 20rpx;
color: #5A6066; color: #5A6066;
// color: #A6A6A6; // color: #A6A6A6;
} }
.active { .active {
// background: #4466f01a; // background: #4466f01a;
border-color: #fff; border-color: #fff;
// color: #4466F0; // color: #4466F0;
color: #fff; color: #fff;
background: #3582EE; background: #3582EE;
border: 1prx solid #3582EE; border: 1prx solid #3582EE;
} }
.time+.time { .time+.time {
margin-left: 8rpx; margin-left: 8rpx;
} }
.flex { .flex {
display: flex; display: flex;
align-items: center; align-items: center;
position: absolute; position: absolute;
right: 30rpx; right: 30rpx;
.time-icon { .time-icon {
width: 26rpx; width: 26rpx;
height: 26rpx; height: 26rpx;
} }
.temporal { .temporal {
font-size: 22rpx; font-size: 22rpx;
color: #A6A6A6; color: #A6A6A6;
margin: 0 8rpx; margin: 0 8rpx;
} }
.arrows { .arrows {
width: 20rpx; width: 20rpx;
height: 12rpx; height: 12rpx;
} }
}
} }
}
.remind { .remind {
color: #D3D3D3; color: #D3D3D3;
font-size: 20rpx; font-size: 20rpx;
text-align: center; text-align: center;
margin-top: 10rpx; margin-top: 10rpx;
} }
.container { .container {
height: 370rpx; height: 370rpx;
} }
} }
\ No newline at end of file \ No newline at end of file
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<view class="searchList"> <view class="searchList">
<block wx:for="{{opts.lineList}}" wx:for-item="item" wx:key="index"> <block wx:for="{{opts.lineList}}" wx:for-item="item" wx:key="index">
<view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view></block> <view class="search-text {{dataType==item.type?'active':''}}" data-condition="dataType" data-type="{{item.type}}" bindtap="selectCondition">{{item.title}}</view></block>
<view class="search-unit">单位:元</view>
</view> </view>
<view class="searchTime"> <view class="searchTime">
<block wx:for="{{dimension}}" wx:for-item="item" wx:key="index"> <block wx:for="{{dimension}}" wx:for-item="item" wx:key="index">
......
...@@ -41,7 +41,7 @@ Component({ ...@@ -41,7 +41,7 @@ Component({
{ {
label: '当月报价(单)', label: '当月报价(单)',
name: 'monthQuotationCount', name: 'monthQuotationCount',
_unit: '¥', _unit: '',
iconUrl:'store-assistant-assemble/output/icon02.png' iconUrl:'store-assistant-assemble/output/icon02.png'
}, { }, {
label: '当月成交(单)', label: '当月成交(单)',
...@@ -127,7 +127,7 @@ Component({ ...@@ -127,7 +127,7 @@ Component({
}, { }, {
label: '单日产值(元)', label: '单日产值(元)',
name: 'outputValue', name: 'outputValue',
unit: '', unit: '¥',
iconUrl:'store-assistant-assemble/output/icon05.png' iconUrl:'store-assistant-assemble/output/icon05.png'
}], }],
}, },
......
...@@ -43,20 +43,17 @@ ...@@ -43,20 +43,17 @@
.number { .number {
font-family: numberBold; font-family: numberBold;
// font-weight: 600; // font-weight: 600;
font-size: 48rpx; font-size: 36rpx;
color: #2D2D33; color: #2D2D33;
} }
} }
.item+.item {
width: 40%;
}
.otherItem{ .otherItem{
width: 40%; width: 32%;
} }
.otherItem+ .otherItem{ .otherItem:last-child{
width: 30%; width: 36%;
} }
} }
...@@ -91,7 +88,7 @@ ...@@ -91,7 +88,7 @@
.output-num { .output-num {
font-weight: 700; font-weight: 700;
font-size: 36rpx; font-size: 32rpx;
color: #2D2D33; color: #2D2D33;
text-align-last: left; text-align-last: left;
......
...@@ -26,8 +26,7 @@ ...@@ -26,8 +26,7 @@
<view class="totalCon" wx:else> <view class="totalCon" wx:else>
<view class="item otherItem "> <view class="item otherItem ">
<view class="label">总报价量(单)</view> <view class="label">总报价量(单)</view>
<veiw class="number"> <veiw class="number">{{fn.accMul(outputData['totalQuotationCount'],1)||0}}
<text class="unit">¥ </text>{{fn.accMul(outputData['totalQuotationCount'],1)||0}}
</veiw> </veiw>
</view> </view>
<view class="item otherItem"> <view class="item otherItem">
...@@ -60,7 +59,7 @@ ...@@ -60,7 +59,7 @@
<view class="output-item" wx:key="index" wx:for="{{outputView[entranceType ==2 ?'todayOutputValue':'todayOutiqueOutputValue']}}"> <view class="output-item" wx:key="index" wx:for="{{outputView[entranceType ==2 ?'todayOutputValue':'todayOutiqueOutputValue']}}">
<view class="output-label"><view class="label">{{item.label}}</view> <view class="output-label"><view class="label">{{item.label}}</view>
<glsx-image src="{{item.iconUrl}}" class="icon" /></view> <glsx-image src="{{item.iconUrl}}" class="icon" /></view>
<view class="output-num">{{outputData[item.name]|| 0}} </view> <view class="output-num"><text class="_unit">{{item.unit}}</text>{{outputData[item.name]|| 0}} </view>
</view> </view>
</view> </view>
</view> </view>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</navigation-bar> </navigation-bar>
</view> </view>
<block wx:if="{{navHeight}}"> <block wx:if="{{navHeight}}">
<view class="layout" id="layout" style="padding-top:{{navHeight}}px; height: calc(100vh - {{navHeight*2}}rpx - 60rpx)"> <view class="layout" id="layout" style="padding-top:{{navHeight}}px; height: calc(100vh - {{navHeight*2}}rpx)">
<!-- 背景图 --> <!-- 背景图 -->
<!-- <view class="bg-box" style="height:{{368 + navHeight * 2}}rpx;top:-{{navHeight}}px"> <!-- <view class="bg-box" style="height:{{368 + navHeight * 2}}rpx;top:-{{navHeight}}px">
<view class="bg"> <view class="bg">
......
<!--packageOutput/pages/crowdDetail/crowdDetail.wxml--> <!--packageOutput/pages/crowdDetail/crowdDetail.wxml-->
<view class="container"> <view class="container">
<navigation-bar showBack="{{true}}" navStyle="{{navStyle}}" bindnavbarReady="navbarReady">产值详情</navigation-bar> <navigation-bar showBack="{{true}}" navStyle="{{navStyle}}" bindnavbarReady="navbarReady">产值详情</navigation-bar>
<view class="layout" id="layout" style="padding-top:{{navHeight}}px; height: calc(100vh - {{navHeight}}px)"> <view class="layout" id="layout" style="padding-top:{{navHeight}}px; height: calc(100vh)">
<!-- 背景图 --> <!-- 背景图 -->
<!-- <view class="bg-box" style="height:{{368 + navHeight * 2}}rpx;top:-{{navHeight}}px"> <!-- <view class="bg-box" style="height:{{368 + navHeight * 2}}rpx;top:-{{navHeight}}px">
<view class="bg"> <view class="bg">
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<wxs src="time.wxs" module="formatTime" /> <wxs src="time.wxs" module="formatTime" />
<view class="container"> <view class="container">
<navigation-bar showBack="{{true}}" navStyle="{{navStyle}}" bindnavbarReady="navbarReady">产值{{timeType=='day'?'日':'月'}}报表</navigation-bar> <navigation-bar showBack="{{true}}" navStyle="{{navStyle}}" bindnavbarReady="navbarReady">产值{{timeType=='day'?'日':'月'}}报表</navigation-bar>
<view class="layout" id="layout" style="padding-top:{{navHeight}}px; height: calc(100vh - 150rpx)"> <view class="layout" id="layout" style="padding-top:{{navHeight}}px; height: calc(100vh)">
<!-- 背景图 --> <!-- 背景图 -->
<!-- <view class="bg-box" style="height:{{368 + navHeight * 2}}rpx;top:-{{navHeight}}px"> <!-- <view class="bg-box" style="height:{{368 + navHeight * 2}}rpx;top:-{{navHeight}}px">
<view class="bg"> <view class="bg">
...@@ -56,7 +56,10 @@ ...@@ -56,7 +56,10 @@
</view> </view>
</view> </view>
<view class="billboard-box"> <view class="billboard-box">
<view class="billboard-title">当{{timeType=='day'?'日':'月'}}员工龙虎榜</view> <view class="billboard-title">
<text>当{{timeType=='day'?'日':'月'}}员工龙虎榜</text>
<text class="unit">累计产值(元)</text>
</view>
<view class="billboard-border"> <view class="billboard-border">
<block wx:if="{{billboard.length}}"> <block wx:if="{{billboard.length}}">
<view class="billboard-item" wx:for="{{billboard}}" wx:key="index"> <view class="billboard-item" wx:for="{{billboard}}" wx:key="index">
......
...@@ -6,7 +6,7 @@ Component({ ...@@ -6,7 +6,7 @@ Component({
properties: { properties: {
title: { title: {
type: String, type: String,
value: '合作门店' value: '我的门店'
}, },
sceneCode: { sceneCode: {
type: String, type: String,
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
border-top-right-radius: 32rpx; border-top-right-radius: 32rpx;
.title { .title {
font-size: 600; font-weight: 600;
font-size: 30rpx; font-size: 30rpx;
width: 196rpx; width: 196rpx;
flex-shrink: 0; flex-shrink: 0;
......
<!--pages/tab/output/components/sortTab/sortTab.wxml--> <!--pages/tab/output/components/sortTab/sortTab.wxml-->
<view class="sort-tab"> <view class="sort-tab">
<ciew class="title">{{title}}</ciew> <view class="title">{{title}}</view>
<scroll-view class="sort-scroll" scroll-x="true"> <scroll-view class="sort-scroll" scroll-x="true">
<view class="flex"> <view class="flex">
<view wx:for="{{formObj[sceneCode]}}" wx:key="index" class="item" bindtap="handleSort" data-idx="{{index}}"> <view wx:for="{{formObj[sceneCode]}}" wx:key="index" class="item" bindtap="handleSort" data-idx="{{index}}">
......
...@@ -21,7 +21,7 @@ const systemInfo = wx.getSystemInfoSync() ...@@ -21,7 +21,7 @@ const systemInfo = wx.getSystemInfoSync()
const manual = false const manual = false
const release = false const release = false
let index = 3 let index = 2
// 判断小程序环境 // 判断小程序环境
// develop:开发版(正常开发工具,测试时) // develop:开发版(正常开发工具,测试时)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!