Browse Source

多规格商品

master
杨豪 3 years ago
parent
commit
1e87ae65a2
  1. 18
      .gitignore
  2. 33
      App.vue
  3. 71
      api/store.js
  4. 166
      components/p-countUp/countUp.vue
  5. 4
      config/index.js
  6. 147
      pages.json
  7. 10
      pages/demandHall/companyDetail/index.vue
  8. 6
      pages/demandHall/index.vue
  9. 23
      pages/home/index.vue
  10. 413
      pages/life/addGoods/index.vue
  11. 30
      pages/life/index.vue
  12. 34
      pages/life/tempList/index.vue
  13. 10
      pages/order/MyOrder/index.vue
  14. 22
      pages/order/ReturnList/index.vue
  15. 8
      pages/shop/GoodsCon/index.vue
  16. 68
      pages/shop/ShoppingCart/index.vue
  17. 62
      pages/user/addServiceCode/index.vue
  18. 156
      pages/user/goodsManage/index.vue
  19. 82
      pages/user/index.vue
  20. 303
      pages/user/myShop/index.vue
  21. 196
      pages/user/openStore/index.vue
  22. 314
      pages/user/orderManage/index.vue
  23. 167
      pages/user/sendGoods/index.vue
  24. 94
      pages/user/withdraw/index.vue
  25. BIN
      static/images/arrow-d-g.png
  26. BIN
      static/images/sao.png
  27. BIN
      static/images/store-icon1.png
  28. BIN
      static/images/store-icon2.png
  29. 23
      unpackage/dist/build/mp-weixin/app.json
  30. 2
      unpackage/dist/build/mp-weixin/common/main.js
  31. 32
      unpackage/dist/build/mp-weixin/common/main.wxss
  32. 2
      unpackage/dist/build/mp-weixin/common/runtime.js
  33. 4
      unpackage/dist/build/mp-weixin/common/vendor.js
  34. 4
      unpackage/dist/build/mp-weixin/components/CountDown.json
  35. 4
      unpackage/dist/build/mp-weixin/components/CouponPop.json
  36. 4
      unpackage/dist/build/mp-weixin/components/DataFormat.json
  37. 4
      unpackage/dist/build/mp-weixin/components/GoodList.json
  38. 4
      unpackage/dist/build/mp-weixin/components/PriceChange.json
  39. 4
      unpackage/dist/build/mp-weixin/components/ProductConSwiper.json
  40. 4
      unpackage/dist/build/mp-weixin/components/ProductWindow.json
  41. 4
      unpackage/dist/build/mp-weixin/components/PromotionGood.json
  42. 2
      unpackage/dist/build/mp-weixin/components/UserEvaluation.js
  43. 4
      unpackage/dist/build/mp-weixin/components/UserEvaluation.json
  44. 4
      unpackage/dist/build/mp-weixin/components/WriteOff.json
  45. 4
      unpackage/dist/build/mp-weixin/components/t-color-picker.json
  46. 4
      unpackage/dist/build/mp-weixin/components/tki-tree/tki-tree.json
  47. 4
      unpackage/dist/build/mp-weixin/components/uni-popup/uni-popup-dialog.json
  48. 4
      unpackage/dist/build/mp-weixin/components/uni-popup/uni-popup-message.json
  49. 2
      unpackage/dist/build/mp-weixin/pages/Loading/index.json
  50. 2
      unpackage/dist/build/mp-weixin/pages/activity/index.json
  51. 2
      unpackage/dist/build/mp-weixin/pages/demandHall/companyDetail/index.js
  52. 2
      unpackage/dist/build/mp-weixin/pages/demandHall/companyDetail/index.wxml
  53. 2
      unpackage/dist/build/mp-weixin/pages/demandHall/companyDetail/index.wxss
  54. 2
      unpackage/dist/build/mp-weixin/pages/demandHall/index.js
  55. 2
      unpackage/dist/build/mp-weixin/pages/demandHall/index.wxml
  56. 2
      unpackage/dist/build/mp-weixin/pages/demandHall/index.wxss
  57. 2
      unpackage/dist/build/mp-weixin/pages/home/index.js
  58. 2
      unpackage/dist/build/mp-weixin/pages/home/index.wxml
  59. 2
      unpackage/dist/build/mp-weixin/pages/home/index.wxss
  60. 2
      unpackage/dist/build/mp-weixin/pages/life/addGoods/index.js
  61. 2
      unpackage/dist/build/mp-weixin/pages/life/addGoods/index.wxml
  62. 2
      unpackage/dist/build/mp-weixin/pages/life/addGoods/index.wxss
  63. 2
      unpackage/dist/build/mp-weixin/pages/life/index-u-waterfall-left.wxml
  64. 2
      unpackage/dist/build/mp-weixin/pages/life/index-u-waterfall-right.wxml
  65. 2
      unpackage/dist/build/mp-weixin/pages/life/index.js
  66. 2
      unpackage/dist/build/mp-weixin/pages/life/index.json
  67. 2
      unpackage/dist/build/mp-weixin/pages/life/index.wxml
  68. 2
      unpackage/dist/build/mp-weixin/pages/life/index.wxss
  69. 2
      unpackage/dist/build/mp-weixin/pages/life/tempList/index.js
  70. 2
      unpackage/dist/build/mp-weixin/pages/life/tempList/index.wxml
  71. 2
      unpackage/dist/build/mp-weixin/pages/life/tempList/index.wxss
  72. 2
      unpackage/dist/build/mp-weixin/pages/order/MyOrder/index.js
  73. 2
      unpackage/dist/build/mp-weixin/pages/order/MyOrder/index.wxml
  74. 2
      unpackage/dist/build/mp-weixin/pages/order/MyOrder/index.wxss
  75. 2
      unpackage/dist/build/mp-weixin/pages/order/ReturnList/index.js
  76. 2
      unpackage/dist/build/mp-weixin/pages/order/ReturnList/index.wxss
  77. 2
      unpackage/dist/build/mp-weixin/pages/shop/GoodsCon/index.js
  78. 2
      unpackage/dist/build/mp-weixin/pages/shop/GoodsCon/index.wxml
  79. 4
      unpackage/dist/build/mp-weixin/pages/shop/GoodsCon/index.wxss
  80. 2
      unpackage/dist/build/mp-weixin/pages/shop/ShoppingCart/index.js
  81. 2
      unpackage/dist/build/mp-weixin/pages/shop/ShoppingCart/index.wxml
  82. 2
      unpackage/dist/build/mp-weixin/pages/shop/ShoppingCart/index.wxss
  83. 2
      unpackage/dist/build/mp-weixin/pages/user/index.js
  84. 2
      unpackage/dist/build/mp-weixin/pages/user/index.wxml
  85. 2
      unpackage/dist/build/mp-weixin/pages/user/index.wxss
  86. 1
      unpackage/dist/build/mp-weixin/pages/user/profession/index.json
  87. 4
      unpackage/dist/build/mp-weixin/pagesB/pages/activity/GoodsGroup/children/activity-card.json
  88. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  89. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
  90. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  91. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/CitySelect.js.map
  92. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/CouponListWindow.js.map
  93. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/OrderGoods.js.map
  94. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/Payment.js.map
  95. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/PriceChange.js.map
  96. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/ProductWindow.js.map
  97. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/PromotionGood.js.map
  98. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/ShareInfo.js.map
  99. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/ShopLiveCard.js.map
  100. 2
      unpackage/dist/dev/.sourcemap/mp-weixin/components/StorePoster.js.map
  101. Some files were not shown because too many files have changed in this diff Show More

18
.gitignore vendored

@ -1 +1,17 @@
node_modules
.DS_Store
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
*.keystore
unpackage/
assets/css/style.css
assets/css/style.css.map
.hbuilderx

33
App.vue

