杨豪
3 years ago
387 changed files with 12488 additions and 9558 deletions
@ -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 |
||||||
|
@ -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> |
@ -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> |
@ -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> |
@ -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> |
@ -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> |
@ -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> |
@ -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> |
After Width: | Height: | Size: 573 B |
After Width: | Height: | Size: 473 B |
After Width: | Height: | Size: 775 B |
After Width: | Height: | Size: 1.3 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"component": true, |
"usingComponents": {}, |
||||||
"usingComponents": {} |
"component": true |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"component": true, |
"usingComponents": {}, |
||||||
"usingComponents": {} |
"component": true |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"usingComponents": {}, |
"component": true, |
||||||
"component": true |
"usingComponents": {} |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"usingComponents": {}, |
"component": true, |
||||||
"component": true |
"usingComponents": {} |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"usingComponents": {}, |
"component": true, |
||||||
"component": true |
"usingComponents": {} |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"component": true, |
"usingComponents": {}, |
||||||
"usingComponents": {} |
"component": true |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"component": true, |
"usingComponents": {}, |
||||||
"usingComponents": {} |
"component": true |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"usingComponents": {}, |
"component": true, |
||||||
"component": true |
"usingComponents": {} |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"usingComponents": {}, |
"component": true, |
||||||
"component": true |
"usingComponents": {} |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"component": true, |
"usingComponents": {}, |
||||||
"usingComponents": {} |
"component": true |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"usingComponents": {}, |
"component": true, |
||||||
"component": true |
"usingComponents": {} |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"usingComponents": {}, |
"component": true, |
||||||
"component": true |
"usingComponents": {} |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"component": true, |
"usingComponents": {}, |
||||||
"usingComponents": {} |
"component": true |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"component": true, |
"usingComponents": {}, |
||||||
"usingComponents": {} |
"component": true |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"navigationBarTitleText": "禅易教育研究院", |
"navigationBarTitleText": "禅易云生态", |
||||||
"usingComponents": {} |
"usingComponents": {} |
||||||
} |
} |
@ -1,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"navigationBarTitleText": "", |
"navigationBarTitleText": "活动", |
||||||
"usingComponents": {} |
"usingComponents": {} |
||||||
} |
} |
@ -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"]]]); |
File diff suppressed because one or more lines are too long
@ -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} |
@ -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"]]]); |
File diff suppressed because one or more lines are too long
@ -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} |
@ -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"]]]); |
@ -1,2 +1,2 @@ |
|||||||
<wxs src="../../utils/subutil.wxs" module="spl"></wxs> |
<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> |
File diff suppressed because one or more lines are too long
@ -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"]]]); |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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> |
@ -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> |
@ -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"]]]); |
@ -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> |
@ -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} |
@ -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"]]]); |
@ -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> |
@ -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} |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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%} |
@ -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"]]]); |
@ -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} |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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} |
@ -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"]]]); |
File diff suppressed because one or more lines are too long
@ -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, |
.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, |
.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,4 +1,4 @@ |
|||||||
{ |
{ |
||||||
"component": true, |
"usingComponents": {}, |
||||||
"usingComponents": {} |
"component": true |
||||||
} |
} |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue