Commit 2a17b0f6 by 张立顺

sava

1 parent 42bbfd73
......@@ -25,7 +25,7 @@
</view>
</view>
</view>
<view class="box">
<!-- <view class="box">
<view class="title">
质检分数
</view>
......@@ -64,9 +64,9 @@
<view class="item text-center {{item.active?'active':''}}" bindtap="choose" data-list-name="orderResult" data-index="{{index}}">{{item.name}}</view>
</block>
</view>
</view>
</view> -->
<!-- 超管选择4s店 -->
<view class="box" wx:if="{{userInfo.isSuper || userInfo.loginRole== 3 || userInfo.loginRole== 5 || userInfo.loginRole == 6}}">
<!-- <view class="box" wx:if="{{userInfo.isSuper || userInfo.loginRole== 3 || userInfo.loginRole== 5 || userInfo.loginRole == 6}}">
<view class="title">
<view class="title-left">
门店
......@@ -85,9 +85,9 @@
</view>
</block>
</view>
</view>
</view> -->
<!-- 超管选择员工 -->
<view class="box" wx:if="{{userInfo.isSuper || userInfo.loginRole== 3 || userInfo.loginRole== 5 || userInfo.loginRole == 6}}">
<!-- <view class="box" wx:if="{{userInfo.isSuper || userInfo.loginRole== 3 || userInfo.loginRole== 5 || userInfo.loginRole == 6}}">
<view class="title">
<view class="title-left">
员工
......@@ -101,7 +101,7 @@
<view class="item text-center {{item.active?'active':''}}" bindtap="choose" hidden="{{index >= 12 && !staffShowMore}}" data-list-name="staffRangeList" data-index="{{index}}">{{item.staffName}}</view>
</block>
</view>
</view>
</view> -->
</view>
<view class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}">
<view class="btn clear text-center" bindtap="reset">清除</view>
......
......@@ -9,11 +9,13 @@
background-color: #fff;
animation: show-confirm-box .5s forwards;
}
@keyframes show-confirm-box {
0%{
0% {
right: -100%;
}
100%{
100% {
right: 0;
}
}
......@@ -37,24 +39,24 @@
z-index: 2;
}
.box .title .title-left{
.box .title .title-left {
display: flex;
align-items: flex-end;
}
.box .title .title-tips{
.box .title .title-tips {
font-size: var(--fontSize22);
font-weight: 400;
color: #757980;
margin-left: var(--fontSize8);
}
.box .title .collapse-btn{
.box .title .collapse-btn {
width: var(--fontSize48);
height: var(--fontSize48);
}
.box .title .collapse-btn.rotate-180{
.box .title .collapse-btn.rotate-180 {
transform: rotate(180deg);
}
......@@ -65,7 +67,7 @@
padding-bottom: var(--fontSize20);
}
.box:last-child .list-box{
.box:last-child .list-box {
border: none;
}
......@@ -86,7 +88,7 @@
margin: 0 calc(20 / 750 * 100%) calc(20 / 750 * 100%) 0;
}
.box .list-box .item .text-item{
.box .list-box .item .text-item {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
......@@ -94,24 +96,24 @@
-webkit-box-orient: vertical;
}
.box .list-box .item.flex-1{
.box .list-box .item.flex-1 {
width: 100%;
text-align: left;
margin-right: 0;
line-height: 100%;
}
.box .list-box .item.grey{
.box .list-box .item.grey {
color: #999EA8;
}
.box .list-box .item.custom-time{
.box .list-box .item.custom-time {
/* width: var(--fontSize316); */
width: calc(316 / 750 * 100%);
margin-bottom: 0;
}
.box .list-box .item.custom-time:last-child{
.box .list-box .item.custom-time:last-child {
margin-right: 0;
margin-left: var(--fontSize20);
}
......@@ -134,37 +136,37 @@
opacity: .4;
}
.box .list-box .item .inline-block{
.box .list-box .item .inline-block {
display: inline-block;
}
.box .list-box .item .merchant-name{
.box .list-box .item .merchant-name {
max-width: calc(100% - var(--fontSize140));
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.box .list-box .item.flex-block{
.box .list-box .item.flex-block {
width: 100%;
display: flex;
align-items: center;
padding: 0 var(--fontSize24);
}
.box .list-box .item input{
.box .list-box .item input {
width: calc(100% - var(--fontSize50));
text-align: left;
}
.box .list-box .item .icon{
.box .list-box .item .icon {
width: var(--fontSize32);
height: var(--fontSize32);
margin-right: var(--fontSize12);
}
.btn-box {
position: sticky;
position: absolute;
padding: var(--fontSize10) var(--fontSize32);
display: flex;
align-items: center;
......
......@@ -36,9 +36,9 @@
<!-- <text class="record-score {{itemInfo.qualityCheckScore > 20 ? 'black': ''}}" wx:if="{{itemInfo.qualityCheckScore || itemInfo.qualityCheckScore === 0}}">
<text class="value">{{itemInfo.qualityCheckScore}}</text><text class="unit">分</text>
</text> -->
<text class="record-score" wx:if="{{itemInfo.qualityCheckScore !== 0 && !itemInfo.qualityCheckScore}}">
<!-- <text class="record-score" wx:if="{{itemInfo.qualityCheckScore !== 0 && !itemInfo.qualityCheckScore}}">
<text>分析中</text>
</text>
</text> -->
</view>
</view>
</view>
......@@ -64,7 +64,7 @@
<view class="tags-item" catchtap="handleTagsTap" data-item="{{item}}" style="{{item.style}}">
<view class="deep-colour-name {{item.customerClass}}"></view>
<view data-index="{{index}}" data-item="{{item}}" class="name {{item.customerClass}}">
{{item.stage}}<text class="score" wx:if="{{item.totalGetScore}}">{{item.totalGetScore}}</text>
<!-- <text class="score" wx:if="{{item.totalGetScore}}">{{item.totalGetScore}}</text> -->
</view>
</view>
</block>
......
......@@ -37,11 +37,6 @@ Page({
url: decodeUrl
})
wx.hideLoading()
// if (options.title) {
// wx.setNavigationBarTitle({
// title: options.title
// })
// }
},
/**
......@@ -77,19 +72,6 @@ Page({
})
}
},
handleMessage(e) {
const { data } = e.detail;
// 将数据返回给跳转来源
if (data) {
const eventChannel = this.getOpenerEventChannel();
eventChannel.emit('webViewMessage', data[0]); // 发送数据
this.setData({
isH5Bind: true
})
}
},
/**
* 生命周期函数--监听页面卸载
*/
......
{
"usingComponents": {}
"usingComponents": {},
"enableMessage": true
}
\ No newline at end of file
<!-- <web-view src="{{url}}"></web-view> -->
<block wx:if="{{flag}}">
<web-view src="{{url}}" bindmessage="handleMessage"></web-view>
<web-view src="{{url}}" ></web-view>
</block>
\ No newline at end of file
......@@ -41,6 +41,11 @@ export default {
icon: "supervisorDaily",
},
// {
// name: "测试",
// pageurl: "https://frontend.test.glsx.com.cn/dj-car-boutique-work-wechat/#/",
// icon: "supervisorDaily",
// },
// {
// name: "客户建档",
// url: "tabWorkOrder.createArchives",
// recordId: 8,
......
......@@ -44,8 +44,8 @@ const scrmSecretKey_items = {
secret: "c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b",
},
prod: {
appKey: "48e5e13229b82c1b4e6e8c96151f0637",
secret: "c24619ed7fef02a0ae16328146bca5f97cc6493957a2137b",
appKey: "g7xz8y29vvcs0om16wopshqqx49xfron",
secret: "ckfnxij6rjxoa2qtjou1dq8iqrh5ezi5h6mtndyjg19luo28",
},
preRelease: {
appKey: "48e5e13229b82c1b4e6e8c96151f0637",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!