diff --git a/api/mall.js b/api/mall.js index 2d574c7..7f8adc2 100644 --- a/api/mall.js +++ b/api/mall.js @@ -7,7 +7,7 @@ const baseUrl = "http://192.168.0.26:3000" export const mallAPI = { getMallList: (params) => http.get(baseUrl + '/api/products', params), getCategory: () => http.get(baseUrl + '/api/category'), - getMallDetail: (id) => http.get(baseUrl + '/products/' + id) + getMallDetail: (id) => http.get(baseUrl + '/api/products/' + id) } export default { diff --git a/pages/home/mallDetail.vue b/pages/home/mallDetail.vue index 089efb4..6ea0e42 100644 --- a/pages/home/mallDetail.vue +++ b/pages/home/mallDetail.vue @@ -35,11 +35,13 @@ diff --git a/pages/my/shippingAddress.vue b/pages/my/shippingAddress.vue index 3483955..072f96d 100644 --- a/pages/my/shippingAddress.vue +++ b/pages/my/shippingAddress.vue @@ -1,11 +1,14 @@ @@ -51,7 +197,8 @@ .shipping-container { width: 100%; height: 100vh; - background: #B9D5FF; + background: #E5ECFD; + .right-menu { display: flex; @@ -63,9 +210,59 @@ leading-trim: NONE; line-height: 100%; letter-spacing: -2%; - .add-text{ + + .del-text { + color: red; + } + + .add-text { color: #305DEF; } } + + .data-list { + .data-item { + width: 100%; + display: flex; + justify-content: space-between; + padding: 28rpx 22rpx; + background: #F5F8FF; + margin-bottom: 4rpx; + align-items: center; + + .item-text { + font-weight: 400; + line-height: 100%; + + .address { + font-size: 20rpx; + color: #7B7E8F; + } + + .specific-address { + font-size: 26rpx; + } + + .info { + font-size: 24rpx; + display: flex; + align-items: center; + + span { + padding: 2rpx 8rpx; + font-size: 16rpx; + background: #DADDEA; + color: #305DEF; + border-radius: 2rpx; + } + } + } + + .item-icon { + width: 40rpx; + height: 40rpx; + } + } + } } \ No newline at end of file diff --git a/pages/program/programDetail.vue b/pages/program/programDetail.vue index b47610e..86c3e5d 100644 --- a/pages/program/programDetail.vue +++ b/pages/program/programDetail.vue @@ -201,7 +201,7 @@ } from '../../api/program'; import { onLoad - } from '@dcloudio/uni-app' + } from '@dcloudio/uni-app'; import { groupAPI } from '../../api/group'; diff --git a/static/icon/Edit.png b/static/icon/Edit.png new file mode 100644 index 0000000..d0489ea Binary files /dev/null and b/static/icon/Edit.png differ diff --git a/static/icon/chose-active.png b/static/icon/chose-active.png new file mode 100644 index 0000000..46086d2 Binary files /dev/null and b/static/icon/chose-active.png differ diff --git a/static/icon/chose.png b/static/icon/chose.png new file mode 100644 index 0000000..44ebbde Binary files /dev/null and b/static/icon/chose.png differ