样式问题
This commit is contained in:
parent
f0b511d9f5
commit
d09e7b686d
7
app.wxss
7
app.wxss
@ -380,13 +380,18 @@ list-view{
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch{
|
||||||
|
}
|
||||||
switch .wx-switch-input{
|
switch .wx-switch-input{
|
||||||
background-color:#999999;
|
background-color:#999999;
|
||||||
}
|
}
|
||||||
switch .wx-switch-input.wx-switch-input-checked {
|
switch .wx-switch-input.wx-switch-input-checked{
|
||||||
background-color:var(--main-color);
|
background-color:var(--main-color);
|
||||||
border-color: var(--main-color);
|
border-color: var(--main-color);
|
||||||
}
|
}
|
||||||
|
switch .wx-switch-input.wx-switch-input-checked::after{
|
||||||
|
transform:translateX(36rpx);
|
||||||
|
}
|
||||||
switch .wx-switch-input::after {
|
switch .wx-switch-input::after {
|
||||||
width: 40rpx;
|
width: 40rpx;
|
||||||
height: 40rpx;
|
height: 40rpx;
|
||||||
|
|||||||
@ -31,6 +31,9 @@ Component({
|
|||||||
this.bgam.onEnded(()=>{
|
this.bgam.onEnded(()=>{
|
||||||
this.bgam.src = this.data.emptyAudio;
|
this.bgam.src = this.data.emptyAudio;
|
||||||
});
|
});
|
||||||
|
this.bgam.onStop(()=>{
|
||||||
|
this.triggerEvent('stop')
|
||||||
|
});
|
||||||
this.triggerEvent('initSuccess');
|
this.triggerEvent('initSuccess');
|
||||||
}).catch(()=>{
|
}).catch(()=>{
|
||||||
this.triggerEvent('initError');
|
this.triggerEvent('initError');
|
||||||
|
|||||||
@ -54,7 +54,7 @@
|
|||||||
}
|
}
|
||||||
.custom-modal-view .textarea{
|
.custom-modal-view .textarea{
|
||||||
border: 1.2px solid rgba(85, 85, 85, 0.3);
|
border: 1.2px solid rgba(85, 85, 85, 0.3);
|
||||||
border-radius: 18px;
|
border-radius: 18rpx;
|
||||||
margin:30rpx 0;
|
margin:30rpx 0;
|
||||||
padding:24rpx 20rpx;
|
padding:24rpx 20rpx;
|
||||||
font-size: 34rpx;
|
font-size: 34rpx;
|
||||||
|
|||||||
@ -65,7 +65,9 @@ Page({
|
|||||||
|
|
||||||
selectedOrderId:'',
|
selectedOrderId:'',
|
||||||
|
|
||||||
markupStatusKV:orderApi.markUp.statusKV
|
markupStatusKV:orderApi.markUp.statusKV,
|
||||||
|
|
||||||
|
appConfig:{}
|
||||||
},
|
},
|
||||||
onLoad(){
|
onLoad(){
|
||||||
this.orderBackgroundNotice = this.selectComponent('#orderBackgroundNotice');
|
this.orderBackgroundNotice = this.selectComponent('#orderBackgroundNotice');
|
||||||
@ -101,6 +103,11 @@ Page({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
stopBGNotice(){
|
||||||
|
this.setData({
|
||||||
|
isStartLoopOrder:false
|
||||||
|
})
|
||||||
|
},
|
||||||
bgNoticeError(){
|
bgNoticeError(){
|
||||||
wx.showToast({
|
wx.showToast({
|
||||||
icon:'error',
|
icon:'error',
|
||||||
@ -280,6 +287,11 @@ Page({
|
|||||||
isShowLeftPanelMask:true,
|
isShowLeftPanelMask:true,
|
||||||
leftPanelMoveViewX:510
|
leftPanelMoveViewX:510
|
||||||
})
|
})
|
||||||
|
});
|
||||||
|
app.getAppConfig().then((data)=>{
|
||||||
|
this.setData({
|
||||||
|
appConfig:data
|
||||||
|
});
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
closeLeftPanel(){
|
closeLeftPanel(){
|
||||||
@ -588,5 +600,10 @@ Page({
|
|||||||
this.setData({
|
this.setData({
|
||||||
isStartLoopOrder:event.detail.value
|
isStartLoopOrder:event.detail.value
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
navToAgreement(){
|
||||||
|
wx.navigateTo({
|
||||||
|
url: `/pages/browser/index?url=${this.data.appConfig.url_user_agreement}`,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@ -196,15 +196,15 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="page-container actions">
|
<view class="page-container actions">
|
||||||
<view class="item">
|
<button class="item button" open-type="contact">
|
||||||
<image class="icon" src="/assets/icon/service.png"/>
|
<image class="icon" src="/assets/icon/service.png"/>
|
||||||
<view>在线客服</view>
|
<view>在线客服</view>
|
||||||
</view>
|
</button>
|
||||||
<navigator url="/pages/user/password/index" class="item">
|
<navigator url="/pages/user/password/index" class="item">
|
||||||
<image class="icon" src="/assets/icon/password.png"/>
|
<image class="icon" src="/assets/icon/password.png"/>
|
||||||
<view>修改密码</view>
|
<view>修改密码</view>
|
||||||
</navigator>
|
</navigator>
|
||||||
<view class="item">
|
<view class="item" bind:tap="navToAgreement">
|
||||||
<image class="icon" src="/assets/icon/agreement.png"/>
|
<image class="icon" src="/assets/icon/agreement.png"/>
|
||||||
<view>用户协议</view>
|
<view>用户协议</view>
|
||||||
</view>
|
</view>
|
||||||
@ -222,4 +222,4 @@
|
|||||||
|
|
||||||
<background-notice bind:onTrigger="findNewOrder" id="orderBackgroundNotice"
|
<background-notice bind:onTrigger="findNewOrder" id="orderBackgroundNotice"
|
||||||
start="{{isStartLoopOrder}}" bind:initSuccess="bgNoticeSuccess"
|
start="{{isStartLoopOrder}}" bind:initSuccess="bgNoticeSuccess"
|
||||||
bind:initError="bgNoticeError"/>
|
bind:initError="bgNoticeError" bind:stop="stopBGNotice"/>
|
||||||
@ -509,11 +509,15 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
font-size: 24rpx;
|
|
||||||
color: #555555;
|
|
||||||
}
|
}
|
||||||
.left-panel .actions .item{
|
.left-panel .actions .item{
|
||||||
padding:0 20rpx;
|
padding:0 20rpx;
|
||||||
|
font-size: 24rpx;
|
||||||
|
color: #555555;
|
||||||
|
}
|
||||||
|
.left-panel .actions .item.button{
|
||||||
|
font-weight: normal;
|
||||||
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
.left-panel .actions .item .icon{
|
.left-panel .actions .item .icon{
|
||||||
width:40rpx;height:40rpx;
|
width:40rpx;height:40rpx;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user