Commit 4e18bac8 authored by 和慭琛's avatar 和慭琛

接单列表 抢单 工单详情 UI高保真还原 接口对接 99%

parent f8d0481d
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
icon_agrss_no:'https://qn-static.banshouhui.com/agree_no.png', icon_agrss_no:'https://qn-static.banshouhui.com/agree_no.png',
//无数据 图标 //无数据 图标
icon_noData:'https://qn-static.banshouhui.com/empty.png', icon_noData:'https://qn-static.banshouhui.com/empty.png',
//抢单 图标
icon_rob:'https://qn-static.banshouhui.com/take_order/icon/rob.png',
//登录注册页-- //登录注册页--
...@@ -60,11 +62,6 @@ ...@@ -60,11 +62,6 @@
onLaunch: function() { onLaunch: function() {
console.log('App Launch') console.log('App Launch')
},
onShow: function() {
console.log('App Show')
var that=this var that=this
uni.getStorage({ uni.getStorage({
key: 'token', key: 'token',
...@@ -79,6 +76,12 @@ ...@@ -79,6 +76,12 @@
} }
}) })
},
onShow: function() {
console.log('App Show')
// //
//RTOKEN45f41a3053238cb72b3b72fe14df8d7040c9f502 //RTOKEN45f41a3053238cb72b3b72fe14df8d7040c9f502
//this.globalData.token = 'RTOKEN52e603131ae93ac83ac0b3628064822690ee4de0' //this.globalData.token = 'RTOKEN52e603131ae93ac83ac0b3628064822690ee4de0'
......
...@@ -6,14 +6,6 @@ ...@@ -6,14 +6,6 @@
*/ */
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "下单"
}
},
{ {
"path": "pages/take/index", "path": "pages/take/index",
"style": { "style": {
...@@ -22,62 +14,65 @@ ...@@ -22,62 +14,65 @@
}, },
{ {
"path": "pages/index/record", "path": "pages/take/detail",
"style": { "style": {
"navigationBarTitleText": "下的单" "navigationBarTitleText": "接单详情"
} }
}, },
{ {
"path": "pages/index/success", "path": "pages/index/index",
"style": { "style": {
"navigationBarTitleText": "下单" "navigationBarTitleText": "下单"
} }
}, },
{ {
"path": "pages/login/wxlogin", "path": "pages/take/rob",
"style": { "style": {
"navigationBarTitleText": "授权登录" "navigationBarTitleText": "抢单"
} }
}, },
{ {
"path": "pages/take/finish", "path": "pages/index/record",
"style": { "style": {
"navigationBarTitleText": "完工信息" "navigationBarTitleText": "下的单"
} }
}, },
{ {
"path": "pages/take/measure", "path": "pages/index/success",
"style": { "style": {
"navigationBarTitleText": "服务措施" "navigationBarTitleText": "下单"
} }
}, },
{ {
"path": "pages/take/rob", "path": "pages/login/wxlogin",
"style": { "style": {
"navigationBarTitleText": "抢单" "navigationBarTitleText": "授权登录"
} }
},
},
{ {
"path": "pages/take/detail", "path": "pages/take/finish",
"style": { "style": {
"navigationBarTitleText": "接单详情" "navigationBarTitleText": "完工信息"
} }
} }
], ],
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
......
...@@ -143,6 +143,7 @@ ...@@ -143,6 +143,7 @@
//this.getWorkerType() //this.getWorkerType()
//this.getPerson() //this.getPerson()
this.checkClean() this.checkClean()
//getApp().initAPIneedToken
}, },
methods: { methods: {
...@@ -408,6 +409,7 @@ ...@@ -408,6 +409,7 @@
console.log('本地获取token成功') console.log('本地获取token成功')
console.log(res.data); console.log(res.data);
getApp().globalData.token = res.data getApp().globalData.token = res.data
//getApp().initAPIneedToken
} }
}) })
......
This diff is collapsed.
This diff is collapsed.
<template>
<view class="">
服务措施
</view>
</template>
<script>
export default {
data() {
return {
orderInfo:'',
}
},
onLoad() {
},
onShow(){
},
methods: {
finishClick: function () {
uni.navigateTo({
url: '/pages/take/finish'
})
},
}
}
</script>
<style>
</style>
<template> <template>
<view class=""> <view class="backView">
<view class="topView"> <view class="topView">
<view class="nameView"> <view class="itemView u-m-t-30">
<text class="u-font-24 u-m-l-24">联系人:{{orderInfo.name}}</text> <text class="titleText u-m-l-30">联系人:</text>
<text class="u-font-24 u-m-l-24 underLine" @click="phoneCallClick(orderInfo.phone)">{{orderInfo.phone}}</text> <text class="contentText u-m-l-20" v-if="orderInfo.contactName">{{orderInfo.contactName}}</text>
<text class="contentText u-m-l-20 underLine" v-if="orderInfo.contactMobilephone">{{orderInfo.contactMobilephone}}</text>
</view> </view>
<text class="u-font-24 u-m-l-24 u-m-t-24">地址:{{orderInfo.address}}</text> <view class="itemView u-m-t-30">
<view class="typeView"> <text class="titleText u-m-l-30">地址:</text>
<text class="u-font-24 u-m-l-24">类型:({{orderInfo.guard}}) {{orderInfo.type}}</text> <text class="contentText u-m-l-20" v-if="orderInfo.contactAddress">{{orderInfo.contactAddress}}</text>
<text class="u-font-24 u-m-r-24">产品:{{orderInfo.product}}</text>
</view> </view>
<text class="u-font-24 u-m-l-24">状态:{{orderInfo.status}}</text> <view class="itemView u-m-t-60">
<text class="u-font-24 u-m-l-24 u-m-t-24">描述:{{orderInfo.description}}</text> <text class="titleText u-m-l-30">类型:</text>
<text class="u-font-24 u-m-l-24 u-m-t-24 u-p-b-24">下单时间:{{orderInfo.create_time}}</text> <text class="contentText u-m-l-20" v-if="orderInfo.inGuaranteePeriodText">({{orderInfo.inGuaranteePeriodText}}) {{orderInfo.orderServiceType}}</text>
</view> </view>
<view class="bottomView"> <view class="itemView u-m-t-30">
<view class="robView" @click="robClick()"> <text class="titleText u-m-l-30">产品:</text>
<text class="u-font-32">抢 单</text> <text class="contentText u-m-l-20" v-if="orderInfo.brandName">{{orderInfo.brandName}}-{{orderInfo.categoryName}}</text>
</view>
<view class="itemView u-m-t-30">
<text class="titleText u-m-l-30">状态:</text>
<text class="contentText u-m-l-20" v-if="orderInfo.statusText">{{orderInfo.statusText}}</text>
</view>
<view class="itemView u-m-t-30">
<text class="titleText u-m-l-30">描述:</text>
<text class="contentText u-m-l-20" v-if="orderInfo.serviceContent">{{orderInfo.serviceContent}}</text>
</view>
<view class="itemView u-m-t-60 padding_bottom_180">
<text class="titleText u-m-l-30">下单时间:</text>
<text class="contentText u-m-l-20" v-if="orderInfo.createDatetime">{{orderInfo.createDatetime}}</text>
</view> </view>
</view> </view>
<view class="bottomView">
<image class="robImage" @click="robClick()" :src="icon_rob" mode=""></image>
</view>
</view> </view>
</template> </template>
...@@ -26,32 +41,60 @@ ...@@ -26,32 +41,60 @@
export default { export default {
data() { data() {
return { return {
orderId:0, orderId:'',
orderInfo:{ orderInfo:{},
name:'梵护博', icon_rob:''
phone:'15811112222',
address:'广东省深圳市宝安区新安街道庭威产业园10C',
guard:'保内',
type:'维修-调试',
product:'小米 新风机',
status:'已完工',//待接单 待完工 已完工
description:'空调不冷',
create_time:'2020-09-24 10:32:12',
book_time:'10-25 10:00',
worker_name:'许三多',
worker_phone:'15811223344',
take_time:'2020-09-24 10:32:12',
},
} }
}, },
onLoad(e) { onLoad(e) {
//10704467 if(e && e.orderId){
this.orderId = '10704466' this.orderId = e.orderId
}
//this.orderId ='10704469'
this.icon_rob = getApp().globalData.icon_rob
},
onShow() {
this.getOrderDetail()
}, },
methods: { methods: {
//获取工单详情
getOrderDetail: function () {
uni.request({
url: getApp().globalData.domain_Name
+getApp().globalData.workOrderDetail,
method: 'GET',
data: {
orderId:this.orderId
},
success: (res) => {
console.log('获取工单详情 成功')
console.log(res)
if(res.data.code==200){
this.orderInfo = res.data.data
}else{
uni.showToast({
title:res.errMsg
})
}
},
fail: (e) => {
console.log('获取工单详情 失败')
console.log(e)
}
})
},
robClick: function (item) { robClick: function (item) {
console.log('抢单 点击') console.log('抢单 点击')
this.checkUserStatus() this.checkUserStatus()
...@@ -66,7 +109,7 @@ ...@@ -66,7 +109,7 @@
+getApp().globalData.checkRobStatus, +getApp().globalData.checkRobStatus,
method: 'GET', method: 'GET',
data: { data: {
orderId:this.orderId
}, },
success: (res) => { success: (res) => {
console.log('检查用户状态 成功') console.log('检查用户状态 成功')
...@@ -100,7 +143,6 @@ ...@@ -100,7 +143,6 @@
var content = '' var content = ''
var confirmText = '' var confirmText = ''
data =0
//0 通过 //0 通过
if(data==0){ if(data==0){
...@@ -185,14 +227,18 @@ ...@@ -185,14 +227,18 @@
////%@/worker/%@/order/%@/accept ////%@/worker/%@/order/%@/accept
robPost: function () { robPost: function () {
console.log('抢单请求') console.log('抢单请求')
// /wxh-worker-rest/rest/order/revision/applets/{token}/order/acceptAppletsOrder
uni.request({ uni.request({
url: 'http://192.168.1.22' url: getApp().globalData.domain_Name
+'/wxh-sts-rest/rest/worker/'+ +'/wxh-worker-rest/rest/order/revision/applets/'+
'RTOKEN45f41a3053238cb72b3b72fe14df8d7040c9f502' getApp().globalData.token
+'/order/'+this.orderId+'/receive',//%@/worker/%@/order/%@/receive +'/order/acceptAppletsOrder',//%@/worker/%@/order/%@/receive
method: 'POST', method: 'POST',
data: { data: {
orderId:this.orderId
},
header:{
'Content-Type': 'application/x-www-form-urlencoded'
}, },
success: (res) => { success: (res) => {
console.log('抢单请求 成功') console.log('抢单请求 成功')
...@@ -224,39 +270,55 @@ ...@@ -224,39 +270,55 @@
</script> </script>
<style> <style>
.backView{
background-color: #FAFAFA;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
.topView{ .topView{
background-color: #FFFFFF; background-color: #FFFFFF;
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
border-bottom: 2rpx solid #999999;
} }
.nameView{ .lineView{
background-color: #2272FF;
width: 100%; width: 100%;
margin-top: 24rpx;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center;
} }
.underLine{ .titleText{
text-decoration:underline; color: #333333;
font-size: 28rpx;
font-weight: bold;
} }
.typeView{ .contentText{
width: 100%; color: #333333;
height: 80rpx; font-size: 28rpx;
display: flex; }
flex-direction: row;
align-items: center; .padding_bottom_180{
justify-content: space-between; padding-bottom: 180rpx;
}
.underLine{
text-decoration:underline;
} }
.bottomView{ .bottomView{
background-color: #FFFFFF; background-color: #FAFAFA;
width: 100%; width: 100%;
height: 400rpx; height: 240rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
...@@ -264,12 +326,11 @@ ...@@ -264,12 +326,11 @@
bottom: 0; bottom: 0;
} }
.robView{ .robImage{
background-color: #FFFFFF; background-color: #FFFFFF;
width: 200rpx; width: 160rpx;
height: 200rpx; height: 160rpx;
border-radius: 100rpx; border-radius: 80rpx;
border: 2rpx solid #999999;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
......
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/liyifan/Desktop/take-order/take-order/pages/take/measure.vue?f0c2","webpack:////Users/liyifan/Desktop/take-order/take-order/pages/take/measure.vue?15fe","webpack:////Users/liyifan/Desktop/take-order/take-order/pages/take/measure.vue?f4dc","webpack:////Users/liyifan/Desktop/take-order/take-order/pages/take/measure.vue?bd5d","uni-app:///pages/take/measure.vue"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,+F;AACAA,UAAU,CAACC,gBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAoH;AACpH;AAC2D;AACL;;;AAGtD;AACgN;AAChN,gBAAgB,iNAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,kFAAM;AACR,EAAE,2FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAq0B,CAAgB,qyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACOz1B;AACA,MADA,kBACA;AACA;AACA,mBADA;;AAGA,GALA;AAMA,QANA,oBAMA;;AAEA,GARA;AASA,QATA,oBASA;;AAEA,GAXA;AAYA;;AAEA;AACA;AACA,iCADA;;AAGA,KANA,EAZA,E","file":"pages/take/measure.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/take/measure.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./measure.vue?vue&type=template&id=2cc24c62&\"\nvar renderjs\nimport script from \"./measure.vue?vue&type=script&lang=js&\"\nexport * from \"./measure.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/take/measure.vue\"\nexport default component.exports","export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./measure.vue?vue&type=template&id=2cc24c62&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./measure.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./measure.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"\">\n\t\t服务措施\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\torderInfo:'',\n\t\t\t}\n\t\t},\n\t\tonLoad() {\n\t\t\t\n\t\t},\n\t\tonShow(){\n\t\t\t\n\t\t},\n\t\tmethods: {\n\t\t\t\n\t\t\tfinishClick: function () {\n\t\t\t\tuni.navigateTo({\n\t\t\t\t\turl: '/pages/take/finish'\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t}\n\t}\n</script>\n\n<style>\n</style>\n"],"sourceRoot":""} {"version":3,"sources":["uni-app:///main.js"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,+F;AACAA,UAAU,CAACC,gBAAD,CAAV,C","file":"pages/take/measure.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/take/measure.vue'\ncreatePage(Page)"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
{ {
"pages": [ "pages": [
"pages/index/index",
"pages/take/index", "pages/take/index",
"pages/take/detail",
"pages/index/index",
"pages/take/rob",
"pages/index/record", "pages/index/record",
"pages/index/success", "pages/index/success",
"pages/login/wxlogin", "pages/login/wxlogin",
"pages/take/finish", "pages/take/finish"
"pages/take/measure",
"pages/take/rob",
"pages/take/detail"
], ],
"subPackages": [], "subPackages": [],
"window": { "window": {
......
...@@ -129,6 +129,8 @@ var _default = ...@@ -129,6 +129,8 @@ var _default =
icon_agrss_no: 'https://qn-static.banshouhui.com/agree_no.png', icon_agrss_no: 'https://qn-static.banshouhui.com/agree_no.png',
//无数据 图标 //无数据 图标
icon_noData: 'https://qn-static.banshouhui.com/empty.png', icon_noData: 'https://qn-static.banshouhui.com/empty.png',
//抢单 图标
icon_rob: 'https://qn-static.banshouhui.com/take_order/icon/rob.png',
//登录注册页-- //登录注册页--
...@@ -163,11 +165,6 @@ var _default = ...@@ -163,11 +165,6 @@ var _default =
onLaunch: function onLaunch() { onLaunch: function onLaunch() {
console.log('App Launch'); console.log('App Launch');
},
onShow: function onShow() {
console.log('App Show');
var that = this; var that = this;
uni.getStorage({ uni.getStorage({
key: 'token', key: 'token',
...@@ -182,6 +179,12 @@ var _default = ...@@ -182,6 +179,12 @@ var _default =
} }); } });
},
onShow: function onShow() {
console.log('App Show');
// //
//RTOKEN45f41a3053238cb72b3b72fe14df8d7040c9f502 //RTOKEN45f41a3053238cb72b3b72fe14df8d7040c9f502
//this.globalData.token = 'RTOKEN52e603131ae93ac83ac0b3628064822690ee4de0' //this.globalData.token = 'RTOKEN52e603131ae93ac83ac0b3628064822690ee4de0'
......
...@@ -3481,6 +3481,9 @@ u-dropdown { ...@@ -3481,6 +3481,9 @@ u-dropdown {
......
.backView{
background-color: #FAFAFA;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
flex-direction: column;
}
.topView{ .topView{
background-color: #FFFFFF; background-color: #FFFFFF;
width: 100%; width: 100%;
...@@ -9,11 +24,10 @@ ...@@ -9,11 +24,10 @@
-webkit-box-direction: normal; -webkit-box-direction: normal;
-webkit-flex-direction: column; -webkit-flex-direction: column;
flex-direction: column; flex-direction: column;
border-bottom: 2rpx solid #999999;
} }
.nameView{ .lineView{
background-color: #2272FF;
width: 100%; width: 100%;
margin-top: 24rpx;
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: flex; display: flex;
...@@ -21,9 +35,34 @@ ...@@ -21,9 +35,34 @@
-webkit-box-direction: normal; -webkit-box-direction: normal;
-webkit-flex-direction: row; -webkit-flex-direction: row;
flex-direction: row; flex-direction: row;
-webkit-box-align: center; }
-webkit-align-items: center; .titleText{
align-items: center; color: #333333;
font-size: 28rpx;
font-weight: bold;
}
.contentText{
color: #333333;
font-size: 28rpx;
}
.blueContentText{
color: #007AFF;
font-size: 28rpx;
}
.contentView{
background-color: #007AFF;
margin-left: 30rpx;
margin-right: 30rpx;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
}
.padding_bottom_180{
padding-bottom: 180rpx;
} }
.underLine{ .underLine{
text-decoration:underline; text-decoration:underline;
...@@ -78,6 +117,9 @@ ...@@ -78,6 +117,9 @@
-webkit-flex-direction: column; -webkit-flex-direction: column;
flex-direction: column; flex-direction: column;
} }
.padding_bottom_130{
padding-bottom: 130rpx;
}
.bottomLine{ .bottomLine{
border-bottom: 2rpx solid #999999; border-bottom: 2rpx solid #999999;
} }
...@@ -111,7 +153,7 @@ ...@@ -111,7 +153,7 @@
.bottomView{ .bottomView{
background-color: #FFFFFF; background-color: #FFFFFF;
width: 100%; width: 100%;
height: 110rpx; height: 104rpx;
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
display: flex; display: flex;
...@@ -122,13 +164,12 @@ ...@@ -122,13 +164,12 @@
-webkit-box-align: center; -webkit-box-align: center;
-webkit-align-items: center; -webkit-align-items: center;
align-items: center; align-items: center;
border-top: 2rpx solid #999999;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
} }
.bottomLeftView{ .bottomLeftView{
background-color: #FFFFFF; background-color: #FFFFFF;
width: 30%; width: 45%;
height: 100%; height: 100%;
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
...@@ -142,8 +183,8 @@ ...@@ -142,8 +183,8 @@
border-right: 2rpx solid #999999; border-right: 2rpx solid #999999;
} }
.bottomRightView{ .bottomRightView{
background-color: #FFFFFF; background-color: #2272FF;
width: 70%; width: 55%;
height: 100%; height: 100%;
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
...@@ -158,4 +199,17 @@ ...@@ -158,4 +199,17 @@
.bottomTitle{ .bottomTitle{
font-size: 32rpx; font-size: 32rpx;
} }
.whiteColor{
color: #FFFFFF;
}
.gray66{
color: #666666;
}
.divideLine{
background-color: #999999;
margin-left: 30rpx;
margin-right: 30rpx;
height: 2rpx;
}
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
} }
.topItemView{ .topItemView{
background-color: #FAFAFA; background-color: #FAFAFA;
width: 33%; width: 50%;
height: 94rpx; height: 94rpx;
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
height: 6rpx; height: 6rpx;
} }
.activeColor{ .activeColor{
background-color: #999999; background-color: #999999;
} }
.listView{ .listView{
...@@ -68,6 +69,7 @@ ...@@ -68,6 +69,7 @@
flex-direction: column; flex-direction: column;
} }
.itemView{ .itemView{
background-color: #FFFFFF;
width: 100%; width: 100%;
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
...@@ -76,9 +78,74 @@ ...@@ -76,9 +78,74 @@
-webkit-box-direction: normal; -webkit-box-direction: normal;
-webkit-flex-direction: column; -webkit-flex-direction: column;
flex-direction: column; flex-direction: column;
border-bottom: 2rpx solid #999999; }
.divideLine{
background-color: #FAFAFA;
width: 100%;
height: 16rpx;
} }
.nameView{ .nameView{
width: 100%;
height: 90rpx;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
}
.nameLeftView{
background-color: #FFFFFF;
width: 50%;
height: 100%;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
}
.nameText{
margin-left: 28rpx;
color: #333333;
font-size: 28rpx;
font-weight: bold;
}
.phoneText{
margin-left: 20rpx;
color: #999999;
font-size: 24rpx;
}
.callPhoneText{
margin-left: 20rpx;
color: #2272FF;
font-size: 28rpx;
}
.productText{
margin-right: 30rpx;
font-size: 28rpx;
color: #333333;
}
.addressText{
margin-left: 24rpx;
margin-right: 30rpx;
font-size: 28rpx;
line-height: 40rpx;
color: #333333;
}
.itemBottomView{
background-color: #FFFFFF;
width: 100%; width: 100%;
height: 80rpx; height: 80rpx;
display: -webkit-box; display: -webkit-box;
...@@ -95,10 +162,146 @@ ...@@ -95,10 +162,146 @@
-webkit-justify-content: space-between; -webkit-justify-content: space-between;
justify-content: space-between; justify-content: space-between;
} }
.workerView{
background-color: #FFFFFF;
width: 70%;
height: 100%;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-align: end;
-webkit-align-items: flex-end;
align-items: flex-end;
}
.workerNameText{
margin-left: 28rpx;
color: #333333;
font-size: 28rpx;
font-weight: bold;
}
.workerPhoneText{
margin-left: 16rpx;
color: #2272FF;
font-size: 28rpx;
text-decoration:underline;
}
.robStatusView{
background-color: #FFFFFF;
width: 100%;
height: 80rpx;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: reverse;
-webkit-flex-direction: row-reverse;
flex-direction: row-reverse;
-webkit-box-align: end;
-webkit-align-items: flex-end;
align-items: flex-end;
}
.statusView{
background-color: #FFFFFF;
width: 30%;
height: 80rpx;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: reverse;
-webkit-flex-direction: row-reverse;
flex-direction: row-reverse;
-webkit-box-align: end;
-webkit-align-items: flex-end;
align-items: flex-end;
}
.statusText{
color: #2272FF;
font-size: 28rpx;
margin-right: 30rpx;
}
.bookBottomView{
background-color: #FFFFFF;
width: 100%;
height: 80rpx;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
-webkit-box-align: end;
-webkit-align-items: flex-end;
align-items: flex-end;
}
.typeText{
margin-left: 30rpx;
font-size: 28rpx;
color: #333333;
}
.bookText{
color: #2272FF;
font-size: 28rpx;
}
.finishBottomView{
background-color: #FFFFFF;
width: 100%;
height: 80rpx;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
-webkit-box-align: end;
-webkit-align-items: flex-end;
align-items: flex-end;
}
.finishDateText{
margin-right: 30rpx;
font-size: 28rpx;
color: #333333;
}
.underLine{ .underLine{
text-decoration:underline; text-decoration:underline;
} }
.bookView{ .noDataView{
background-color: #FFFFFF;
width: 100%;
height: 1112rpx;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
}
.noDataIcon{
background-color: #FFFFFF;
margin-top: 280rpx;
width: 200rpx;
height: 160rpx;
}
.noDataText{
color:#999999;
margin-top: 32rpx;
font-size: 28rpx;
} }
{
"navigationBarTitleText": "服务措施",
"usingComponents": {}
}
\ No newline at end of file
<view>服务措施</view>
\ No newline at end of file
/* pages/take/measure.wxss */
\ No newline at end of file
{
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
"rules": [{
"action": "allow",
"page": "*"
}]
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment