Commit b5e1798a5ca6994f4ccd4c7949038e34f054d395

Authored by vking
1 parent 88b63ce8

预定本已买单

... ... @@ -68,6 +68,10 @@
background-color: #E95750;
border: 2rpx solid #E95750;
}
.board.highlight-yellow .status,.board.disabled-highlight-yellow .status{
background-color: #F59A23;
border: 2rpx solid #F59A23;
}
.board.disabled,.board.disabled-highlight {
background-color: #E0E0E0;
... ...
... ... @@ -29,4 +29,5 @@
</view>
</view>
</formids>
<view class="checkout" wx:if="{{vitem.order_info.status==3}}">已买单</view>
</view>
... ...
... ... @@ -5,6 +5,7 @@
padding:0 40rpx;
box-sizing:border-box;
border-bottom: 2rpx solid #F1F0F4;
position: relative;
}
.book-list-td{
width:25%;
... ... @@ -19,4 +20,20 @@
}
.reserve-status-4 .green-font,.reserve-status-3 .green-font,.reserve-status-6 .green-font{
color:#999999;
}
.checkout{
position: absolute;
left: 0;
top:0;
width:104rpx;
height:38rpx;
background:rgba(245,154,35,1);
border-radius:0rpx 0rpx 10rpx 0rpx;
font-size:24rpx;
font-family:PingFangSC-Semibold,PingFang SC;
font-weight:600;
color:rgba(255,255,255,1);
line-height:38rpx;
text-align: center;
}
\ No newline at end of file
... ...
... ... @@ -169,6 +169,10 @@ Page({
id:r.id,
status:r.status,
rname:rname,
checkout:{}
}
if(r.order_info){
tids[tid].checkout.status=r.order_info.status
}
})
})
... ... @@ -193,10 +197,14 @@ Page({
tb.status_classname='highlight';
tb.reserve_id=tids[tb.id].id;
tb.reserve_name=tids[tb.id].rname;
if(tids[tb.id].checkout.status==3){//已买单
tb.status_str='已买单';
tb.status_classname='highlight-yellow';
}
}
if(tb.enable!=1){
if(tb.status_str){
tb.status_classname='disabled-highlight';
tb.status_classname='disabled-'+tb.status_classname;
}else{
tb.status_str='已停用';
tb.status_classname='disabled';
... ...
{
"description": "项目配置文件。",
"setting": {
"urlCheck": true,
"urlCheck": false,
"es6": true,
"enhance": true,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": true,
"coverView": true,
"nodeModules": true,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
... ... @@ -21,7 +22,11 @@
"disablePlugins": [],
"outputPath": ""
},
"preloadBackgroundData": false
"useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": []
},
"compileType": "miniprogram",
"libVersion": "2.10.1",
... ...