xingyy
xingyy 1 year ago
parent 78043e01c0
commit 42d02836a3

@ -3,7 +3,7 @@ import tabBar from "./util/tabbar";
export default { export default {
onLaunch: function() { onLaunch: function() {
uni.setStorageSync("token",'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJJRCI6MCwiT3BlbklkIjoib01qYXY2eFFjQUttUW1ZUTFXV20zOXlCQUZ4byIsIk5pY2tOYW1lIjoiIiwiVGVsTnVtIjoiIiwiQXZhdGFyIjoiIiwiSUROdW0iOiIiLCJleHAiOjE2OTUzMDY2MTcsImlzcyI6Im1hbGwifQ.IWj4Qw2IlYO4PHnzoqrtEw_wjEylHkQNGrBIrCHHpZc') uni.setStorageSync("token",'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJJRCI6MCwiT3BlbklkIjoib01qYXY2eFFjQUttUW1ZUTFXV20zOXlCQUZ4byIsIk5pY2tOYW1lIjoiIiwiVGVsTnVtIjoiMTgyMDUwNTI2MjciLCJBdmF0YXIiOiIiLCJJRE51bSI6IiIsImV4cCI6MTY5NTQzNjEwMSwiaXNzIjoibWFsbCJ9.qYzFMtoOOBuawYDTl7iuwlTTz7Fakhr8657PjxWhQ8I')
uni.hideTabBar(); uni.hideTabBar();
uni.setStorageSync("tabBar", tabBar); uni.setStorageSync("tabBar", tabBar);
}, },

@ -55,6 +55,7 @@
{ {
"path": "pages/contract/index", "path": "pages/contract/index",
"style": { "style": {
"navigationStyle": "custom",
"navigationBarTitleText": "", "navigationBarTitleText": "",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }

@ -1,49 +1,83 @@
<template> <template>
<div class="contract" :style="{background:'url('+'../../static/bbj1@3x.png'+')'}"> <div class="contract" >
<div class="content1"> <title-block title="待签署合同">
<div class="wrap1"></div> <template #left>
<div class="wrap2">待签署合同</div>
<div class="wrap3"> <div class="wrap3">
<image src="../../static/zu567@3x.png"></image> <image src="../../static/zu567@3x.png"></image>
</div> </div>
</div> </template>
</title-block>
<div class="content2"> <div class="content2">
<div class="wrap1">合同名称</div> <div class="wrap1">合同名称</div>
<div class="wrap2">合同编号</div> <div class="wrap2">合同编号</div>
<div class="wrap3">签署倒计时</div> <div class="wrap3">签署倒计时</div>
</div> </div>
<scroll-view style="margin-top: 20rpx;height: 1400rpx" class="scrollbox" :scroll-y="true" @scrolltolower="loadMore">
<div class="content3"> <div class="content3">
<div class="wrap1"> <div class="wrap1" v-for="(item,index) in mainList" :key="index">
<div class="wrap1_1">合同的名称</div> <div class="wrap1_1">合同的名称</div>
<div class="wrap1_2">937329883</div> <div class="wrap1_2">937329883</div>
<div class="wrap1_3"><div class="wrap1_3_1">剩余23:59:59</div></div> <div class="wrap1_3"><div class="wrap1_3_1">剩余23:59:59</div></div>
</div> </div>
</div> </div>
</scroll-view>
<tabbar :current="2"></tabbar> <tabbar :current="2"></tabbar>
</div> </div>
</template> </template>
<script> <script>
import tabbar from "../../components/uiq-tabbar/uiq-tabbar.vue"; import tabbar from "../../components/uiq-tabbar/uiq-tabbar.vue";
import {postDataByParams} from "../../http/service";
export default { export default {
name: "index", name: "index",
components: {tabbar} components: {tabbar},
data(){
return{
page:1,
pageSize:999,
mainList:[]
}
},
mounted(){
this.getData()
},
methods:{
loadMore(){
},
async getData() {
const data = {
page: this.page, //
pageSize: this.pageSize, //
}
const res = await postDataByParams('/api/warehouse/list', data)
if (res.code === 200) {
this.mainList = res.data.data
}else {
uni.showToast({
title: res.msg,
icon:'none'
})
}
},
}
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.contract{ .contract{
background-image: url("https://cdns.fontree.cn/fonchain-main/prod/image/default/artwork/4fdc9a0f-d72a-46b6-a04d-ed56d5465213.png");
box-sizing: border-box; box-sizing: border-box;
padding-top: 46rpx; overflow: hidden;
padding-left: 30rpx; padding-left: 30rpx;
padding-right: 30rpx; padding-right: 30rpx;
background-size: cover; background-size: cover;
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
.content3{ .content3{
margin-top: 20rpx; margin-bottom: 166rpx;
.wrap1{ .wrap1{
margin-bottom: 20rpx;
border-radius: 20rpx; border-radius: 20rpx;
height: 108rpx; height: 108rpx;
background: #fff; background: #fff;

@ -19,7 +19,6 @@
</div> </div>
</template> </template>
</title-block> </title-block>
<div class="content2"> <div class="content2">
<div class="wrap1"> <div class="wrap1">
<div class="wrap1_1"> <div class="wrap1_1">
@ -41,6 +40,7 @@
@touchstart="(e)=>{touchStart(e,index)}" @touchstart="(e)=>{touchStart(e,index)}"
@touchmove="(e)=>{touchMove(e,index)}" @touchmove="(e)=>{touchMove(e,index)}"
@touchend="()=>{touchEnd(index)}" @touchend="()=>{touchEnd(index)}"
@click="goRouter(item)"
:style="{transform: `translateX(${item.distanceX}px)`}" class="wrap1"> :style="{transform: `translateX(${item.distanceX}px)`}" class="wrap1">
<div class="wrap1_1"> <div class="wrap1_1">
<image src="../../static/jx632@3x.png"></image> <image src="../../static/jx632@3x.png"></image>
@ -66,7 +66,7 @@
</div> </div>
</div> </div>
<div class="wrap1_4" v-if="item.isRight"> <div class="wrap1_4" v-if="item.isRight&&item.status===5">
<image style="width: 80rpx;height: 80rpx" src="../../static/zu154@3x.png"></image> <image style="width: 80rpx;height: 80rpx" src="../../static/zu154@3x.png"></image>
</div> </div>
</div> </div>
@ -109,6 +109,11 @@ export default {
}) })
}, },
methods: { methods: {
goRouter(){
uni.navigateTo({
url:'/pages/order-goods/order-details'
})
},
search() { search() {
this.getData() this.getData()
}, },
@ -136,6 +141,11 @@ export default {
this.$set(x, 'distanceX', 0) this.$set(x, 'distanceX', 0)
this.$set(x, 'isRight', false) this.$set(x, 'isRight', false)
}) })
}else {
uni.showToast({
title: res.msg,
icon:'none'
})
} }
}, },
touchMove(e, index) { touchMove(e, index) {

@ -54,8 +54,19 @@
</div> </div>
</template> </template>
<script> <script>
import {postDataByParams} from "../../http/service";
export default { export default {
name: "order-details" name: "order-details",
mounted() {
this.getData()
},
methods: {
async getData() {
const res = await postDataByParams('/api/warehouse/detail')
console.log(res, 'res')
}
}
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@ -67,16 +78,20 @@ export default {
background-size: cover; background-size: cover;
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
.content3 { .content3 {
margin-top: 60rpx; margin-top: 60rpx;
.wrap1 { .wrap1 {
border: 1rpx dashed #DFE9F0; border: 1rpx dashed #DFE9F0;
background-color: #fff; background-color: #fff;
.wrap1_1 { .wrap1_1 {
position: relative; position: relative;
height: 114rpx; height: 114rpx;
display: flex; display: flex;
align-items: center; align-items: center;
.wrap1_1_4 { .wrap1_1_4 {
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
@ -86,6 +101,7 @@ export default {
width: 636rpx; width: 636rpx;
border-bottom: 0.5px solid #626262; border-bottom: 0.5px solid #626262;
} }
.wrap1_1_2 { .wrap1_1_2 {
margin-right: 36rpx; margin-right: 36rpx;
width: 0; width: 0;
@ -93,6 +109,7 @@ export default {
border-left: 0.5px solid #626262; border-left: 0.5px solid #626262;
} }
.wrap1_1_1 { .wrap1_1_1 {
width: 210rpx; width: 210rpx;
padding-left: 32rpx; padding-left: 32rpx;
@ -103,29 +120,35 @@ export default {
} }
} }
} }
.content2 { .content2 {
margin-top: 42rpx; margin-top: 42rpx;
display: flex; display: flex;
justify-content: center; justify-content: center;
image { image {
width: 404rpx; width: 404rpx;
height: 306rpx; height: 306rpx;
} }
} }
.content1 { .content1 {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
.wrap1 { .wrap1 {
image { image {
width: 112rpx; width: 112rpx;
height: 52rpx; height: 52rpx;
} }
} }
.wrap2 { .wrap2 {
color: #4E964D; color: #4E964D;
font-size: 32rpx; font-size: 32rpx;
} }
.wrap3 { .wrap3 {
image { image {
width: 40rpx; width: 40rpx;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -110,7 +110,7 @@ exports.default = void 0;
var _tabbar = _interopRequireDefault(__webpack_require__(/*! ./util/tabbar */ 30)); var _tabbar = _interopRequireDefault(__webpack_require__(/*! ./util/tabbar */ 30));
var _default = { var _default = {
onLaunch: function onLaunch() { onLaunch: function onLaunch() {
uni.setStorageSync("token", 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJJRCI6MCwiT3BlbklkIjoib01qYXY2eFFjQUttUW1ZUTFXV20zOXlCQUZ4byIsIk5pY2tOYW1lIjoiIiwiVGVsTnVtIjoiIiwiQXZhdGFyIjoiIiwiSUROdW0iOiIiLCJleHAiOjE2OTUzMDY2MTcsImlzcyI6Im1hbGwifQ.IWj4Qw2IlYO4PHnzoqrtEw_wjEylHkQNGrBIrCHHpZc'); uni.setStorageSync("token", 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJJRCI6MCwiT3BlbklkIjoib01qYXY2eFFjQUttUW1ZUTFXV20zOXlCQUZ4byIsIk5pY2tOYW1lIjoiIiwiVGVsTnVtIjoiMTgyMDUwNTI2MjciLCJBdmF0YXIiOiIiLCJJRE51bSI6IiIsImV4cCI6MTY5NTQzNjEwMSwiaXNzIjoibWFsbCJ9.qYzFMtoOOBuawYDTl7iuwlTTz7Fakhr8657PjxWhQ8I');
uni.hideTabBar(); uni.hideTabBar();
uni.setStorageSync("tabBar", _tabbar.default); uni.setStorageSync("tabBar", _tabbar.default);
}, },

@ -105,11 +105,11 @@
/******/ /******/
/******/ /******/
/******/ // mini-css-extract-plugin CSS loading /******/ // mini-css-extract-plugin CSS loading
/******/ var cssChunks = {"uview-ui/components/u-button/u-button":1,"uview-ui/components/u-icon/u-icon":1,"uview-ui/components/u-checkbox-group/u-checkbox-group":1,"uview-ui/components/u-checkbox/u-checkbox":1,"uview-ui/components/u-upload/u-upload":1,"uview-ui/components/u-count-down/u-count-down":1,"components/uiq-tabbar/uiq-tabbar":1,"uview-ui/components/u-divider/u-divider":1,"uview-ui/components/u-action-sheet/u-action-sheet":1,"components/title-block/title-block":1,"tm-vuetify/components/tm-poup/tm-poup":1,"uview-ui/components/u-input/u-input":1,"uview-ui/components/u-loading-icon/u-loading-icon":1,"uview-ui/components/u-tabbar-item/u-tabbar-item":1,"uview-ui/components/u-tabbar/u-tabbar":1,"uview-ui/components/u-line/u-line":1,"uview-ui/components/u-image/u-image":1,"uview-ui/components/u-gap/u-gap":1,"uview-ui/components/u-popup/u-popup":1,"uview-ui/components/u-badge/u-badge":1,"uview-ui/components/u-safe-bottom/u-safe-bottom":1,"uview-ui/components/u-transition/u-transition":1,"uview-ui/components/u-overlay/u-overlay":1,"uview-ui/components/u-status-bar/u-status-bar":1}; /******/ var cssChunks = {"uview-ui/components/u-button/u-button":1,"uview-ui/components/u-icon/u-icon":1,"uview-ui/components/u-checkbox-group/u-checkbox-group":1,"uview-ui/components/u-checkbox/u-checkbox":1,"uview-ui/components/u-upload/u-upload":1,"uview-ui/components/u-count-down/u-count-down":1,"components/uiq-tabbar/uiq-tabbar":1,"uview-ui/components/u-divider/u-divider":1,"components/title-block/title-block":1,"uview-ui/components/u-action-sheet/u-action-sheet":1,"tm-vuetify/components/tm-poup/tm-poup":1,"uview-ui/components/u-input/u-input":1,"uview-ui/components/u-loading-icon/u-loading-icon":1,"uview-ui/components/u-tabbar-item/u-tabbar-item":1,"uview-ui/components/u-tabbar/u-tabbar":1,"uview-ui/components/u-line/u-line":1,"uview-ui/components/u-image/u-image":1,"uview-ui/components/u-gap/u-gap":1,"uview-ui/components/u-popup/u-popup":1,"uview-ui/components/u-badge/u-badge":1,"uview-ui/components/u-safe-bottom/u-safe-bottom":1,"uview-ui/components/u-transition/u-transition":1,"uview-ui/components/u-overlay/u-overlay":1,"uview-ui/components/u-status-bar/u-status-bar":1};
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]); /******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) { /******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
/******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) { /******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
/******/ var href = "" + ({"uview-ui/components/u--input/u--input":"uview-ui/components/u--input/u--input","uview-ui/components/u-button/u-button":"uview-ui/components/u-button/u-button","uview-ui/components/u-icon/u-icon":"uview-ui/components/u-icon/u-icon","uview-ui/components/u-checkbox-group/u-checkbox-group":"uview-ui/components/u-checkbox-group/u-checkbox-group","uview-ui/components/u-checkbox/u-checkbox":"uview-ui/components/u-checkbox/u-checkbox","uview-ui/components/u-upload/u-upload":"uview-ui/components/u-upload/u-upload","uview-ui/components/u-count-down/u-count-down":"uview-ui/components/u-count-down/u-count-down","components/uiq-tabbar/uiq-tabbar":"components/uiq-tabbar/uiq-tabbar","uview-ui/components/u-divider/u-divider":"uview-ui/components/u-divider/u-divider","uview-ui/components/u--image/u--image":"uview-ui/components/u--image/u--image","uview-ui/components/u-action-sheet/u-action-sheet":"uview-ui/components/u-action-sheet/u-action-sheet","components/title-block/title-block":"components/title-block/title-block","tm-vuetify/components/tm-poup/tm-poup":"tm-vuetify/components/tm-poup/tm-poup","uview-ui/components/u-input/u-input":"uview-ui/components/u-input/u-input","uview-ui/components/u-loading-icon/u-loading-icon":"uview-ui/components/u-loading-icon/u-loading-icon","uview-ui/components/u-tabbar-item/u-tabbar-item":"uview-ui/components/u-tabbar-item/u-tabbar-item","uview-ui/components/u-tabbar/u-tabbar":"uview-ui/components/u-tabbar/u-tabbar","uview-ui/components/u-line/u-line":"uview-ui/components/u-line/u-line","uview-ui/components/u-image/u-image":"uview-ui/components/u-image/u-image","uview-ui/components/u-gap/u-gap":"uview-ui/components/u-gap/u-gap","uview-ui/components/u-popup/u-popup":"uview-ui/components/u-popup/u-popup","uview-ui/components/u-badge/u-badge":"uview-ui/components/u-badge/u-badge","uview-ui/components/u-safe-bottom/u-safe-bottom":"uview-ui/components/u-safe-bottom/u-safe-bottom","uview-ui/components/u-transition/u-transition":"uview-ui/components/u-transition/u-transition","uview-ui/components/u-overlay/u-overlay":"uview-ui/components/u-overlay/u-overlay","uview-ui/components/u-status-bar/u-status-bar":"uview-ui/components/u-status-bar/u-status-bar"}[chunkId]||chunkId) + ".wxss"; /******/ var href = "" + ({"uview-ui/components/u--input/u--input":"uview-ui/components/u--input/u--input","uview-ui/components/u-button/u-button":"uview-ui/components/u-button/u-button","uview-ui/components/u-icon/u-icon":"uview-ui/components/u-icon/u-icon","uview-ui/components/u-checkbox-group/u-checkbox-group":"uview-ui/components/u-checkbox-group/u-checkbox-group","uview-ui/components/u-checkbox/u-checkbox":"uview-ui/components/u-checkbox/u-checkbox","uview-ui/components/u-upload/u-upload":"uview-ui/components/u-upload/u-upload","uview-ui/components/u-count-down/u-count-down":"uview-ui/components/u-count-down/u-count-down","components/uiq-tabbar/uiq-tabbar":"components/uiq-tabbar/uiq-tabbar","uview-ui/components/u-divider/u-divider":"uview-ui/components/u-divider/u-divider","components/title-block/title-block":"components/title-block/title-block","uview-ui/components/u--image/u--image":"uview-ui/components/u--image/u--image","uview-ui/components/u-action-sheet/u-action-sheet":"uview-ui/components/u-action-sheet/u-action-sheet","tm-vuetify/components/tm-poup/tm-poup":"tm-vuetify/components/tm-poup/tm-poup","uview-ui/components/u-input/u-input":"uview-ui/components/u-input/u-input","uview-ui/components/u-loading-icon/u-loading-icon":"uview-ui/components/u-loading-icon/u-loading-icon","uview-ui/components/u-tabbar-item/u-tabbar-item":"uview-ui/components/u-tabbar-item/u-tabbar-item","uview-ui/components/u-tabbar/u-tabbar":"uview-ui/components/u-tabbar/u-tabbar","uview-ui/components/u-line/u-line":"uview-ui/components/u-line/u-line","uview-ui/components/u-image/u-image":"uview-ui/components/u-image/u-image","uview-ui/components/u-gap/u-gap":"uview-ui/components/u-gap/u-gap","uview-ui/components/u-popup/u-popup":"uview-ui/components/u-popup/u-popup","uview-ui/components/u-badge/u-badge":"uview-ui/components/u-badge/u-badge","uview-ui/components/u-safe-bottom/u-safe-bottom":"uview-ui/components/u-safe-bottom/u-safe-bottom","uview-ui/components/u-transition/u-transition":"uview-ui/components/u-transition/u-transition","uview-ui/components/u-overlay/u-overlay":"uview-ui/components/u-overlay/u-overlay","uview-ui/components/u-status-bar/u-status-bar":"uview-ui/components/u-status-bar/u-status-bar"}[chunkId]||chunkId) + ".wxss";
/******/ var fullhref = __webpack_require__.p + href; /******/ var fullhref = __webpack_require__.p + href;
/******/ var existingLinkTags = document.getElementsByTagName("link"); /******/ var existingLinkTags = document.getElementsByTagName("link");
/******/ for(var i = 0; i < existingLinkTags.length; i++) { /******/ for(var i = 0; i < existingLinkTags.length; i++) {

@ -98,6 +98,29 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components var components
try {
components = {
titleBlock: function () {
return __webpack_require__.e(/*! import() | components/title-block/title-block */ "components/title-block/title-block").then(__webpack_require__.bind(null, /*! @/components/title-block/title-block.vue */ 377))
},
}
} catch (e) {
if (
e.message.indexOf("Cannot find module") !== -1 &&
e.message.indexOf(".vue") !== -1
) {
console.error(e.message)
console.error("1. 排查组件名称拼写是否正确")
console.error(
"2. 排查组件是否符合 easycom 规范文档https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"
)
console.error(
"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件"
)
} else {
throw e
}
}
var render = function () { var render = function () {
var _vm = this var _vm = this
var _h = _vm.$createElement var _h = _vm.$createElement
@ -135,12 +158,16 @@ __webpack_require__.r(__webpack_exports__);
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(uni) {
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
Object.defineProperty(exports, "__esModule", { Object.defineProperty(exports, "__esModule", {
value: true value: true
}); });
exports.default = void 0; exports.default = void 0;
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 61));
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 63));
var _service = __webpack_require__(/*! ../../http/service */ 253);
var tabbar = function tabbar() { var tabbar = function tabbar() {
Promise.all(/*! require.ensure | components/uiq-tabbar/uiq-tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/uiq-tabbar/uiq-tabbar")]).then((function () { Promise.all(/*! require.ensure | components/uiq-tabbar/uiq-tabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/uiq-tabbar/uiq-tabbar")]).then((function () {
return resolve(__webpack_require__(/*! ../../components/uiq-tabbar/uiq-tabbar.vue */ 370)); return resolve(__webpack_require__(/*! ../../components/uiq-tabbar/uiq-tabbar.vue */ 370));
@ -150,9 +177,56 @@ var _default = {
name: "index", name: "index",
components: { components: {
tabbar: tabbar tabbar: tabbar
},
data: function data() {
return {
page: 1,
pageSize: 999,
mainList: []
};
},
mounted: function mounted() {
this.getData();
},
methods: {
loadMore: function loadMore() {},
getData: function getData() {
var _this = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
var data, res;
return _regenerator.default.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
data = {
page: _this.page,
//分页
pageSize: _this.pageSize //每页数据量
};
_context.next = 3;
return (0, _service.postDataByParams)('/api/warehouse/list', data);
case 3:
res = _context.sent;
if (res.code === 200) {
_this.mainList = res.data.data;
} else {
uni.showToast({
title: res.msg,
icon: 'none'
});
}
case 5:
case "end":
return _context.stop();
}
}
}, _callee);
}))();
}
} }
}; };
exports.default = _default; exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
/***/ }), /***/ }),

@ -1,7 +1,9 @@
{ {
"navigationStyle": "custom",
"navigationBarTitleText": "", "navigationBarTitleText": "",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"usingComponents": { "usingComponents": {
"title-block": "/components/title-block/title-block",
"tabbar": "/components/uiq-tabbar/uiq-tabbar" "tabbar": "/components/uiq-tabbar/uiq-tabbar"
} }
} }

@ -1 +1 @@
<view class="contract _div data-v-3ea6d064" style="{{'background:'+('url('+'../../static/bbj1@3x.png'+')')+';'}}"><view class="content1 _div data-v-3ea6d064"><view class="wrap1 _div data-v-3ea6d064"></view><view class="wrap2 _div data-v-3ea6d064">待签署合同</view><view class="wrap3 _div data-v-3ea6d064"><image src="../../static/zu567@3x.png" class="data-v-3ea6d064"></image></view></view><view class="content2 _div data-v-3ea6d064"><view class="wrap1 _div data-v-3ea6d064">合同名称</view><view class="wrap2 _div data-v-3ea6d064">合同编号</view><view class="wrap3 _div data-v-3ea6d064">签署倒计时</view></view><view class="content3 _div data-v-3ea6d064"><view class="wrap1 _div data-v-3ea6d064"><view class="wrap1_1 _div data-v-3ea6d064">合同的名称</view><view class="wrap1_2 _div data-v-3ea6d064">937329883</view><view class="wrap1_3 _div data-v-3ea6d064"><view class="wrap1_3_1 _div data-v-3ea6d064">剩余23:59:59</view></view></view></view><tabbar vue-id="34e6e2f8-1" current="{{2}}" class="data-v-3ea6d064" bind:__l="__l"></tabbar></view> <view class="contract _div data-v-3ea6d064"><title-block vue-id="34e6e2f8-1" title="待签署合同" class="data-v-3ea6d064" bind:__l="__l" vue-slots="{{['left']}}"><view class="wrap3 _div data-v-3ea6d064" slot="left"><image src="../../static/zu567@3x.png" class="data-v-3ea6d064"></image></view></title-block><view class="content2 _div data-v-3ea6d064"><view class="wrap1 _div data-v-3ea6d064">合同名称</view><view class="wrap2 _div data-v-3ea6d064">合同编号</view><view class="wrap3 _div data-v-3ea6d064">签署倒计时</view></view><scroll-view class="scrollbox data-v-3ea6d064" style="margin-top:20rpx;height:1400rpx;" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['loadMore',['$event']]]]]}}" bindscrolltolower="__e"><view class="content3 _div data-v-3ea6d064"><block wx:for="{{mainList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="wrap1 _div data-v-3ea6d064"><view class="wrap1_1 _div data-v-3ea6d064">合同的名称</view><view class="wrap1_2 _div data-v-3ea6d064">937329883</view><view class="wrap1_3 _div data-v-3ea6d064"><view class="wrap1_3_1 _div data-v-3ea6d064">剩余23:59:59</view></view></view></block></view></scroll-view><tabbar vue-id="34e6e2f8-2" current="{{2}}" class="data-v-3ea6d064" bind:__l="__l"></tabbar></view>

@ -25,8 +25,9 @@
/* 透明度 */ /* 透明度 */
/* 文章场景相关 */ /* 文章场景相关 */
.contract.data-v-3ea6d064 { .contract.data-v-3ea6d064 {
background-image: url("https://cdns.fontree.cn/fonchain-main/prod/image/default/artwork/4fdc9a0f-d72a-46b6-a04d-ed56d5465213.png");
box-sizing: border-box; box-sizing: border-box;
padding-top: 46rpx; overflow: hidden;
padding-left: 30rpx; padding-left: 30rpx;
padding-right: 30rpx; padding-right: 30rpx;
background-size: cover; background-size: cover;
@ -34,9 +35,10 @@
height: 100vh; height: 100vh;
} }
.contract .content3.data-v-3ea6d064 { .contract .content3.data-v-3ea6d064 {
margin-top: 20rpx; margin-bottom: 166rpx;
} }
.contract .content3 .wrap1.data-v-3ea6d064 { .contract .content3 .wrap1.data-v-3ea6d064 {
margin-bottom: 20rpx;
border-radius: 20rpx; border-radius: 20rpx;
height: 108rpx; height: 108rpx;
background: #fff; background: #fff;

@ -276,6 +276,11 @@ var _default = {
}); });
}, },
methods: { methods: {
goRouter: function goRouter() {
uni.navigateTo({
url: '/pages/order-goods/order-details'
});
},
search: function search() { search: function search() {
this.getData(); this.getData();
}, },
@ -316,6 +321,11 @@ var _default = {
_this2.$set(x, 'distanceX', 0); _this2.$set(x, 'distanceX', 0);
_this2.$set(x, 'isRight', false); _this2.$set(x, 'isRight', false);
}); });
} else {
uni.showToast({
title: res.msg,
icon: 'none'
});
} }
case 5: case 5:
case "end": case "end":

@ -1 +1 @@
<view class="order-goods _div data-v-c0c42e9e"><title-block vue-id="541fae75-1" title="订单库" class="data-v-c0c42e9e" bind:__l="__l" vue-slots="{{['left']}}"><view slot="left"><u-action-sheet vue-id="{{('541fae75-2')+','+('541fae75-1')}}" show="{{show}}" actions="{{$root.g0}}" title="请选择状态" data-event-opts="{{[['^close',[['e0']]],['^select',[['statusSelect']]]]}}" bind:close="__e" bind:select="__e" class="data-v-c0c42e9e" bind:__l="__l"></u-action-sheet><view data-event-opts="{{[['tap',[['openStatus',['$event']]]]]}}" class="wrap1 _div data-v-c0c42e9e" bindtap="__e"><view class="wrap1_1 _div data-v-c0c42e9e"><view class="wrap1_1_1 _div data-v-c0c42e9e">{{$root.g1.label}}</view><image style="width:12rpx;height:8rpx;" src="../../static/dbx2@3x.png" class="data-v-c0c42e9e"></image></view></view></view></title-block><view class="content2 _div data-v-c0c42e9e"><view class="wrap1 _div data-v-c0c42e9e"><view class="wrap1_1 _div data-v-c0c42e9e"><image src="../../static/zu1@3x.png" class="data-v-c0c42e9e"></image></view><view class="wrap1_2 _div data-v-c0c42e9e"></view><input placeholder-style="color: #C7C7C7;font-size: 20rpx;" placeholder="在此处搜索您的订单" data-event-opts="{{[['input',[['__set_model',['','mobileKey','$event',[]]]]]]}}" value="{{mobileKey}}" bindinput="__e" class="data-v-c0c42e9e"/></view><view data-event-opts="{{[['tap',[['search',['$event']]]]]}}" class="wrap2 _div data-v-c0c42e9e" bindtap="__e">搜索</view></view><scroll-view class="scrollbox data-v-c0c42e9e" style="margin-top:28rpx;" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['loadMore',['$event']]]]]}}" bindscrolltolower="__e"><view class="content3 _div data-v-c0c42e9e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['touchstart',[['touchStart',['$event',index]]]],['touchmove',[['touchMove',['$event',index]]]],['touchend',[['e1',['$event']]]]]}}" data-event-params="{{({index})}}" class="wrap1 _div data-v-c0c42e9e" style="{{'transform:'+('translateX('+item.$orig.distanceX+'px)')+';'}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"><view class="wrap1_1 _div data-v-c0c42e9e"><image src="../../static/jx632@3x.png" class="data-v-c0c42e9e"></image></view><view class="wrap1_2 _div data-v-c0c42e9e"><view class="wrap1_2_1 _div data-v-c0c42e9e">画作的名称</view><view class="wrap1_2_2 _div data-v-c0c42e9e">订单号:0129181232101</view><view class="wrap1_2_3 _div data-v-c0c42e9e">16平尺</view><view class="wrap1_2_4 _div data-v-c0c42e9e">2023.09.01-2023.09.18</view></view><view class="{{['wrap1_3','_div','data-v-c0c42e9e','status'+item.$orig.status]}}"><block wx:if="{{item.$orig.status===4}}"><view class="wrap1_3_1 _div data-v-c0c42e9e"><view class="wrap1_3_1_1 _div data-v-c0c42e9e">2023.09.28</view><view class="wrap1_3_1_2 _div data-v-c0c42e9e">已超时</view><view class="wrap1_3_1_3 _div data-v-c0c42e9e">点击补款</view></view></block><block wx:if="{{item.$orig.status!==4}}"><view class="wrap1_3_3 _div data-v-c0c42e9e"><view class="wrap1_3_3_1 _div data-v-c0c42e9e">{{item.g2.label}}</view></view></block><view class="wrap1_3_2 _div data-v-c0c42e9e"><view class="wrap1_3_2_1 _div data-v-c0c42e9e">货架号:</view><view class="wrap1_3_2_2 _div data-v-c0c42e9e">12-02-13</view></view></view><block wx:if="{{item.$orig.isRight}}"><view class="wrap1_4 _div data-v-c0c42e9e"><image style="width:80rpx;height:80rpx;" src="../../static/zu154@3x.png" class="data-v-c0c42e9e"></image></view></block></view></block></view></scroll-view><tabbar vue-id="541fae75-3" current="{{1}}" class="data-v-c0c42e9e" bind:__l="__l"></tabbar></view> <view class="order-goods _div data-v-c0c42e9e"><title-block vue-id="541fae75-1" title="订单库" class="data-v-c0c42e9e" bind:__l="__l" vue-slots="{{['left']}}"><view slot="left"><u-action-sheet vue-id="{{('541fae75-2')+','+('541fae75-1')}}" show="{{show}}" actions="{{$root.g0}}" title="请选择状态" data-event-opts="{{[['^close',[['e0']]],['^select',[['statusSelect']]]]}}" bind:close="__e" bind:select="__e" class="data-v-c0c42e9e" bind:__l="__l"></u-action-sheet><view data-event-opts="{{[['tap',[['openStatus',['$event']]]]]}}" class="wrap1 _div data-v-c0c42e9e" bindtap="__e"><view class="wrap1_1 _div data-v-c0c42e9e"><view class="wrap1_1_1 _div data-v-c0c42e9e">{{$root.g1.label}}</view><image style="width:12rpx;height:8rpx;" src="../../static/dbx2@3x.png" class="data-v-c0c42e9e"></image></view></view></view></title-block><view class="content2 _div data-v-c0c42e9e"><view class="wrap1 _div data-v-c0c42e9e"><view class="wrap1_1 _div data-v-c0c42e9e"><image src="../../static/zu1@3x.png" class="data-v-c0c42e9e"></image></view><view class="wrap1_2 _div data-v-c0c42e9e"></view><input placeholder-style="color: #C7C7C7;font-size: 20rpx;" placeholder="在此处搜索您的订单" data-event-opts="{{[['input',[['__set_model',['','mobileKey','$event',[]]]]]]}}" value="{{mobileKey}}" bindinput="__e" class="data-v-c0c42e9e"/></view><view data-event-opts="{{[['tap',[['search',['$event']]]]]}}" class="wrap2 _div data-v-c0c42e9e" bindtap="__e">搜索</view></view><scroll-view class="scrollbox data-v-c0c42e9e" style="margin-top:28rpx;" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['loadMore',['$event']]]]]}}" bindscrolltolower="__e"><view class="content3 _div data-v-c0c42e9e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['touchstart',[['touchStart',['$event',index]]]],['touchmove',[['touchMove',['$event',index]]]],['touchend',[['e1',['$event']]]],['tap',[['goRouter',['$0'],[[['mainList','',index]]]]]]]}}" data-event-params="{{({index})}}" class="wrap1 _div data-v-c0c42e9e" style="{{'transform:'+('translateX('+item.$orig.distanceX+'px)')+';'}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e" bindtap="__e"><view class="wrap1_1 _div data-v-c0c42e9e"><image src="../../static/jx632@3x.png" class="data-v-c0c42e9e"></image></view><view class="wrap1_2 _div data-v-c0c42e9e"><view class="wrap1_2_1 _div data-v-c0c42e9e">画作的名称</view><view class="wrap1_2_2 _div data-v-c0c42e9e">订单号:0129181232101</view><view class="wrap1_2_3 _div data-v-c0c42e9e">16平尺</view><view class="wrap1_2_4 _div data-v-c0c42e9e">2023.09.01-2023.09.18</view></view><view class="{{['wrap1_3','_div','data-v-c0c42e9e','status'+item.$orig.status]}}"><block wx:if="{{item.$orig.status===4}}"><view class="wrap1_3_1 _div data-v-c0c42e9e"><view class="wrap1_3_1_1 _div data-v-c0c42e9e">2023.09.28</view><view class="wrap1_3_1_2 _div data-v-c0c42e9e">已超时</view><view class="wrap1_3_1_3 _div data-v-c0c42e9e">点击补款</view></view></block><block wx:if="{{item.$orig.status!==4}}"><view class="wrap1_3_3 _div data-v-c0c42e9e"><view class="wrap1_3_3_1 _div data-v-c0c42e9e">{{item.g2.label}}</view></view></block><view class="wrap1_3_2 _div data-v-c0c42e9e"><view class="wrap1_3_2_1 _div data-v-c0c42e9e">货架号:</view><view class="wrap1_3_2_2 _div data-v-c0c42e9e">12-02-13</view></view></view><block wx:if="{{item.$orig.isRight&&item.$orig.status===5}}"><view class="wrap1_4 _div data-v-c0c42e9e"><image style="width:80rpx;height:80rpx;" src="../../static/zu154@3x.png" class="data-v-c0c42e9e"></image></view></block></view></block></view></scroll-view><tabbar vue-id="541fae75-3" current="{{1}}" class="data-v-c0c42e9e" bind:__l="__l"></tabbar></view>

@ -137,10 +137,14 @@ __webpack_require__.r(__webpack_exports__);
"use strict"; "use strict";
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
Object.defineProperty(exports, "__esModule", { Object.defineProperty(exports, "__esModule", {
value: true value: true
}); });
exports.default = void 0; exports.default = void 0;
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 61));
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 63));
var _service = __webpack_require__(/*! ../../http/service */ 253);
// //
// //
// //
@ -197,7 +201,32 @@ exports.default = void 0;
// //
// //
var _default = { var _default = {
name: "order-details" name: "order-details",
mounted: function mounted() {
this.getData();
},
methods: {
getData: function getData() {
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
var res;
return _regenerator.default.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return (0, _service.postDataByParams)('/api/warehouse/detail');
case 2:
res = _context.sent;
console.log(res, 'res');
case 4:
case "end":
return _context.stop();
}
}
}, _callee);
}))();
}
}
}; };
exports.default = _default; exports.default = _default;

@ -20,6 +20,13 @@
"query": "", "query": "",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
},
{
"name": "",
"pathName": "pages/contract/index",
"query": "",
"launchMode": "default",
"scene": null
} }
] ]
} }

Loading…
Cancel
Save