Browse Source

上传

master
前端-胡立永 7 months ago
parent
commit
a0f0c15cf0
6 changed files with 25 additions and 46 deletions
  1. +1
    -1
      pages.json
  2. +2
    -2
      pages/index/index.vue
  3. +15
    -3
      pages_order/components/list/cardList.vue
  4. +2
    -29
      pages_order/components/product/submitUnitSelect.vue
  5. +5
    -11
      pages_order/product/productDetail.vue
  6. +0
    -0
      pages_order/service/tellList.vue

+ 1
- 1
pages.json View File

@ -66,7 +66,7 @@
"path": "service/applyRelic"
},
{
"path": "service/tell"
"path": "service/tellList"
},
{
"path": "service/experience"


+ 2
- 2
pages/index/index.vue View File

@ -80,12 +80,12 @@
{
icon : '/static/image/home/g3.png',
title : '遗产讲述',
path : '/pages_order/service/tell?type=0',
path : '/pages_order/service/tellList?type=0',
},
{
icon : '/static/image/home/g4.png',
title : '达人同游',
path : '/pages_order/service/tell?type=1',
path : '/pages_order/service/tellList?type=1',
},
{
icon : '/static/image/home/g5.png',


+ 15
- 3
pages_order/components/list/cardList.vue View File

@ -12,8 +12,8 @@
<view class="card-content-tag">
提前一周预约
</view>
<view style="font-size: 12px; color: #999;">
御窑厂刘家弄观音阁陶瓷博物馆御窑博物馆...
<view class="tips">
御窑厂刘家弄观音阁观音阁观音阁观音阁陶瓷博物馆御窑博物馆...陶瓷博物馆御窑博物馆陶瓷博物馆御窑博物馆陶瓷博物馆御窑博物馆
</view>
<view class="card-content-bottom">
<view style="color: #FF280C;">
@ -56,6 +56,7 @@
image {
height: 100%;
width: 100%;
border-radius: 20rpx;
}
}
@ -79,6 +80,16 @@
color: #FBAF35;
border-radius: 20rpx;
}
.tips{
font-size: 24rpx;
color: #999;
overflow: hidden;
text-overflow: ellipsis;
display:-webkit-box; //
-webkit-box-orient:vertical; //--
-webkit-line-clamp:2; //
}
.card-content-bottom {
display: flex;
@ -90,8 +101,9 @@
color: #FFFDF6;
background-color: #C83741;
margin-right: 4%;
padding: 8rpx 20rpx;
padding: 12rpx 30rpx;
border-radius: 40rpx;
font-size: 24rpx;
}
}


+ 2
- 29
pages_order/components/product/submitUnitSelect.vue View File

@ -82,7 +82,8 @@
<uv-popup ref="addressPopup" :round="30">
<addressList
:addressList="addressList"
ref="addressList"
height="60vh"
@select="selectAddress"
/>
</uv-popup>
@ -104,29 +105,6 @@
data() {
return {
unitIndex : 0,
addressList: [
{
id : 1,
name : 'xx',
phone : '1305xxxx802',
address : '广东省广州市越秀区',
addressDetail : '城南故事C3栋2802',
},
{
id : 2,
name : 'xx',
phone : '1305xxxx802',
address : '广东省广州市越秀区',
addressDetail : '城南故事C3栋2802',
},
{
id : 3,
name : 'xx',
phone : '1305xxxx802',
address : '广东省广州市越秀区',
addressDetail : '城南故事C3栋2802',
},
],
address : {
name : '请选择联系人',
addressDetail : '',
@ -146,11 +124,6 @@
},
//
openAddress(){
if (!this.addressList.length) {
return uni.navigateTo({
url: '/pages_order/mine/address'
})
}
this.$refs.addressPopup.open('bottom')
},
//


+ 5
- 11
pages_order/product/productDetail.vue View File

@ -36,28 +36,22 @@
</view>
<view class="info-unit">
<uv-cell title="是否有桌布" isLink>
<uv-cell title="服务" isLink>
<template #icon>
<text class="text">桌布</text>
<text class="text">免费上门退·7天无理由退货·快递发货</text>
</template>
</uv-cell>
<uv-cell title="请选择规格" isLink>
<uv-cell title="参数" isLink>
<template #icon>
<text class="text">规格</text>
</template>
</uv-cell>
<uv-cell>
<template #icon>
<text>上门取件·送货上门</text>
<text class="text">品牌适应人群</text>
</template>
</uv-cell>
</view>
<view class="content">
<view class="title">
商品详情
详情
</view>
<uv-parse :content="productDetail.content"></uv-parse>
</view>


pages_order/service/tell.vue → pages_order/service/tellList.vue View File


Loading…
Cancel
Save