Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fa28c3ae
authored
Mar 15, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 样式修改
1 parent
f2598020
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
110 deletions
tabOperating/pages/index/components/businessCell/businessCell.wxml
tabOperating/pages/index/components/conquestCell/conquestCell.wxml
tabOperating/pages/index/components/staffCell/staffCell.wxml
tabOperating/pages/index/components/businessCell/businessCell.wxml
View file @
fa28c3a
<!-- tabOperating/pages/index/component/business/business.wxml -->
<!-- tabOperating/pages/index/component/business/business.wxml -->
<!-- bindscrolltolower="scrollonReachBottom" -->
<!-- bindscrolltolower="scrollonReachBottom" -->
<wxs src="../../../index.wxs" module="filter" />
<wxs src="../../../index.wxs" module="filter" />
<scroll-view
<
!-- <
scroll-view
hidden="{{hidden}}"
hidden="{{hidden}}"
scroll-y
scroll-y
enable-back-to-top
enable-back-to-top
...
@@ -11,41 +11,23 @@
...
@@ -11,41 +11,23 @@
style="height:100%;"
style="height:100%;"
scroll-top="{{scrollTop}}"
scroll-top="{{scrollTop}}"
class="businessPage list"
class="businessPage list"
refresher-triggered="{{triggered}}">
refresher-triggered="{{triggered}}"> -->
<view class="businessPage list">
<view class=" title">
<view class=" title">
<!-- 还有确定是单园区店 ||userInfo.userType==1 -->
<!-- 还有确定是单园区店 ||userInfo.userType==1 -->
<!-- 逻辑是只要是员工类型都不可以显示 -->
<!-- 逻辑是只要是员工类型都不可以显示 -->
<!-- 园区店切换到某个具体园区才可以 canRemark处理只有一个园区店的情况 -->
<!-- 园区店切换到某个具体园区才可以 canRemark处理只有一个园区店的情况 -->
<view
<view class="addFields" wx:if="{{ (userInfo.userType != 2||userInfo.isSuper) &&(userInfo.subLoginUser.merchantId != userInfo.merchantId || canRemark )}}" data-type="add" bindtap="remarkShow">
class="addFields"
<image class="addIcon" src="../../../../images/addIcon.png" mode="aspectFill" binderror="" bindload="" />
wx:if="{{ (userInfo.userType != 2||userInfo.isSuper) &&(userInfo.subLoginUser.merchantId != userInfo.merchantId || canRemark )}}"
data-type="add"
bindtap="remarkShow">
<image
class="addIcon"
src="../../../../images/addIcon.png"
mode="aspectFill"
binderror=""
bindload="" />
新增字段
新增字段
</view>
</view>
<view class="tips" bindtap="tipsShowPop">
<view class="tips" bindtap="tipsShowPop">
字段解释
字段解释
<image
<image class="tipsIcon" src="../../../../images/tipsIcon.png" mode="aspectFill" binderror="" bindload="" />
class="tipsIcon"
src="../../../../images/tipsIcon.png"
mode="aspectFill"
binderror=""
bindload="" />
</view>
</view>
</view>
</view>
<view class="cellContainer">
<view class="cellContainer">
<block
<block wx:for="{{listItem}}" wx:key="index" wx:key="index" wx:for-item='item' wx:for-index='index'>
wx:for="{{listItem}}"
wx:key="index"
wx:key="index"
wx:for-item='item'
wx:for-index='index'>
<view class="cell">
<view class="cell">
<view class="todayData">
<view class="todayData">
<view>{{item.label}}</view>
<view>{{item.label}}</view>
...
@@ -82,48 +64,21 @@
...
@@ -82,48 +64,21 @@
<view class="label">其他产品总营业额</view>
<view class="label">其他产品总营业额</view>
<view class="num">{{businessObj['currentDayOtherOrderMoneyTotal']}}</view>
<view class="num">{{businessObj['currentDayOtherOrderMoneyTotal']}}</view>
</view>
</view>
<view
<view class=" touch-item {{item.isTouchMove ? 'touch-move-active' : ''}}" data-index="{{index}}" wx:for="{{list}}" wx:for-item='item' wx:key="index">
class=" touch-item {{item.isTouchMove ? 'touch-move-active' : ''}}"
data-index="{{index}}"
wx:for="{{list}}"
wx:for-item='item'
wx:key="index">
<view class="content">
<view class="content">
<view
<view style="{{item.txtStyle}}" class='item otherAdd' data-index='{{index}}' data-id="{{item['fieldId']}}" bindtouchstart="touchstart" bindtouchmove="touchmove" bindtouchend="touchE">
style="{{item.txtStyle}}"
class='item otherAdd'
data-index='{{index}}'
data-id="{{item['fieldId']}}"
bindtouchstart="touchstart"
bindtouchmove="touchmove"
bindtouchend="touchE">
<!-- <view class='title'>{{item.title}}</view>
<!-- <view class='title'>{{item.title}}</view>
<text>{{item.create_time}}</text> -->
<text>{{item.create_time}}</text> -->
<view class="otherData">
<view class="otherData">
<view class="label">{{item['fieldName']}}</view>
<view class="label">{{item['fieldName']}}</view>
<view
<view class="check" data-id="{{item['fieldId']}}" data-value="{{item['fieldValue']}}" data-type="update" bindtap="remarkShow">
class="check"
<image class="checkIcon" src="../../../../images/checkIcon.png" mode="aspectFill" binderror="" bindload="" />
data-id="{{item['fieldId']}}"
data-value="{{item['fieldValue']}}"
data-type="update"
bindtap="remarkShow">
<image
class="checkIcon"
src="../../../../images/checkIcon.png"
mode="aspectFill"
binderror=""
bindload="" />
核准
核准
</view>
</view>
</view>
</view>
<view class="num">
<view class="num">
<!-- wx:if="{{item['fieldValue']}}" -->
<!-- wx:if="{{item['fieldValue']}}" -->
<view
<view data-id="{{item['fieldId']}}" data-type="update" data-value="{{item['fieldValue']}}" bindtap="remarkShow" class="placeholder num {{item['fieldValue']?'':'placeholderText'}}">
data-id="{{item['fieldId']}}"
data-type="update"
data-value="{{item['fieldValue']}}"
bindtap="remarkShow"
class="placeholder num {{item['fieldValue']?'':'placeholderText'}}">
{{item['fieldValue']?item['fieldValue']:'输入数字'}}
{{item['fieldValue']?item['fieldValue']:'输入数字'}}
</view>
</view>
<!-- <view class="placeholder" >输入数字</view> -->
<!-- <view class="placeholder" >输入数字</view> -->
...
@@ -161,20 +116,10 @@
...
@@ -161,20 +116,10 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
<view wx:if="{{!item['confirmIndex']}}" class="del" data-id="{{item['fieldId']}}" catchtap="delBtn" data-index="{{index}}">
wx:if="{{!item['confirmIndex']}}"
class="del"
data-id="{{item['fieldId']}}"
catchtap="delBtn"
data-index="{{index}}">
删除
删除
</view>
</view>
<view
<view wx:else class="del confirm" data-id="{{item['fieldId']}}" catchtap="confirmDelBtn" data-index="{{index}}">
wx:else
class="del confirm"
data-id="{{item['fieldId']}}"
catchtap="confirmDelBtn"
data-index="{{index}}">
确认删除
确认删除
</view>
</view>
<!-- confirm wx:if="{{!item['confirmIndex']}}" -->
<!-- confirm wx:if="{{!item['confirmIndex']}}" -->
...
@@ -189,6 +134,7 @@
...
@@ -189,6 +134,7 @@
</view>
</view>
</view>
</view>
<view class="bottomTips">到底了~</view>
<view class="bottomTips">到底了~</view>
</scroll-view>
</view>
<!-- placeholder="新数值会覆盖旧数值" -->
<!-- </scroll-view> -->
<!-- placeholder="新数值会覆盖旧数值" -->
\ No newline at end of file
\ No newline at end of file
tabOperating/pages/index/components/conquestCell/conquestCell.wxml
View file @
fa28c3a
<!-- tabOperating/pages/index/components/conquestCell/conquestCell.wxml -->
<!-- tabOperating/pages/index/components/conquestCell/conquestCell.wxml -->
<wxs src="../../../index.wxs" module="filter" />
<wxs src="../../../index.wxs" module="filter" />
<!-- <view hidden="{{hidden}}"> -->
<!-- <view hidden="{{hidden}}"> -->
<scroll-view
<
!-- <
scroll-view
hidden="{{hidden}}"
hidden="{{hidden}}"
scroll-y
scroll-y
enable-back-to-top
enable-back-to-top
...
@@ -10,16 +10,13 @@
...
@@ -10,16 +10,13 @@
refresher-threshold="104"
refresher-threshold="104"
style="height:100%;"
style="height:100%;"
class="businessPage list"
class="businessPage list"
refresher-triggered="{{triggered}}">
refresher-triggered="{{triggered}}"> -->
<view class="businessPage list">
<view class="todayOrder">
<view class="todayOrder">
今日成功升级{{orderObj.upgradeCount}}位,战败{{orderObj.orderCount - orderObj.upgradeCount}}位
今日成功升级{{orderObj.upgradeCount}}位,战败{{orderObj.orderCount - orderObj.upgradeCount}}位
</view>
</view>
<block wx:if="{{orderObj.list.length}}">
<block wx:if="{{orderObj.list.length}}">
<block
<block wx:for="{{orderObj.list}}" wx:for-item='item' wx:for-index='index' wx:key="index">
wx:for="{{orderObj.list}}"
wx:for-item='item'
wx:for-index='index'
wx:key="index">
<view class="orderBox">
<view class="orderBox">
<view class="header">
<view class="header">
<view class="owner">
<view class="owner">
...
@@ -39,21 +36,12 @@
...
@@ -39,21 +36,12 @@
<view class="num">¥{{filter.toDecimal2(item.totalPrice)}}</view>
<view class="num">¥{{filter.toDecimal2(item.totalPrice)}}</view>
</view>
</view>
<view class="status" wx:if="{{item.upgradeFlag=='N'}}">
<view class="status" wx:if="{{item.upgradeFlag=='N'}}">
<image
<image class="failIcon" src="../../../../images/failIcon.png" mode="" binderror="" bindload="" />
class="failIcon"
src="../../../../images/failIcon.png"
mode=""
binderror=""
bindload="" />
</view>
</view>
</view>
</view>
</view>
</view>
<view class="orderContainer">
<view class="orderContainer">
<block
<block wx:for="{{orderItem}}" wx:key="childrenIndex" wx:for-item='childrenItem' wx:for-index='childrenIndex'>
wx:for="{{orderItem}}"
wx:key="childrenIndex"
wx:for-item='childrenItem'
wx:for-index='childrenIndex'>
<block wx:if="{{childrenItem.required || (childrenItem.prop == 'refusalReason' &&item['upgradeFlag']=='N')}}">
<block wx:if="{{childrenItem.required || (childrenItem.prop == 'refusalReason' &&item['upgradeFlag']=='N')}}">
<view class="item">
<view class="item">
<view class="label">{{childrenItem.label}}</view>
<view class="label">{{childrenItem.label}}</view>
...
@@ -82,11 +70,7 @@
...
@@ -82,11 +70,7 @@
<view class="price">¥{{subOrdersItem.totalPrice}}</view>
<view class="price">¥{{subOrdersItem.totalPrice}}</view>
</view>
</view>
</block> -->
</block> -->
<block
<block wx:for="{{item['subOrders']}}" wx:key="subOrdersIndex" wx:for-item='subOrdersItem' wx:for-index='subOrdersIndex'>
wx:for="{{item['subOrders']}}"
wx:key="subOrdersIndex"
wx:for-item='subOrdersItem'
wx:for-index='subOrdersIndex'>
<view class="goodsItem">
<view class="goodsItem">
<view class="name oneText">
<view class="name oneText">
{{filter.replaceItemText(subOrdersItem.upgradeGoodsAlias||subOrdersItem.upgradeGoodsName)}}
{{filter.replaceItemText(subOrdersItem.upgradeGoodsAlias||subOrdersItem.upgradeGoodsName)}}
...
@@ -103,11 +87,7 @@
...
@@ -103,11 +87,7 @@
<view class="guarantee">
<view class="guarantee">
<view class="label">质保时间</view>
<view class="label">质保时间</view>
<view class="goodsListItem">
<view class="goodsListItem">
<block
<block wx:for="{{item['subOrders']}}" wx:key="subOrdersIndex" wx:for-item='subOrdersItem' wx:for-index='subOrdersIndex'>
wx:for="{{item['subOrders']}}"
wx:key="subOrdersIndex"
wx:for-item='subOrdersItem'
wx:for-index='subOrdersIndex'>
<view class="name oneText">
<view class="name oneText">
{{subOrdersItem.upgradeWarrantyPeriod?subOrdersItem.upgradeWarrantyPeriod+'年':'无'}}
{{subOrdersItem.upgradeWarrantyPeriod?subOrdersItem.upgradeWarrantyPeriod+'年':'无'}}
</view>
</view>
...
@@ -149,15 +129,11 @@
...
@@ -149,15 +129,11 @@
</block>
</block>
<block wx:else>
<block wx:else>
<view class=" noListText">
<view class=" noListText">
<image
<image class="image" src="../../../../images/nothingBg.png" mode="" binderror="" bindload="" />
class="image"
src="../../../../images/nothingBg.png"
mode=""
binderror=""
bindload="" />
<view class="text">暂无数据</view>
<view class="text">暂无数据</view>
</view>
</view>
</block>
</block>
<!-- </view> -->
</view>
</scroll-view>
<!-- </view> -->
<!-- </scroll-view> -->
\ No newline at end of file
\ No newline at end of file
tabOperating/pages/index/components/staffCell/staffCell.wxml
View file @
fa28c3a
<!-- tabOperating/pages/index/components/staffCell/staffCell.wxml -->
<!-- tabOperating/pages/index/components/staffCell/staffCell.wxml -->
<!-- <view hidden="{{hidden}}"> -->
<!-- <view hidden="{{hidden}}"> -->
<scroll-view
<
!-- <
scroll-view
hidden="{{hidden}}"
hidden="{{hidden}}"
scroll-y
scroll-y
enable-back-to-top
enable-back-to-top
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
refresher-threshold="104"
refresher-threshold="104"
style="height:100%;"
style="height:100%;"
class="businessPage list"
class="businessPage list"
refresher-triggered="{{triggered}}">
refresher-triggered="{{triggered}}"> -->
<view class="businessPage list">
<view class="header">
<view class="header">
<view>累计{{staffList.length}}名在职员工</view>
<view>累计{{staffList.length}}名在职员工</view>
<view class="tips" bindtap="tipsShowPop">
<view class="tips" bindtap="tipsShowPop">
...
@@ -62,6 +64,7 @@
...
@@ -62,6 +64,7 @@
bindload="" />
bindload="" />
<view class="text">暂无数据</view>
<view class="text">暂无数据</view>
</view>
</view>
</view>
<!-- </view> -->
<!-- </view> -->
<
/scroll-view
>
<
!-- </scroll-view> --
>
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment