1.优化代码

yj-dev
杨杰 3 years ago
parent 632ee2d9fb
commit 247655cd7e
  1. 34
      pages/goods/refuel/refuel.vue
  2. 2
      pages/user/deposit/deposit.vue

@ -7,7 +7,8 @@
<slFilter :independence="true" :color="titleColor" :themeColor="themeColor" :menuList.sync="menuList" <slFilter :independence="true" :color="titleColor" :themeColor="themeColor" :menuList.sync="menuList"
@result="result"></slFilter> @result="result"></slFilter>
<view class="width90 height100p backcorfff border-r mart10"> <view class="width90 height100p backcorfff border-r mart10">
<image mode="widthFix" src="../../../static/img/noorder.png" class="recontleft flleft mart10 border-r"></image> <image mode="widthFix" src="../../../static/img/noorder.png" class="recontleft flleft mart10 border-r">
</image>
<view class="recontright"> <view class="recontright">
<view class="text1 width100 font15 fontwig6 paddtop10">贵州花冠中石油燃气加油站</view> <view class="text1 width100 font15 fontwig6 paddtop10">贵州花冠中石油燃气加油站</view>
<view class="width100 mart10 height22"> <view class="width100 mart10 height22">
@ -25,7 +26,8 @@
</view> </view>
<view class="width90 height100p backcorfff border-r mart10"> <view class="width90 height100p backcorfff border-r mart10">
<image mode="widthFix" src="../../../static/img/noorder.png" class="recontleft flleft mart10 border-r"></image> <image mode="widthFix" src="../../../static/img/noorder.png" class="recontleft flleft mart10 border-r">
</image>
<view class="recontright"> <view class="recontright">
<view class="text1 width100 font15 fontwig6 paddtop10">贵州花冠中石油燃气加油站</view> <view class="text1 width100 font15 fontwig6 paddtop10">贵州花冠中石油燃气加油站</view>
<view class="width100 mart10 height22"> <view class="width100 mart10 height22">
@ -43,7 +45,8 @@
</view> </view>
<view class="width90 height100p backcorfff border-r mart10"> <view class="width90 height100p backcorfff border-r mart10">
<image mode="widthFix" src="../../../static/img/noorder.png" class="recontleft flleft mart10 border-r"></image> <image mode="widthFix" src="../../../static/img/noorder.png" class="recontleft flleft mart10 border-r">
</image>
<view class="recontright"> <view class="recontright">
<view class="text1 width100 font15 fontwig6 paddtop10">贵州花冠中石油燃气加油站</view> <view class="text1 width100 font15 fontwig6 paddtop10">贵州花冠中石油燃气加油站</view>
<view class="width100 mart10 height22"> <view class="width100 mart10 height22">
@ -105,20 +108,25 @@
}, },
{ {
'title': '距离', 'title': '距离',
'key': 'single', 'key': 'single1',
'isMutiple': false, 'isMutiple': false,
'detailTitle': '请选择(单选)', 'detailTitle': '请选择(单选)',
'reflexTitle': true, 'reflexTitle': true,
'defaultSelectedIndex': 0, 'defaultSelectedIndex': 0,
'detailList': [{ 'detailList': [{
'title': '距离最近', 'title': '距离最近',
'value': '距离最近' 'value': '距离最近'
}] },
{
'title': '距离最远',
'value': '距离最远'
}
]
}, },
{ {
'title': '油号', 'title': '油号',
'key': 'single', 'key': 'single2',
'isMutiple': false, 'isMutiple': false,
'detailTitle': '请选择(单选)', 'detailTitle': '请选择(单选)',
'reflexTitle': true, 'reflexTitle': true,
@ -139,26 +147,26 @@
}, },
{ {
'title': '距离', 'title': '距离',
'key': 'single', 'key': 'single3',
'isMutiple': false, 'isMutiple': false,
'detailTitle': '请选择(单选)', 'detailTitle': '请选择(单选)',
'reflexTitle': true, 'reflexTitle': true,
'defaultSelectedIndex': 0, 'defaultSelectedIndex': 0,
'detailList': [{ 'detailList': [{
'title': '默认排序', 'title': '默认排序',
'value': '' 'value': '默认排序'
}, },
{ {
'title': '发布时间', 'title': '发布时间',
'value': 'add_time' 'value': '发布时间'
}, },
{ {
'title': '薪资最高', 'title': '薪资最高',
'value': 'wages_up' 'value': '薪资最高'
}, },
{ {
'title': '离我最近', 'title': '离我最近',
'value': 'location' 'value': '离我最近'
} }
] ]
} }

@ -78,7 +78,9 @@
addOrder, addOrder,
orderToPay orderToPay
} from "../../../Utils/Api.js"; } from "../../../Utils/Api.js";
// #ifdef H5
var jweixin = require('jweixin-module'); var jweixin = require('jweixin-module');
// #endif
export default { export default {
data() { data() {
return { return {

Loading…
Cancel
Save