Commit 2a8012cb authored by 程新智's avatar 程新智 👽

优化

parent d8023677
...@@ -142,11 +142,14 @@ export default { ...@@ -142,11 +142,14 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss">
.getCarCode { .getCarCode {
/deep/ .u-modal__content__text { /deep/ .u-modal__content__text {
text-align: center !important; text-align: center !important;
} }
/deep/ .u-input__content__field-wrapper__field {
text-align: right !important;
}
.price__bottom { .price__bottom {
width: 100%; width: 100%;
......
...@@ -117,7 +117,9 @@ export default { ...@@ -117,7 +117,9 @@ export default {
.getPrice { .getPrice {
width: 100%; width: 100%;
height: 100%; height: 100%;
/deep/ .u-input__content__field-wrapper__field {
text-align: right !important;
}
/deep/.uni-input-input, /deep/.uni-input-input,
.uni-input-placeholder { .uni-input-placeholder {
text-align: right; text-align: right;
......
...@@ -24,10 +24,12 @@ ...@@ -24,10 +24,12 @@
</div> </div>
</div> </div>
</div> </div>
<u-gap bgColor="transparent" height="60"></u-gap>
<div class="love__btn" @click="addCar"> <div class="love__btn" @click="addCar">
<image src="@/static/move-car/love-car5.png"> 添加车辆 <image src="@/static/move-car/love-car5.png"> 添加车辆
</div> </div>
</div> </div>
</view> </view>
</template> </template>
...@@ -147,7 +149,9 @@ export default { ...@@ -147,7 +149,9 @@ export default {
color: #FFFFFF; color: #FFFFFF;
line-height: 76rpx; line-height: 76rpx;
text-align: center; text-align: center;
position: fixed;
width: 670rpx;
bottom: 60rpx;
image { image {
width: 30rpx; width: 30rpx;
height: 30rpx; height: 30rpx;
......
...@@ -61,13 +61,12 @@ export default { ...@@ -61,13 +61,12 @@ export default {
size: 10, size: 10,
auto: true auto: true
}, },
list:[ list: [{},
{}, {},
{}, {},
{}, {},
{}, {},
{},
], ],
keyword: '', keyword: '',
list3: [ list3: [
...@@ -87,7 +86,10 @@ export default { ...@@ -87,7 +86,10 @@ export default {
} }
this.list = [...this.list, ...list]; this.list = [...this.list, ...list];
// 加载成功 参数对象{list: 当前列表,total: 数据总长度(后端查询的total)} // 加载成功 参数对象{list: 当前列表,total: 数据总长度(后端查询的total)}
this.$refs.list.loadSuccess({ list: this.list, total: this.list.length }); this.$refs.list.loadSuccess({
list: this.list,
total: this.list.length
});
// 加载失败 // 加载失败
// this.$refs.list.loadFail() // this.$refs.list.loadFail()
}, this.$u.random(100, 1000)); }, this.$u.random(100, 1000));
...@@ -128,7 +130,7 @@ export default { ...@@ -128,7 +130,7 @@ export default {
margin-bottom: 30rpx; margin-bottom: 30rpx;
.one__item__img { .one__item__img {
width: 100%; width: 320rpx;
height: 320rpx; height: 320rpx;
background: #FFD4D4; background: #FFD4D4;
border-radius: 20rpx; border-radius: 20rpx;
...@@ -219,6 +221,8 @@ export default { ...@@ -219,6 +221,8 @@ export default {
.item2__img { .item2__img {
margin-bottom: 20rpx; margin-bottom: 20rpx;
text-align: center; text-align: center;
width: 145rpx;
height: 145rpx;
image { image {
width: 145rpx; width: 145rpx;
......
{ {
"pages": [ "pages": [
"pages/binding/index", "pages/binding/index",
"pages/binding/binding", "pages/binding/binding",
"pages/release/release" "pages/release/release"
], ],
"subPackages": [ "subPackages": [
{ {
"root": "pagesA", "root": "pagesA",
"pages": [ "pages": [
"pages/index/index", "pages/index/index",
"pages/index/getPrice", "pages/index/getPrice",
"pages/index/getCarCode" "pages/index/getCarCode"
] ]
},
{
"root": "pagesB",
"pages": [
"pages/move-car/index",
"pages/move-car/oneMoveCar",
"pages/move-car/myMoveCar",
"pages/move-car/moveCarDetail",
"pages/move-car/loveCar",
"pages/move-car/addCar",
"pages/move-car/editCar",
"pages/move-car/myRecord",
"pages/move-car/myCall",
"pages/move-car/recordDetail",
"pages/move-car/callDetail",
"pages/move-car/scan"
]
},
{
"root": "pagesC",
"pages": [
"pages/shop/index",
"pages/shop/detail",
"pages/shop/search",
"pages/shop/pay",
"pages/shop/payOk"
]
},
{
"root": "pagesD",
"pages": [
"pages/personal/index",
"pages/personal/myAddress",
"pages/personal/addAddress",
"pages/personal/editAddress",
"pages/personal/myOrder",
"pages/personal/orderDetail",
"pages/personal/carTime",
"pages/personal/pull",
"pages/personal/userInfo",
"pages/personal/help",
"pages/personal/ask",
"pages/personal/asking"
]
}
],
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "首页",
"navigationBarBackgroundColor": "#ffffff",
"backgroundColor": "#ffffff",
"rpxCalcMaxDeviceWidth": 750,
"rpxCalcBaseDeviceWidth": 375,
"rpxCalcIncludeWidth": 750
}, },
{ "usingComponents": {
"root": "pagesB", "active-form": "/common/active-form/active-form",
"pages": [ "scroll-list": "/common/scroll-list/scroll-list"
"pages/move-car/index",
"pages/move-car/oneMoveCar",
"pages/move-car/myMoveCar",
"pages/move-car/moveCarDetail",
"pages/move-car/loveCar",
"pages/move-car/addCar",
"pages/move-car/editCar",
"pages/move-car/myRecord",
"pages/move-car/myCall",
"pages/move-car/recordDetail",
"pages/move-car/callDetail",
"pages/move-car/scan"
]
}, },
{ "sitemapLocation": "sitemap.json"
"root": "pagesC",
"pages": [
"pages/shop/index",
"pages/shop/detail",
"pages/shop/search",
"pages/shop/pay",
"pages/shop/payOk"
]
},
{
"root": "pagesD",
"pages": [
"pages/personal/index",
"pages/personal/myAddress",
"pages/personal/addAddress",
"pages/personal/editAddress",
"pages/personal/myOrder",
"pages/personal/orderDetail",
"pages/personal/carTime",
"pages/personal/pull",
"pages/personal/userInfo",
"pages/personal/help",
"pages/personal/ask",
"pages/personal/asking"
]
}
],
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "首页",
"navigationBarBackgroundColor": "#ffffff",
"backgroundColor": "#ffffff",
"rpxCalcMaxDeviceWidth": 750,
"rpxCalcBaseDeviceWidth": 375,
"rpxCalcIncludeWidth": 750
},
"usingComponents": {
"active-form": "/common/active-form/active-form",
"scroll-list": "/common/scroll-list/scroll-list"
}
} }
\ No newline at end of file
...@@ -10,9 +10,9 @@ ...@@ -10,9 +10,9 @@
/* WEBPACK VAR INJECTION */(function(createApp) {__webpack_require__(/*! uni-pages */ 5);var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3)); /* WEBPACK VAR INJECTION */(function(createApp) {__webpack_require__(/*! uni-pages */ 5);var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 3));
var _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 6)); var _App = _interopRequireDefault(__webpack_require__(/*! ./App */ 6));
var _index = _interopRequireDefault(__webpack_require__(/*! @/common/uview-ui/index */ 12)); var _index = _interopRequireDefault(__webpack_require__(/*! @/common/uview-ui/index */ 12));
var _store = _interopRequireDefault(__webpack_require__(/*! ./store */ 808));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__; var _store = _interopRequireDefault(__webpack_require__(/*! ./store */ 136));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;
_vue.default.prototype.$store = _store.default; _vue.default.prototype.$store = _store.default;
_vue.default.config.productionTip = false;var ActiveForm = function ActiveForm() {__webpack_require__.e(/*! require.ensure | common/active-form/active-form */ "common/active-form/active-form").then((function () {return resolve(__webpack_require__(/*! @/common/active-form/active-form */ 428));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var scrollList = function scrollList() {Promise.all(/*! require.ensure | common/scroll-list/scroll-list */[__webpack_require__.e("common/vendor"), __webpack_require__.e("common/scroll-list/scroll-list")]).then((function () {return resolve(__webpack_require__(/*! @/common/scroll-list/scroll-list */ 799));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; _vue.default.config.productionTip = false;var ActiveForm = function ActiveForm() {__webpack_require__.e(/*! require.ensure | common/active-form/active-form */ "common/active-form/active-form").then((function () {return resolve(__webpack_require__(/*! @/common/active-form/active-form */ 430));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var scrollList = function scrollList() {Promise.all(/*! require.ensure | common/scroll-list/scroll-list */[__webpack_require__.e("common/vendor"), __webpack_require__.e("common/scroll-list/scroll-list")]).then((function () {return resolve(__webpack_require__(/*! @/common/scroll-list/scroll-list */ 437));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};
_vue.default.use(_index.default); _vue.default.use(_index.default);
......
{ {
"usingComponents": {}, "component": true,
"component": true "usingComponents": {}
} }
\ No newline at end of file
{ {
"component": true,
"usingComponents": { "usingComponents": {
"u-popup": "/common/uview-ui/components/u-popup/u-popup", "u-popup": "/common/uview-ui/components/u-popup/u-popup",
"u-icon": "/common/uview-ui/components/u-icon/u-icon", "u-icon": "/common/uview-ui/components/u-icon/u-icon",
"u-line": "/common/uview-ui/components/u-line/u-line", "u-line": "/common/uview-ui/components/u-line/u-line",
"u-loading-icon": "/common/uview-ui/components/u-loading-icon/u-loading-icon", "u-loading-icon": "/common/uview-ui/components/u-loading-icon/u-loading-icon",
"u-gap": "/common/uview-ui/components/u-gap/u-gap" "u-gap": "/common/uview-ui/components/u-gap/u-gap"
}, }
"component": true
} }
\ No newline at end of file
{ {
"component": true,
"usingComponents": { "usingComponents": {
"u-picker": "/common/uview-ui/components/u-picker/u-picker" "u-picker": "/common/uview-ui/components/u-picker/u-picker"
} },
"component": true
} }
\ 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