@ -8,7 +8,7 @@ export default {
this.setMenuHeight();
this.autoUpdate();
uni.hideTabBar()
},
globalData: {
// baseURL : 'http://192.168.0.110:8092/api/',
@ -59,7 +59,6 @@ export default {
autoUpdate: function () {
// console.log(new Date());
var self = this; //
if (uni.canIUse('getUpdateManager')) {
const updateManager = uni.getUpdateManager(); //1.
updateManager.onCheckForUpdate(function (res) {
@ -306,8 +305,8 @@ image{
radio .wx-radio-input.wx-radio-input-checked {
border-color: #cc0000;
background: #cc0000;
border-color: #FF5100;
background: #FF5100;
}
radio .wx-radio-input {
height: 33rpx;
@ -331,6 +330,32 @@ radio .wx-radio-input.wx-radio-input-checked::before {
-webkit-transform: translate(-50%, -50%) scale(1);
}
checkbox .wx-checkbox-input.wx-checkbox-input-checked {
border-color: #F99C10;
background: #F99C10;
}
checkbox .wx-checkbox-input {
height: 40rpx;
width: 40rpx;
margin-top: -4rpx;
border-radius: 50%;
border: 2rpx solid #999;
background: transparent;
}
checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
border-radius: 50%; /* 圆角 */
width: 40rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
height: 40rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
line-height: 40rpx;
text-align: center;
font-size: 28rpx; /* 对勾大小 30rpx */
color: #fff; /* 对勾颜色 白色 */
background: #F99C10;
border: 2rpx solid #F99C10;
transform: translate(-50%, -50%) scale(1);
-webkit-transform: translate(-50%, -50%) scale(1);
}
.no-list{
display: flex;
flex-direction: column;

71
api/store.js

@ -1,5 +1,21 @@
import request from "@/utils/request";
/*
* 新增店铺
* */
export function addStore(data) {
return request.post("/store/newStore", data, {
login: true
});
}
/*
* 店铺数据
* */
export function myStore(data) {
return request.get("/store/myStore", data, {
login: true
});
}
/*
* 新增商品
* */
@ -8,6 +24,31 @@ export function addProduct(data) {
login: true
});
}
/*
* 修改商品
* */
export function editProduct(data) {
return request.post("/product/edit", data, {
login: true
});
}
/*
* 商品发货
* */
export function delivery(data) {
return request.post("/admin/order/delivery/keep", data, {
login: true
});
}
/*
* 获取快递列表
* */
export function getExpress(data) {
return request.get("/logistics", data, {
login: false
});
}
/*
* 商品分类
@ -41,9 +82,37 @@ export function getProductCode(id) {
* */
export function getProducts(q) {
return request.get("/products", q, {
login: false
login: true
});
}
/*
* 商品详情
* */
export function getProductInfo(data) {
return request.post("/product/info?id=" + data.id, {
login: true
});
}
/*
* 商品上下架
* */
export function prodcutShow(data) {
return request.post("prodcut/show", data,{
login: true
});
}
/*
* 商品删除
* */
export function prodcutDel(data) {
return request.get("product/del", data,{
login: true
});
}
/*
* 积分商品列表
* */

166
components/p-countUp/countUp.vue

@ -0,0 +1,166 @@
<!--
usage:
num:显示的数字
color字体颜色
width每个数字的宽度
height:字体高度
fontSize字体大小
<countup :num="123.453" color="#ff9e50" width='13' height='23' fontSize='23'></countup>
-->
<template>
<view class="number-box">
<block v-for="(myIndex, index) in indexArr" :key="index">
<swiper class="swiper" vertical="true" :current="myIndex" circular="true" v-bind:style="{color:color,width:myIndex == 10 ? '7px' : width+'px',height:height+'px',lineHeight:fontSize+'px',fontSize:fontSize+'px'}">
<swiper-item>
<view class="swiper-item">0</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">1</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">2</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">3</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">4</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">5</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">6</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">7</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">8</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">9</view>
</swiper-item>
<swiper-item>
<view class="swiper-item">.</view>
</swiper-item>
</swiper>
</block>
</view>
</template>
<script>
export default {
props: {
num: [String, Number],
color: {
type: String,
default: '#000000'
},
width: {
type: String,
default: '15'
},
height: {
type: String,
default: '15'
},
fontSize: {
type: String,
default: '15'
}
},
data() {
return {
indexArr: []
};
},
created() {
let {
num
} = this;
let arr = new Array(num.toString().length);
arr.fill(0);
this.indexArr = arr;
},
watch: {
num: function(val, oldVal) {
//
let arr = Array.prototype.slice.apply(this.indexArr);
let newLen = val.toString().length;
let oldLen = oldVal.toString().length;
if (newLen > oldLen) {
for (let i = 0; i < newLen - oldLen; i++) {
arr.push(0);
}
this.indexArr = arr;
}
if (newLen < oldLen) {
for (let i = 0; i < oldLen - newLen; i++) {
arr.pop();
}
this.indexArr = arr;
}
this.numChange(val);
}
},
mounted() {
//app
this._time = setTimeout(() => {
this.numChange(this.num);
clearTimeout(this._time);
}, 50);
},
methods: {
/**
* 数字改变
* @value 数字
*/
numChange(num) {
let {
indexArr
} = this;
let copyIndexArr = Array.prototype.slice.apply(indexArr);
let _num = num.toString();
for (let i = 0; i < _num.length; i++) {
if (_num[i] === '.') {
copyIndexArr[i] = 10;
} else {
copyIndexArr[i] = Number(_num[i]);
}
}
this.indexArr = copyIndexArr;
// this.log(this.indexArr);
}
}
};
</script>
<style lang="scss">
.number-box {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.swiper {
position: relative;
// line-height: 30upx;
// width: 30upx;
// height: 30upx;
// font-size: 30upx;
// background: red;
}
.swiper:after {
content: '';
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
</style>

4
config/index.js

@ -1,8 +1,8 @@
// export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api';
// export const VUE_APP_API_URL = 'https://wxapi.yixiang.co/api'
// export const VUE_APP_API_URL = 'http://192.168.0.112:8092/api'
export const VUE_APP_API_URL = 'http://192.168.0.114:8092/api'
// export const VUE_APP_API_URL = 'https://www.cyjyyjy.com/api'
// export const VUE_APP_API_URL = 'http://192.168.0.114:8092/api'
export const VUE_APP_API_URL = 'https://cloud.api.cyjyyjy.com/api'
// export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api';
// export const VUE_APP_API_URL = 'https://thapi.xinxintuan.co/api'
// export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api';

147
pages.json

@ -6,7 +6,7 @@
{
"path": "pages/Loading/index",
"style": {
"navigationBarTitleText": "禅易教育研究院"
"navigationBarTitleText": "禅易云生态"
}
},
{
@ -39,18 +39,7 @@
"path": "pages/guide/index",
"style": {}
},
{
"path": "pages/demandHall/createProject/index",
"style": {
"navigationBarTitleText": "发布项目"
}
},
{
"path": "pages/demandHall/needsContact/index",
"style": {
"navigationBarTitleText": "申请沟通"
}
},
{
"path": "pages/user/needsOrder/index",
"style": {
@ -86,12 +75,102 @@
"enablePullDownRefresh": true
}
},
{
"path": "pages/user/orderManage/index",
"style": {
"navigationBarTitleText": "商家订单",
"enablePullDownRefresh": true
}
},
{
"path": "pages/user/sendGoods/index",
"style": {
"navigationBarTitleText": "发货"
}
},
{
"path": "pages/user/openStore/index",
"style": {
"navigationBarTitleText": "开店"
}
},
{
"path": "pages/user/myShop/index",
"style": {
"navigationBarTitleText": "我的店铺",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#FE6620",
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/user/withdraw/index",
"style": {
"navigationBarTitleText": "提现",
"navigationBarBackgroundColor": "#FE6620",
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/user/editNeeds/index",
"style": {
"navigationBarTitleText": "供应/需求编辑"
}
},
{
"path": "pages/user/mine/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/user/agreement/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/user/incomeDetail/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/user/profession/index",
"style": {
"navigationBarTitleText": "选择行业"
}
},
{
"path": "pages/user/completeData/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/user/personalData/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/user/addServiceCode/index",
"style": {
"navigationBarTitleText": "添加客服"
}
},
{
"path": "pages/demandHall/createProject/index",
"style": {
"navigationBarTitleText": "发布项目"
}
},
{
"path": "pages/demandHall/needsContact/index",
"style": {
"navigationBarTitleText": "申请沟通"
}
},
{
"path": "pages/demandHall/needsDetail/index",
"style": {
@ -173,7 +252,10 @@
},
{
"path": "pages/life/index",
"style": {}
"style": {
"navigationBarTitleText": "生活",
"enablePullDownRefresh": true
}
},
{
"path": "pages/life/temp/index",
@ -205,44 +287,11 @@
"navigationBarTitleText": "详情预览"
}
},
{
"path": "pages/user/mine/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/user/agreement/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/user/incomeDetail/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/user/profession/index",
"style": {}
},
{
"path": "pages/user/completeData/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/user/personalData/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/activity/index",
"style": {
"navigationBarTitleText": ""
"navigationBarTitleText": "活动"
}
},
{

10
pages/demandHall/companyDetail/index.vue

@ -96,17 +96,17 @@
<view class="resources-list">
<view v-for="(item, index) in detail.resourceList" :key="index" class="resources-item" :data-id="item.id" @tap="toResourcesDetail">
<view class="item-top acea-row-nowrap">
<image :src="item.resourceImgs[0]"></image>
<image :src="item.resourceImgs[0]" mode="aspectFill"></image>
<view class="info">
<view class="r-title line1">{{item.title}}</view>
<view class="r-price">资金需求:{{item.capital}}</view>
<view class="r-tips">{{item.detailedDescription}}</view>
<view class="r-tips line2">{{item.detailedDescription}}</view>
</view>
</view>
<view class="btn-box acea-row row-middle row-between">
<view class="btn-box-l">
<view>发布日期 {{item.resourceStartTime}} </view>
<view>{{item.enterpriseAddress}}</view>
<view class="line1">发布日期 {{item.resourceStartTime}} </view>
<view class="line1">{{item.enterpriseAddress}}</view>
</view>
<view class="toMore-btn">了解详情</view>
</view>
@ -526,7 +526,7 @@ box-shadow: 0px -6px 20px rgba(0, 0, 0, 0.11);
}
.r-tips{
width: 370rpx;
background: #EEEEEE;
/* background: #EEEEEE; */
border-radius: 8rpx;
padding: 4rpx 10rpx;
color: #ADADAD;

6
pages/demandHall/index.vue

@ -40,7 +40,8 @@
<view class="desc line1">{{item.detailedDescription}}</view>
<view class="price">¥{{item.capital}}</view>
<view class="company-info">
<text>{{item.enterpriseName}}</text>
<!-- {{item.enterpriseName}} -->
<text class="line1">{{item.enterpriseName}}</text>
<!-- <text>武汉</text> -->
</view>
<view class="toMore-btn">了解详情</view>
@ -52,7 +53,7 @@
<image :src="item.enterpriseLogo" mode="aspectFill"></image>
</view>
<view class="resource-info">
<view class="title">{{item.enterpriseName}}</view>
<view class="title line1">{{item.enterpriseName}}</view>
<view class="tags-box">
<view class="tag-item">{{item.cname}}</view>
<!-- <view class="tag-item bgG">IT软件</view>
@ -573,6 +574,7 @@ image{
margin: 10rpx 0 40rpx;
}
.company-info{
width: 66%;
color: #A7A7A7;
font-size: 24rpx;
}

23
pages/home/index.vue

@ -36,10 +36,10 @@
<text class="fz32">热门活动</text>
<view class="hot"></view>
</view>
<view class="more acea-row row-middle">
<!-- <view class="more acea-row row-middle">
<text>全部</text>
<image src="/static/images/home/arrow-r.png"></image>
</view>
</view> -->
</view>
<view class="investement-list">
<scroll-view class="scroll-view_H" scroll-x="true">
@ -118,8 +118,8 @@
<view class="company-box acea-row">
<image :src="item.enterpriseDto.enterpriseLogo" class="logo"></image>
<view class="company-info acea-row row-column row-between">
<view class="company-name fz28">{{item.enterpriseDto.enterpriseName}}</view>
<view class="company-name fz24">{{item.enterpriseDto.enterpriseTitle}}</view>
<view class="company-name line1 fz28">{{item.enterpriseDto.enterpriseName}}</view>
<view class="company-name line2 fz24">{{item.enterpriseDto.enterpriseTitle}}</view>
<view class="tags-box acea-row">
<!-- <view class="tag-item fz20">网站建设</view> -->
<view class="tag-item fz20 bgG">{{item.cname}}</view>
@ -224,7 +224,12 @@ export default {
tabbar
},
props: {},
onShareAppMessage: function(res) {
return {
title: '禅易云生态',
path: '/pages/home/index',
}
},
onLoad() {
uni.hideTabBar();
// app.globalData.editTabbar();
@ -684,7 +689,10 @@ export default {
width: 128rpx;
height: 128rpx;
border-radius: 8rpx;
border: 2rpx solid #EEEEEE;
}
.company-info{
width: calc(100% - 298rpx);
margin-left: 12rpx;
}
.fz28{
font-size: 28rpx;
@ -699,9 +707,6 @@ export default {
font-size: 20rpx;
line-height: 28rpx;
}
.company-info{
margin-left: 12rpx;
}
.item-top .buy-btn{
top: 0;
}

413
pages/life/addGoods/index.vue

@ -2,19 +2,19 @@
<view class="index-box">
<view class="add-goodsimg-box">
<view class="img-box acea-row">
<view class="upload-box">
<view class="upload-box" @click="uploadImgs">
<image src="../../../static/images/upload.png"></image>
</view>
<view class="upload-box" @click="uploadImg(0)">
<image src="../../../static/images/addimg.png" v-if="slider_image[0] == ''"></image>
<image src="../../../static/images/addimg.png" v-if="!slider_image[0] || slider_image[0] == ''"></image>
<image :src="slider_image[0]" mode="aspectFill" v-else></image>
</view>
<view class="upload-box" @click="uploadImg(1)">
<image src="../../../static/images/addimg.png" v-if="slider_image[1] == ''"></image>
<image src="../../../static/images/addimg.png" v-if="!slider_image[1] || slider_image[1] == ''"></image>
<image :src="slider_image[1]" mode="aspectFill" v-else></image>
</view>
<view class="upload-box" @click="uploadImg(2)">
<image src="../../../static/images/addimg.png" v-if="slider_image[2] == ''"></image>
<image src="../../../static/images/addimg.png" v-if="!slider_image[2] || slider_image[2] == ''"></image>
<image :src="slider_image[2]" mode="aspectFill" v-else></image>
</view>
</view>
@ -29,7 +29,7 @@
<input type="text" v-model="store_name" placeholder="输入商品名称" />
</view>
<view class="goodsInfo-item">
<text>商品单位</text>
<text>商品单位<text class="colR">*</text></text>
<input type="text" v-model="unit_name" placeholder="输入商品单位" />
</view>
<view class="goodsInfo-item">
@ -40,41 +40,89 @@
</view>
</view>
</view>
<view class="title2" @click="addSku">添加规格</view>
<!-- <view class="title2" @click="addSku">添加规格</view> -->
<view class="add-sku-box">
<view class="sku-item" v-for="(item,index) in attrs" :key="index">
<view class="close-btn" @click="delSku(index)">×</view>
<view class="sku img-sku acea-row row-middle row-between">
<!-- <view class="close-btn" @click="delSku(index)">×</view> -->
<!-- <view class="sku img-sku acea-row row-middle row-between">
<text>图片</text>
<image src="../../../static/images/upload.png" v-if="item.pic == ''" @tap="uploadSkuImg(index)"></image>
<image :src="item.pic" v-else @tap="uploadSkuImg(index)" mode="aspectFill"></image>
</view>
</view> -->
<view class="sku img-sku acea-row row-middle row-between">
<text>价格<text class="colR">*</text></text>
<input type="text" v-model="item.price" placeholder="请输入售价(元)" />
<input type="number" v-model="item.price" placeholder="请输入售价(元)" />
</view>
<view class="sku img-sku acea-row row-middle row-between">
<text>市场价格</text>
<input type="text" v-model="item.ot_orice" placeholder="请输入市场价格(元)" />
<input type="number" v-model="item.ot_orice" placeholder="请输入市场价格(元)" />
</view>
<view class="sku img-sku acea-row row-middle row-between">
<text>库存<text class="colR">*</text></text>
<input type="text" v-model="item.stock" placeholder="请输入库存" />
<input type="number" v-model="item.stock" placeholder="请输入库存" />
</view>
<view class="sku img-sku acea-row row-middle row-between">
<text>重量</text>
<input type="text" v-model="item.weight" placeholder="请输入重量" />
<input type="number" v-model="item.weight" placeholder="请输入重量kg" />
</view>
<view class="sku img-sku acea-row row-middle row-between">
<text>体积</text>
<input type="text" v-model="item.volume" placeholder="请输入体积" />
<input type="number" v-model="item.volume" placeholder="请输入体积m³" />
</view>
</view>
</view>
<!-- // -->
<!-- <view class="set-title">规格设置</view>
<view class="setattr-box">
<view class="attr-item colB" @click="addAttr">添加属性</view>
<view class="attr-item acea-row row-between row-middle"
v-for="(item,index) in attrArr"
:key="index"
@click="editAttr(index)"
>
<view class="attr-item-l">{{item.attrName}}({{item.attrOptions.length}})</view>
<image src="../../../static/images/arror-r-s.png"></image>
<view class="del-attr" @tap.stop="delAttr(index)">×</view>
</view>
</view> -->
<!-- 规格设置 -->
<!-- <view class="add-sku-box">
<view class="sku-item">
<view class="sku img-sku acea-row row-middle row-between">
<text>价格<text class="colR">*</text></text>
<input type="number" v-model="item.price" placeholder="请输入售价(元)" />
</view>
<view class="sku img-sku acea-row row-middle row-between">
<text>库存<text class="colR">*</text></text>
<view class="acea-row row-middle">
<switch :checked="!infinite" @change="stockChange" style="transform: scale(0.8);" />
<view>{{infinite ? '不限' : '有限'}}</view>
</view>
<view class="colB">批量设置</view>
</view>
</view>
</view> -->
<!-- 批量操作 -->
<!-- <view class="batch-set-box">
<view class="box-top acea-row row-between-wrapper">
<view class="name">颜色/长度</view>
<view class="attr-name w15">库存</view>
<view class="attr-name w15">价格</view>
</view>
<block v-for="i in 3" :key="i">
<view class="box-b acea-row row-between-wrapper">
<view class="name line1">红色/20cm</view>
<view class="inp-box w15"><input type="number" placeholder="0"></view>
<view class="inp-box w15"><input type="number" placeholder="0" ></view>
</view>
<view class="temp-box acea-row row-between-wrapper">
</block>
</view> -->
<view class="temp-box acea-row row-between-wrapper" @click="toTempList">
<text>运费模板</text>
<view class="acea-row row-middle">
<text>全国包邮(默认)</text>
<text>{{temp}}</text>
<image src="../../../static/images/arror-r-s.png"></image>
</view>
</view>
@ -94,21 +142,46 @@
<view class="btn-box">
<view class="btn" @tap="submit">提交</view>
</view>
<!-- // -->
<view class="mask-box" v-if="maskShow == true">
<view class="addattr-dialog" v-if="addOptionsDialog == true">
<view class="dialog-top acea-row row-between row-middle">
<text>规格属性</text>
<view class="close" @click="maskShow = false; addOptionsDialog = false">×</view>
</view>
<view>
<view class="a-name"><input type="text" v-model="attr.attrName" placeholder="输入属性名称,如:颜色"></view>
<view class="o-name-box">
<block v-for="(o,i) in attr.attrOptions" :key="i">
<view class="o-item-box acea-row row-between row-middle">
<input type="text" v-model="o.name" maxlength="10" placeholder="输入选项,如:红色,10个字以内">
<text class="close" @click="delOption(i)">×</text>
</view>
</block>
<view class="add-option-btn" @click="addOption">+选项</view>
</view>
</view>
<view class="s-btn" @click="submitAddAttr">确定</view>
</view>
</view>
</view>
</template>
<script>
import { chooseImage } from "@/utils"
import { addProduct } from '@/api/store'
import { chooseImage, chooseImages } from "@/utils"
import { addProduct, getProductInfo, editProduct } from '@/api/store'
export default{
data(){
return {
id: '',
store_name: '',
unit_name: '',
image:'', //
slider_image: ['','',''] ,//
slider_image: [] ,//
description: '', //
tempId: 1, //
temp: '全国包邮',
attrs: [ //
{
pic: '', //" --",
@ -119,13 +192,72 @@
volume: '', //" --"
}
],
state: 0
attrArr:[],
attr:{},
state: 0,
maskShow: false,
addOptionsDialog: false,
infinite: false
}
},
onLoad() {
this.id = this.$yroute.query.id || ''
if(this.id){
uni.setNavigationBarTitle({
 title:'修改商品'
})
getProductInfo({id: this.id}).then((res)=>{
let info = res.data
this.slider_image = info.slider_image
this.image = info.slider_image[0]
this.unit_name = info.unit_name
this.description = info.description
this.store_name = info.store_name
this.attrs = info.attrs
})
} else{
console.log('新增')
}
// let attrArr = [
// {attrOptions:['','','']},
// {
// attrOptions:['20cm','30cm']
// }
// ]
// var tmp = []
// for (var i in attrArr) {
// tmp.push(attrArr[i].attrOptions)
// }
// console.log(tmp)
// function cartesianProductOf() {
// return Array.prototype.reduce.call(arguments, function (a, b) {
// var ret = [];
// a.forEach(function (a) {
// b.forEach(function (b) {
// ret.push(a.concat([b]));
// });
// });
// return ret;
// }, [[]]);
// }
// let allArr = cartesianProductOf(...tmp)
// console.log(allArr)
},
methods:{
uploadImgs(){
chooseImages((imgs)=>{
this.slider_image.push(imgs)
})
},
uploadImg(idx){
// console.log(this.slider_image[idx])
chooseImage((img)=>{
if(this.slider_image[idx]){
this.$set(this.slider_image,idx,img)
} else{
this.slider_image.push(img)
}
})
},
uploadSkuImg(idx){
@ -138,6 +270,46 @@
url: '/pages/life/goodsDetails/index?desc='+encodeURIComponent(this.description)
});
},
toTempList(){
uni.navigateTo({
url: '/pages/life/tempList/index'
})
},
//
addAttr(){
// if(this.attrArr.length == 0){
let j = {
attrName: '',
attrOptions:[{name:''}]
}
// this.attrArr.push(j)
this.attr = j
// }
this.maskShow = true;
this.addOptionsDialog = true
},
//
editAttr(i){
this.attr = this.attrArr[i]
this.maskShow = true;
this.addOptionsDialog = true
},
delAttr(i){
this.attrArr.splice(i,1)
},
addOption(){
this.attr.attrOptions.push({name:''})
},
delOption(index,i){
this.attr.attrOptions.splice(i,1)
},
///
submitAddAttr(){
this.addOptionsDialog = false
this.maskShow = false
this.attrArr.push(this.attr)
console.log(this.attrArr,'attrArr')
},
addSku(){
let item = {
pic: '', //" --",
@ -148,10 +320,19 @@
volume: '', //" --"
}
this.attrs.push(item)
uni.pageScrollTo({
scrollTop: 999999
})
},
delSku(idx){
this.attrs.splice(idx,1)
},
//
stockChange(e){
// console.log(e)
this.infinite = !e.detail.value
},
radioChange(e){
this.state = e.detail.value
},
@ -189,9 +370,47 @@
return
}
})
if(this.id != ''){
form.id = this.id
editProduct(form).then((res)=>{
if(res.success){
uni.showToast({
title: res.msg,
duration: 1500
})
setTimeout((res)=>{
uni.navigateTo({
url: 'pages/user/goodsManage/index'
})
},1500)
} else{
uni.showToast({
title: res.msg,
icon: 'none'
})
}
})
} else{
addProduct(form).then((res)=>{
if(res.success){
uni.showToast({
title: res.msg,
duration: 1500
})
setTimeout((res)=>{
uni.navigateTo({
url: 'pages/user/goodsManage/index'
})
},1500)
} else{
uni.showToast({
title: res.msg,
icon: 'none'
})
}
})
}
console.log(form,'form')
},
alertMessage(msg){
@ -220,13 +439,13 @@
width: 140rpx;
height: 140rpx;
margin-right: 20rpx;
border-radius: 8rpx;
&:nth-last-child(1){
margin-right: 0;
}
image{
width: 100%;
height: 100%;
border-radius: 8rpx;
}
}
.tips{
@ -249,7 +468,7 @@
margin-top: 40rpx;
.goodsInfo-item{
width: 100%;
height: 116rpx;
height: 82rpx;
padding: 0 32rpx;
display: flex;
align-items: center;
@ -286,6 +505,7 @@
border-radius: 8rpx;
font-size: 28rpx;
font-weight: 500;
margin-top: 24rpx;
image{
width: 110rpx;
height: 110rpx;
@ -354,5 +574,152 @@
.colR{
color: #FF0000;
}
.set-title{
font-size: 32rpx;
color: #343434;
margin: 34rpx 0 24rpx;
}
.setattr-box{
width: 100%;
background: #fff;
.attr-item{
width: 100%;
padding: 20rpx 50rpx 20rpx 32rpx;
border-bottom: 2rpx solid #eee;
font-size: 28rpx;
position: relative;
.del-attr{
font-size: 40rpx;
position: absolute;
right: 10rpx;
top: 20rpx;
width: 36rpx;
height: 36rpx;
// background: #FFA079;
line-height: 32rpx;
text-align: center;
border-radius: 50%;
color: #FFA079;
}
image{
width: 24rpx;
height: 24rpx;
}
}
}
//
.batch-set-box{
width: 100%;
background: #fff;
padding: 24rpx;
color: #343434;
font-size: 28rpx;
margin: 12rpx 0;
.box-top{
padding: 0 0 12rpx;
border-bottom: 2rpx solid #EEEEEE;
color: #ABABAB;
.name{
width: 60%;
}
.w15{
width: 19%;
text-align: center;
}
}
.box-b{
margin-top: 6rpx;
.name{
width: 60%;
}
.w15{
width: 19%;
}
.inp-box{
text-align: center;
height: 44rpx;
border-radius: 12rpx;
background: #DCDCDC;
input{
width: 100%;
height: 100%;
}
}
}
}
//
.mask-box{
width: 100%;
height: 100%;
background: rgba(0,0,0,.7);
position: fixed;
top: 0;
left: 0;
z-index: 99;
.addattr-dialog{
width: 680rpx;
min-height: 590rpx;
background: #FFFFFF;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
border-radius: 40rpx;
padding: 80rpx 64rpx;
.dialog-top{
margin-bottom: 26rpx;
}
.close{
font-size: 46rpx;
}
.a-name{
width: 560rpx;
height: 104rpx;
background: #F7F7F7;
border-radius: 12rpx;
padding: 30rpx;
}
.o-name-box{
background: #f7f7f7;
padding: 36rpx 42rpx 0;
margin: 28rpx 0 0;
border-radius: 12rpx;
font-size: 26rpx;
input{
width: 80%;
}
.o-item-box{
height: 56rpx;
padding-bottom: 10rpx;
margin-bottom: 10rpx;
border-bottom: 2rpx solid #ececec;
}
}
.add-option-btn{
width: 100%;
padding: 20rpx 0;
text-align: center;
color: #BFBFBF;
background: #f7f7f7;
// border-top: 2rpx solid #ececec;
font-size: 26rpx;
}
.s-btn{
width: 230rpx;
height: 80rpx;
background: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);
border-radius: 40rpx;
text-align: center;
line-height: 80rpx;
color: #fff;
font-size: 26rpx;
margin: 70rpx auto 0;
}
}
}
.colB{
color: #0932FF;
}
}
</style>

30
pages/life/index.vue

@ -20,20 +20,20 @@
</view>
<view class="banner-img-box acea-row row-between-wrapper">
<view class="img-box-l">
<image src="https://download.cyjyyjy.com/life1.png"></image>
<image src="https://download.cyjyyjy.com/life1.png" @click="alertMessage('功能开发中...')"></image>
</view>
<view class="img-box-r">
<image src="https://download.cyjyyjy.com/life2.png"></image>
<image src="https://download.cyjyyjy.com/life3.png"></image>
<image src="https://download.cyjyyjy.com/life2.png" @click="alertMessage('功能开发中...')"></image>
<image src="https://download.cyjyyjy.com/life3.png" @click="alertMessage('功能开发中...')"></image>
</view>
</view>
<view class="category-tab-box">
<scroll-view class="scroll-view_H" scroll-x="true" >
<view class="category-item category-item-active">猜你喜欢</view>
<view class="category-item">至尊保驾</view>
<view class="category-item category-item-active">全部商品</view>
<!-- <view class="category-item">至尊保驾</view>
<view class="category-item">优选好房</view>
<view class="category-item">商城福利</view>
<view class="category-item">回头率</view>
<view class="category-item">回头率</view> -->
</scroll-view>
</view>
<view class="warter-box">
@ -52,7 +52,8 @@
</template>
<template v-slot:right="{rightList}">
<view class="warter" v-for="(item, index) in rightList" :key="index" @tap="toGoodsDetail(item.id)">
<image class="warter-img" :src="item.image" :index="index" mode="widthFix"></image> <view class="goodsinfo-box">
<image class="warter-img" :src="item.image" :index="index" mode="widthFix"></image>
<view class="goodsinfo-box">
<view class="title line2"> {{item.storeName}} </view>
<view class="price-box acea-row row-between-wrapper">
<text class="price">{{item.price}}</text>
@ -97,11 +98,14 @@ export default {
}
}
},
onLoad: function (options) {
onShow: function (options) {
this.getProducts();
},
mounted: function() {
},
onPullDownRefresh(){
this.getProducts();
},
methods: {
tabBarClick(index){
@ -151,7 +155,7 @@ export default {
getProducts().then((res)=>{
// console.log(res)
this.flowList = res.data
console.log(this.flowList)
uni.stopPullDownRefresh()
})
},
submitForm: function() {
@ -166,7 +170,13 @@ export default {
},
asideTap(index) {
this.navActive = index;
}
},
alertMessage(msg){
uni.showToast({
title: msg,
icon: 'none'
})
},
},
beforeDestroy: function() {
// document.removeEventListener("scroll", this.onScroll, false);

34
pages/life/tempList/index.vue

@ -1,14 +1,16 @@
<template>
<view class="templist-box">
<view class="list">
<view class="item acea-row row-between-wrapper" v-for="(item,index) in tempList" :key="index">
<view class="item acea-row row-between-wrapper" v-for="(item,index) in tempList" :key="index" @tap="choseTemp(item)">
<view class="temp-name">
{{index + 1}}{{item.name}}
</view>
<view class="handle-btn">删除</view>
<view class="handle-btn" @tap.stop="del(item)">
<image src="../../../static/images/del-goods.png"></image>
</view>
</view>
<view class="btn-box" @tap="toTemp">新增运费模板</view>
</view>
<view class="btn-box" @tap.stop="toTemp">新增运费模板</view>
</view>
</template>
@ -20,10 +22,29 @@
tempList: []
}
},
mounted(){
onShow(){
this.getTempList()
},
mounted(){
},
methods:{
choseTemp(item){
console.log(item,'item')
let pages = getCurrentPages();
console.log(pages,'pages')
let page = pages[pages.length -2]
if(page.route == 'pages/life/addGoods/index'){
page.$vm.temp = item.name
page.$vm.tempId = item.id
uni.navigateBack({
delta: 1
})
}
},
del(item){
},
getTempList(){
getTempList().then((res)=>{
// console.log(res)
@ -65,8 +86,13 @@
width: 100%;
height: 46rpx;
border-top: 2rpx solid #F8F7F7;
}
.handle-btn{
margin-left: 12rpx;
image{
width: 29rpx;
height: 29rpx;
}
}
}

10
pages/order/MyOrder/index.vue

@ -130,7 +130,7 @@
</view>
<view class="noCart" v-if="orderList.length === 0 && page > 1">
<view class="pictrue">
<image :src="`${$VUE_APP_RESOURCES_URL}/images/noOrder.png`" />
<image src="https://download.cyjyyjy.com/no-order2.png" />
</view>
</view>
<Loading :loaded="loaded" :loading="loading"></Loading>
@ -385,14 +385,14 @@ export default {
}
.noCart .pictrue {
width: 4 * 100rpx;
height: 3 * 100rpx;
width: 422rpx;
height: 508rpx;
overflow: hidden;
margin: 0.7 * 100rpx auto 0.5 * 100rpx auto;
}
.noCart .pictrue image {
width: 4 * 100rpx;
height: 3 * 100rpx;
width: 100%;
height: 100%;
}
</style>

22
pages/order/ReturnList/index.vue

@ -80,7 +80,8 @@ export default {
getOrderList({
page,
limit,
type: -3
type: -3,
orderType: 'BUY'
}).then(res => {
this.orderList = this.orderList.concat(res.data);
this.loading = false;
@ -98,8 +99,21 @@ export default {
};
</script>
<style lang="less">
.pictrue{
text-align: center;
padding-top: 78rpx;
.return-list{
width: 100%;
min-height: 100vh;
background: #eee;
padding: 24rpx;
}
.goodWrapper{
width: 100%;
border-radius: 8rpx;
}
.goodWrapper .item .text {
width: 490rpx;
}
// .pictrue{
// text-align: center;
// padding-top: 78rpx;
// }
</style>

8
pages/shop/GoodsCon/index.vue

@ -56,10 +56,10 @@
<view class="store-info" v-if="systemStore">
<view class="title acea-row row-between-wrapper">
<view>门店信息</view>
<text @click="goStoreList()" class="praise">
<!-- <text @click="goStoreList()" class="praise">
更多
<text class="iconfont icon-jiantou"></text>
</text>
</text> -->
</view>
<view class="info acea-row row-between-wrapper">
<view class="picTxt acea-row row-between-wrapper">
@ -70,12 +70,12 @@
<view class="name line1">{{ systemStore.name }}</view>
<view class="address acea-row row-middle" @click="showChang(systemStore)">
<text class="addressTxt">{{ systemStore.address }}</text>
<text class="iconfont icon-youjian"></text>
<!-- <text class="iconfont icon-youjian"></text> -->
</view>
</view>
<view class="addressBox">
<a class="iconfont icon-dadianhua01 font-color-red phone" @click="telPhone(systemStore.phone)"></a>
<view class="addressTxt corlor-yshop">距离{{ systemStore.distance }}千米</view>
<!-- <view class="addressTxt corlor-yshop">距离{{ systemStore.distance }}千米</view> -->
</view>
</view>
</view>

68
pages/shop/ShoppingCart/index.vue

@ -14,8 +14,7 @@
</view> -->
<view class="nav acea-row row-between-wrapper">
<view>
购物数量
<text class="num font-color-red">{{ count }}</text>
购物数量 <text class="num font-color-red">({{ count }})</text>
</view>
<view v-if="cartList.valid.length > 0" class="administrate acea-row row-center-wrapper" @click="manage">
{{ footerswitch ? '取消' : '管理' }}</view>
@ -90,7 +89,7 @@
<!--购物车暂无商品-->
<view class="noCart" v-if="cartList.valid.length === 0 && cartList.invalid.length === 0">
<view class="pictrue">
<image :src="`${$VUE_APP_RESOURCES_URL}/images/noCart.png`" />
<image src="https://download.cyjyyjy.com/no-goods.png" />
</view>
<view class="toBuy-btn" @click="toGoodsClass()">去选购</view>
</view>
@ -136,9 +135,7 @@
<script>
import Recommend from "@/components/Recommend";
import Authorization from "@/pages/authorization/index";
import {
mapGetters
} from "vuex";
import { mapGetters } from "vuex";
import {
getCartList,
@ -232,9 +229,14 @@
}
},
methods: {
// toGoodsClass(){
// uni.switchTab({
// url:'/pages/shop/GoodsClass/index'
// })
// },
toGoodsClass(){
uni.switchTab({
url:'/pages/shop/GoodsClass/index'
url:'/pages/life/index'
})
},
goGoodsCon(item) {
@ -526,19 +528,65 @@
.shoppingCart{
position: relative;
padding-top: 120rpx;
background: #eee;
.nav{
top: 0;
}
.list{
padding: 0 40rpx;
margin-top: 0;
.item{
border-radius: 12rpx;
}
}
}
.shoppingCart .nav .administrate{
color: #fff;
background:#F99C10;
width: 110rpx;
height: 46rpx;
border-radius: 25rpx;
border:none;
}
.shoppingCart .list .item .picTxt {
width: 553rpx;
}
.shoppingCart .list .item .picTxt .text {
width: 390rpx;
}
.shoppingCart .list .item .picTxt .carnum view {
border: 2rpx solid #F99C10;
width: 66rpx;
text-align: center;
height: 100%;
line-height: 44rpx;
font-size: 28rpx;
color: #F99C10;
}
.shoppingCart .list .item .picTxt .carnum .plus{
border-radius: 0 12rpx 12rpx 0;
}
.shoppingCart .list .item .picTxt .carnum .reduce{
border-radius: 12rpx 0rpx 0rpx 12rpx;
}
.shoppingCart .list .item .picTxt .carnum .num {
color: #F99C10;
}
.shoppingCart .footer {
height: 200rpx;
height: 120rpx;
}
.shoppingCart .noCart{
margin-top: 0;
background: #eee;
.pictrue{
width: 422rpx;
height: 508rpx;
image{
width: 100%;
height: 100%;
}
}
.toBuy-btn{
width: 194rpx;
height: 68rpx;
@ -553,4 +601,8 @@
margin: 30rpx auto;
}
}
.shoppingCart .noCart .toBuy-btn{
background: #F99C10;
}
</style>

62
pages/user/addServiceCode/index.vue

@ -0,0 +1,62 @@
<template>
<view class="service-page">
<view class="code-box">
<image src="https://download.cyjyyjy.com/service-ercode.jpg" show-menu-by-longpress=""></image>
<view class="tips">添加社群管家进入社群海量资源与福利尽在云生态</view>
<view class="btn">长按识别二维码添加小管家</view>
</view>
</view>
</template>
<script>
export default{
data(){
return{
}
}
}
</script>
<style lang="less">
.service-page{
width: 100%;
height: 100vh;
background: #eee;
padding-top: 90rpx;
.code-box{
width: 670rpx;
height: 988rpx;
background: url('https://download.cyjyyjy.com/bg-service.png') no-repeat center;
background-size: 100% 100%;
margin: 0rpx auto;
display: flex;
flex-direction: column;
align-items: center;
padding-top: 142rpx;
image{
width: 436rpx;
height: 436rpx;
}
.tips{
width: 432rpx;
font-size: 36rpx;
font-weight: 600;
line-height: 50rpx;
color: #1D1D1D;
text-align: center;
margin: 42rpx 0;
}
.btn{
min-width: 460rpx;
height: 80rpx;
line-height: 80rpx;
text-align: center;
color: #fff;
font-size: 32rpx;
background: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);
border-radius: 40rpx;
}
}
}
</style>

156
pages/user/goodsManage/index.vue

@ -1,66 +1,147 @@
<template>
<view class="goodsManage-page">
<view class="nav acea-row row-around">
<view class="item" :class="{ on: type === 0 }" @click="changeType(0)">
<view class="item" :class="{ on: type === 1 }" @click="changeType(1)">
<view>出售中</view>
</view>
<view class="item" :class="{ on: type === 1 }" @click="changeType(1)">
<view class="item" :class="{ on: type === 0 }" @click="changeType(0)">
<view>待上架</view>
</view>
</view>
<view class="goods-list-box">
<view class="goods-item" v-for="i in 3" :key="i">
<view class="no-order" v-if="goodsList.length == 0"><image src="https://download.cyjyyjy.com/no-goods.png"></image></view>
<view class="goods-item" v-else v-for="item in goodsList" :key="item" @click="goGoodsCon(item)">
<view class="item-top acea-row">
<image class="goods-img" src="../../../static/images/shareImg.png" mode="aspectFill"></image>
<image class="goods-img" :src="item.image" mode="aspectFill"></image>
<view class="info-box">
<view class="title line1">单品套装SKII大眼眼霜15g霜15g霜15g霜15g</view>
<view class="colG">规格1</view>
<view class="title line1">{{item.storeName}}</view>
<view class="colG">规格 {{item.unitName}}</view>
<view class="price-box acea-row row-between-wrapper">
<view class="money">499</view>
<view class="colG">库存99</view>
<view class="money">{{item.price}}</view>
<view class="colG">库存{{item.stock}}</view>
</view>
</view>
</view>
<view class="btn-box acea-row row-right">
<view class="edit-btn acea-row row-middle">
<view class="edit-btn acea-row row-middle" @click="toAddGoods(item)" v-if="type == 0">
<image src="../../../static/images/edit-goods.png"></image>
<text>编辑商品</text>
</view>
<view class="off-shelf-btn acea-row row-middle">
<image src="../../../static/images/off-shelf.png"></image>
<text>下架商品</text>
<view class="off-shelf-btn acea-row row-middle" @tap.stop="showProduct(item)">
<image src="../../../static/images/off-shelf.png" :class="type == 0 ? 'flip' : ''"></image>
<text>{{type == 1 ? '下架' : '上架' }}商品</text>
</view>
<view class="del-btn acea-row row-middle">
<view class="del-btn acea-row row-middle" v-if="type == 0" @click="delProduct(item)">
<image src="../../../static/images/del-goods.png"></image>
<text>删除商品</text>
</view>
</view>
</view>
</view>
<view class="add-btn" @click="toAddGoods('')">新增商品</view>
</view>
</template>
<script>
import { getProducts, prodcutShow ,prodcutDel } from '@/api/store.js'
export default{
data(){
return {
type: 0,
type: 1,
goodsList: [],
page: 0,
loading: false
page: 1,
loading: true
}
},
mounted() {
onShow() {
this.getProducts()
},
onReachBottom() {
this.getProducts()
},
onPullDownRefresh() {
this.goodsList = []
this.page = 1
this.loading = true
this.getProducts()
},
methods:{
goGoodsCon(item) {
if(this.type == 1){
this.$yrouter.push({
path: "/pages/shop/GoodsCon/index",
query: {
id: item.id
}
});
}
},
getProducts(){
let data = {
orderType: 'SELL',
limit: 200,
page: 1,
isShow: this.type
}
if(this.loading){
getProducts(data).then((res)=>{
if(res.success){
if(this.page > 1){
this.goodsList = this.goodsList.concat(res.data)
} else{
this.goodsList = res.data
}
this.loading = res.data.length >= this.limit
uni.stopPullDownRefresh()
}
})
}
},
//
showProduct(item){
let data = {
id: item.id,
status: this.type
}
prodcutShow(data).then((res)=>{
if(res.success){
uni.showToast({
title: res.msg
})
this.changeType(this.type)
}
})
},
//
delProduct(item){
prodcutDel({id: item.id}).then((res)=>{
if(res.success){
uni.showToast({
title: res.msg
})
this.changeType(this.type)
}
})
},
changeType(idx){
this.type = type
this.type = idx
this.goodsList = []
this.page = 1
this.loading = false
}
this.loading = true
this.getProducts();
},
//
toAddGoods(item){
let id = item.id || ''
this.$yrouter.push({
path: '/pages/life/addGoods/index',
query:{
id: id
}
})
},
},
}
</script>
@ -69,10 +150,23 @@
width: 100%;
min-height: 100vh;
background: #EEEEEE;
position: relative;
}
.no-order{
padding: 90rpx 0;
width: 100%;
text-align: center;
image{
width: 422rpx;
height: 508rpx;
}
}
.nav{
width: 100%;
position: fixed;
top: 0;
left: 0;
background-color: #fff;
// padding: 12rpx 0;
color: #707070;
font-size: 28rpx;
.item{
@ -86,7 +180,7 @@
}
.goods-list-box{
width: 100%;
padding: 32rpx 40rpx;
padding: 90rpx 40rpx 126rpx;
.goods-item{
width: 100%;
padding: 32rpx 22rpx 16rpx;
@ -130,6 +224,9 @@
height: 28rpx;
margin-right: 6rpx;
}
.flip{
transform: rotate(180deg);
}
view{
margin-left: 28rpx;
}
@ -148,4 +245,17 @@
}
}
}
.add-btn{
width: 670rpx;
height: 80rpx;
line-height: 80rpx;
text-align: center;
color: #fff;
background: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);
border-radius: 40rpx;
position: absolute;
bottom: 50rpx;
left: 50%;
margin-left: -335rpx;
}
</style>

82
pages/user/index.vue

@ -111,6 +111,9 @@
<image src="/static/images/user/fbzy.png"></image>
<view class="to-btn">发布需求</view>
</view>
</view>
<view class="add-service" @click="$yrouter.push({path: '/pages/user/addServiceCode/index'})">
<image src="https://download.cyjyyjy.com/addservice.png"></image>
</view>
<!-- 电商管理 -->
<view class="needs-menu-list">
@ -121,22 +124,26 @@
<view>电商管理</view>
</view>
<view class="menu-list acea-row row-between">
<view class="menu-item acea-row row-column row-center-wrapper">
<view class="menu-item acea-row row-column row-center-wrapper" @tap="toReleaseGoods">
<image src="/static/images/user/fuwu2.png"></image>
<text>发布商品</text>
</view>
<view class="menu-item acea-row row-column row-center-wrapper">
<view class="menu-item acea-row row-column row-center-wrapper" @tap="toGoodsManage">
<image src="/static/images/user/fuwu7.png"></image>
<text>商品管理</text>
</view>
<view class="menu-item acea-row row-column row-center-wrapper">
<view class="menu-item acea-row row-column row-center-wrapper" @tap="toOrderManage">
<image src="/static/images/user/fuwu3.png"></image>
<text>商家订单</text>
</view>
<view class="menu-item acea-row row-column row-center-wrapper">
<view class="menu-item acea-row row-column row-center-wrapper" v-if="userInfo.store == null" @tap="toOpenShop">
<image src="/static/images/user/fuwu6.png"></image>
<text>我要开店</text>
</view>
<view class="menu-item acea-row row-column row-center-wrapper" v-if="userInfo.store !== null" @tap="toMyShop">
<image src="/static/images/user/fuwu6.png"></image>
<text>我的店铺</text>
</view>
</view>
</view>
<!-- 我的订单 -->
@ -161,7 +168,7 @@
<image src="/static/images/user/fuwu6.png"></image>
<text>待评价</text>
</view>
<view class="menu-item acea-row row-column row-center-wrapper">
<view class="menu-item acea-row row-column row-center-wrapper" @click="goReturnList">
<image src="/static/images/user/fuwu6.png"></image>
<text>售后/退款</text>
</view>
@ -245,15 +252,20 @@ export default {
*/
onLoad: function (options) {
// app.globalData.editTabbar();
this.getInfo();
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
this.getInfo();
},
onPullDownRefresh() {
this.getInfo()
},
methods: {
tabBarClick(index){
this.currentTabIndex = index
},
@ -263,6 +275,7 @@ export default {
this.setData({
userInfo: res.data.data
});
uni.setStorageSync('userInfo',res.data.data)
this.getOrderCount();
this.isAuthentication();
uni.stopPullDownRefresh();
@ -368,7 +381,52 @@ export default {
},
})
},
//
toReleaseGoods(){
if(this.userInfo.store !== null){
this.$yrouter.push({
path: '/pages/life/addGoods/index'
})
} else{
uni.showToast({
title: '请先点最右边按钮去开店!',
icon: 'none',
duration: 200
})
}
},
//退
goReturnList() {
if(this.userInfo.store !== null){
this.$yrouter.push('/pages/order/ReturnList/index')
} else{
uni.showToast({
title: '请先点最右边按钮去开店!',
icon: 'none',
duration: 200
})
}
},
toGoodsManage(){
if(this.userInfo.store !== null){
this.$yrouter.push('/pages/user/goodsManage/index')
} else{
uni.showToast({
title: '请先点最右边按钮去开店!',
icon: 'none',
duration: 200
})
}
},
toOrderManage(){
this.$yrouter.push('/pages/user/orderManage/index')
},
toOpenShop(){
this.$yrouter.push('/pages/user/openStore/index')
},
toMyShop(){
this.$yrouter.push('/pages/user/myShop/index')
},
}
};
</script>
@ -560,6 +618,16 @@ export default {
font-size: 24rpx;
line-height: 34rpx;
}
.add-service{
width: 100%;
height: 144rpx;
margin-bottom: 32rpx;
image{
width: 100%;
height: 100%;
}
}
.myorder-menu-list .menu-item{
width: 20%;
}

303
pages/user/myShop/index.vue

@ -0,0 +1,303 @@
<template>
<view class="my-shop-box">
<!-- <view class="nav acea-row row-around">
<view class="item" :class="{ on: type === 0 }" @click="changeType(0)">
<view>今日数据</view>
</view>
<view class="item" :class="{ on: type === 1 }" @click="changeType(1)">
<view>总数据</view>
</view>
</view> -->
<!-- <view class="set-icon" @click="toOpenStore"><image src="../../../static/images/set.png"></image></view> -->
<view class="card-box">
<view class="shop-info acea-row row-middle">
<view class="shop-logo"><image :src="storeInfo.storeDto.image" mode="aspectFill"></image></view>
<view class="shop-name">
<view class="name">{{storeInfo.storeDto.name}}</view>
<view class="edit-btn" @click="toOpenStore">信息修改</view>
</view>
</view>
<view class="count-box acea-row row-between">
<view class="count-item">
<view class="t">总收入()</view>
<countup :num="totalIncome" color="#fff" width='14' height='26' fontSize='25'></countup>
</view>
<view class="count-item">
<view class="t">今日收入()</view>
<countup :num="todayIncome" color="#fff" width='14' height='26' fontSize='25'></countup>
</view>
</view>
</view>
<view class="canuse-money-box acea-row row-between row-middle">
<view class="acea-row row-middle">
<view style="margin-right: 12rpx;margin-top:-2rpx;">可用金额() </view>
<countup :num="validMoney" color="#000" width='13' height='20' fontSize='20'></countup>
</view>
<view class="withdraw-btn" @click="toWithDraw">提现</view>
</view>
<view class="white-box">
<view class="title-box acea-row row-middle">
<image src="../../../static/images/store-icon1.png"></image>
<text>今日数据</text>
</view>
<view class="data-box acea-row row-between">
<view class="data-item">
<view class="t">订单总量</view>
<countup :num="totalOrderCount" color="#000" width='13' height='23' fontSize='20'></countup>
</view>
<view class="data-item" @click="toOrderManage(1)">
<view class="t">今日待发货</view>
<countup :num="paid" color="#000" width='13' height='23' fontSize='20'></countup>
</view>
<view class="data-item" @click="toOrderManage(4)">
<view class="t">今日待退货</view>
<countup :num="nowRefund" color="#000" width='13' height='23' fontSize='20'></countup>
</view>
</view>
</view>
<view class="white-box">
<view class="title-box acea-row row-middle">
<image src="../../../static/images/store-icon1.png"></image>
<text>总数据</text>
</view>
<view class="data-box acea-row row-between">
<view class="data-item">
<view class="t">订单总量</view>
<countup :num="totalIncome" color="#000" width='13' height='23' fontSize='20'></countup>
</view>
<view class="data-item">
<view class="t">退单量</view>
<!-- <view>2098</view> -->
<countup :num="totalRefund" color="#000" width='13' height='23' fontSize='20'></countup>
</view>
<view class="data-item">
<view class="t">商品商家数</view>
<countup :num="productCount" color="#000" width='13' height='23' fontSize='20'></countup>
</view>
</view>
</view>
<view class="add-btn" @click="toAddGoods('')">新增商品</view>
</view>
</template>
<script>
const app = getApp();
import countup from '@/components/p-countUp/countUp.vue'
import { myStore } from '@/api/store'
export default{
components:{ countup },
data(){
return {
storeInfo: {},
type: 0,
todayIncome: 0, //
todayOrderCount: 0, //
totalIncome: 0, //
totalOrderCount: 0, //
totalRefund: 0, // 退
validMoney:0, //
nowRefund: 0, // 退
paid:0 , //
productCount: 0, //
}
},
onLoad(){
// this.getInfo()
this.getStore()
},
onPullDownRefresh() {
this.getStore()
},
methods:{
toAddGoods(){
this.$yrouter.push({
path: '/pages/life/addGoods/index',
query:{
id: ''
}
})
},
getStore(){
myStore().then((res)=>{
if(res.success){
this.storeInfo = res.data
uni.stopPullDownRefresh()
}
})
},
// getInfo() {
// app.http('get', 'userinfo').then(res => {
// if (res.data.success) {
// this.setData({
// userInfo: res.data.data
// });
// uni.setStorageSync('userInfo',res.data.data)
// uni.stopPullDownRefresh()
// }
// });
// },
changeType(idx){
this.type = idx
},
toOpenStore(){
this.$yrouter.push({
path: '/pages/user/openStore/index'
})
},
toOrderManage(idx){
this.$yrouter.push({
path: '/pages/user/orderManage/index',
query:{
type: idx
}
})
},
toWithDraw(){
this.$yrouter.push({
path: '/pages/user/withdraw/index'
})
},
}
}
</script>
<style lang="less">
.my-shop-box{
width: 100%;
min-height: 100vh;
background: #EEEEEE;
.nav{
width: 100%;
background-color: #fff;
color: #1D1D1D;
font-size: 28rpx;
.item{
padding-bottom: 12rpx;
}
.on{
font-weight: 500;
color: #000;
border-bottom: 6rpx solid #FF6D31;
}
}
.card-box{
width: 100%;
height: 460rpx;
background: linear-gradient(180deg, #FE6620 0%, #F89C75 100%);
padding: 36rpx 56rpx;
font-size: 32rpx;
color: #FFFFFF;
font-weight: 500;
.shop-info{
.shop-name{
.name{
font-size: 44rpx;
line-height: 60rpx;
font-weight: 600;
margin-bottom: 10rpx;
}
.edit-btn{
width: 140rpx;
height: 46rpx;
border: 2rpx solid #FFFFFF;
border-radius: 8rpx;
text-align: center;
line-height: 42rpx;
color: #fff;
font-size: 24rpx;
}
}
image{
width: 140rpx;
height: 140rpx;
border-radius:50%;
margin-right: 36rpx;
}
}
.title,.money{
font-size: 40rpx;
line-height: 56rpx;
}
.count-box{
margin-top: 50rpx;
padding: 0 28rpx;
.count-item{
text-align: center;
font-size: 36rpx;
font-weight: 500;
.t{
margin-bottom: 12rpx;
}
}
}
}
.canuse-money-box{
width: 670rpx;
height: 124rpx;
background: #FFFFFF;
border-radius: 12rpx;
color: #1d1d1d;
font-weight: 600;
padding: 0 28rpx;
margin: -62rpx auto 0;
.withdraw-btn{
width: 152rpx;
height: 68rpx;
border: 2rpx solid #FF590E;
border-radius: 8rpx;
text-align: center;
line-height: 68rpx;
color: #ff590e;
font-weight: 500;
}
}
.white-box{
width: 670rpx;
height: 254rpx;
background: #fff;
border-radius: 12rpx;
margin: 32rpx auto;
.title-box{
width: 100%;
height: 66rpx;
padding: 0 16rpx;
border-bottom: 2rpx solid #ECECEC;
font-size: 28rpx;
color: #1d1d1d;
}
image{
width: 28rpx;
height: 28rpx;
margin-right: 10rpx;
}
.data-box{
padding: 40rpx 40rpx 32rpx;
.data-item{
font-size: 40rpx;
color: #1d1d1d;
.t{
font-size: 28rpx;
margin-bottom: 12rpx;
}
text-align: center;
}
}
}
.add-btn{
width: 670rpx;
height: 80rpx;
line-height: 80rpx;
text-align: center;
color: #fff;
background: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);
border-radius: 40rpx;
position: absolute;
bottom: 50rpx;
left: 50%;
margin-left: -335rpx;
}
}
</style>

196
pages/user/openStore/index.vue

@ -0,0 +1,196 @@
<template>
<view class="openshop-box">
<view class="form-box">
<view class="form-item">
<view class="label">店铺名称:<text class="colR">*</text></view>
<input type="text" v-model="name" placeholder="请输入店铺名称" />
</view>
<view class="form-item">
<view class="label">联系电话:<text class="colR">*</text></view>
<input type="text" v-model="phone" maxlength="11" placeholder="请输入联系电话" />
</view>
<view class="form-item">
<view class="label">选择地区:<text class="colR">*</text></view>
<picker mode="region" :value="address" @change="regionChange">
<view>{{address[0]}} - {{address[1]}} - {{address[2]}}</view>
</picker>
<image src="../../../static/images/arrow-d-g.png" class="arrow"></image>
</view>
<view class="form-item">
<view class="label">详细地址:<text class="colR">*</text></view>
<input type="text" v-model="detailedAddress" placeholder="请输入详细地址"/>
</view>
<view class="form-item">
<view class="label">店铺类型:</view>
<picker mode="selector">
<view>{{region[0]}}</view>
</picker>
<image src="../../../static/images/arrow-d-g.png" class="arrow"></image>
</view>
<view class="form-item">
<view class="label">店铺logo:<text class="colR">*</text></view>
<view class="img-box">
<image src="../../../static/images/addimg.png" v-if="image == ''" @click="uploadImg"></image>
<image :src="image" @click="uploadImg" v-else mode="aspectFill"></image>
</view>
</view>
<view class="form-item">
<view class="label">店铺简介:</view>
<textarea v-model="introduction" placeholder="请输入店铺简介" />
</view>
</view>
<view class="add-btn" @click="addShop">提交</view>
</view>
</template>
<script>
import { chooseImage } from "@/utils"
import { addStore } from "@/api/store.js"
export default{
data(){
return {
name: '',
phone: '',
detailedAddress: '',
introduction: '',
address: ['湖北省','武汉市','洪山区'],
image: '',
id: ''
}
},
onLoad(){
let store = uni.getStorageSync('userInfo').store
// console.log(store)
if(store){
this.name = store.name
this.phone = store.phone
this.address = store.address.split(',')
this.detailedAddress = store.detailedAddress
this.introduction = store.introduction
this.image = store.image
this.id = store.id
}
},
methods:{
regionChange(e){
console.log(e)
this.address = e.detail.value
},
uploadImg(){
chooseImage((img)=>{
this.image = img
})
},
addShop(){
if(this.name == ''){
return this.alertMessage('请输入店铺名称')
} else if(this.phone == ''){
return this.alertMessage('请输入联系方式')
} else if(this.detailedAddress == ''){
return this.alertMessage('请填写详细地址')
} else if(this.image == ''){
return this.alertMessage('请上传店铺logo')
} else{
let data = {
name: this.name,
phone: this.phone,
address: this.address.join(','),
detailedAddress: this.detailedAddress,
image: this.image,
introduction: this.introduction
}
if(this.id) data.id = this.id
addStore(data).then((res)=>{
if(res.success){
uni.showToast({
title: '操作成功!',
duration: 1500
})
setTimeout((res)=>{
this.$yrouter.push('/pages/user/myShop/index')
},1500)
} else{
uni.showToast({
title: res.msg,
icon: none
})
}
})
}
},
alertMessage(msg){
uni.showToast({
title: msg,
icon: "none"
})
},
}
}
</script>
<style lang="less">
.openshop-box{
width: 100%;
min-height: 100vh;
background: #eee;
.form-box{
padding: 30rpx 40rpx;
.form-item{
width: 100%;
padding: 30rpx 28rpx;
background: #FFFFFF;
border-radius: 16rpx;
margin-top: 32rpx;
display: flex;
align-items: center;
color: #1D1D1D;
font-size: 26rpx;
position: relative;
.label{
width: 160rpx;
}
.img-box{
width: 108rpx;
height: 108rpx;
border-radius: 8rpx;
position: relative;
}
image{
width: 108rpx;
height: 108rpx;
border-radius: 8rpx;
}
textarea{
width: 100%;
height: 126rpx;
}
&:nth-last-child(1){
align-items: flex-start;
}
.arrow{
width: 24rpx;
height: 14rpx;
position: absolute;
right: 36rpx;
top: 42rpx;
}
picker{
width: 70%;
}
.colR{
color: #FF0303;
}
}
}
.add-btn{
width: 670rpx;
height: 80rpx;
line-height: 80rpx;
text-align: center;
color: #fff;
background: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);
border-radius: 40rpx;
margin: 110rpx auto 30rpx;
}
}
</style>

314
pages/user/orderManage/index.vue

@ -0,0 +1,314 @@
<template>
<view class="goodsManage-page">
<view class="nav acea-row row-around">
<view class="item" :class="{ on: type === 0 }" @click="changeType(0)">
<view>待付款</view>
</view>
<view class="item" :class="{ on: type == 1 }" @click="changeType(1)">
<view>待发货</view>
</view>
<view class="item" :class="{ on: type == 2 }" @click="changeType(2)">
<view>已发货</view>
</view>
<view class="item" :class="{ on: type == 3 }" @click="changeType(3)">
<view>已完成</view>
</view>
<view class="item" :class="{ on: type == 4 }" @click="changeType(4)">
<view>退款&售后</view>
</view>
</view>
<view class="goods-list-box">
<view class="no-order" v-if="orderList.length == 0"><image src="https://download.cyjyyjy.com/no-order2.png"></image></view>
<view class="goods-item" v-else v-for="item in orderList" :key="item">
<view class="order-info acea-row row-between-wrapper">
<view class="info-left acea-row">
<view class="tips">
<text v-if="type == 0">待付款</text>
<text v-if="type == 1">待发货</text>
<text v-if="type == 2">已发货</text>
<text v-if="type == 3">已完成</text>
<text v-if="type == 4">退款中</text>
</view>
<view class="order-num">{{item.orderId}}</view>
</view>
<view class="create-time">{{item.createTime}}</view>
</view>
<view class="item-top acea-row" v-for="(cart,cartInfoIndex) in item.cartInfo">
<image class="goods-img" :src="cart.productInfo.image" mode="aspectFill"></image>
<view class="info-box">
<view class="title acea-row row-between-wrapper">
<view class="line1 goods-name">{{ cart.productInfo.storeName }}</view>
</view>
<!-- <view class="colG">编码1233</view> -->
<view class="money">{{cart.productInfo.attrInfo.price}}</view>
<view class="price-box acea-row row-between-wrapper">
<view class="colG">{{cart.productInfo.attrInfo.sku}}</view>
<view class="colG">X{{ cart.cartNum }}</view>
</view>
</view>
</view>
<view class="total-price-box acea-row row-right row-middle">
<view class="colG">{{item.cartInfo.length}}(含快递费)</view>
<view class="total-price">{{item.payPrice}}</view>
</view>
<!-- <view class="logistics-box" v-if="type == 2 || type == 3">
<view class="name-box">
<view class="label">收件人:</view>
<view>张三</view>
</view>
<view class="name-box">
<view class="label">收件电话:</view>
<view>13688089909</view>
</view>
<view class="name-box">
<view class="label">收件地址:</view>
<view>武汉市 洪山区 卓刀泉南路南湖小区8栋1502号</view>
</view>
</view> -->
<view class="btn-box acea-row row-right">
<view class="close-btn" v-if="type == 0">关闭订单</view>
<view class="tip-btn" v-if="type == 0">提醒付款</view>
<view class="tip-btn" v-if="type == 1" @click="toSendGoods(item)">发货</view>
<view class="tip-btn" v-if="type == 2" @click="toLogisics(item)">查看物流</view>
<view class="close-btn" v-if="type == 4">联系客服</view>
<view class="tip-btn" v-if="type == 4">同意退款</view>
</view>
</view>
</view>
</view>
</template>
<script>
import { getOrderData, getOrderList } from '@/api/order'
export default{
data(){
return {
type: 0,
orderList: [],
page: 1,
limit: 20,
loading: true,
orderType: 'SELL'
}
},
onShow() {
console.log(this.$yroute.query.type)
if(this.$yroute.query.type) {
this.type = this.$yroute.query.type
}
this.getOrderList()
},
onReachBottom() {
this.getOrderList()
},
onPullDownRefresh() {
this.goodsList = []
this.page = 1
this.loading = true
this.getOrderList()
},
methods:{
getOrderList() {
if (!this.loading) return
const { page, limit, type } = this
getOrderList({
page,
limit,
type,
orderType: this.orderType
}).then(res => {
if(this.page > 1) {
this.orderList = this.orderList.concat(res.data)
} else{
this.orderList = res.data
}
this.loading = res.data.length >= this.limit
uni.stopPullDownRefresh()
})
},
changeType(idx){
this.type = idx
this.goodsList = []
this.page = 1
this.loading = true
this.getOrderList()
},
//
toSendGoods(item){
this.$yrouter.push({
path: '/pages/user/sendGoods/index',
query:{
orderId: item.orderId
}
})
},
//
toLogisics(item){
this.$yrouter.push({
path: '/pages/order/Logistics/index',
query:{
id: item.orderId
}
})
},
}
}
</script>
<style lang="less">
.goodsManage-page{
width: 100%;
min-height: 100vh;
background: #EEEEEE;
}
.nav{
width: 100%;
background-color: #fff;
// padding: 12rpx 0;
color: #707070;
font-size: 28rpx;
padding-top: 12rpx;
position: fixed;
top: 0;
.item{
padding-bottom: 12rpx;
}
.on{
font-weight: 500;
color: #000;
border-bottom: 6rpx solid #FF6D31;
}
}
.no-order{
padding: 90rpx 0;
width: 100%;
text-align: center;
image{
width: 422rpx;
height: 508rpx;
}
}
.goods-list-box{
width: 100%;
padding: 90rpx 40rpx 32rpx;
.goods-item{
width: 100%;
padding: 32rpx 22rpx 16rpx;
border-radius: 12rpx;
background: #fff;
font-size: 28rpx;
margin-bottom: 32rpx;
.goods-img{
width: 116rpx;
height: 116rpx;
border-radius: 12rpx;
margin-right: 24rpx;
}
.order-info{
font-size: 24rpx;
color: #CECECE;
margin-bottom: 30rpx;
.tips{
min-width: 60rpx;
height: 30rpx;
padding: 0 4rpx;
background: #FFA47E;
text-align: center;
line-height: 30rpx;
border-radius: 4rpx;
color: #fff;
font-size: 20rpx;
margin-right: 12rpx;
}
.create-time{
color: #FF6D31;
}
}
.item-top{
margin-bottom: 22rpx;
border-bottom: 2rpx solid #ECECEC;
padding-bottom: 24rpx;
}
.info-box{
width: calc(100% - 140rpx);
display: flex;
flex-direction: column;
justify-content: space-around;
}
.title{
line-height: 40rpx;
color: #333333;
.goods-name{
width: 80%;
}
}
.colG{
font-size: 22rpx;
color: #b7b7b7;
}
.money{
color: #000;
font-weight: 500;
line-height: 40rpx;
}
.total-price-box{
width: 100%;
.total-price{
color: #FF6D31;
font-size: 32rpx;
font-weight: 500;
margin-left: 40rpx;
}
}
.btn-box{
border-top: 2rpx solid #ECECEC;
width: 100%;
padding: 16rpx 0 0;
margin-top: 28rpx;
font-size: 28rpx;
image{
width: 28rpx;
height: 28rpx;
margin-right: 6rpx;
}
view{
width: 168rpx;
height: 68rpx;
border: 2rpx solid #D2D2D2;
border-radius: 38rpx;
text-align: center;
line-height: 68rpx;
color: #000;
margin-left: 20rpx;
}
.close-btn{
color: #000000;
border-color: #D2D2D2;
}
.tip-btn{
color: #FF6D31;
border-color: #FF6D31;
}
}
.logistics-box{
width: 100%;
background: #F5F5F5;
padding: 20rpx;
color: #1d1d1d;
border-radius: 8px;
margin-top: 22rpx;
.name-box{
width: 100%;
display: flex;
margin-bottom: 12rpx;
.label{
min-width: 140rpx;
color: #BFBFBF;
}
}
}
}
}
</style>

167
pages/user/sendGoods/index.vue

@ -0,0 +1,167 @@
<template>
<view class="send-goods-box">
<view class="code-box">
<view class="title">扫码或输入运单号</view>
<view class="inp-box">
<view class="acea-row row-middle box">
<image src="../../../static/images/sao.png" @click="scanCode"></image>
<input type="text" placeholder="请输入运单号" v-model="deliveryId">
</view>
</view>
</view>
<view class="chose-express acea-row row-between-wrapper">
<view>选择快递公司</view>
<picker mode="selector" :range="expressList" range-key="name" :value="idx" @change="bindPickerChange">
<view>{{expressList[idx].name}}</view>
</picker>
</view>
<view class="add-btn" @click="delivery">提交</view>
</view>
</template>
<script>
import { delivery, getExpress } from '@/api/store'
export default{
data(){
return {
orderId: '',
idx: 0,
expressList: [{name: '请选择'}],
deliveryId: '',
deliveryName: '',
deliveryType:'',
}
},
onLoad() {
this.orderId = this.$yroute.query.orderId || 0
this.getExpress()
},
methods:{
getExpress(){
getExpress().then((res)=>{
if(res.success){
this.expressList = res.data
this.deliveryName = res.data[0].code
}
})
},
bindPickerChange(e){
let idx = Number(e.detail.value)
this.idx = idx
this.deliveryName = this.expressList[idx].name
this.deliveryType = '快递'
},
scanCode(){
let that = this;
uni.scanCode({
success: function (res) {
console.log('条码类型:' + res.scanType);
that.deliveryId = res.result
console.log('条码内容:' + res.result);
}
});
},
delivery(){
if(this.deliveryId == ''){
return this.alertMessage('请输入快递单号')
} else if(this.deliveryName == ''){
return this.alertMessage('请输入快递公司')
}
let data = {
deliveryId: this.deliveryId,
deliveryName: this.deliveryName,
deliveryType: this.deliveryType,
orderId: this.orderId
}
uni.showModal({
title: '提示',
content: '是否确认发货?',
success: (result) => {
if(result.confirm){
delivery(data).then((res)=>{
if(res.success){
uni.showToast({
title: '发货成功!'
})
setTimeout(()=>{
uni.navigateBack({
delta: 1
})
},1500)
}
})
}
}
})
},
alertMessage(msg){
uni.showToast({
title: msg,
icon: none
})
}
}
}
</script>
<style lang="less">
.send-goods-box{
width: 100%;
height: 100vh;
background: #eee;
padding: 32rpx 40rpx;
.code-box{
width: 100%;
background: #fff;
font-size: 32rpx;
color: #1D1D1D;
border-radius: 12rpx;
margin-bottom: 24rpx;
.title{
width: 100%;
padding: 24rpx 0 10rpx 40rpx;
border-bottom: 2rpx solid #EFEFEF;
}
.inp-box{
width: 100%;
padding: 32rpx 40rpx;
.box{
width: 100%;
border-radius: 8rpx;
background: #f5f5f5;
padding: 8rpx 20rpx;
image{
width: 35rpx;
height: 35rpx;
margin-right: 12rpx;
}
input{
width: calc(100% - 55rpx);
font-size: 28rpx;
}
}
}
}
.chose-express{
width: 100%;
height: 92rpx;
background: #fff;
font-size: 32rpx;
color: #1D1D1D;
border-radius: 8rpx;
padding: 0 24rpx;
}
.add-btn{
width: 100%;
height: 80rpx;
line-height: 80rpx;
text-align: center;
color: #fff;
background: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);
border-radius: 40rpx;
margin-top: 110rpx;
}
}
</style>

94
pages/user/withdraw/index.vue

@ -0,0 +1,94 @@
<template>
<view class="withdraw-box">
<view class="top-box">
<view class="title">可用金额</view>
<view class="money">888.88</view>
</view>
<view class="draw-box">
<view class="title">提现金额()</view>
<view class="inp-box acea-row row-between-wrapper">
<input placeholder="0" type="number" placeholder-style="color:#1d1d1d">
<view class="btn">全部提现</view>
</view>
</view>
<view class="add-btn">确认提现</view>
</view>
</template>
<script>
export default{
data(){
return {
}
},
methods:{
}
}
</script>
<style lang="less">
.withdraw-box{
width: 100%;
min-height: 100vh;
background: #EEEEEE;
}
.top-box{
width: 100%;
height: 450rpx;
background: linear-gradient(180deg, #FE6620 0%, #F89C75 100%);
text-align: center;
color: #fff;
.title{
font-size: 32rpx;
padding-top: 60rpx;
}
.money{
font-size: 90rpx;
font-weight: 500;
line-height: 126rpx;
}
}
.draw-box{
width: 670rpx;
height: 216rpx;
background-color: #fff;
border-radius: 12rpx;
margin: -168rpx auto 0;
padding: 32rpx;
color: #1d1d1d;
.inp-box{
height: 90rpx;
margin-top: 14rpx;
input{
width: 360rpx;
height: 100%;
font-size: 60rpx;
font-weight: bold;
}
.btn{
width: 176rpx;
height: 62rpx;
background: linear-gradient(270deg, #FF7238 0%, #FFA782 100%);
border-radius: 32rpx;
text-align: center;
line-height: 62rpx;
background: linear-gradient(270deg, #FF7238 0%, #FFA782 100%);;
color: #fff;
border-radius: 32rpx;
font-weight: 500;
}
}
}
.add-btn{
width: 670rpx;
height: 80rpx;
line-height: 80rpx;
text-align: center;
color: #fff;
background: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);
border-radius: 40rpx;
margin: 120rpx auto;
}
</style>

BIN
static/images/arrow-d-g.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 573 B

BIN
static/images/sao.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 B

BIN
static/images/store-icon1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 775 B

BIN
static/images/store-icon2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

23
unpackage/dist/build/mp-weixin/app.json vendored

@ -7,13 +7,26 @@
"pages/authorization/index",
"pages/webview/index",
"pages/guide/index",
"pages/demandHall/createProject/index",
"pages/demandHall/needsContact/index",
"pages/user/needsOrder/index",
"pages/user/resourcesOrder/index",
"pages/user/needsManage/index",
"pages/user/resourcesManage/index",
"pages/user/goodsManage/index",
"pages/user/orderManage/index",
"pages/user/sendGoods/index",
"pages/user/openStore/index",
"pages/user/myShop/index",
"pages/user/withdraw/index",
"pages/user/editNeeds/index",
"pages/user/mine/index",
"pages/user/agreement/index",
"pages/user/incomeDetail/index",
"pages/user/profession/index",
"pages/user/completeData/index",
"pages/user/personalData/index",
"pages/user/addServiceCode/index",
"pages/demandHall/createProject/index",
"pages/demandHall/needsContact/index",
"pages/demandHall/needsDetail/index",
"pages/demandHall/resourcesDetail/index",
"pages/demandHall/companyDetail/index",
@ -32,12 +45,6 @@
"pages/life/addGoods/index",
"pages/life/goodsDetails/index",
"pages/life/preview/preview",
"pages/user/mine/index",
"pages/user/agreement/index",
"pages/user/incomeDetail/index",
"pages/user/profession/index",
"pages/user/completeData/index",
"pages/user/personalData/index",
"pages/activity/index",
"pages/activity/detail/index",
"pages/activity/describe/index",

2
unpackage/dist/build/mp-weixin/common/main.js vendored

File diff suppressed because one or more lines are too long

32
unpackage/dist/build/mp-weixin/common/main.wxss vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/common/runtime.js vendored

File diff suppressed because one or more lines are too long

4
unpackage/dist/build/mp-weixin/common/vendor.js vendored

File diff suppressed because one or more lines are too long

4
unpackage/dist/build/mp-weixin/components/CountDown.json vendored

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
"usingComponents": {},
"component": true
}

4
unpackage/dist/build/mp-weixin/components/CouponPop.json vendored

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
"usingComponents": {},
"component": true
}

4
unpackage/dist/build/mp-weixin/components/DataFormat.json vendored

@ -1,4 +1,4 @@
{
"usingComponents": {},
"component": true
"component": true,
"usingComponents": {}
}

4
unpackage/dist/build/mp-weixin/components/GoodList.json vendored

@ -1,4 +1,4 @@
{
"usingComponents": {},
"component": true
"component": true,
"usingComponents": {}
}

4
unpackage/dist/build/mp-weixin/components/PriceChange.json vendored

@ -1,4 +1,4 @@
{
"usingComponents": {},
"component": true
"component": true,
"usingComponents": {}
}

4
unpackage/dist/build/mp-weixin/components/ProductConSwiper.json vendored

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
"usingComponents": {},
"component": true
}

4
unpackage/dist/build/mp-weixin/components/ProductWindow.json vendored

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
"usingComponents": {},
"component": true
}

4
unpackage/dist/build/mp-weixin/components/PromotionGood.json vendored

@ -1,4 +1,4 @@
{
"usingComponents": {},
"component": true
"component": true,
"usingComponents": {}
}

2
unpackage/dist/build/mp-weixin/components/UserEvaluation.js vendored

@ -1,4 +1,4 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/UserEvaluation"],{"623b":function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return a}));var r=function(){var t=this,n=t.$createElement;t._self._c},u=[]},"7db2":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("b6d1"),r={name:"UserEvaluation",props:{reply:{type:Array,default:function(){return[]}}},data:function(){return{}},mounted:function(){console.log(this)},methods:{dataFormat:a.dataFormat}};n.default=r},a8fc:function(t,n,e){"use strict";e.r(n);var a=e("7db2"),r=e.n(a);for(var u in a)"default"!==u&&function(t){e.d(n,t,(function(){return a[t]}))}(u);n["default"]=r.a},bb09:function(t,n,e){"use strict";e.r(n);var a=e("623b"),r=e("a8fc");for(var u in r)"default"!==u&&function(t){e.d(n,t,(function(){return r[t]}))}(u);var o,c=e("f0c5"),f=Object(c["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);n["default"]=f.exports}}]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/UserEvaluation"],{"623b":function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return a}));var r=function(){var t=this,n=t.$createElement;t._self._c},u=[]},"7db2":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("b6d1"),r={name:"UserEvaluation",props:{reply:{type:Array,default:function(){return[]}}},data:function(){return{}},mounted:function(){console.log(this)},methods:{dataFormat:a.dataFormat}};n.default=r},a8fc4:function(t,n,e){"use strict";e.r(n);var a=e("7db2"),r=e.n(a);for(var u in a)"default"!==u&&function(t){e.d(n,t,(function(){return a[t]}))}(u);n["default"]=r.a},bb09:function(t,n,e){"use strict";e.r(n);var a=e("623b"),r=e("a8fc4");for(var u in r)"default"!==u&&function(t){e.d(n,t,(function(){return r[t]}))}(u);var o,c=e("f0c5"),f=Object(c["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);n["default"]=f.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/UserEvaluation-create-component',
{

4
unpackage/dist/build/mp-weixin/components/UserEvaluation.json vendored

@ -1,4 +1,4 @@
{
"usingComponents": {},
"component": true
"component": true,
"usingComponents": {}
}

4
unpackage/dist/build/mp-weixin/components/WriteOff.json vendored

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
"usingComponents": {},
"component": true
}

4
unpackage/dist/build/mp-weixin/components/t-color-picker.json vendored

@ -1,4 +1,4 @@
{
"usingComponents": {},
"component": true
"component": true,
"usingComponents": {}
}

4
unpackage/dist/build/mp-weixin/components/tki-tree/tki-tree.json vendored

@ -1,4 +1,4 @@
{
"usingComponents": {},
"component": true
"component": true,
"usingComponents": {}
}

4
unpackage/dist/build/mp-weixin/components/uni-popup/uni-popup-dialog.json vendored

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
"usingComponents": {},
"component": true
}

4
unpackage/dist/build/mp-weixin/components/uni-popup/uni-popup-message.json vendored

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
"usingComponents": {},
"component": true
}

2
unpackage/dist/build/mp-weixin/pages/Loading/index.json vendored

@ -1,4 +1,4 @@
{
"navigationBarTitleText": "禅易教育研究院",
"navigationBarTitleText": "禅易云生态",
"usingComponents": {}
}

2
unpackage/dist/build/mp-weixin/pages/activity/index.json vendored

@ -1,4 +1,4 @@
{
"navigationBarTitleText": "",
"navigationBarTitleText": "活动",
"usingComponents": {}
}

2
unpackage/dist/build/mp-weixin/pages/demandHall/companyDetail/index.js vendored

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demandHall/companyDetail/index"],{2881:function(t,e,n){"use strict";n.r(e);var a=n("66ee"),i=n("4005");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("74a8");var o,u=n("f0c5"),c=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);e["default"]=c.exports},"3c67":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=getApp(),a={data:function(){return{id:"",detail:{},tabActive:1,swiperImgUrls:["/static/images/home/item-bg.png","/static/images/home/company-top-bg.png"],swiperIndex:0}},components:{},props:{},onLoad:function(t){this.setData({id:t.id}),this.getDetail()},onReady:function(){},onShow:function(){},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){},onReachBottom:function(){},onShareAppMessage:function(){},methods:{previewImg:function(){t.previewImage({current:this.detail.imgPaths[0],urls:this.detail.imgPaths})},call:function(){t.makePhoneCall({phoneNumber:this.detail.enterprisePhone})},tabClick:function(t){this.setData({tabActive:t.currentTarget.dataset.i})},swiperChange:function(t){var e=this;e.setData({swiperIndex:t.detail.current})},toNeedsDetail:function(e){var n=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/needsDetail/index?id="+n})},toResourcesDetail:function(e){var n=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/resourcesDetail/index?id="+n})},getDetail:function(){var t=this;n.http("get","Enterprise/enterpriseInfo",{id:this.id}).then((function(e){e.data.success&&t.setData({detail:e.data.data})}))},toWebview:function(){""!=this.detail.enterpriseNet&&t.navigateTo({url:"/pages/webview/index?src="+this.detail.enterpriseNet})}}};e.default=a}).call(this,n("543d")["default"])},4005:function(t,e,n){"use strict";n.r(e);var a=n("3c67"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"43d5":function(t,e,n){},"651d":function(t,e,n){"use strict";(function(t){n("ef82");a(n("66fd"));var e=a(n("2881"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"66ee":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement;t._self._c},r=[]},"74a8":function(t,e,n){"use strict";var a=n("43d5"),i=n.n(a);i.a}},[["651d","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demandHall/companyDetail/index"],{2881:function(t,e,n){"use strict";n.r(e);var a=n("d150"),i=n("4005");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("74a8");var o,u=n("f0c5"),c=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);e["default"]=c.exports},"3c67":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=getApp(),a={data:function(){return{id:"",detail:{},tabActive:1,swiperImgUrls:["/static/images/home/item-bg.png","/static/images/home/company-top-bg.png"],swiperIndex:0}},components:{},props:{},onLoad:function(t){this.setData({id:t.id}),this.getDetail()},onReady:function(){},onShow:function(){},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){},onReachBottom:function(){},onShareAppMessage:function(){},methods:{previewImg:function(){t.previewImage({current:this.detail.imgPaths[0],urls:this.detail.imgPaths})},call:function(){t.makePhoneCall({phoneNumber:this.detail.enterprisePhone})},tabClick:function(t){this.setData({tabActive:t.currentTarget.dataset.i})},swiperChange:function(t){var e=this;e.setData({swiperIndex:t.detail.current})},toNeedsDetail:function(e){var n=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/needsDetail/index?id="+n})},toResourcesDetail:function(e){var n=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/resourcesDetail/index?id="+n})},getDetail:function(){var t=this;n.http("get","Enterprise/enterpriseInfo",{id:this.id}).then((function(e){e.data.success&&t.setData({detail:e.data.data})}))},toWebview:function(){""!=this.detail.enterpriseNet&&t.navigateTo({url:"/pages/webview/index?src="+this.detail.enterpriseNet})}}};e.default=a}).call(this,n("543d")["default"])},4005:function(t,e,n){"use strict";n.r(e);var a=n("3c67"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"43d5":function(t,e,n){},"651d":function(t,e,n){"use strict";(function(t){n("ef82");a(n("66fd"));var e=a(n("2881"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"74a8":function(t,e,n){"use strict";var a=n("43d5"),i=n.n(a);i.a},d150:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement;t._self._c},r=[]}},[["651d","common/runtime","common/vendor"]]]);

2
unpackage/dist/build/mp-weixin/pages/demandHall/companyDetail/index.wxml vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/demandHall/companyDetail/index.wxss vendored

@ -1 +1 @@
.top-box{width:100%;height:420rpx;position:relative}.top-bg-img{width:100%;height:100%;position:absolute;z-index:1}.top-bg{width:100%;height:100%;background:rgba(0,0,0,.4);position:absolute;z-index:2}.top-content{width:100%;height:100%;position:absolute;top:0;z-index:3;color:#fff;padding:40rpx 0 0 22rpx}.company-info-box{width:100%}.company-logo{width:150rpx;height:150rpx;margin-right:20rpx;border-radius:8rpx}.info{width:calc(100% - 192rpx)}.name{font-size:32rpx;line-height:44rpx}.slogan{font-size:24rpx;line-height:34rpx;margin:4rpx 0 0rpx}.tags-box{margin:0rpx 0 10rpx}.tag-item{width:112rpx;height:36rpx;display:inline-block;line-height:36rpx;text-align:center;font-size:20rpx;background:-webkit-linear-gradient(138deg,#ffb788,#f9c8a7);background:linear-gradient(312deg,#ffb788,#f9c8a7);color:#fff;border-radius:4rpx;margin-right:8rpx}.bgG{background:-webkit-linear-gradient(316deg,#aec8f6,#76a6fa);background:linear-gradient(134deg,#aec8f6,#76a6fa)}.company-contact-box{margin-top:20rpx}.contact-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:28rpx;line-height:46rpx}.contact-item image{width:20rpx;height:20rpx;margin-right:20rpx}.tabs-box{width:100%;padding:18rpx 40rpx;background:#fff;box-shadow:0 -6px 20px rgba(0,0,0,.11)}.tab{width:116rpx;text-align:center;font-size:28rpx;color:#bfbfbf;position:relative}.tab::after{display:block;content:"";width:100%;height:8rpx;border-radius:8rpx;background:#ff5100;position:absolute;bottom:-22rpx;left:50%;margin-left:-58rpx;opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all .2s ease,opacity .15s ease;transition:all .2s ease,opacity .15s ease}.tab-a{color:#ff7942}.tab-a::after{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}.tab-content-box{width:100%}.home-box{width:100%;padding-bottom:34rpx}.info-box,.about-box{padding-bottom:34rpx;border-bottom:2rpx solid #eee}.title-box{padding:34rpx 40rpx}.col-line{width:8rpx;height:36rpx;background:#ff7942;border-radius:4rpx;margin-right:14rpx}.info-item{padding-left:40rpx;margin-bottom:20rpx;font-size:28rpx;line-height:40rpx;color:#1d1d1d}.colG{width:496rpx;color:#707070;margin-left:56rpx}.about{padding:0rpx 40rpx}.about text{font-size:28rpx;color:#707070;line-height:40rpx}.swiper-block{height:300rpx;width:100%}.swiper-item{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-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;overflow:unset}.slide-image{height:250rpx;width:520rpx;border-radius:9rpx;margin:0rpx 30rpx;z-index:1}.active{-webkit-transform:scale(1.14);transform:scale(1.14);-webkit-transition:all .2s ease-in 0s;transition:all .2s ease-in 0s;z-index:20}.toSite{text-align:center;font-size:24rpx;color:#bfbfbf;margin-top:40rpx}.resources-box,.needs-box{width:100%;min-height:1000rpx;padding:40rpx;background:#efefef}.resources-item{width:100%;background:#fff;margin-bottom:20rpx}.item-top{width:100%;padding:32rpx 40rpx 18rpx;border-bottom:2rpx solid #f0f0f0}.item-top image{width:196rpx;height:196rpx;margin-right:24rpx;border-radius:8rpx}.r-title{color:#1d1d1d;font-size:34rpx;line-height:44rpx}.r-price{font-size:28rpx;line-height:40rpx;color:#ff680c;margin-top:24rpx}.r-tips{width:370rpx;background:#eee;border-radius:8rpx;padding:4rpx 10rpx;color:#adadad;font-size:20rpx}.btn-box{width:100%;height:102rpx;padding:0 40rpx;font-size:20rpx;line-height:28rpx;color:#a7a7a7}.btn-box-l{width:calc(100% - 174rpx)}.btn-box-l view{width:98%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.toMore-btn{width:164rpx;height:54rpx;background:-webkit-linear-gradient(309deg,#ffa782,#ff6d31);background:linear-gradient(141deg,#ffa782,#ff6d31);border-radius:8rpx;font-size:28rpx;font-weight:700;line-height:54rpx;color:#fff;text-align:center}.company-list{width:100%}.company-item{width:100%;padding:26rpx;background:#fff;border-bottom:2rpx solid #eee;margin-bottom:20rpx}.company-item .title-box{padding:0}.title-box .title{width:430rpx}.title-box .price{margin:0;color:#ff5100;line-height:40rpx;font-weight:600}.company-item .tags-box{margin:20rpx 0}.company-item .tags-box .tag-item{width:112rpx;height:36rpx;display:inline-block;line-height:34rpx;text-align:center;font-size:20rpx;border:1rpx solid #fa0;color:#fa0;background:#fff;border-radius:4rpx;margin-right:8rpx}.company-item .tags-box .bgG{border:1rpx solid #3a9efa;color:#3a9efa}.company-item .tags-box .bgO{border:1rpx solid #fc9367;color:#fc9367}.desc{font-size:24rpx;line-height:32rpx;color:#666}.company-item .btn-box{margin-top:0rpx;font-size:24rpx;color:#707070;padding:0}
.top-box{width:100%;height:420rpx;position:relative}.top-bg-img{width:100%;height:100%;position:absolute;z-index:1}.top-bg{width:100%;height:100%;background:rgba(0,0,0,.4);position:absolute;z-index:2}.top-content{width:100%;height:100%;position:absolute;top:0;z-index:3;color:#fff;padding:40rpx 0 0 22rpx}.company-info-box{width:100%}.company-logo{width:150rpx;height:150rpx;margin-right:20rpx;border-radius:8rpx}.info{width:calc(100% - 192rpx)}.name{font-size:32rpx;line-height:44rpx}.slogan{font-size:24rpx;line-height:34rpx;margin:4rpx 0 0rpx}.tags-box{margin:0rpx 0 10rpx}.tag-item{width:112rpx;height:36rpx;display:inline-block;line-height:36rpx;text-align:center;font-size:20rpx;background:-webkit-linear-gradient(138deg,#ffb788,#f9c8a7);background:linear-gradient(312deg,#ffb788,#f9c8a7);color:#fff;border-radius:4rpx;margin-right:8rpx}.bgG{background:-webkit-linear-gradient(316deg,#aec8f6,#76a6fa);background:linear-gradient(134deg,#aec8f6,#76a6fa)}.company-contact-box{margin-top:20rpx}.contact-item{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:28rpx;line-height:46rpx}.contact-item image{width:20rpx;height:20rpx;margin-right:20rpx}.tabs-box{width:100%;padding:18rpx 40rpx;background:#fff;box-shadow:0 -6px 20px rgba(0,0,0,.11)}.tab{width:116rpx;text-align:center;font-size:28rpx;color:#bfbfbf;position:relative}.tab::after{display:block;content:"";width:100%;height:8rpx;border-radius:8rpx;background:#ff5100;position:absolute;bottom:-22rpx;left:50%;margin-left:-58rpx;opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all .2s ease,opacity .15s ease;transition:all .2s ease,opacity .15s ease}.tab-a{color:#ff7942}.tab-a::after{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}.tab-content-box{width:100%}.home-box{width:100%;padding-bottom:34rpx}.info-box,.about-box{padding-bottom:34rpx;border-bottom:2rpx solid #eee}.title-box{padding:34rpx 40rpx}.col-line{width:8rpx;height:36rpx;background:#ff7942;border-radius:4rpx;margin-right:14rpx}.info-item{padding-left:40rpx;margin-bottom:20rpx;font-size:28rpx;line-height:40rpx;color:#1d1d1d}.colG{width:496rpx;color:#707070;margin-left:56rpx}.about{padding:0rpx 40rpx}.about text{font-size:28rpx;color:#707070;line-height:40rpx}.swiper-block{height:300rpx;width:100%}.swiper-item{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-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;overflow:unset}.slide-image{height:250rpx;width:520rpx;border-radius:9rpx;margin:0rpx 30rpx;z-index:1}.active{-webkit-transform:scale(1.14);transform:scale(1.14);-webkit-transition:all .2s ease-in 0s;transition:all .2s ease-in 0s;z-index:20}.toSite{text-align:center;font-size:24rpx;color:#bfbfbf;margin-top:40rpx}.resources-box,.needs-box{width:100%;min-height:1000rpx;padding:40rpx;background:#efefef}.resources-item{width:100%;background:#fff;margin-bottom:20rpx}.item-top{width:100%;padding:32rpx 40rpx 18rpx;border-bottom:2rpx solid #f0f0f0}.item-top image{width:196rpx;height:196rpx;margin-right:24rpx;border-radius:8rpx}.r-title{color:#1d1d1d;font-size:34rpx;line-height:44rpx}.r-price{font-size:28rpx;line-height:40rpx;color:#ff680c;margin-top:24rpx}.r-tips{width:370rpx;border-radius:8rpx;padding:4rpx 10rpx;color:#adadad;font-size:20rpx}.btn-box{width:100%;height:102rpx;padding:0 40rpx;font-size:20rpx;line-height:28rpx;color:#a7a7a7}.btn-box-l{width:calc(100% - 174rpx)}.btn-box-l view{width:98%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.toMore-btn{width:164rpx;height:54rpx;background:-webkit-linear-gradient(309deg,#ffa782,#ff6d31);background:linear-gradient(141deg,#ffa782,#ff6d31);border-radius:8rpx;font-size:28rpx;font-weight:700;line-height:54rpx;color:#fff;text-align:center}.company-list{width:100%}.company-item{width:100%;padding:26rpx;background:#fff;border-bottom:2rpx solid #eee;margin-bottom:20rpx}.company-item .title-box{padding:0}.title-box .title{width:430rpx}.title-box .price{margin:0;color:#ff5100;line-height:40rpx;font-weight:600}.company-item .tags-box{margin:20rpx 0}.company-item .tags-box .tag-item{width:112rpx;height:36rpx;display:inline-block;line-height:34rpx;text-align:center;font-size:20rpx;border:1rpx solid #fa0;color:#fa0;background:#fff;border-radius:4rpx;margin-right:8rpx}.company-item .tags-box .bgG{border:1rpx solid #3a9efa;color:#3a9efa}.company-item .tags-box .bgO{border:1rpx solid #fc9367;color:#fc9367}.desc{font-size:24rpx;line-height:32rpx;color:#666}.company-item .btn-box{margin-top:0rpx;font-size:24rpx;color:#707070;padding:0}

2
unpackage/dist/build/mp-weixin/pages/demandHall/index.js vendored

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demandHall/index"],{"0554":function(t,e,a){"use strict";(function(t){a("ef82");n(a("66fd"));var e=n(a("ebe2"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,a("543d")["createPage"])},"4a54":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement;t._self._c},s=[]},"542b":function(t,e,a){"use strict";a.r(e);var n=a("f488"),i=a.n(n);for(var s in n)"default"!==s&&function(t){a.d(e,t,(function(){return n[t]}))}(s);e["default"]=i.a},"7fad":function(t,e,a){"use strict";var n=a("856f"),i=a.n(n);i.a},"856f":function(t,e,a){},ebe2:function(t,e,a){"use strict";a.r(e);var n=a("4a54"),i=a("542b");for(var s in i)"default"!==s&&function(t){a.d(e,t,(function(){return i[t]}))}(s);a("7fad");var r,o=a("f0c5"),c=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],r);e["default"]=c.exports},f488:function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=getApp(),i=function(){a.e("tabbarComponent/tabbar").then(function(){return resolve(a("594c"))}.bind(null,a)).catch(a.oe)},s={data:function(){return{tabbar:{},active:"1",tabActive:"1",list:[],showScreenDialog:!1,companyList:[],pageSize:5,pageNumber:0,loading:!0,cagetoryList:[],enterpriseType:"",resourceCagetoryId:"",choseCagetory:"",choseBusiness:"",cagetoryActive:"",size:0,cName:"",currentTabIndex:1}},components:{tabbar:i},props:{},onLoad:function(t){this.getCagetoryList()},onReachBottom:function(){this.setData({pageNumber:this.pageNumber+1}),this.getPageData()},onShow:function(){this.getPageData()},onPullDownRefresh:function(){this.setData({loading:!0,pageNumber:0}),this.getPageData()},methods:{tabBarClick:function(t){console.log("返回tabBar索引:"+t),this.currentTabIndex=t},topTabClick:function(t){this.setData({active:t.currentTarget.dataset.i,loading:!0,pageNumber:1,list:[],enterpriseType:"",cagetoryActive:null,resourceCagetoryId:""}),this.getPageData()},tabClick:function(t){this.setData({tabActive:t.currentTarget.dataset.i,loading:!0,pageNumber:0,pageSize:5,cagetoryActive:null}),2==t.currentTarget.dataset.i?this.getCompanyList():this.getPageData()},showDialog:function(){this.setData({showScreenDialog:!0})},toResourceDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/resourcesDetail/index?id="+a})},toCompanyDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/companyDetail/index?id="+a})},toNeedsDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/needsDetail/index?id="+a})},getCagetoryList:function(){var t=this;n.http("get","ResourcesCagetory/listResourcesCagetory").then((function(e){e.data.success&&t.setData({cagetoryList:e.data.data})}))},cagetoryClick:function(t){var e=t.currentTarget.dataset.item,a=t.currentTarget.dataset.i;console.log(e),this.setData({cagetoryActive:a,resourceCagetoryId:e.id,choseCagetory:e.cagetoryName})},businessChange:function(t){var e=t.currentTarget.dataset.type,a=t.currentTarget.dataset.name;this.setData({choseBusiness:a,enterpriseType:e})},finishClick:function(){this.setData({loading:!0,pageNumber:0,pageSize:5}),1==this.tabActive?this.getPageData():this.getCompanyList(),this.setData({showScreenDialog:!1})},resetClick:function(){this.setData({cName:"",cagetoryActive:null,resourceCagetoryId:"",enterpriseType:"",choseBusiness:"",choseCagetory:""})},getPageData:function(){var e=this;this.loading?n.http("post","Resources/listResources?page=".concat(this.pageNumber,"&size=").concat(this.pageSize),{resourceType:this.active,resourceCagetoryId:this.resourceCagetoryId,enterpriseType:this.enterpriseType}).then((function(a){a.data.success&&(t.stopPullDownRefresh(),a.data.data.content.length<e.pageSize&&e.setData({loading:!1}),e.pageNumber>0?e.setData({list:e.list.concat(a.data.data.content)}):e.setData({list:a.data.data.content}))})):t.stopPullDownRefresh()},getCompanyList:function(){var t=this;n.http("post","Enterprise/listEnterprise?page=".concat(this.pageNumber,"&size=").concat(this.pageSize),{industryId:this.resourceCagetoryId,enterpriseType:this.enterpriseType}).then((function(e){e.data.success&&t.setData({companyList:e.data.data.content})}))}}};e.default=s}).call(this,a("543d")["default"])}},[["0554","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demandHall/index"],{"0554":function(t,e,a){"use strict";(function(t){a("ef82");n(a("66fd"));var e=n(a("ebe2"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,a("543d")["createPage"])},"542b":function(t,e,a){"use strict";a.r(e);var n=a("f488"),i=a.n(n);for(var s in n)"default"!==s&&function(t){a.d(e,t,(function(){return n[t]}))}(s);e["default"]=i.a},"7fad":function(t,e,a){"use strict";var n=a("856f"),i=a.n(n);i.a},"856f":function(t,e,a){},d2f6:function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement;t._self._c},s=[]},ebe2:function(t,e,a){"use strict";a.r(e);var n=a("d2f6"),i=a("542b");for(var s in i)"default"!==s&&function(t){a.d(e,t,(function(){return i[t]}))}(s);a("7fad");var r,o=a("f0c5"),c=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],r);e["default"]=c.exports},f488:function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=getApp(),i=function(){a.e("tabbarComponent/tabbar").then(function(){return resolve(a("594c"))}.bind(null,a)).catch(a.oe)},s={data:function(){return{tabbar:{},active:"1",tabActive:"1",list:[],showScreenDialog:!1,companyList:[],pageSize:5,pageNumber:0,loading:!0,cagetoryList:[],enterpriseType:"",resourceCagetoryId:"",choseCagetory:"",choseBusiness:"",cagetoryActive:"",size:0,cName:"",currentTabIndex:1}},components:{tabbar:i},props:{},onLoad:function(t){this.getCagetoryList()},onReachBottom:function(){this.setData({pageNumber:this.pageNumber+1}),this.getPageData()},onShow:function(){this.getPageData()},onPullDownRefresh:function(){this.setData({loading:!0,pageNumber:0}),this.getPageData()},methods:{tabBarClick:function(t){console.log("返回tabBar索引:"+t),this.currentTabIndex=t},topTabClick:function(t){this.setData({active:t.currentTarget.dataset.i,loading:!0,pageNumber:1,list:[],enterpriseType:"",cagetoryActive:null,resourceCagetoryId:""}),this.getPageData()},tabClick:function(t){this.setData({tabActive:t.currentTarget.dataset.i,loading:!0,pageNumber:0,pageSize:5,cagetoryActive:null}),2==t.currentTarget.dataset.i?this.getCompanyList():this.getPageData()},showDialog:function(){this.setData({showScreenDialog:!0})},toResourceDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/resourcesDetail/index?id="+a})},toCompanyDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/companyDetail/index?id="+a})},toNeedsDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/needsDetail/index?id="+a})},getCagetoryList:function(){var t=this;n.http("get","ResourcesCagetory/listResourcesCagetory").then((function(e){e.data.success&&t.setData({cagetoryList:e.data.data})}))},cagetoryClick:function(t){var e=t.currentTarget.dataset.item,a=t.currentTarget.dataset.i;console.log(e),this.setData({cagetoryActive:a,resourceCagetoryId:e.id,choseCagetory:e.cagetoryName})},businessChange:function(t){var e=t.currentTarget.dataset.type,a=t.currentTarget.dataset.name;this.setData({choseBusiness:a,enterpriseType:e})},finishClick:function(){this.setData({loading:!0,pageNumber:0,pageSize:5}),1==this.tabActive?this.getPageData():this.getCompanyList(),this.setData({showScreenDialog:!1})},resetClick:function(){this.setData({cName:"",cagetoryActive:null,resourceCagetoryId:"",enterpriseType:"",choseBusiness:"",choseCagetory:""})},getPageData:function(){var e=this;this.loading?n.http("post","Resources/listResources?page=".concat(this.pageNumber,"&size=").concat(this.pageSize),{resourceType:this.active,resourceCagetoryId:this.resourceCagetoryId,enterpriseType:this.enterpriseType}).then((function(a){a.data.success&&(t.stopPullDownRefresh(),a.data.data.content.length<e.pageSize&&e.setData({loading:!1}),e.pageNumber>0?e.setData({list:e.list.concat(a.data.data.content)}):e.setData({list:a.data.data.content}))})):t.stopPullDownRefresh()},getCompanyList:function(){var t=this;n.http("post","Enterprise/listEnterprise?page=".concat(this.pageNumber,"&size=").concat(this.pageSize),{industryId:this.resourceCagetoryId,enterpriseType:this.enterpriseType}).then((function(e){e.data.success&&t.setData({companyList:e.data.data.content})}))}}};e.default=s}).call(this,a("543d")["default"])}},[["0554","common/runtime","common/vendor"]]]);

