diff --git a/common/common.scss b/common/common.scss index f9dffed..35608c8 100644 --- a/common/common.scss +++ b/common/common.scss @@ -371,6 +371,12 @@ height:340rpx ; background-color: #999999; margin-bottom: 37.33rpx; + + .recommend_content_item_image_name{ + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } image{ width: 100%; height: 100%; diff --git a/components/pay.vue b/components/pay.vue new file mode 100644 index 0000000..5443ec3 --- /dev/null +++ b/components/pay.vue @@ -0,0 +1,105 @@ + + + + + \ No newline at end of file diff --git a/pages.json b/pages.json index 7a0d7c7..5351880 100644 --- a/pages.json +++ b/pages.json @@ -115,7 +115,8 @@ "path": "pages/order/paySuccess", "style": { "navigationBarTitleText": "Pay success", - "navigationBarBackgroundColor":"#FFFFFF" + "navigationBarBackgroundColor":"#FFFFFF", + "enablePullDownRefresh":true } }, { @@ -185,7 +186,8 @@ { "path": "pages/shippingCart/index", "style": { - "titleNView":false + "titleNView":false, + "enablePullDownRefresh":true } }, { diff --git a/pages/account/myOrders.vue b/pages/account/myOrders.vue index 02348d6..ebc6fff 100644 --- a/pages/account/myOrders.vue +++ b/pages/account/myOrders.vue @@ -21,7 +21,7 @@ - + @@ -54,7 +54,7 @@ - + @@ -69,60 +69,61 @@ - - - - - - - - To be shipped - - order#20245512141212 - - + + + + To be shipped + + order#{{item.order_sn}} + - - - - - - - 2 ltems - + + + + + + - total:US$12.5 + + {{item.order_goods.length}} ltems + + + total:US${{item.order_amount}} - - + + + + Shipped - order#20245512141212 + order#{{item.order_sn}} - + - + + + - Adidas Yeezy Boost 350 V2 DazzlingBlue Black GY7164 Men's + {{item1.goods_name}} - Multicolor;41 + {{item1.goods_attr |goodsAttr}} - ×2 + ×{{item1.goods_number}} - total:US$12.5 + total:US${{item.order_amount}} - + @@ -130,6 +131,12 @@ + + + + + + @@ -451,6 +458,7 @@ } }) }, + getList(){ let data={_action:'getuserorders',page_index:1,page_size:10,payingstatus:'',status:''} defaultRequest2(data).then(res=>{ @@ -466,6 +474,11 @@ }, onLoad() { this.getList() + }, + filters:{ + goodsAttr(e){ + return e.replace(/\s\n/g,';'); + } } } diff --git a/pages/category/productList.vue b/pages/category/productList.vue index 4377e06..56a7fc4 100644 --- a/pages/category/productList.vue +++ b/pages/category/productList.vue @@ -201,7 +201,11 @@ if(!this.isReachBottom)return this.query.page_index++ this.getList(1) + }, + onPullDownRefresh(){ + uni.stopPullDownRefresh() } + }