diff --git a/src/component/filteredShopComponent/filteredShopComponent.js b/src/component/filteredShopComponent/filteredShopComponent.js
index 0926a7d..c503276 100644
--- a/src/component/filteredShopComponent/filteredShopComponent.js
+++ b/src/component/filteredShopComponent/filteredShopComponent.js
@@ -42,7 +42,7 @@ class recommondShop extends Component {
}
}
goToShop(e) {
-
+
const value = onClickValueService(e)
Taro.navigateTo({
url: '/pages/shop/shop?id=' + value.shop_id
@@ -117,7 +117,7 @@ class recommondShop extends Component {
}
})
.then(res => {
- this.setState({ consultTip: res.data.tips,isCanConsult:res.data.canConsult })
+ this.setState({ consultTip: res.data.tips, isCanConsult: res.data.canConsult })
console.log('咨询请求', res)
})
}
@@ -195,7 +195,7 @@ class recommondShop extends Component {
this.setState({ isOpenConsult: false })
this.buyConsult({})
}
-
+
}
handleInputCsultName(e) {
@@ -246,8 +246,8 @@ class recommondShop extends Component {
const goodsElementsArray = goods !== null ? slicedGoods.map((item, index) => {
return
}) : null
@@ -260,34 +260,39 @@ class recommondShop extends Component {
提示:{this.state.consultTip}
-
-
+
+
联系人:
+
+
+
-
+
联系电话:
+
+
-
+
@@ -297,16 +302,16 @@ class recommondShop extends Component {
{consultModalElement}
diff --git a/src/component/filteredShopComponent/filteredShopComponent.scss b/src/component/filteredShopComponent/filteredShopComponent.scss
index 049d1f2..bc4eb73 100644
--- a/src/component/filteredShopComponent/filteredShopComponent.scss
+++ b/src/component/filteredShopComponent/filteredShopComponent.scss
@@ -5,6 +5,7 @@ $linearBlue:linear-gradient(to right, #337ab7, #337ab7);
border-radius: 3px;
box-shadow: 0 5px 5px #ddd;
margin-bottom: 10px;
+
.confirm_button{
color:#FF7142!important
}
@@ -73,6 +74,7 @@ $linearBlue:linear-gradient(to right, #337ab7, #337ab7);
margin-bottom:2%;
padding:0;
}
+
.button-container{
flex:1;
//margin-top: 20px ;
@@ -170,4 +172,17 @@ $linearBlue:linear-gradient(to right, #337ab7, #337ab7);
.at-noticebar {
color:red;
+}
+.input-box{
+ display:flex;
+ align-items:center;
+ font-size:28px;
+ margin:2% 2%;
+ .title{
+ flex:1;
+ padding: 10px
+ }
+ .value{
+ flex:2
+ }
}
\ No newline at end of file
diff --git a/src/pages/allDemanding/allDemanding.js b/src/pages/allDemanding/allDemanding.js
index 3fca8e7..472881a 100644
--- a/src/pages/allDemanding/allDemanding.js
+++ b/src/pages/allDemanding/allDemanding.js
@@ -94,7 +94,7 @@ class AllDemanding extends Component {
}
} else if (res.data.err_code === 88888) {
loginExpired(res)
- }else {
+ } else {
Taro.showToast({
title: res.data.err_msg,
icon: 'none',
@@ -329,20 +329,26 @@ class AllDemanding extends Component {
{/* 开始和结束日期选择 */}
-
-
-
- 开始日期: {this.state.startDateSel}
+
+
+
+
+ 开始日期: {this.state.startDateSel}
+
-
-
-
-
-
- 结束日期: {this.state.endDateSel}
+
+
+
+
+
+
+
+ 结束日期: {this.state.endDateSel}
+
-
-
+
+
+
{/* 行业分类选择 */}
diff --git a/src/pages/allDemanding/allDemanding.scss b/src/pages/allDemanding/allDemanding.scss
index f7b561e..0538ca9 100644
--- a/src/pages/allDemanding/allDemanding.scss
+++ b/src/pages/allDemanding/allDemanding.scss
@@ -53,8 +53,8 @@ $themeColor: #FF7142;
display: flex;
flex-wrap: nowrap;
flex-direction: row;
- .picker-container{
- width: 56px
+ .picker-wrapper{
+ flex:1 ;
}
}
.button-box{
diff --git a/src/pages/grabOrderPage/grabOrderPage.js b/src/pages/grabOrderPage/grabOrderPage.js
index 8ab418c..03c2288 100644
--- a/src/pages/grabOrderPage/grabOrderPage.js
+++ b/src/pages/grabOrderPage/grabOrderPage.js
@@ -313,9 +313,7 @@ class GrabOrderPage extends Component {
const imageElementArray = this.state.images.map((item, index) => {
return
-
-
})
@@ -325,7 +323,7 @@ class GrabOrderPage extends Component {
{modalMessageGrabElement}
{deleteModalWindowElement}
{this.state.isShowRendering ? : null}
- {this.state.stateId === '3' && !this.state.isShowRendering ?
+ {this.state.stateId === '3' && !this.state.isShowRendering&&this.state.renderingImage.length ?
: null}
diff --git a/src/pages/grabOrderPage/renderingView/renderingView.js b/src/pages/grabOrderPage/renderingView/renderingView.js
index 8321488..c304ba0 100644
--- a/src/pages/grabOrderPage/renderingView/renderingView.js
+++ b/src/pages/grabOrderPage/renderingView/renderingView.js
@@ -20,7 +20,7 @@ class RenderingView extends Component {
super(props)
this.state = {
image: '',
- isOpened:false
+ isOpened: false
}
}
@@ -29,12 +29,12 @@ class RenderingView extends Component {
const item = onClickValueService(e)
this.setState({
image: URL.Base + item.file_path,
- isOpened:true
+ isOpened: true
})
}
- onCloseCurtain(){
+ onCloseCurtain() {
this.setState({
- isOpened:false
+ isOpened: false
})
}
componentDidMount() {
@@ -69,7 +69,7 @@ class RenderingView extends Component {
return (
- {curtainElement}
+ {curtainElement}
{renderingElementArray}
)
diff --git a/src/pages/home/home.js b/src/pages/home/home.js
index c0f049b..8faa131 100644
--- a/src/pages/home/home.js
+++ b/src/pages/home/home.js
@@ -216,6 +216,7 @@ class Home extends Component {
// 点击大类icon
onClickParentCate(e) {
const item = onClickValueService(e)
+
Taro.showLoading({
title: '加载中'
})
diff --git a/src/pages/home/home.scss b/src/pages/home/home.scss
index 9392169..8e45b25 100644
--- a/src/pages/home/home.scss
+++ b/src/pages/home/home.scss
@@ -32,7 +32,7 @@ $themeColor: #FF7142;
//margin-top: 30px;
.title{
- padding:20px 20px;
+ padding:10px 10px;
.title-block{
background-color: #3C98FF;
@@ -113,12 +113,11 @@ $themeColor: #FF7142;
}
.shop-box{
- padding:0 20px;
+ padding:0 10px;
.title{
text-align: center;
color: #999;
font-size: 25px;
-
}
}
.top{
diff --git a/src/pages/home/mainCateSlider/mainCateSlider.js b/src/pages/home/mainCateSlider/mainCateSlider.js
index 9da9a55..e8920d3 100644
--- a/src/pages/home/mainCateSlider/mainCateSlider.js
+++ b/src/pages/home/mainCateSlider/mainCateSlider.js
@@ -14,7 +14,7 @@ class MainCateSlider extends Component {
this.props.onScrollFromChild(e)
}
componentWillReceiveProps(nextProps) {
- console.log(this.props, nextProps)
+ // console.log(this.props, nextProps)
}
componentWillUnmount() { }
diff --git a/src/pages/login/login.js b/src/pages/login/login.js
index ee1a6e2..79436e7 100644
--- a/src/pages/login/login.js
+++ b/src/pages/login/login.js
@@ -14,7 +14,8 @@ class Login extends Component {
this.state = {
username: '',
password: '',
- backgroundImage: 'background-image:url(' + URL.Base + '/Public/images/bg3.jpg);'
+ backgroundImage: 'background-image:url(' + URL.Base + 'Public/images/bg3.jpg);',
+ logoIcon:'background-image:url(' + URL.Base + 'Public/images/com-logo.png);'
}
}
@@ -79,7 +80,7 @@ class Login extends Component {
-
+
全屋定制商城
diff --git a/src/pages/login/login.scss b/src/pages/login/login.scss
index 221b579..c1cba87 100644
--- a/src/pages/login/login.scss
+++ b/src/pages/login/login.scss
@@ -15,10 +15,17 @@
display: flex;
flex-wrap: nowrap;
flex-direction: row;
+ height: 100%;
align-items: center;
+
.image-inner-wrapper{
flex:2;
-
+ .icon{
+ margin-top: 10px;
+ width: 400px;
+ height: 150px;
+ background: #fff;
+ }
}
.title{
flex:1;
diff --git a/src/pages/myNeeds/myNeeds.js b/src/pages/myNeeds/myNeeds.js
index 6ac92c9..fbf6c1a 100644
--- a/src/pages/myNeeds/myNeeds.js
+++ b/src/pages/myNeeds/myNeeds.js
@@ -122,7 +122,7 @@ class MyNeeds extends Component {
}
} else if (JSON.parse(res.data).err_code === 88888) {
- const response={data:JSON.parse(res.data)}
+ const response = { data: JSON.parse(res.data) }
loginExpired(response)
}
@@ -388,22 +388,25 @@ class MyNeeds extends Component {
{/* 开始和结束日期 */}
-
-
-
- 开始日期:{this.state.startDateSel}
+
+
+
+
+ 开始日期:{this.state.startDateSel}
+
+
+
+
-
-
-
-
-
- 结束日期: {this.state.endDateSel}
+
+
+
+ 结束日期: {this.state.endDateSel}
+
-
-
-
+
+
{/* 行业分类开始 */}
diff --git a/src/pages/myNeeds/myNeeds.scss b/src/pages/myNeeds/myNeeds.scss
index 72bda28..717d410 100644
--- a/src/pages/myNeeds/myNeeds.scss
+++ b/src/pages/myNeeds/myNeeds.scss
@@ -76,7 +76,7 @@ $themeColor:#FF7142;
display: flex;
flex-wrap: nowrap;
flex-direction: row;
- .picker-container{
+ .picker-wrapper{
flex:1
}
diff --git a/src/pages/mySupplyDemand/mySupplyDemand.js b/src/pages/mySupplyDemand/mySupplyDemand.js
index 1027c80..9a1de20 100644
--- a/src/pages/mySupplyDemand/mySupplyDemand.js
+++ b/src/pages/mySupplyDemand/mySupplyDemand.js
@@ -228,7 +228,7 @@ class MySupplyDemand extends Component {
this.setState({ isConfirmWindow: false })
Taro.showLoading({
title: '加载中'
- })
+ })
this.onDelete({ sdID: this.state.demandSupplyId })
}
@@ -434,22 +434,25 @@ class MySupplyDemand extends Component {
{/* 开始和结束日期 */}
-
-
-
- *开始日期: {this.state.startDateSel}
-
+
+
+
+
+ *开始日期: {this.state.startDateSel}
+
-
-
-
-
-
- *结束日期: {this.state.endDateSel}
-
-
-
+
+
+
+
+
+
+ *结束日期: {this.state.endDateSel}
+
+
+
+
diff --git a/src/pages/mySupplyDemand/mySupplyDemand.scss b/src/pages/mySupplyDemand/mySupplyDemand.scss
index b78af4c..037356e 100644
--- a/src/pages/mySupplyDemand/mySupplyDemand.scss
+++ b/src/pages/mySupplyDemand/mySupplyDemand.scss
@@ -82,7 +82,7 @@ $themeColor:#FF7142;
display: flex;
flex-wrap: nowrap;
flex-direction: row;
- .picker-container{
+ .picker-wrapper{
flex:1
}
diff --git a/src/pages/shop/shop.js b/src/pages/shop/shop.js
index f9a45a6..5d52220 100644
--- a/src/pages/shop/shop.js
+++ b/src/pages/shop/shop.js
@@ -806,14 +806,14 @@ class Shop extends Component {
-
+
-
+
店铺全部分类
diff --git a/src/pages/shop/shop.scss b/src/pages/shop/shop.scss
index 4577439..56d9f39 100644
--- a/src/pages/shop/shop.scss
+++ b/src/pages/shop/shop.scss
@@ -46,7 +46,7 @@ $themeColor:#FF7142;
line-height: 55px;
text-align: center;
overflow:hidden;
-height:60rpx;
+ height:60rpx;
.text{
color:white;
@@ -57,10 +57,9 @@ height:60rpx;
flex:1;
margin-left: 30px;
position: relative;
- .interactive{
+ .interaction{
position: absolute;
- left: 0;
- top:0;
+ opacity: 0;
}
}
.homepage-link{
diff --git a/src/util/onClickValueService.js b/src/util/onClickValueService.js
index 781c78b..53da28f 100644
--- a/src/util/onClickValueService.js
+++ b/src/util/onClickValueService.js
@@ -4,8 +4,11 @@ export default function onClickValueService(e) {
let value
if (process.env.TARO_ENV === 'alipay') {
value = e.currentTarget.dataset.eOnTapAA
+
} else if (process.env.TARO_ENV === 'weapp') {
value = e.currentTarget.dataset.eTapAA
}
+ value=typeof(value)==='string'?encodeURIComponent(value):value
+ console.log('value',value)
return value
}
\ No newline at end of file