2
unpackage/dist/build/mp-weixin/pages/demandHall/index.wxml vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/demandHall/index.wxss vendored

@ -1 +1 @@
image{border-radius:8rpx}.dmandhall-page{padding-bottom:210rpx;min-height:100vh;font-size:28rpx;background:#f5f5f5}.top-box{width:100%;padding:16rpx 0;background:#fff;position:fixed;top:0;z-index:99}.top-l-box{padding-left:40rpx}.tab-item{width:162rpx;height:40rpx;line-height:40rpx;text-align:center;margin-right:12rpx;font-size:28rpx;color:#bfbfbf;font-weight:500}.tab-item-a{font-size:36rpx;color:#ff5100}.top-r-box image{width:36rpx;height:36rpx;margin-left:30rpx}.resource-tabs{width:100%;padding-top:10rpx;background:#fff;border-bottom:2rpx solid #eee}.tab{width:162rpx;padding:26rpx 0;font-size:28rpx;color:#bfbfbf;position:relative;font-weight:500}.tab::after{display:block;content:"";width:50rpx;height:16rpx;border-radius:8rpx;background:#ff5100;position:absolute;bottom:-8rpx;left:50%;margin-left:-50rpx;opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all .2s ease,opacity .15s ease;transition:all .2s ease,opacity .15s ease}.tab-a{color:#333}.tab-a::after{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}.no-more{text-align:center;line-height:38rpx;font-size:28rpx;color:#9c9c9c}.screen-box{width:100%;height:94rpx;padding:0 38rpx;color:#666;background:#fff}.screen-result{font-size:28rpx;color:#ff5100}.screen image{width:27rpx;height:27rpx;margin-left:6rpx}.resource-list{width:100%;padding:290rpx 40rpx 24rpx}.resource-item{width:100%;min-height:302rpx;background:#fff;border-radius:12rpx;padding:20rpx;margin-bottom:20rpx;position:relative}.logo-box{width:154rpx;height:154rpx;margin-right:20rpx;position:relative}.logo-box image{width:100%;height:100%}.tips-item{padding:2rpx 6rpx;line-height:28rpx;font-size:20rpx;color:#fff;background:rgba(255,81,0,.63);border-radius:8rpx;margin-right:14rpx;position:absolute;top:4rpx;left:4rpx}.bg2{background:rgba(255,170,0,.63)}.resource-info{width:calc(100% - 170rpx)}.resource-item .title{font-size:32rpx;font-weight:500;line-height:44rpx;color:#1d1d1d}.desc{font-size:24rpx;color:#666;line-height:34rpx}.price{color:#ff5100;line-height:40rpx;font-weight:600;margin:10rpx 0 40rpx}.company-info{color:#a7a7a7;font-size:24rpx}.company-info text{display:inline-block;margin-right:18rpx}.tags-box{margin:6rpx 0 10rpx}.tag-item{width:112rpx;height:36rpx;display:inline-block;line-height:34rpx;text-align:center;font-size:20rpx;border:2rpx solid #fa0;color:#fa0;border-radius:4rpx;margin-right:8rpx}.bgG{border:1rpx solid #3a9efa;color:#3a9efa}.bgO{border:1rpx solid #fc9367;color:#fc9367}.toMore-btn{width:164rpx;height:44rpx;background:-webkit-linear-gradient(309deg,#ffa782,#ff6d31);background:linear-gradient(141deg,#ffa782,#ff6d31);border-radius:8rpx;font-size:28rpx;font-weight:700;line-height:40rpx;color:#fff;text-align:center;line-height:44rpx;position:absolute;right:20rpx;bottom:20rpx}.anli-list{font-size:24rpx;color:#666;margin:24rpx 0 20rpx}.anli-item image{width:220rpx;height:136rpx;margin-right:8rpx}.comment{font-size:20rpx;color:#ff6d31}.company-list-box{width:100%;background:#fff}.company-list{width:100%;border-top:2rpx solid #eee}.company-item{width:100%;padding:40rpx;border-bottom:2rpx solid #eee}.title-box .title{width:550rpx}.title-box .price{margin:0}.company-item .tags-box{margin:20rpx 0}.btn-box{margin-top:20rpx;font-size:24rpx;color:#707070}.btn-box .toMore-btn{position:static}.mask-box{width:100%;height:100vh;background:rgba(0,0,0,.6);position:fixed;top:0;left:0;z-index:9999}.screen-dialog-box{width:602rpx;height:100%;overflow-y:scroll;background-color:#fff;position:absolute;top:0;right:0rpx;-webkit-animation:move .2s ease;animation:move .2s ease}@-webkit-keyframes move{0%{-webkit-transform:translateX(800rpx);transform:translateX(800rpx)}100%{-webkit-transform:translateX(0rpx);transform:translateX(0rpx)}}@keyframes move{0%{-webkit-transform:translateX(800rpx);transform:translateX(800rpx)}100%{-webkit-transform:translateX(0rpx);transform:translateX(0rpx)}}.screen-item{width:100%;padding:0 38rpx;padding-bottom:22rpx;border-bottom:2rpx solid #eee}.screen-title{font-size:24rpx;color:#000;margin-bottom:32rpx}.screen-item{padding-top:40rpx}.screen-item .item{width:162rpx;height:48rpx;line-height:48rpx;text-align:center;font-size:24rpx;color:#666;background:#f6f6f6;border-radius:4rpx;margin-bottom:20rpx;margin-right:20rpx}.screen-item .item:nth-child(3n){margin-right:0}.screen-item .item-active{border:2rpx solid #ff6e33;color:#fe7d26;background:#fdefe6}.across-line{width:44rpx;height:2rpx;background:#acabab;margin:0 12rpx}.low-price{width:228rpx;height:60rpx;background:#f6f5f5;border-radius:4rpx}.low-price input{width:100%;height:100%;text-align:center}.fz20{font-size:20rpx;color:#393939}.submit-box{width:602rpx;height:100rpx;box-shadow:2rpx 0 12rpx rgba(0,0,0,.16);position:fixed;bottom:0;right:0}.submit-box .btn{width:50%;height:100%;line-height:100rpx;text-align:center}.submit-box .finish{background:#ff660c;color:#fff}
image{border-radius:8rpx}.dmandhall-page{padding-bottom:210rpx;min-height:100vh;font-size:28rpx;background:#f5f5f5}.top-box{width:100%;padding:16rpx 0;background:#fff;position:fixed;top:0;z-index:99}.top-l-box{padding-left:40rpx}.tab-item{width:162rpx;height:40rpx;line-height:40rpx;text-align:center;margin-right:12rpx;font-size:28rpx;color:#bfbfbf;font-weight:500}.tab-item-a{font-size:36rpx;color:#ff5100}.top-r-box image{width:36rpx;height:36rpx;margin-left:30rpx}.resource-tabs{width:100%;padding-top:10rpx;background:#fff;border-bottom:2rpx solid #eee}.tab{width:162rpx;padding:26rpx 0;font-size:28rpx;color:#bfbfbf;position:relative;font-weight:500}.tab::after{display:block;content:"";width:50rpx;height:16rpx;border-radius:8rpx;background:#ff5100;position:absolute;bottom:-8rpx;left:50%;margin-left:-50rpx;opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all .2s ease,opacity .15s ease;transition:all .2s ease,opacity .15s ease}.tab-a{color:#333}.tab-a::after{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}.no-more{text-align:center;line-height:38rpx;font-size:28rpx;color:#9c9c9c}.screen-box{width:100%;height:94rpx;padding:0 38rpx;color:#666;background:#fff}.screen-result{font-size:28rpx;color:#ff5100}.screen image{width:27rpx;height:27rpx;margin-left:6rpx}.resource-list{width:100%;padding:290rpx 40rpx 24rpx}.resource-item{width:100%;min-height:302rpx;background:#fff;border-radius:12rpx;padding:20rpx;margin-bottom:20rpx;position:relative}.logo-box{width:154rpx;height:154rpx;margin-right:20rpx;position:relative}.logo-box image{width:100%;height:100%}.tips-item{padding:2rpx 6rpx;line-height:28rpx;font-size:20rpx;color:#fff;background:rgba(255,81,0,.63);border-radius:8rpx;margin-right:14rpx;position:absolute;top:4rpx;left:4rpx}.bg2{background:rgba(255,170,0,.63)}.resource-info{width:calc(100% - 170rpx)}.resource-item .title{font-size:32rpx;font-weight:500;line-height:44rpx;color:#1d1d1d}.desc{font-size:24rpx;color:#666;line-height:34rpx}.price{color:#ff5100;line-height:40rpx;font-weight:600;margin:10rpx 0 40rpx}.company-info{width:66%;color:#a7a7a7;font-size:24rpx}.company-info text{display:inline-block;margin-right:18rpx}.tags-box{margin:6rpx 0 10rpx}.tag-item{width:112rpx;height:36rpx;display:inline-block;line-height:34rpx;text-align:center;font-size:20rpx;border:2rpx solid #fa0;color:#fa0;border-radius:4rpx;margin-right:8rpx}.bgG{border:1rpx solid #3a9efa;color:#3a9efa}.bgO{border:1rpx solid #fc9367;color:#fc9367}.toMore-btn{width:164rpx;height:44rpx;background:-webkit-linear-gradient(309deg,#ffa782,#ff6d31);background:linear-gradient(141deg,#ffa782,#ff6d31);border-radius:8rpx;font-size:28rpx;font-weight:700;line-height:40rpx;color:#fff;text-align:center;line-height:44rpx;position:absolute;right:20rpx;bottom:20rpx}.anli-list{font-size:24rpx;color:#666;margin:24rpx 0 20rpx}.anli-item image{width:220rpx;height:136rpx;margin-right:8rpx}.comment{font-size:20rpx;color:#ff6d31}.company-list-box{width:100%;background:#fff}.company-list{width:100%;border-top:2rpx solid #eee}.company-item{width:100%;padding:40rpx;border-bottom:2rpx solid #eee}.title-box .title{width:550rpx}.title-box .price{margin:0}.company-item .tags-box{margin:20rpx 0}.btn-box{margin-top:20rpx;font-size:24rpx;color:#707070}.btn-box .toMore-btn{position:static}.mask-box{width:100%;height:100vh;background:rgba(0,0,0,.6);position:fixed;top:0;left:0;z-index:9999}.screen-dialog-box{width:602rpx;height:100%;overflow-y:scroll;background-color:#fff;position:absolute;top:0;right:0rpx;-webkit-animation:move .2s ease;animation:move .2s ease}@-webkit-keyframes move{0%{-webkit-transform:translateX(800rpx);transform:translateX(800rpx)}100%{-webkit-transform:translateX(0rpx);transform:translateX(0rpx)}}@keyframes move{0%{-webkit-transform:translateX(800rpx);transform:translateX(800rpx)}100%{-webkit-transform:translateX(0rpx);transform:translateX(0rpx)}}.screen-item{width:100%;padding:0 38rpx;padding-bottom:22rpx;border-bottom:2rpx solid #eee}.screen-title{font-size:24rpx;color:#000;margin-bottom:32rpx}.screen-item{padding-top:40rpx}.screen-item .item{width:162rpx;height:48rpx;line-height:48rpx;text-align:center;font-size:24rpx;color:#666;background:#f6f6f6;border-radius:4rpx;margin-bottom:20rpx;margin-right:20rpx}.screen-item .item:nth-child(3n){margin-right:0}.screen-item .item-active{border:2rpx solid #ff6e33;color:#fe7d26;background:#fdefe6}.across-line{width:44rpx;height:2rpx;background:#acabab;margin:0 12rpx}.low-price{width:228rpx;height:60rpx;background:#f6f5f5;border-radius:4rpx}.low-price input{width:100%;height:100%;text-align:center}.fz20{font-size:20rpx;color:#393939}.submit-box{width:602rpx;height:100rpx;box-shadow:2rpx 0 12rpx rgba(0,0,0,.16);position:fixed;bottom:0;right:0}.submit-box .btn{width:50%;height:100%;line-height:100rpx;text-align:center}.submit-box .finish{background:#ff660c;color:#fff}

2
unpackage/dist/build/mp-weixin/pages/home/index.js vendored

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/home/index"],{"058b":function(t,e,a){"use strict";var n=a("c7f4"),i=a.n(n);i.a},"3a75":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]},"4e14":function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("514b"));function i(t){return t&&t.__esModule?t:{default:t}}var o,c=getApp(),u=a("3d8c"),r=function(){a.e("tabbarComponent/tabbar").then(function(){return resolve(a("594c"))}.bind(null,a)).catch(a.oe)},s={data:function(){return{menuList:[{icon:"/static/images/home/menu1.png",text:"IT制作"},{icon:"/static/images/home/menu2.png",text:"logo设计"},{icon:"/static/images/home/menu3.png",text:"文案策划"},{icon:"/static/images/home/menu4.png",text:"app开发"},{icon:"/static/images/home/menu5.png",text:"装修服务"},{icon:"/static/images/home/menu6.png",text:"软件定制"},{icon:"/static/images/home/menu7.png",text:"法律服务"},{icon:"/static/images/home/menu8.png",text:"小程序"},{icon:"/static/images/home/menu9.png",text:"网络营销"},{icon:"/static/images/home/menu10.png",text:"全部分类"}],CustomBar:c.globalData.CustomBar,menuHeight:c.globalData.menuHeight,navHeight:c.globalData.navHeight,menuTop:c.globalData.menuTop,active:1,recommendActivity:[],demandList:[],resourcesList:[],province:"",city:"",cagetoryList:"",latitude:"",longitude:"",currentTabIndex:0}},components:{tabbar:r},props:{},onLoad:function(){t.hideTabBar(),this.pagePath="/pages/home/index",this.getCagetoryList(),o=new u({key:"UVEBZ-M3VRS-CO4OH-6F5QZ-X7FB7-SVFOX"}),this.getLocation()},onPullDownRefresh:function(){this.getCagetoryList()},methods:{tabBarClick:function(t){this.currentTabIndex=t},toGuidePage:function(){t.navigateTo({url:"/pages/guide/index"})},toActiveDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/activity/detail/index?id="+a})},tabClick:function(t){this.setData({active:t.currentTarget.dataset.i})},toTab2:function(){t.switchTab({url:"/pages/demandHall/index"})},getCagetoryList:function(){var e=this;t.showNavigationBarLoading(),c.http("get","index").then((function(a){a.data.success&&(a.data.data.recommendActivity.content.forEach((function(t){t.activityStartTime=n.default.getWeek(t.activityStartTime)})),e.setData({demandList:a.data.data.demandList,resourcesList:a.data.data.resourcesDtos,cagetoryList:a.data.data.cagetoryDtos,recommendActivity:a.data.data.recommendActivity.content}),t.hideNavigationBarLoading(),t.stopPullDownRefresh())}))},toResourcesDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/resourcesDetail/index?id="+a})},toCompanyDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/companyDetail/index?id="+a})},toNeedDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/needsDetail/index?id="+a})},getLocation:function(){var e=this;t.getLocation({type:"wgs84",success:function(t){var a=t.latitude,n=t.longitude;t.speed,t.accuracy;e.getLocal(a,n)},fail:function(t){console.log("fail"+JSON.stringify(t))}})},getLocal:function(t,e){var a=this;o.reverseGeocoder({location:{latitude:t,longitude:e},success:function(n){var i=n.result.ad_info.province,o=n.result.ad_info.city;a.setData({province:i,city:o,latitude:t,longitude:e})},fail:function(t){console.log(t)},complete:function(t){}})}}};e.default=s}).call(this,a("543d")["default"])},"52bb":function(t,e,a){"use strict";a.r(e);var n=a("4e14"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"5ed5":function(t,e,a){"use strict";var n=function(t){t.options.wxsCallMethods||(t.options.wxsCallMethods=[])};e["a"]=n},"9dba":function(t,e,a){"use strict";(function(t){a("ef82");n(a("66fd"));var e=n(a("e969"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,a("543d")["createPage"])},c7f4:function(t,e,a){},e969:function(t,e,a){"use strict";a.r(e);var n=a("3a75"),i=a("52bb");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("058b");var c,u=a("f0c5"),r=a("5ed5"),s=Object(u["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],c);"function"===typeof r["a"]&&Object(r["a"])(s),e["default"]=s.exports}},[["9dba","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/home/index"],{"058b":function(t,e,a){"use strict";var n=a("c7f4"),i=a.n(n);i.a},"44f4":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]},"4e14":function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("514b"));function i(t){return t&&t.__esModule?t:{default:t}}var o,c=getApp(),u=a("3d8c"),r=function(){a.e("tabbarComponent/tabbar").then(function(){return resolve(a("594c"))}.bind(null,a)).catch(a.oe)},s={data:function(){return{menuList:[{icon:"/static/images/home/menu1.png",text:"IT制作"},{icon:"/static/images/home/menu2.png",text:"logo设计"},{icon:"/static/images/home/menu3.png",text:"文案策划"},{icon:"/static/images/home/menu4.png",text:"app开发"},{icon:"/static/images/home/menu5.png",text:"装修服务"},{icon:"/static/images/home/menu6.png",text:"软件定制"},{icon:"/static/images/home/menu7.png",text:"法律服务"},{icon:"/static/images/home/menu8.png",text:"小程序"},{icon:"/static/images/home/menu9.png",text:"网络营销"},{icon:"/static/images/home/menu10.png",text:"全部分类"}],CustomBar:c.globalData.CustomBar,menuHeight:c.globalData.menuHeight,navHeight:c.globalData.navHeight,menuTop:c.globalData.menuTop,active:1,recommendActivity:[],demandList:[],resourcesList:[],province:"",city:"",cagetoryList:"",latitude:"",longitude:"",currentTabIndex:0}},components:{tabbar:r},props:{},onShareAppMessage:function(t){return{title:"禅易云生态",path:"/pages/home/index"}},onLoad:function(){t.hideTabBar(),this.pagePath="/pages/home/index",this.getCagetoryList(),o=new u({key:"UVEBZ-M3VRS-CO4OH-6F5QZ-X7FB7-SVFOX"}),this.getLocation()},onPullDownRefresh:function(){this.getCagetoryList()},methods:{tabBarClick:function(t){this.currentTabIndex=t},toGuidePage:function(){t.navigateTo({url:"/pages/guide/index"})},toActiveDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/activity/detail/index?id="+a})},tabClick:function(t){this.setData({active:t.currentTarget.dataset.i})},toTab2:function(){t.switchTab({url:"/pages/demandHall/index"})},getCagetoryList:function(){var e=this;t.showNavigationBarLoading(),c.http("get","index").then((function(a){a.data.success&&(a.data.data.recommendActivity.content.forEach((function(t){t.activityStartTime=n.default.getWeek(t.activityStartTime)})),e.setData({demandList:a.data.data.demandList,resourcesList:a.data.data.resourcesDtos,cagetoryList:a.data.data.cagetoryDtos,recommendActivity:a.data.data.recommendActivity.content}),t.hideNavigationBarLoading(),t.stopPullDownRefresh())}))},toResourcesDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/resourcesDetail/index?id="+a})},toCompanyDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/companyDetail/index?id="+a})},toNeedDetail:function(e){var a=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/needsDetail/index?id="+a})},getLocation:function(){var e=this;t.getLocation({type:"wgs84",success:function(t){var a=t.latitude,n=t.longitude;t.speed,t.accuracy;e.getLocal(a,n)},fail:function(t){console.log("fail"+JSON.stringify(t))}})},getLocal:function(t,e){var a=this;o.reverseGeocoder({location:{latitude:t,longitude:e},success:function(n){var i=n.result.ad_info.province,o=n.result.ad_info.city;a.setData({province:i,city:o,latitude:t,longitude:e})},fail:function(t){console.log(t)},complete:function(t){}})}}};e.default=s}).call(this,a("543d")["default"])},"52bb":function(t,e,a){"use strict";a.r(e);var n=a("4e14"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=i.a},"5ed5":function(t,e,a){"use strict";var n=function(t){t.options.wxsCallMethods||(t.options.wxsCallMethods=[])};e["a"]=n},"9dba":function(t,e,a){"use strict";(function(t){a("ef82");n(a("66fd"));var e=n(a("e969"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,a("543d")["createPage"])},c7f4:function(t,e,a){},e969:function(t,e,a){"use strict";a.r(e);var n=a("44f4"),i=a("52bb");for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);a("058b");var c,u=a("f0c5"),r=a("5ed5"),s=Object(u["a"])(i["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],c);"function"===typeof r["a"]&&Object(r["a"])(s),e["default"]=s.exports}},[["9dba","common/runtime","common/vendor"]]]);

2
unpackage/dist/build/mp-weixin/pages/home/index.wxml vendored

@ -1,2 +1,2 @@
<wxs src="../../utils/subutil.wxs" module="spl"></wxs>
<view class="home-page"><view data-event-opts="{{[['tap',[['toGuidePage',['$event']]]]]}}" class="top-bg-box" bindtap="__e"><image src="https://download.cyjyyjy.com/index-top-bg2.png"></image></view><view class="investment-box"><view class="investment-title-box acea-row row-between-wrapper"><view class="acea-row"><text class="fz32">热门活动</text><view class="hot">热</view></view><view class="more acea-row row-middle"><text>全部</text><image src="/static/images/home/arrow-r.png"></image></view></view><view class="investement-list"><scroll-view class="scroll-view_H" scroll-x="true"><block wx:for="{{recommendActivity}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index<3}}"><view class="investment-item" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toActiveDetail',['$event']]]]]}}" bindtap="__e"><image class="item-bg" src="{{item.images}}" mode="aspectFill"></image><view class="tips-box acea-row row-right"><block wx:for="{{spl.spl(item.flag)}}" wx:for-item="flag" wx:for-index="index2" wx:key="index2"><block wx:if="{{index2<3}}"><view class="{{['tips-item '+(index2%2==0?'bg2':'')]}}">{{flag}}</view></block></block></view><view class="item-info-box acea-row row-column row-center"><view class="address-box line1"><image src="/static/images/home/localtion.png"></image><text>{{item.address}}</text></view><view class="time-box"><image src="/static/images/home/time.png"></image><text>{{item.activityStartTime}}</text></view></view></view></block></block></scroll-view></view></view><view class="demandhall-box"><view class="tabs-box acea-row row-around"><view class="{{['tab-item '+(active==1?'tab-item-a':'')]}}" data-i="1" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">最新供应</view><view class="{{['tab-item '+(active==2?'tab-item-a':'')]}}" data-i="2" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">需求广场</view></view><block wx:if="{{active==1}}"><view class="list-box"><block wx:for="{{resourcesList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item"><view class="item-top"><view class="project-name line1">{{item.title}}</view><view class="tag">{{item.cname}}</view><view class="desc line2">{{item.detailedDescription}}</view><view class="buy-btn" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toResourcesDetail',['$event']]]]]}}" bindtap="__e">了解详情</view></view><view class="company-box acea-row"><image class="logo" src="{{item.enterpriseDto.enterpriseLogo}}"></image><view class="company-info acea-row row-column row-between"><view class="company-name fz28">{{item.enterpriseDto.enterpriseName}}</view><view class="company-name fz24">{{item.enterpriseDto.enterpriseTitle}}</view><view class="tags-box acea-row"><view class="tag-item fz20 bgG">{{item.cname}}</view></view></view><view class="into-btn acea-row row-center-wrapper" data-id="{{item.enterpriseId}}" data-event-opts="{{[['tap',[['toCompanyDetail',['$event']]]]]}}" bindtap="__e"><image src="/static/images/home/company-icon.png"></image><text>进入企业</text></view></view></view></block></view></block><block wx:if="{{active==2}}"><view class="list-box"><block wx:for="{{demandList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toNeedDetail',['$event']]]]]}}" bindtap="__e"><view class="item-top"><view class="project-name">{{item.title}}</view><view class="desc line2">{{item.detailedDescription}}</view><view class="tags-box tags-box2 acea-row"><view class="tag-item fz20">{{item.enterpriseDto.cname}}</view></view><view class="price">{{item.capital}}</view></view></view></block></view></block></view><view data-event-opts="{{[['tap',[['toTab2',['$event']]]]]}}" class="to-demandhall acea-row row-center row-middle" bindtap="__e"><text>更多内容去供需大厅</text><image src="/static/images/home/arrow-r.png"></image></view><tabbar vue-id="6b3d36ea-1" current="{{currentTabIndex}}" data-event-opts="{{[['^click',[['tabBarClick']]]]}}" bind:click="__e" bind:__l="__l"></tabbar></view>
<view class="home-page"><view data-event-opts="{{[['tap',[['toGuidePage',['$event']]]]]}}" class="top-bg-box" bindtap="__e"><image src="https://download.cyjyyjy.com/index-top-bg2.png"></image></view><view class="investment-box"><view class="investment-title-box acea-row row-between-wrapper"><view class="acea-row"><text class="fz32">热门活动</text><view class="hot">热</view></view></view><view class="investement-list"><scroll-view class="scroll-view_H" scroll-x="true"><block wx:for="{{recommendActivity}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index<3}}"><view class="investment-item" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toActiveDetail',['$event']]]]]}}" bindtap="__e"><image class="item-bg" src="{{item.images}}" mode="aspectFill"></image><view class="tips-box acea-row row-right"><block wx:for="{{spl.spl(item.flag)}}" wx:for-item="flag" wx:for-index="index2" wx:key="index2"><block wx:if="{{index2<3}}"><view class="{{['tips-item '+(index2%2==0?'bg2':'')]}}">{{flag}}</view></block></block></view><view class="item-info-box acea-row row-column row-center"><view class="address-box line1"><image src="/static/images/home/localtion.png"></image><text>{{item.address}}</text></view><view class="time-box"><image src="/static/images/home/time.png"></image><text>{{item.activityStartTime}}</text></view></view></view></block></block></scroll-view></view></view><view class="demandhall-box"><view class="tabs-box acea-row row-around"><view class="{{['tab-item '+(active==1?'tab-item-a':'')]}}" data-i="1" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">最新供应</view><view class="{{['tab-item '+(active==2?'tab-item-a':'')]}}" data-i="2" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">需求广场</view></view><block wx:if="{{active==1}}"><view class="list-box"><block wx:for="{{resourcesList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item"><view class="item-top"><view class="project-name line1">{{item.title}}</view><view class="tag">{{item.cname}}</view><view class="desc line2">{{item.detailedDescription}}</view><view class="buy-btn" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toResourcesDetail',['$event']]]]]}}" bindtap="__e">了解详情</view></view><view class="company-box acea-row"><image class="logo" src="{{item.enterpriseDto.enterpriseLogo}}"></image><view class="company-info acea-row row-column row-between"><view class="company-name line1 fz28">{{item.enterpriseDto.enterpriseName}}</view><view class="company-name line2 fz24">{{item.enterpriseDto.enterpriseTitle}}</view><view class="tags-box acea-row"><view class="tag-item fz20 bgG">{{item.cname}}</view></view></view><view class="into-btn acea-row row-center-wrapper" data-id="{{item.enterpriseId}}" data-event-opts="{{[['tap',[['toCompanyDetail',['$event']]]]]}}" bindtap="__e"><image src="/static/images/home/company-icon.png"></image><text>进入企业</text></view></view></view></block></view></block><block wx:if="{{active==2}}"><view class="list-box"><block wx:for="{{demandList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toNeedDetail',['$event']]]]]}}" bindtap="__e"><view class="item-top"><view class="project-name">{{item.title}}</view><view class="desc line2">{{item.detailedDescription}}</view><view class="tags-box tags-box2 acea-row"><view class="tag-item fz20">{{item.enterpriseDto.cname}}</view></view><view class="price">{{item.capital}}</view></view></view></block></view></block></view><view data-event-opts="{{[['tap',[['toTab2',['$event']]]]]}}" class="to-demandhall acea-row row-center row-middle" bindtap="__e"><text>更多内容去供需大厅</text><image src="/static/images/home/arrow-r.png"></image></view><tabbar vue-id="6b3d36ea-1" current="{{currentTabIndex}}" data-event-opts="{{[['^click',[['tabBarClick']]]]}}" bind:click="__e" bind:__l="__l"></tabbar></view>

2
unpackage/dist/build/mp-weixin/pages/home/index.wxss vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/life/addGoods/index.js vendored

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/life/addGoods/index"],{"1f1c":function(t,e,i){"use strict";i.r(e);var n=i("8413"),a=i.n(n);for(var s in n)"default"!==s&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=a.a},"31aa":function(t,e,i){"use strict";i.r(e);var n=i("cf9a"),a=i("1f1c");for(var s in a)"default"!==s&&function(t){i.d(e,t,(function(){return a[t]}))}(s);i("d09a");var o,r=i("f0c5"),c=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],o);e["default"]=c.exports},5629:function(t,e,i){"use strict";(function(t){i("ef82");n(i("66fd"));var e=n(i("31aa"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,i("543d")["createPage"])},8413:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("b6d1"),a=i("2df4"),s={data:function(){return{store_name:"",unit_name:"",image:"",slider_image:["","",""],description:"",tempId:1,attrs:[{pic:"",price:"",ot_orice:"",stock:"",weight:"",volume:""}],state:0}},methods:{uploadImg:function(t){var e=this;(0,n.chooseImage)((function(i){e.$set(e.slider_image,t,i)}))},uploadSkuImg:function(t){var e=this;(0,n.chooseImage)((function(i){e.$set(e.attrs,t,{pic:i})}))},toGoodsDetails:function(){t.navigateTo({url:"/pages/life/goodsDetails/index?desc="+encodeURIComponent(this.description)})},addSku:function(){var t={pic:"",price:"",ot_orice:"",stock:"",weight:"",volume:""};this.attrs.push(t)},delSku:function(t){this.attrs.splice(t,1)},radioChange:function(t){this.state=t.detail.value},submit:function(){var t=this,e={store_name:this.store_name,unit_name:this.unit_name,image:this.slider_image[0],slider_image:this.slider_image,description:this.description,tempId:1,attrs:this.attrs,state:this.state,spec_type:this.attrs.length>1?1:0};""!=e.store_name?""!=e.slider_image[0]?""!=e.description&&""!=e.description?(e.attrs.forEach((function(e,i){""!=e.price?""!=e.stock||t.alertMessage("请商品规格库存"):t.alertMessage("请商品规格价格")})),(0,a.addProduct)(e).then((function(t){})),console.log(e,"form")):this.alertMessage("请填写商品详情"):this.alertMessage("请至少上传一张商品图片"):this.alertMessage("请填写商品名称")},alertMessage:function(e){t.showToast({title:e,icon:"none"})}}};e.default=s}).call(this,i("543d")["default"])},b66c:function(t,e,i){},cf9a:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return n}));var a=function(){var t=this,e=t.$createElement;t._self._c},s=[]},d09a:function(t,e,i){"use strict";var n=i("b66c"),a=i.n(n);a.a}},[["5629","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/life/addGoods/index"],{"1f1c":function(t,i,e){"use strict";e.r(i);var s=e("8413"),n=e.n(s);for(var a in s)"default"!==a&&function(t){e.d(i,t,(function(){return s[t]}))}(a);i["default"]=n.a},"31aa":function(t,i,e){"use strict";e.r(i);var s=e("4bb0"),n=e("1f1c");for(var a in n)"default"!==a&&function(t){e.d(i,t,(function(){return n[t]}))}(a);e("d09a");var o,r=e("f0c5"),u=Object(r["a"])(n["default"],s["b"],s["c"],!1,null,null,null,!1,s["a"],o);i["default"]=u.exports},"4bb0":function(t,i,e){"use strict";var s;e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){return s}));var n=function(){var t=this,i=t.$createElement;t._self._c;t._isMounted||(t.e0=function(i){t.maskShow=!1,t.addOptionsDialog=!1})},a=[]},5629:function(t,i,e){"use strict";(function(t){e("ef82");s(e("66fd"));var i=s(e("31aa"));function s(t){return t&&t.__esModule?t:{default:t}}t(i.default)}).call(this,e("543d")["createPage"])},8413:function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var s=e("b6d1"),n=e("2df4"),a={data:function(){return{id:"",store_name:"",unit_name:"",image:"",slider_image:[],description:"",tempId:1,temp:"全国包邮",attrs:[{pic:"",price:"",ot_orice:"",stock:"",weight:"",volume:""}],attrArr:[],attr:{},state:0,maskShow:!1,addOptionsDialog:!1,infinite:!1}},onLoad:function(){var i=this;this.id=this.$yroute.query.id||"",this.id?(t.setNavigationBarTitle({title:"修改商品"}),(0,n.getProductInfo)({id:this.id}).then((function(t){var e=t.data;i.slider_image=e.slider_image,i.image=e.slider_image[0],i.unit_name=e.unit_name,i.description=e.description,i.store_name=e.store_name,i.attrs=e.attrs}))):console.log("新增")},methods:{uploadImgs:function(){var t=this;(0,s.chooseImages)((function(i){t.slider_image.push(i)}))},uploadImg:function(t){var i=this;(0,s.chooseImage)((function(e){i.slider_image[t]?i.$set(i.slider_image,t,e):i.slider_image.push(e)}))},uploadSkuImg:function(t){var i=this;(0,s.chooseImage)((function(e){i.$set(i.attrs,t,{pic:e})}))},toGoodsDetails:function(){t.navigateTo({url:"/pages/life/goodsDetails/index?desc="+encodeURIComponent(this.description)})},toTempList:function(){t.navigateTo({url:"/pages/life/tempList/index"})},addAttr:function(){var t={attrName:"",attrOptions:[{name:""}]};this.attr=t,this.maskShow=!0,this.addOptionsDialog=!0},editAttr:function(t){this.attr=this.attrArr[t],this.maskShow=!0,this.addOptionsDialog=!0},delAttr:function(t){this.attrArr.splice(t,1)},addOption:function(){this.attr.attrOptions.push({name:""})},delOption:function(t,i){this.attr.attrOptions.splice(i,1)},submitAddAttr:function(){this.addOptionsDialog=!1,this.maskShow=!1,this.attrArr.push(this.attr),console.log(this.attrArr,"attrArr")},addSku:function(){var i={pic:"",price:"",ot_orice:"",stock:"",weight:"",volume:""};this.attrs.push(i),t.pageScrollTo({scrollTop:999999})},delSku:function(t){this.attrs.splice(t,1)},stockChange:function(t){this.infinite=!t.detail.value},radioChange:function(t){this.state=t.detail.value},submit:function(){var i=this,e={store_name:this.store_name,unit_name:this.unit_name,image:this.slider_image[0],slider_image:this.slider_image,description:this.description,tempId:1,attrs:this.attrs,state:this.state,spec_type:this.attrs.length>1?1:0};""!=e.store_name?""!=e.slider_image[0]?""!=e.description&&""!=e.description?(e.attrs.forEach((function(t,e){""!=t.price?""!=t.stock||i.alertMessage("请商品规格库存"):i.alertMessage("请商品规格价格")})),""!=this.id?(e.id=this.id,(0,n.editProduct)(e).then((function(i){i.success?(t.showToast({title:i.msg,duration:1500}),setTimeout((function(i){t.navigateTo({url:"pages/user/goodsManage/index"})}),1500)):t.showToast({title:i.msg,icon:"none"})}))):(0,n.addProduct)(e).then((function(i){i.success?(t.showToast({title:i.msg,duration:1500}),setTimeout((function(i){t.navigateTo({url:"pages/user/goodsManage/index"})}),1500)):t.showToast({title:i.msg,icon:"none"})})),console.log(e,"form")):this.alertMessage("请填写商品详情"):this.alertMessage("请至少上传一张商品图片"):this.alertMessage("请填写商品名称")},alertMessage:function(i){t.showToast({title:i,icon:"none"})}}};i.default=a}).call(this,e("543d")["default"])},b66c:function(t,i,e){},d09a:function(t,i,e){"use strict";var s=e("b66c"),n=e.n(s);n.a}},[["5629","common/runtime","common/vendor"]]]);

2
unpackage/dist/build/mp-weixin/pages/life/addGoods/index.wxml vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/life/addGoods/index.wxss vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/life/index-u-waterfall-left.wxml vendored

@ -1 +1 @@
<block wx:for="{{leftList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toGoodsDetail',['$0'],[[['leftList','',index,'id']]]]]]]}}" class="warter data-v-32f19c04" bindtap="__e"><image class="warter-img data-v-32f19c04" src="{{item.image}}" index="{{index}}" mode="widthFix"></image><view class="goodsinfo-box data-v-32f19c04"><view class="title line2 data-v-32f19c04">{{''+item.storeName+''}}</view><view class="price-box acea-row row-between-wrapper data-v-32f19c04"><text class="price data-v-32f19c04">{{"¥"+item.price}}</text><text class="old-price data-v-32f19c04">{{"¥"+item.price}}</text></view></view></view></block>
<block wx:for="{{leftList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toGoodsDetail',['$0'],[[['leftList','',index,'id']]]]]]]}}" class="warter data-v-14b0e055" bindtap="__e"><image class="warter-img data-v-14b0e055" src="{{item.image}}" index="{{index}}" mode="widthFix"></image><view class="goodsinfo-box data-v-14b0e055"><view class="title line2 data-v-14b0e055">{{''+item.storeName+''}}</view><view class="price-box acea-row row-between-wrapper data-v-14b0e055"><text class="price data-v-14b0e055">{{"¥"+item.price}}</text><text class="old-price data-v-14b0e055">{{"¥"+item.price}}</text></view></view></view></block>

2
unpackage/dist/build/mp-weixin/pages/life/index-u-waterfall-right.wxml vendored

@ -1 +1 @@
<block wx:for="{{rightList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toGoodsDetail',['$0'],[[['rightList','',index,'id']]]]]]]}}" class="warter data-v-32f19c04" bindtap="__e"><image class="warter-img data-v-32f19c04" src="{{item.image}}" index="{{index}}" mode="widthFix"></image><view class="goodsinfo-box data-v-32f19c04"><view class="title line2 data-v-32f19c04">{{''+item.storeName+''}}</view><view class="price-box acea-row row-between-wrapper data-v-32f19c04"><text class="price data-v-32f19c04">{{"¥"+item.price}}</text><text class="old-price data-v-32f19c04">{{"¥"+item.otPrice}}</text></view></view></view></block>
<block wx:for="{{rightList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toGoodsDetail',['$0'],[[['rightList','',index,'id']]]]]]]}}" class="warter data-v-14b0e055" bindtap="__e"><image class="warter-img data-v-14b0e055" src="{{item.image}}" index="{{index}}" mode="widthFix"></image><view class="goodsinfo-box data-v-14b0e055"><view class="title line2 data-v-14b0e055">{{''+item.storeName+''}}</view><view class="price-box acea-row row-between-wrapper data-v-14b0e055"><text class="price data-v-14b0e055">{{"¥"+item.price}}</text><text class="old-price data-v-14b0e055">{{"¥"+item.otPrice}}</text></view></view></view></block>

2
unpackage/dist/build/mp-weixin/pages/life/index.js vendored

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/life/index"],{3388:function(t,e,n){"use strict";var o=n("b4f5"),a=n.n(o);a.a},6650:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("2df4"),a=n("b6d1"),i=n("2f62"),u=function(){n.e("tabbarComponent/tabbar").then(function(){return resolve(n("594c"))}.bind(null,n)).catch(n.oe)},r={components:{tabbar:u},name:"GoodsClass",computed:(0,i.mapGetters)(["userInfo"]),props:{},data:function(){return{category:[],navActive:0,search:"",lock:!1,currentTabIndex:3,flowList:[],isFixed:!1}},watch:{"$yroute.query.id":function(t){t&&this.activeCateId(t)}},onLoad:function(t){this.getProducts()},mounted:function(){},methods:{tabBarClick:function(t){this.currentTabIndex=t},goShoppingCart:function(){this.$yrouter.push("/pages/shop/ShoppingCart/index")},goGoodSearch:function(){this.$yrouter.push("/pages/shop/GoodSearch/index")},goGoodsList:function(t){this.$yrouter.push({path:"/pages/shop/GoodsList/index",query:{id:t.id,title:t.cateName}})},toGoodsDetail:function(t){this.$yrouter.push({path:"/pages/shop/GoodsCon/index",query:{id:t}})},activeCateId:function(t){var e=0;t=parseInt(t),t&&(this.category.forEach((function(n,o){n.id===t&&(e=o)})),e!==this.navActive&&this.asideTap(e))},loadCategoryData:function(){var t=this;(0,o.getCategory)().then((function(e){t.category=e.data,t.$nextTick((function(){t.$yroute.query.id&&t.activeCateId(t.$yroute.query.id)}))}))},getProducts:function(){var t=this;(0,o.getProducts)().then((function(e){t.flowList=e.data,console.log(t.flowList)}))},submitForm:function(){var t=this,e=(0,a.trim)(this.search);e&&(this.$yrouter.push({path:"/pages/shop/GoodsList/index",query:{s:e}}),setTimeout((function(){return t.search=""}),500))},asideTap:function(t){this.navActive=t}},beforeDestroy:function(){}};e.default=r},b1ca:function(t,e,n){"use strict";n.r(e);var o=n("f80a"),a=n("e4b0");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("3388");var u,r=n("f0c5"),c=Object(r["a"])(a["default"],o["b"],o["c"],!1,null,"32f19c04",null,!1,o["a"],u);e["default"]=c.exports},b4f5:function(t,e,n){},e4b0:function(t,e,n){"use strict";n.r(e);var o=n("6650"),a=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a},f4ae:function(t,e,n){"use strict";(function(t){n("ef82");o(n("66fd"));var e=o(n("b1ca"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},f80a:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var o={uWaterfall:function(){return n.e("node-modules/uview-ui/components/u-waterfall/u-waterfall").then(n.bind(null,"4e25"))}},a=function(){var t=this,e=t.$createElement;t._self._c},i=[]}},[["f4ae","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/life/index"],{6650:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("2df4"),a=n("b6d1"),i=n("2f62"),u=function(){n.e("tabbarComponent/tabbar").then(function(){return resolve(n("594c"))}.bind(null,n)).catch(n.oe)},r={components:{tabbar:u},name:"GoodsClass",computed:(0,i.mapGetters)(["userInfo"]),props:{},data:function(){return{category:[],navActive:0,search:"",lock:!1,currentTabIndex:3,flowList:[],isFixed:!1}},watch:{"$yroute.query.id":function(t){t&&this.activeCateId(t)}},onShow:function(t){this.getProducts()},mounted:function(){},onPullDownRefresh:function(){this.getProducts()},methods:{tabBarClick:function(t){this.currentTabIndex=t},goShoppingCart:function(){this.$yrouter.push("/pages/shop/ShoppingCart/index")},goGoodSearch:function(){this.$yrouter.push("/pages/shop/GoodSearch/index")},goGoodsList:function(t){this.$yrouter.push({path:"/pages/shop/GoodsList/index",query:{id:t.id,title:t.cateName}})},toGoodsDetail:function(t){this.$yrouter.push({path:"/pages/shop/GoodsCon/index",query:{id:t}})},activeCateId:function(t){var e=0;t=parseInt(t),t&&(this.category.forEach((function(n,o){n.id===t&&(e=o)})),e!==this.navActive&&this.asideTap(e))},loadCategoryData:function(){var t=this;(0,o.getCategory)().then((function(e){t.category=e.data,t.$nextTick((function(){t.$yroute.query.id&&t.activeCateId(t.$yroute.query.id)}))}))},getProducts:function(){var e=this;(0,o.getProducts)().then((function(n){e.flowList=n.data,t.stopPullDownRefresh()}))},submitForm:function(){var t=this,e=(0,a.trim)(this.search);e&&(this.$yrouter.push({path:"/pages/shop/GoodsList/index",query:{s:e}}),setTimeout((function(){return t.search=""}),500))},asideTap:function(t){this.navActive=t},alertMessage:function(e){t.showToast({title:e,icon:"none"})}},beforeDestroy:function(){}};e.default=r}).call(this,n("543d")["default"])},"6ea0":function(t,e,n){"use strict";var o=n("cfd5"),a=n.n(o);a.a},a175:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var o={uWaterfall:function(){return n.e("node-modules/uview-ui/components/u-waterfall/u-waterfall").then(n.bind(null,"4e25"))}},a=function(){var t=this,e=t.$createElement;t._self._c},i=[]},b1ca:function(t,e,n){"use strict";n.r(e);var o=n("a175"),a=n("e4b0");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("6ea0");var u,r=n("f0c5"),c=Object(r["a"])(a["default"],o["b"],o["c"],!1,null,"14b0e055",null,!1,o["a"],u);e["default"]=c.exports},cfd5:function(t,e,n){},e4b0:function(t,e,n){"use strict";n.r(e);var o=n("6650"),a=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a},f4ae:function(t,e,n){"use strict";(function(t){n("ef82");o(n("66fd"));var e=o(n("b1ca"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])}},[["f4ae","common/runtime","common/vendor"]]]);

2
unpackage/dist/build/mp-weixin/pages/life/index.json vendored

@ -1,4 +1,6 @@
{
"navigationBarTitleText": "生活",
"enablePullDownRefresh": true,
"usingComponents": {
"index-u-waterfall-left": "/pages/life/index-u-waterfall-left",
"index-u-waterfall-right": "/pages/life/index-u-waterfall-right",

2
unpackage/dist/build/mp-weixin/pages/life/index.wxml vendored

@ -1 +1 @@
<view class="productSort data-v-32f19c04"><view class="{{['page-top-box data-v-32f19c04',isFixed==true?'on':'']}}"><view class="top-box acea-row row-between-wrapper data-v-32f19c04"><view class="top-box-l acea-row row-middle data-v-32f19c04"><image src="../../static/images/localtion.png" class="data-v-32f19c04"></image><text class="data-v-32f19c04">武汉</text></view><view data-event-opts="{{[['tap',[['goShoppingCart']]]]}}" class="cart-btn-box data-v-32f19c04" bindtap="__e"><image src="../../static/images/cart.png" class="data-v-32f19c04"></image></view></view><view class="index _div data-v-32f19c04"><view class="header acea-row row-center-wrapper data-v-32f19c04"><view data-event-opts="{{[['tap',[['goGoodSearch']]]]}}" class="search acea-row row-middle data-v-32f19c04" bindtap="__e"><text class="iconfont icon-xiazai5 data-v-32f19c04"></text>搜索商品</view></view></view></view><view class="banner-img-box acea-row row-between-wrapper data-v-32f19c04"><view class="img-box-l data-v-32f19c04"><image src="https://download.cyjyyjy.com/life1.png" class="data-v-32f19c04"></image></view><view class="img-box-r data-v-32f19c04"><image src="https://download.cyjyyjy.com/life2.png" class="data-v-32f19c04"></image><image src="https://download.cyjyyjy.com/life3.png" class="data-v-32f19c04"></image></view></view><view class="category-tab-box data-v-32f19c04"><scroll-view class="scroll-view_H data-v-32f19c04" scroll-x="true"><view class="category-item category-item-active data-v-32f19c04">猜你喜欢</view><view class="category-item data-v-32f19c04">至尊保驾</view><view class="category-item data-v-32f19c04">优选好房</view><view class="category-item data-v-32f19c04">商城福利</view><view class="category-item data-v-32f19c04">回头率</view></scroll-view></view><view class="warter-box data-v-32f19c04"><u-waterfall generic:scoped-slots-left="index-u-waterfall-left" data-vue-generic="scoped" generic:scoped-slots-right="index-u-waterfall-right" bind:input="__e" vue-id="6107264e-1" data-ref="uWaterfall" value="{{flowList}}" data-event-opts="{{[['^input',[['__set_model',['','flowList','$event',[]]]]]]}}" class="data-v-32f19c04 vue-ref" bind:__l="__l" vue-slots="{{['right','left']}}"></u-waterfall></view><tabbar vue-id="6107264e-2" current="{{currentTabIndex}}" data-event-opts="{{[['^click',[['tabBarClick']]]]}}" bind:click="__e" class="data-v-32f19c04" bind:__l="__l"></tabbar></view>
<view class="productSort data-v-14b0e055"><view class="{{['page-top-box data-v-14b0e055',isFixed==true?'on':'']}}"><view class="top-box acea-row row-between-wrapper data-v-14b0e055"><view class="top-box-l acea-row row-middle data-v-14b0e055"><image src="../../static/images/localtion.png" class="data-v-14b0e055"></image><text class="data-v-14b0e055">武汉</text></view><view data-event-opts="{{[['tap',[['goShoppingCart']]]]}}" class="cart-btn-box data-v-14b0e055" bindtap="__e"><image src="../../static/images/cart.png" class="data-v-14b0e055"></image></view></view><view class="index _div data-v-14b0e055"><view class="header acea-row row-center-wrapper data-v-14b0e055"><view data-event-opts="{{[['tap',[['goGoodSearch']]]]}}" class="search acea-row row-middle data-v-14b0e055" bindtap="__e"><text class="iconfont icon-xiazai5 data-v-14b0e055"></text>搜索商品</view></view></view></view><view class="banner-img-box acea-row row-between-wrapper data-v-14b0e055"><view class="img-box-l data-v-14b0e055"><image src="https://download.cyjyyjy.com/life1.png" data-event-opts="{{[['tap',[['alertMessage',['功能开发中...']]]]]}}" bindtap="__e" class="data-v-14b0e055"></image></view><view class="img-box-r data-v-14b0e055"><image src="https://download.cyjyyjy.com/life2.png" data-event-opts="{{[['tap',[['alertMessage',['功能开发中...']]]]]}}" bindtap="__e" class="data-v-14b0e055"></image><image src="https://download.cyjyyjy.com/life3.png" data-event-opts="{{[['tap',[['alertMessage',['功能开发中...']]]]]}}" bindtap="__e" class="data-v-14b0e055"></image></view></view><view class="category-tab-box data-v-14b0e055"><scroll-view class="scroll-view_H data-v-14b0e055" scroll-x="true"><view class="category-item category-item-active data-v-14b0e055">全部商品</view></scroll-view></view><view class="warter-box data-v-14b0e055"><u-waterfall generic:scoped-slots-left="index-u-waterfall-left" data-vue-generic="scoped" generic:scoped-slots-right="index-u-waterfall-right" bind:input="__e" vue-id="6107264e-1" data-ref="uWaterfall" value="{{flowList}}" data-event-opts="{{[['^input',[['__set_model',['','flowList','$event',[]]]]]]}}" class="data-v-14b0e055 vue-ref" bind:__l="__l" vue-slots="{{['right','left']}}"></u-waterfall></view><tabbar vue-id="6107264e-2" current="{{currentTabIndex}}" data-event-opts="{{[['^click',[['tabBarClick']]]]}}" bind:click="__e" class="data-v-14b0e055" bind:__l="__l"></tabbar></view>

2
unpackage/dist/build/mp-weixin/pages/life/index.wxss vendored

@ -1 +1 @@
.productSort.data-v-32f19c04{height:100%;padding-bottom:200rpx;background:#fff!important;position:relative}.page-top-box.data-v-32f19c04{width:100%;position:fixed;top:0;left:0;z-index:99;background:#fff;padding:0 30rpx 20rpx;box-shadow:0 -6px 20px rgba(0,0,0,.11)}.page-top-box .top-box .top-box-l.data-v-32f19c04{font-size:32rpx;color:#000;font-weight:500}.page-top-box .top-box .top-box-l image.data-v-32f19c04{width:26rpx;height:30rpx;display:block;margin-right:10rpx}.page-top-box .top-box .cart-btn-box.data-v-32f19c04{width:50rpx;height:50rpx}.page-top-box .top-box .cart-btn-box image.data-v-32f19c04{width:100%;height:100%}.page-top-box .index.data-v-32f19c04{height:96rpx}.page-top-box .index .header.data-v-32f19c04{height:68rpx;position:static;padding:0;margin-top:34rpx}.page-top-box .index .header .search.data-v-32f19c04{background-color:#eee;border-radius:8rpx}.category-tab-box.data-v-32f19c04{width:100%;height:108rpx;line-height:108rpx;padding-left:30rpx;margin-bottom:30rpx}.category-tab-box .scroll-view_H.data-v-32f19c04{white-space:nowrap;width:100%}.category-tab-box .scroll-view_H .category-item.data-v-32f19c04{display:inline-block;font-size:28rpx;line-height:40rpx;color:#999;margin-right:40rpx}.category-tab-box .scroll-view_H .category-item.category-item-active.data-v-32f19c04{color:#ff6d31;font-size:32rpx;font-weight:500;position:relative}.category-tab-box .scroll-view_H .category-item.category-item-active.data-v-32f19c04::after{content:"";width:70rpx;height:8rpx;border-radius:6rpx;display:block;position:absolute;bottom:-24rpx;left:0;background:#ff7942}.warter-box.data-v-32f19c04{width:100%;padding:0 0 190rpx 24rpx}.warter-box .u-waterfall.data-v-32f19c04{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.warter-box .u-waterfall .u-column .warter.data-v-32f19c04{width:336rpx!important;border-radius:10rpx;background-color:#fff;position:relative;overflow:hidden;box-shadow:0 6rpx 12rpx rgba(0,0,0,.06);margin-bottom:20rpx}.warter-box .u-waterfall .u-column .warter image.data-v-32f19c04{width:100%;display:block}.warter-box .u-waterfall .u-column .warter .goodsinfo-box.data-v-32f19c04{width:100%;padding:12rpx 16rpx}.warter-box .u-waterfall .u-column .warter .goodsinfo-box .title.data-v-32f19c04{font-size:28rpx;font-weight:500;color:#1d1d1d;width:100%;height:80rpx}.warter-box .u-waterfall .u-column .warter .goodsinfo-box .price.data-v-32f19c04{font-size:28rpx;font-weight:700;line-height:40rpx;color:#ff7942}.warter-box .u-waterfall .u-column .warter .goodsinfo-box .old-price.data-v-32f19c04{font-size:20rpx;line-height:28rpx;color:#bfbfbf;text-decoration:line-through}.banner-img-box.data-v-32f19c04{width:100%;padding:220rpx 40rpx 32rpx}.banner-img-box .img-box-l.data-v-32f19c04{width:324rpx;height:400rpx}.banner-img-box .img-box-l image.data-v-32f19c04{width:100%;height:100%}.banner-img-box .img-box-r.data-v-32f19c04{width:324rpx;height:400rpx;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-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.banner-img-box .img-box-r image.data-v-32f19c04{width:324rpx;height:190rpx}.goods-list-box.data-v-32f19c04{width:100%;padding:0 30rpx}.goods-list-box .goods-list-item.data-v-32f19c04{width:100%}.goods-list-box .goods-list-item .goods-type-box image.data-v-32f19c04{width:94rpx;height:94rpx}.goods-list-box .goods-list-item .goods-type-box .t-word.data-v-32f19c04{font-size:36rpx;color:#222;font-weight:600}.goods-list-box .goods-list-item .goods-list.data-v-32f19c04{width:100%}.goods-list-box .goods-list-item .goods-list .goods-item.data-v-32f19c04{width:335rpx;background:#fff;margin-right:10rpx;margin-bottom:30rpx;border-radius:10rpx;overflow:hidden;box-shadow:0 6px 12px rgba(0,0,0,.06)}.goods-list-box .goods-list-item .goods-list .goods-item image.data-v-32f19c04{width:100%;height:278rpx}.goods-list-box .goods-list-item .goods-list .goods-item.data-v-32f19c04:nth-child(2n){margin-right:0}.goods-list-box .goods-list-item .goods-list .goods-desc-box.data-v-32f19c04{width:100%;padding:16rpx;font-size:24rpx}.goods-list-box .goods-list-item .goods-list .goods-desc-box .goods-name.data-v-32f19c04{line-height:34rpx}.goods-list-box .goods-list-item .goods-list .goods-desc-box .price.data-v-32f19c04{font-size:28rpx;color:#e5270f;line-height:40rpx;margin-bottom:26rpx}
.productSort.data-v-14b0e055{height:100%;padding-bottom:200rpx;background:#fff!important;position:relative}.page-top-box.data-v-14b0e055{width:100%;position:fixed;top:0;left:0;z-index:99;background:#fff;padding:0 30rpx 20rpx;box-shadow:0 -6px 20px rgba(0,0,0,.11)}.page-top-box .top-box .top-box-l.data-v-14b0e055{font-size:32rpx;color:#000;font-weight:500}.page-top-box .top-box .top-box-l image.data-v-14b0e055{width:26rpx;height:30rpx;display:block;margin-right:10rpx}.page-top-box .top-box .cart-btn-box.data-v-14b0e055{width:50rpx;height:50rpx}.page-top-box .top-box .cart-btn-box image.data-v-14b0e055{width:100%;height:100%}.page-top-box .index.data-v-14b0e055{height:96rpx}.page-top-box .index .header.data-v-14b0e055{height:68rpx;position:static;padding:0;margin-top:34rpx}.page-top-box .index .header .search.data-v-14b0e055{background-color:#eee;border-radius:8rpx}.category-tab-box.data-v-14b0e055{width:100%;height:108rpx;line-height:108rpx;padding-left:30rpx;margin-bottom:30rpx}.category-tab-box .scroll-view_H.data-v-14b0e055{white-space:nowrap;width:100%}.category-tab-box .scroll-view_H .category-item.data-v-14b0e055{display:inline-block;font-size:28rpx;line-height:40rpx;color:#999;margin-right:40rpx}.category-tab-box .scroll-view_H .category-item.category-item-active.data-v-14b0e055{color:#ff6d31;font-size:32rpx;font-weight:500;position:relative}.category-tab-box .scroll-view_H .category-item.category-item-active.data-v-14b0e055::after{content:"";width:70rpx;height:8rpx;border-radius:6rpx;display:block;position:absolute;bottom:-24rpx;left:0;background:#ff7942}.warter-box.data-v-14b0e055{width:100%;padding:0 0 190rpx 24rpx}.warter-box .u-waterfall.data-v-14b0e055{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.warter-box .u-waterfall .u-column .warter.data-v-14b0e055{width:336rpx!important;border-radius:10rpx;background-color:#fff;position:relative;overflow:hidden;box-shadow:0 6rpx 12rpx rgba(0,0,0,.06);margin-bottom:20rpx}.warter-box .u-waterfall .u-column .warter image.data-v-14b0e055{width:100%;display:block}.warter-box .u-waterfall .u-column .warter .goodsinfo-box.data-v-14b0e055{width:100%;padding:12rpx 16rpx}.warter-box .u-waterfall .u-column .warter .goodsinfo-box .title.data-v-14b0e055{font-size:28rpx;font-weight:500;color:#1d1d1d;width:100%;height:80rpx}.warter-box .u-waterfall .u-column .warter .goodsinfo-box .price.data-v-14b0e055{font-size:28rpx;font-weight:700;line-height:40rpx;color:#ff7942}.warter-box .u-waterfall .u-column .warter .goodsinfo-box .old-price.data-v-14b0e055{font-size:20rpx;line-height:28rpx;color:#bfbfbf;text-decoration:line-through}.banner-img-box.data-v-14b0e055{width:100%;padding:220rpx 40rpx 32rpx}.banner-img-box .img-box-l.data-v-14b0e055{width:324rpx;height:400rpx}.banner-img-box .img-box-l image.data-v-14b0e055{width:100%;height:100%}.banner-img-box .img-box-r.data-v-14b0e055{width:324rpx;height:400rpx;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-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.banner-img-box .img-box-r image.data-v-14b0e055{width:324rpx;height:190rpx}.goods-list-box.data-v-14b0e055{width:100%;padding:0 30rpx}.goods-list-box .goods-list-item.data-v-14b0e055{width:100%}.goods-list-box .goods-list-item .goods-type-box image.data-v-14b0e055{width:94rpx;height:94rpx}.goods-list-box .goods-list-item .goods-type-box .t-word.data-v-14b0e055{font-size:36rpx;color:#222;font-weight:600}.goods-list-box .goods-list-item .goods-list.data-v-14b0e055{width:100%}.goods-list-box .goods-list-item .goods-list .goods-item.data-v-14b0e055{width:335rpx;background:#fff;margin-right:10rpx;margin-bottom:30rpx;border-radius:10rpx;overflow:hidden;box-shadow:0 6px 12px rgba(0,0,0,.06)}.goods-list-box .goods-list-item .goods-list .goods-item image.data-v-14b0e055{width:100%;height:278rpx}.goods-list-box .goods-list-item .goods-list .goods-item.data-v-14b0e055:nth-child(2n){margin-right:0}.goods-list-box .goods-list-item .goods-list .goods-desc-box.data-v-14b0e055{width:100%;padding:16rpx;font-size:24rpx}.goods-list-box .goods-list-item .goods-list .goods-desc-box .goods-name.data-v-14b0e055{line-height:34rpx}.goods-list-box .goods-list-item .goods-list .goods-desc-box .price.data-v-14b0e055{font-size:28rpx;color:#e5270f;line-height:40rpx;margin-bottom:26rpx}

2
unpackage/dist/build/mp-weixin/pages/life/tempList/index.js vendored

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/life/tempList/index"],{"0961":function(t,n,e){"use strict";e.r(n);var u=e("9caf"),i=e.n(u);for(var a in u)"default"!==a&&function(t){e.d(n,t,(function(){return u[t]}))}(a);n["default"]=i.a},1109:function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return u}));var i=function(){var t=this,n=t.$createElement;t._self._c},a=[]},"39bd":function(t,n,e){"use strict";var u=e("6817"),i=e.n(u);i.a},6817:function(t,n,e){},"69d8":function(t,n,e){"use strict";e.r(n);var u=e("1109"),i=e("0961");for(var a in i)"default"!==a&&function(t){e.d(n,t,(function(){return i[t]}))}(a);e("39bd");var c,f=e("f0c5"),o=Object(f["a"])(i["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],c);n["default"]=o.exports},"9caf":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=e("aa63"),i={data:function(){return{tempList:[]}},mounted:function(){this.getTempList()},methods:{getTempList:function(){var t=this;(0,u.getTempList)().then((function(n){t.tempList=n.data.content}))},toTemp:function(){t.navigateTo({url:"/pages/life/temp/index"})}}};n.default=i}).call(this,e("543d")["default"])},c205:function(t,n,e){"use strict";(function(t){e("ef82");u(e("66fd"));var n=u(e("69d8"));function u(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])}},[["c205","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/life/tempList/index"],{"0961":function(t,e,n){"use strict";n.r(e);var u=n("9caf"),a=n.n(u);for(var o in u)"default"!==o&&function(t){n.d(e,t,(function(){return u[t]}))}(o);e["default"]=a.a},3883:function(t,e,n){"use strict";var u;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return u}));var a=function(){var t=this,e=t.$createElement;t._self._c},o=[]},"39bd":function(t,e,n){"use strict";var u=n("6817"),a=n.n(u);a.a},6817:function(t,e,n){},"69d8":function(t,e,n){"use strict";n.r(e);var u=n("3883"),a=n("0961");for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("39bd");var i,c=n("f0c5"),r=Object(c["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],i);e["default"]=r.exports},"9caf":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=n("aa63"),a={data:function(){return{tempList:[]}},onShow:function(){this.getTempList()},mounted:function(){},methods:{choseTemp:function(e){console.log(e,"item");var n=getCurrentPages();console.log(n,"pages");var u=n[n.length-2];"pages/life/addGoods/index"==u.route&&(u.$vm.temp=e.name,u.$vm.tempId=e.id,t.navigateBack({delta:1}))},del:function(t){},getTempList:function(){var t=this;(0,u.getTempList)().then((function(e){t.tempList=e.data.content}))},toTemp:function(){t.navigateTo({url:"/pages/life/temp/index"})}}};e.default=a}).call(this,n("543d")["default"])},c205:function(t,e,n){"use strict";(function(t){n("ef82");u(n("66fd"));var e=u(n("69d8"));function u(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])}},[["c205","common/runtime","common/vendor"]]]);

2
unpackage/dist/build/mp-weixin/pages/life/tempList/index.wxml vendored

@ -1 +1 @@
<view class="templist-box"><view class="list"><block wx:for="{{tempList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item acea-row row-between-wrapper"><view class="temp-name">{{''+(index+1)+"、"+item.name+''}}</view><view class="handle-btn">删除</view></view></block></view><view data-event-opts="{{[['tap',[['toTemp',['$event']]]]]}}" class="btn-box" bindtap="__e">新增运费模板</view></view>
<view class="templist-box"><view class="list"><block wx:for="{{tempList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['choseTemp',['$0'],[[['tempList','',index]]]]]]]}}" class="item acea-row row-between-wrapper" bindtap="__e"><view class="temp-name">{{''+(index+1)+"、"+item.name+''}}</view><view data-event-opts="{{[['tap',[['del',['$0'],[[['tempList','',index]]]]]]]}}" class="handle-btn" catchtap="__e"><image src="../../../static/images/del-goods.png"></image></view></view></block></view><view data-event-opts="{{[['tap',[['toTemp',['$event']]]]]}}" class="btn-box" catchtap="__e">新增运费模板</view></view>

2
unpackage/dist/build/mp-weixin/pages/life/tempList/index.wxss vendored

@ -1 +1 @@
.templist-box{width:100%;min-height:100vh;background:#f5f6f7;padding:30rpx 20rpx 110rpx;position:relative}.templist-box .list{width:100%;padding-bottom:60rpx}.templist-box .list .item{width:100%;background:#fff;padding:24rpx;color:#000;font-size:28rpx;margin-bottom:12rpx}.templist-box .list .item .temp-name{width:80%;height:50rpx;line-height:50rpx}.templist-box .list .item .handle-box{width:100%;height:46rpx;border-top:2rpx solid #f8f7f7}.templist-box .list .item .handle-box .handle-btn{margin-left:12rpx}.templist-box .btn-box{width:690rpx;height:76rpx;line-height:76rpx;text-align:center;font-size:34rpx;font-weight:500;border-radius:40rpx;background:-webkit-linear-gradient(316deg,#ffa782,#ff6d31);background:linear-gradient(134deg,#ffa782,#ff6d31);color:#fff;position:fixed;bottom:30rpx;left:30rpx}
.templist-box{width:100%;min-height:100vh;background:#f5f6f7;padding:30rpx 20rpx 110rpx;position:relative}.templist-box .list{width:100%;padding-bottom:60rpx}.templist-box .list .item{width:100%;background:#fff;padding:24rpx;color:#000;font-size:28rpx;margin-bottom:12rpx}.templist-box .list .item .temp-name{width:80%;height:50rpx;line-height:50rpx}.templist-box .list .item .handle-box{width:100%;height:46rpx;border-top:2rpx solid #f8f7f7}.templist-box .list .item .handle-btn{margin-left:12rpx}.templist-box .list .item .handle-btn image{width:29rpx;height:29rpx}.templist-box .btn-box{width:690rpx;height:76rpx;line-height:76rpx;text-align:center;font-size:34rpx;font-weight:500;border-radius:40rpx;background:-webkit-linear-gradient(316deg,#ffa782,#ff6d31);background:linear-gradient(134deg,#ffa782,#ff6d31);color:#fff;position:fixed;bottom:30rpx;left:30rpx}

2
unpackage/dist/build/mp-weixin/pages/order/MyOrder/index.js vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/order/MyOrder/index.wxml vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/order/MyOrder/index.wxss vendored

@ -1 +1 @@
.header.data-v-f4dd7844{width:100%;background:#f99c10}.my-order.data-v-f4dd7844{width:100%;min-height:100%;background:#efefef}.my-order .nav.data-v-f4dd7844{width:100%;height:auto;margin:0}.my-order .nav .item.data-v-f4dd7844{padding:12rpx 0;color:#707070;font-size:28rpx}.my-order .nav .on.data-v-f4dd7844{border-color:#f99c10!important;border-width:8rpx;color:#1d1d1d}.my-order .list.data-v-f4dd7844{width:670rpx;margin:20rpx auto 0}.my-order .list .item.data-v-f4dd7844{border-radius:10rpx}.my-order .list .item .title.data-v-f4dd7844{font-size:24rpx;color:#222}.my-order .list .item .title .state.data-v-f4dd7844{font-size:32rpx;color:#ff6d31}.my-order .list .item .item-info .pictrue.data-v-f4dd7844{width:170rpx;height:170rpx;margin-right:30rpx}.my-order .list .item .item-info .pictrue image.data-v-f4dd7844{width:170rpx;height:170rpx}.my-order .list .item .item-info .text .money.data-v-f4dd7844{text-align:left}.my-order .list .item .item-info .text .money .cart-num.data-v-f4dd7844{font-size:24rpx;color:#999;margin-bottom:40rpx}.my-order .list .item .item-info .text .money .money-txt.data-v-f4dd7844{color:#ff6d31;font-size:42rpx;font-weight:500}.my-order .list .item .item-info .name.data-v-f4dd7844{width:100%;font-size:28rpx;color:#222}.my-order .list .item .totalPrice.data-v-f4dd7844{font-size:26rpx;color:#282828;text-align:right;margin:0;padding:30rpx 30rpx 0rpx 0;border:none;border-top:1rpx solid #eee}.my-order .list .item .totalPrice .money.data-v-f4dd7844{color:#ff6d31;font-weight:500}.my-order .list .item .bottom.data-v-f4dd7844{height:100rpx}.noCart.data-v-f4dd7844{margin-top:17rpx;padding-top:10rpx}.noCart .pictrue.data-v-f4dd7844{width:400rpx;height:300rpx;overflow:hidden;margin:70rpx auto 50rpx auto}.noCart .pictrue image.data-v-f4dd7844{width:400rpx;height:300rpx}
.header.data-v-5d162623{width:100%;background:#f99c10}.my-order.data-v-5d162623{width:100%;min-height:100%;background:#efefef}.my-order .nav.data-v-5d162623{width:100%;height:auto;margin:0}.my-order .nav .item.data-v-5d162623{padding:12rpx 0;color:#707070;font-size:28rpx}.my-order .nav .on.data-v-5d162623{border-color:#f99c10!important;border-width:8rpx;color:#1d1d1d}.my-order .list.data-v-5d162623{width:670rpx;margin:20rpx auto 0}.my-order .list .item.data-v-5d162623{border-radius:10rpx}.my-order .list .item .title.data-v-5d162623{font-size:24rpx;color:#222}.my-order .list .item .title .state.data-v-5d162623{font-size:32rpx;color:#ff6d31}.my-order .list .item .item-info .pictrue.data-v-5d162623{width:170rpx;height:170rpx;margin-right:30rpx}.my-order .list .item .item-info .pictrue image.data-v-5d162623{width:170rpx;height:170rpx}.my-order .list .item .item-info .text .money.data-v-5d162623{text-align:left}.my-order .list .item .item-info .text .money .cart-num.data-v-5d162623{font-size:24rpx;color:#999;margin-bottom:40rpx}.my-order .list .item .item-info .text .money .money-txt.data-v-5d162623{color:#ff6d31;font-size:42rpx;font-weight:500}.my-order .list .item .item-info .name.data-v-5d162623{width:100%;font-size:28rpx;color:#222}.my-order .list .item .totalPrice.data-v-5d162623{font-size:26rpx;color:#282828;text-align:right;margin:0;padding:30rpx 30rpx 0rpx 0;border:none;border-top:1rpx solid #eee}.my-order .list .item .totalPrice .money.data-v-5d162623{color:#ff6d31;font-weight:500}.my-order .list .item .bottom.data-v-5d162623{height:100rpx}.noCart.data-v-5d162623{margin-top:17rpx;padding-top:10rpx}.noCart .pictrue.data-v-5d162623{width:422rpx;height:508rpx;overflow:hidden;margin:70rpx auto 50rpx auto}.noCart .pictrue image.data-v-5d162623{width:100%;height:100%}

2
unpackage/dist/build/mp-weixin/pages/order/ReturnList/index.js vendored

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/order/ReturnList/index"],{"144f":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("2d3a"),i=function(){e.e("components/Loading").then(function(){return resolve(e("624a"))}.bind(null,e)).catch(e.oe)},r={name:"ReturnList",components:{Loading:i},data:function(){return{orderList:[],page:1,limit:20,loading:!1,loaded:!1}},methods:{goGoodsCon:function(t){this.$yrouter.push({path:"/pages/shop/GoodsCon/index",query:{id:t.productInfo.id}})},goOrderDetails:function(t){this.$yrouter.push({path:"/pages/order/OrderDetails/index",query:{id:t.orderId}})},getOrderList:function(){var t=this,n=this.page,e=this.limit;this.loading||this.loaded||(this.loading=!0,(0,o.getOrderList)({page:n,limit:e,type:-3}).then((function(n){t.orderList=t.orderList.concat(n.data),t.loading=!1,t.loaded=n.data.length<e,t.page++})))}},mounted:function(){this.getOrderList()},onReachBottom:function(){!this.loading&&this.getOrderList()}};n.default=r},"6b55":function(t,n,e){"use strict";var o=e("fdd0"),i=e.n(o);i.a},bf7f:function(t,n,e){"use strict";e.r(n);var o=e("144f"),i=e.n(o);for(var r in o)"default"!==r&&function(t){e.d(n,t,(function(){return o[t]}))}(r);n["default"]=i.a},cf7e:function(t,n,e){"use strict";e.r(n);var o=e("faa6"),i=e("bf7f");for(var r in i)"default"!==r&&function(t){e.d(n,t,(function(){return i[t]}))}(r);e("6b55");var a,u=e("f0c5"),d=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);n["default"]=d.exports},eb7c:function(t,n,e){"use strict";(function(t){e("ef82");o(e("66fd"));var n=o(e("cf7e"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},faa6:function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return o}));var i=function(){var t=this,n=t.$createElement;t._self._c},r=[]},fdd0:function(t,n,e){}},[["eb7c","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/order/ReturnList/index"],{"144f":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("2d3a"),i=function(){n.e("components/Loading").then(function(){return resolve(n("624a"))}.bind(null,n)).catch(n.oe)},r={name:"ReturnList",components:{Loading:i},data:function(){return{orderList:[],page:1,limit:20,loading:!1,loaded:!1}},methods:{goGoodsCon:function(t){this.$yrouter.push({path:"/pages/shop/GoodsCon/index",query:{id:t.productInfo.id}})},goOrderDetails:function(t){this.$yrouter.push({path:"/pages/order/OrderDetails/index",query:{id:t.orderId}})},getOrderList:function(){var t=this,e=this.page,n=this.limit;this.loading||this.loaded||(this.loading=!0,(0,o.getOrderList)({page:e,limit:n,type:-3,orderType:"BUY"}).then((function(e){t.orderList=t.orderList.concat(e.data),t.loading=!1,t.loaded=e.data.length<n,t.page++})))}},mounted:function(){this.getOrderList()},onReachBottom:function(){!this.loading&&this.getOrderList()}};e.default=r},"6b55":function(t,e,n){"use strict";var o=n("fdd0"),i=n.n(o);i.a},bf7f:function(t,e,n){"use strict";n.r(e);var o=n("144f"),i=n.n(o);for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=i.a},cf7e:function(t,e,n){"use strict";n.r(e);var o=n("d59b"),i=n("bf7f");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("6b55");var d,a=n("f0c5"),u=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],d);e["default"]=u.exports},d59b:function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o}));var i=function(){var t=this,e=t.$createElement;t._self._c},r=[]},eb7c:function(t,e,n){"use strict";(function(t){n("ef82");o(n("66fd"));var e=o(n("cf7e"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},fdd0:function(t,e,n){}},[["eb7c","common/runtime","common/vendor"]]]);

2
unpackage/dist/build/mp-weixin/pages/order/ReturnList/index.wxss vendored

@ -1 +1 @@
.pictrue{text-align:center;padding-top:78rpx}
.return-list{width:100%;min-height:100vh;background:#eee;padding:24rpx}.goodWrapper{width:100%;border-radius:8rpx}.goodWrapper .item .text{width:490rpx}

2
unpackage/dist/build/mp-weixin/pages/shop/GoodsCon/index.js vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/shop/GoodsCon/index.wxml vendored

File diff suppressed because one or more lines are too long

4
unpackage/dist/build/mp-weixin/pages/shop/GoodsCon/index.wxss vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/shop/ShoppingCart/index.js vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/shop/ShoppingCart/index.wxml vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/shop/ShoppingCart/index.wxss vendored

@ -1 +1 @@
.container{-webkit-box-flex:1;-webkit-flex:1;flex:1;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-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;position:relative;height:100vh}.force-login-wrap{width:100%;height:100%;overflow:hidden;z-index:11111;top:0}.force-login-wrap .logo-bg{width:640rpx;height:300rpx}.force-login-wrap .force-login__content{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.force-login-wrap .force-login__content .user-avatar{width:160rpx;height:160rpx;border-radius:50%;overflow:hidden;margin-bottom:40rpx}.force-login-wrap .force-login__content .user-name{font-size:35rpx;font-family:PingFang SC;font-weight:700;color:#000;margin-bottom:30rpx}.force-login-wrap .force-login__content .login-notice{font-size:28rpx;font-family:PingFang SC;font-weight:400;color:#000;line-height:44rpx;width:500rpx;text-align:center;margin-bottom:80rpx}.force-login-wrap .force-login__content .author-btn{width:630rpx;height:80rpx;background:-webkit-linear-gradient(left,#f35447,#ff8e3c);background:linear-gradient(90deg,#f35447 0,#ff8e3c);background:-moz-linear-gradient(to right,#f35447 0,#ff8e3c 100%);border-radius:40rpx;font-size:30rpx;font-family:PingFang SC;font-weight:500;color:#fff}.force-login-wrap .force-login__content .close-btn{width:630rpx;height:80rpx;margin-top:30rpx;border-radius:40rpx;border:2rpx solid #eb3729;background:none;font-size:30rpx;font-family:PingFang SC;font-weight:500;color:#eb3729}.footer-h5{bottom:50px}.shoppingCart{position:relative;padding-top:120rpx}.shoppingCart .nav{top:0}.shoppingCart .list{margin-top:0}.shoppingCart .footer{height:200rpx}.shoppingCart .noCart{margin-top:0}.shoppingCart .noCart .toBuy-btn{width:194rpx;height:68rpx;background:-webkit-linear-gradient(top,#ea533e,#e5270f);background:linear-gradient(180deg,#ea533e,#e5270f);box-shadow:0 4rpx 6rpx 2rpx rgba(255,213,208,.59);border-radius:34rpx;font-size:32rpx;color:#fff;text-align:center;line-height:68rpx;margin:30rpx auto}
.container{-webkit-box-flex:1;-webkit-flex:1;flex:1;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-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;position:relative;height:100vh}.force-login-wrap{width:100%;height:100%;overflow:hidden;z-index:11111;top:0}.force-login-wrap .logo-bg{width:640rpx;height:300rpx}.force-login-wrap .force-login__content{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.force-login-wrap .force-login__content .user-avatar{width:160rpx;height:160rpx;border-radius:50%;overflow:hidden;margin-bottom:40rpx}.force-login-wrap .force-login__content .user-name{font-size:35rpx;font-family:PingFang SC;font-weight:700;color:#000;margin-bottom:30rpx}.force-login-wrap .force-login__content .login-notice{font-size:28rpx;font-family:PingFang SC;font-weight:400;color:#000;line-height:44rpx;width:500rpx;text-align:center;margin-bottom:80rpx}.force-login-wrap .force-login__content .author-btn{width:630rpx;height:80rpx;background:-webkit-linear-gradient(left,#f35447,#ff8e3c);background:linear-gradient(90deg,#f35447 0,#ff8e3c);background:-moz-linear-gradient(to right,#f35447 0,#ff8e3c 100%);border-radius:40rpx;font-size:30rpx;font-family:PingFang SC;font-weight:500;color:#fff}.force-login-wrap .force-login__content .close-btn{width:630rpx;height:80rpx;margin-top:30rpx;border-radius:40rpx;border:2rpx solid #eb3729;background:none;font-size:30rpx;font-family:PingFang SC;font-weight:500;color:#eb3729}.footer-h5{bottom:50px}.shoppingCart{position:relative;padding-top:120rpx;background:#eee}.shoppingCart .nav{top:0}.shoppingCart .list{padding:0 40rpx;margin-top:0}.shoppingCart .list .item{border-radius:12rpx}.shoppingCart .nav .administrate{color:#fff;background:#f99c10;width:110rpx;height:46rpx;border-radius:25rpx;border:none}.shoppingCart .list .item .picTxt{width:553rpx}.shoppingCart .list .item .picTxt .text{width:390rpx}.shoppingCart .list .item .picTxt .carnum view{border:2rpx solid #f99c10;width:66rpx;text-align:center;height:100%;line-height:44rpx;font-size:28rpx;color:#f99c10}.shoppingCart .list .item .picTxt .carnum .plus{border-radius:0 12rpx 12rpx 0}.shoppingCart .list .item .picTxt .carnum .reduce{border-radius:12rpx 0rpx 0rpx 12rpx}.shoppingCart .list .item .picTxt .carnum .num{color:#f99c10}.shoppingCart .footer{height:120rpx}.shoppingCart .noCart{margin-top:0;background:#eee}.shoppingCart .noCart .pictrue{width:422rpx;height:508rpx}.shoppingCart .noCart .pictrue image{width:100%;height:100%}.shoppingCart .noCart .toBuy-btn{width:194rpx;height:68rpx;background:-webkit-linear-gradient(top,#ea533e,#e5270f);background:linear-gradient(180deg,#ea533e,#e5270f);box-shadow:0 4rpx 6rpx 2rpx rgba(255,213,208,.59);border-radius:34rpx;font-size:32rpx;color:#fff;text-align:center;line-height:68rpx;margin:30rpx auto}.shoppingCart .noCart .toBuy-btn{background:#f99c10}

2
unpackage/dist/build/mp-weixin/pages/user/index.js vendored

@ -1 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/index"],{"069f":function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=getApp(),u=function(){a.e("tabbarComponent/tabbar").then(function(){return resolve(a("594c"))}.bind(null,a)).catch(a.oe)},o={data:function(){return{tabbar:{},userInfo:{},CustomBar:n.globalData.CustomBar,menuHeight:n.globalData.menuHeight,navHeight:n.globalData.navHeight,menuTop:n.globalData.menuTop,demandCounts:0,supplyCounts:0,authStatus:0,authType:0,completeState:"",currentTabIndex:4}},components:{tabbar:u},props:{},onLoad:function(t){},onShow:function(){this.getInfo()},methods:{tabBarClick:function(t){this.currentTabIndex=t},getInfo:function(){var e=this;n.http("get","userinfo").then((function(a){a.data.success&&(e.setData({userInfo:a.data.data}),e.getOrderCount(),e.isAuthentication(),t.stopPullDownRefresh())}))},isAuthentication:function(){var t=this;n.http("get","user/isAuthentication").then((function(e){e.data.success&&t.setData({authStatus:e.data.data.authenticationState,authType:e.data.data.authorizationType,completeState:e.data.data.completeState})}))},toRelease:function(e){t.navigateTo({url:"/pages/release/index"})},toAuthInfo:function(){var e=this.authType;1==e?t.navigateTo({url:"/pages/release/perfectCompanyInfo/index?isEdit=1"}):t.navigateTo({url:"/pages/release/perfectPersonInfo/index?isEdit=1"})},toAuth:function(){t.navigateTo({url:"/pages/release/index"})},getOrderCount:function(){var t=this;n.http("GET","Communicate/getOrderCounts").then((function(e){e.data.success&&t.setData({demandCounts:e.data.data.demandCounts,supplyCounts:e.data.data.supplyCounts})}))},toMine:function(){this.userInfo.isVip?t.navigateTo({url:"/pages/user/mine/index"}):t.navigateTo({url:"/pages/user/agreement/index"})},toResourcesOrder:function(){t.navigateTo({url:"/pages/user/resourcesOrder/index"})},toNeedsOrder:function(){t.navigateTo({url:"/pages/user/needsOrder/index"})},toNeedsManage:function(e){var a=e.currentTarget.dataset.type;t.navigateTo({url:"/pages/user/needsManage/index?type="+a})},toResourcesManage:function(e){var a=e.currentTarget.dataset.type;t.navigateTo({url:"/pages/user/resourcesManage/index?type="+a})},goMyOrder:function(t){this.$yrouter.push({path:"/pages/order/MyOrder/index",query:{type:t}})}}};e.default=o}).call(this,a("543d")["default"])},"2df9":function(t,e,a){"use strict";a.r(e);var n=a("069f"),u=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);e["default"]=u.a},"4a8c":function(t,e,a){"use strict";a.r(e);var n=a("7bfd"),u=a("2df9");for(var o in u)"default"!==o&&function(t){a.d(e,t,(function(){return u[t]}))}(o);a("7504");var r,s=a("f0c5"),i=Object(s["a"])(u["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],r);e["default"]=i.exports},7504:function(t,e,a){"use strict";var n=a("a4f7"),u=a.n(n);u.a},"7bfd":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return u})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return n}));var u=function(){var t=this,e=t.$createElement;t._self._c},o=[]},"955b":function(t,e,a){"use strict";(function(t){a("ef82");n(a("66fd"));var e=n(a("4a8c"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,a("543d")["createPage"])},a4f7:function(t,e,a){}},[["955b","common/runtime","common/vendor"]]]);
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/index"],{"069f":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=getApp(),o=function(){n.e("tabbarComponent/tabbar").then(function(){return resolve(n("594c"))}.bind(null,n)).catch(n.oe)},u={data:function(){return{tabbar:{},userInfo:{},CustomBar:a.globalData.CustomBar,menuHeight:a.globalData.menuHeight,navHeight:a.globalData.navHeight,menuTop:a.globalData.menuTop,demandCounts:0,supplyCounts:0,authStatus:0,authType:0,completeState:"",currentTabIndex:4}},components:{tabbar:o},props:{},onLoad:function(t){this.getInfo()},onShow:function(){},onPullDownRefresh:function(){this.getInfo()},methods:{tabBarClick:function(t){this.currentTabIndex=t},getInfo:function(){var e=this;a.http("get","userinfo").then((function(n){n.data.success&&(e.setData({userInfo:n.data.data}),t.setStorageSync("userInfo",n.data.data),e.getOrderCount(),e.isAuthentication(),t.stopPullDownRefresh())}))},isAuthentication:function(){var t=this;a.http("get","user/isAuthentication").then((function(e){e.data.success&&t.setData({authStatus:e.data.data.authenticationState,authType:e.data.data.authorizationType,completeState:e.data.data.completeState})}))},toRelease:function(e){t.navigateTo({url:"/pages/release/index"})},toAuthInfo:function(){var e=this.authType;1==e?t.navigateTo({url:"/pages/release/perfectCompanyInfo/index?isEdit=1"}):t.navigateTo({url:"/pages/release/perfectPersonInfo/index?isEdit=1"})},toAuth:function(){t.navigateTo({url:"/pages/release/index"})},getOrderCount:function(){var t=this;a.http("GET","Communicate/getOrderCounts").then((function(e){e.data.success&&t.setData({demandCounts:e.data.data.demandCounts,supplyCounts:e.data.data.supplyCounts})}))},toMine:function(){this.userInfo.isVip?t.navigateTo({url:"/pages/user/mine/index"}):t.navigateTo({url:"/pages/user/agreement/index"})},toResourcesOrder:function(){t.navigateTo({url:"/pages/user/resourcesOrder/index"})},toNeedsOrder:function(){t.navigateTo({url:"/pages/user/needsOrder/index"})},toNeedsManage:function(e){var n=e.currentTarget.dataset.type;t.navigateTo({url:"/pages/user/needsManage/index?type="+n})},toResourcesManage:function(e){var n=e.currentTarget.dataset.type;t.navigateTo({url:"/pages/user/resourcesManage/index?type="+n})},goMyOrder:function(t){this.$yrouter.push({path:"/pages/order/MyOrder/index",query:{type:t}})},toReleaseGoods:function(){null!==this.userInfo.store?this.$yrouter.push({path:"/pages/life/addGoods/index"}):t.showToast({title:"请先点最右边按钮去开店!",icon:"none",duration:200})},goReturnList:function(){null!==this.userInfo.store?this.$yrouter.push("/pages/order/ReturnList/index"):t.showToast({title:"请先点最右边按钮去开店!",icon:"none",duration:200})},toGoodsManage:function(){null!==this.userInfo.store?this.$yrouter.push("/pages/user/goodsManage/index"):t.showToast({title:"请先点最右边按钮去开店!",icon:"none",duration:200})},toOrderManage:function(){this.$yrouter.push("/pages/user/orderManage/index")},toOpenShop:function(){this.$yrouter.push("/pages/user/openStore/index")},toMyShop:function(){this.$yrouter.push("/pages/user/myShop/index")}}};e.default=u}).call(this,n("543d")["default"])},"2df9":function(t,e,n){"use strict";n.r(e);var a=n("069f"),o=n.n(a);for(var u in a)"default"!==u&&function(t){n.d(e,t,(function(){return a[t]}))}(u);e["default"]=o.a},4610:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement;t._self._c;t._isMounted||(t.e0=function(e){return t.$yrouter.push({path:"/pages/user/addServiceCode/index"})})},u=[]},"4a8c":function(t,e,n){"use strict";n.r(e);var a=n("4610"),o=n("2df9");for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);n("7504");var r,s=n("f0c5"),i=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);e["default"]=i.exports},7504:function(t,e,n){"use strict";var a=n("a4f7"),o=n.n(a);o.a},"955b":function(t,e,n){"use strict";(function(t){n("ef82");a(n("66fd"));var e=a(n("4a8c"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},a4f7:function(t,e,n){}},[["955b","common/runtime","common/vendor"]]]);

2
unpackage/dist/build/mp-weixin/pages/user/index.wxml vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/mp-weixin/pages/user/index.wxss vendored

@ -1,3 +1,3 @@
.home-page{min-height:100vh;padding-bottom:130rpx;background:#f3f3f3}.page-top-box{width:100%;height:575rpx;position:relative}.page-title{width:100%;color:#fff;text-align:center;position:relative}.top-bg{width:100%;height:598rpx;position:absolute}.top-box-content{position:relative;padding:0 40rpx;color:#fff}.top-set-box .setIcon{width:32rpx;height:29rpx}.top-set-box .message{width:38rpx;height:29rpx;margin-left:34rpx}.set-box-l{width:160rpx;height:44rpx;line-height:44rpx;text-align:center;background:#ffa583;border-radius:22rpx;font-size:24rpx}.userInfo-box{margin-top:34rpx}.userInfo-box .header-img{width:120rpx;height:120rpx;border-radius:50%;margin-right:12rpx}.userInfo-r{width:calc(100% - 134rpx)}.userInfo-r .name{width:auto;font-size:36rpx}.level{padding:2rpx 20rpx;font-size:24rpx;background:#fec313;text-align:center;border-radius:25px}.img-tags{margin-top:14rpx}.userInfo-r image{width:132rpx;height:48rpx}.userInfo-r .tyg-tag{width:188rpx;height:44rpx;margin-left:22rpx}.auth-tips{font-size:26rpx;color:#fff;margin-top:12rpx}.auth-tips image{width:28rpx;height:28rpx;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.my-reminds-box{margin-top:20rpx}.remind-item{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-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:28rpx}.count{font-size:36rpx}.to-tyg-box{text-align:center;margin-top:24rpx}.to-tyg-box image{width:670rpx;height:114rpx}.menu-list-box{width:100%;padding:40rpx}.needs-menu-list,
.resources-menu-list,
.searver-menu-list{width:100%;background:#fff;box-shadow:0 6px 12px rgba(0,0,0,.07);border-radius:12rpx;margin-bottom:32rpx;position:relative}.needs-menu-list .mask-box{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;margin:auto;border-radius:5px;background:hsla(0,0%,100%,.9);overflow:hidden}.needs-menu-list .mask-box text{width:100%;position:absolute;left:50%;top:50%;text-align:center;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#ff6d31;font-size:36rpx;font-weight:700}.needs-menu-list .mask-box::before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;-webkit-filter:blur(20px);filter:blur(20px);z-index:-1;margin:-30px}.menu-list{width:100%;padding:40rpx 22rpx 22rpx}.title-box{width:100%;padding:16rpx 20rpx;border-bottom:1px solid #f0f0f0;font-size:28rpx;color:#303030}.seemore{font-size:24rpx;color:#bfbfbf}.seemore image{width:12rpx;height:22rpx;margin-left:10rpx}.menu-item{width:25%;margin-bottom:32rpx;color:#4a4a4a;font-size:24rpx;line-height:34rpx}.myorder-menu-list .menu-item{width:20%}.menu-item image{width:48rpx;height:48rpx;margin-bottom:14rpx}.torelease-img{position:relative;width:100%;height:90rpx}.torelease-img image{width:630rpx;height:62rpx;position:absolute;left:20rpx}.to-btn{width:118rpx;height:34rpx;line-height:34rpx;text-align:center;font-size:20rpx;color:#ed7632;background:#fff;border-radius:20rpx;position:absolute;right:44rpx;top:14rpx}
.searver-menu-list{width:100%;background:#fff;box-shadow:0 6px 12px rgba(0,0,0,.07);border-radius:12rpx;margin-bottom:32rpx;position:relative}.needs-menu-list .mask-box{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%;margin:auto;border-radius:5px;background:hsla(0,0%,100%,.9);overflow:hidden}.needs-menu-list .mask-box text{width:100%;position:absolute;left:50%;top:50%;text-align:center;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#ff6d31;font-size:36rpx;font-weight:700}.needs-menu-list .mask-box::before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;-webkit-filter:blur(20px);filter:blur(20px);z-index:-1;margin:-30px}.menu-list{width:100%;padding:40rpx 22rpx 22rpx}.title-box{width:100%;padding:16rpx 20rpx;border-bottom:1px solid #f0f0f0;font-size:28rpx;color:#303030}.seemore{font-size:24rpx;color:#bfbfbf}.seemore image{width:12rpx;height:22rpx;margin-left:10rpx}.menu-item{width:25%;margin-bottom:32rpx;color:#4a4a4a;font-size:24rpx;line-height:34rpx}.add-service{width:100%;height:144rpx;margin-bottom:32rpx}.add-service image{width:100%;height:100%}.myorder-menu-list .menu-item{width:20%}.menu-item image{width:48rpx;height:48rpx;margin-bottom:14rpx}.torelease-img{position:relative;width:100%;height:90rpx}.torelease-img image{width:630rpx;height:62rpx;position:absolute;left:20rpx}.to-btn{width:118rpx;height:34rpx;line-height:34rpx;text-align:center;font-size:20rpx;color:#ed7632;background:#fff;border-radius:20rpx;position:absolute;right:44rpx;top:14rpx}

1
unpackage/dist/build/mp-weixin/pages/user/profession/index.json vendored

@ -1,4 +1,5 @@
{
"navigationBarTitleText": "选择行业",
"usingComponents": {
"uni-collapse": "/uni_modules/uni-collapse/components/uni-collapse/uni-collapse",
"uni-collapse-item": "/uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item"

4
unpackage/dist/build/mp-weixin/pagesB/pages/activity/GoodsGroup/children/activity-card.json vendored

@ -1,4 +1,4 @@
{
"component": true,
"usingComponents": {}
"usingComponents": {},
"component": true
}

2
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/components/CitySelect.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/components/CouponListWindow.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/components/OrderGoods.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/components/Payment.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/components/PriceChange.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/components/ProductWindow.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/components/PromotionGood.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/components/ShareInfo.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/components/ShopLiveCard.js.map vendored

File diff suppressed because one or more lines are too long

2
unpackage/dist/dev/.sourcemap/mp-weixin/components/StorePoster.js.map vendored

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save