diff --git a/components/shopListPopup.vue b/components/shopListPopup.vue
index 72f042c..86029d0 100644
--- a/components/shopListPopup.vue
+++ b/components/shopListPopup.vue
@@ -1,27 +1,33 @@
-
@@ -131,6 +137,38 @@
}
}
+ .border {
+ border-bottom: 1px solid #F3F3F3;
+ }
+
+ .list-li {
+ padding: 30rpx 0;
+ font-size: 24rpx;
+ position: relative;
+
+ .list-li-top {
+ display: flex;
+ justify-content: space-between;
+ margin-bottom: 10rpx;
+ font-size: 30rpx;
+ }
+
+ .distance {
+ border: 1px solid #40AE36;
+ font-size: 18rpx;
+ color: #40AE36;
+ margin-left: 20rpx;
+ padding: 0 5rpx;
+ }
+
+ .check {
+ position: absolute;
+ right: 20rpx;
+ top: 50%;
+ transform: translateY(-50%);
+ }
+ }
+
@keyframes disappear {
to {
opacity: 0;
diff --git a/pageQuota/goodDetail/index.vue b/pageQuota/goodDetail/index.vue
deleted file mode 100644
index 13c35e8..0000000
--- a/pageQuota/goodDetail/index.vue
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- 商品详情
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pageQuota/quotation/detail.vue b/pageQuota/quotation/detail.vue
new file mode 100644
index 0000000..94410e5
--- /dev/null
+++ b/pageQuota/quotation/detail.vue
@@ -0,0 +1,149 @@
+
+
+
+
+ PF171504442988969633
+ 2023-04-25
+
+
+
+
+
+ 未报价
+
+
+
+
+ 正宗新疆哈密瓜网纹瓜
+
+
+ 需求量: 100斤
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pageQuota/quotation/index.vue b/pageQuota/quotation/index.vue
index 9938daa..742448e 100644
--- a/pageQuota/quotation/index.vue
+++ b/pageQuota/quotation/index.vue
@@ -1,18 +1,148 @@
-
-
-
- 报价单
-
-
+
+
+
+
+
+
+
+ 订单列表
+
+
+ 报价记录
+
+
+
+
+
+
+
+
+
+ PF171504442988969633
+ 待报价
+ 已成交
+ 未成交
+
+
+
+
+
+
+
- dgfsdhjg
+
+
+ 共4件
+
+
+
+
-
-
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 5dbe60e..99d9a2a 100644
--- a/pages.json
+++ b/pages.json
@@ -44,95 +44,103 @@
],
"subPackages": [{
- "root": "pagesOrder",
- "pages": [{
- "path": "order/order",
- "style": {
- "navigationBarTitleText": "我的订单",
- "enablePullDownRefresh": false
+ "root": "pagesOrder",
+ "pages": [{
+ "path": "order/order",
+ "style": {
+ "navigationBarTitleText": "我的订单",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "detail/detail",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "addressList/addressList",
+ "style": {
+ "navigationBarTitleText": "地址管理",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "addressEdit/addressEdit",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "settle/settle",
+ "style": {
+ "navigationBarTitleText": "确认订单",
+ "enablePullDownRefresh": false
+ }
}
- },
- {
- "path": "detail/detail",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
+ ]
+ },
+ {
+ "root": "pageQuota",
+ "pages": [{
+ "path": "quotation/index",
+ "style": {
+ "navigationBarTitleText": "报价单",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "quotation/detail",
+ "style": {
+ "navigationBarTitleText": "报价明细",
+ "enablePullDownRefresh": false
+ }
}
- },
- {
- "path": "addressList/addressList",
- "style": {
- "navigationBarTitleText": "地址管理",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "addressEdit/addressEdit",
- "style": {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "settle/settle",
- "style": {
- "navigationBarTitleText": "确认订单",
- "enablePullDownRefresh": false
- }
- }
- ]
- }, {
- "root": "pageQuota",
- "pages": [{
- "path": "quotation/index",
- "style": {
- "navigationBarTitleText": "报价单",
- "enablePullDownRefresh": false,
- "navigationStyle": "custom"
- }
- },
- {
- "path": "goodDetail/index",
- "style": {
- "navigationBarTitleText": "商品详情",
- "enablePullDownRefresh": false
- }
- }
- ]
- }],
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "",
- "navigationBarBackgroundColor": "#fff",
- "backgroundColor": "#fff"
- },
- // "tabBar": {
- // "color": "#999999",
- // "selectedColor": "#20b128",
- // "borderStyle": "white",
- // "backgroundColor": "#FFFFFF",
- // "list": [{
- // "pagePath": "pages/index/index",
- // "text": "首页",
- // "iconPath": "static/tab/a.png",
- // "selectedIconPath": "static/tab/aa.png"
- // },
- // {
- // "pagePath": "pages/cart/cart",
- // "text": "购物车",
- // "iconPath": "static/tab/b.png",
- // "selectedIconPath": "static/tab/ba.png"
- // },
+ ]
+ }
- // {
- // "pagePath": "pages/my/my",
- // "text": "我的",
- // "iconPath": "static/tab/c.png",
- // "selectedIconPath": "static/tab/ca.png"
- // }
- // ]
- // },
- "uniIdRouter": {}
+ ]
+},
+
+
+],
+
+"globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "",
+ "navigationBarBackgroundColor": "#fff",
+ "backgroundColor": "#fff"
+},
+// "tabBar": {
+// "color": "#999999",
+// "selectedColor": "#20b128",
+// "borderStyle": "white",
+// "backgroundColor": "#FFFFFF",
+// "list": [{
+// "pagePath": "pages/index/index",
+// "text": "首页",
+// "iconPath": "static/tab/a.png",
+// "selectedIconPath": "static/tab/aa.png"
+// },
+// {
+// "pagePath": "pages/cart/cart",
+// "text": "购物车",
+// "iconPath": "static/tab/b.png",
+// "selectedIconPath": "static/tab/ba.png"
+// },
+
+// {
+// "pagePath": "pages/my/my",
+// "text": "我的",
+// "iconPath": "static/tab/c.png",
+// "selectedIconPath": "static/tab/ca.png"
+// }
+
+// ]
+// },
+"uniIdRouter": {}
}
\ No newline at end of file
diff --git a/pagesOrder/settle/settle.vue b/pagesOrder/settle/settle.vue
index 8798bd5..de880b5 100644
--- a/pagesOrder/settle/settle.vue
+++ b/pagesOrder/settle/settle.vue
@@ -1,95 +1,96 @@
-
-
-
-
-
-
-
- 自提点
-
-
- {{shopInfo.mer_name}}
-
- {{shopInfo.service_phone}}
- {{shopInfo.distance}}
-
-
-
-
-
- 修改
-
-
-
-
-
-
-
-
-
-
-
- {{addressInfo.real_name}}
- {{addressInfo.phone}}
-
-
- {{addressInfo.detail}}
-
-
-
- 修改
-
-
-
-
-
-
-
-
-
- {{item.name}}
- ¥{{item.price}}
-
-
- {{item.unit_name}}
- x{{item.cart_num}}
-
-
-
- {{orderInfo.delivery_msg}}
-
-
-
-
- 价格明细
-
- 商品总价 共计{{cartList.length}}款商品
- ¥{{c_price(orderInfo.total, 0)}}.{{c_price(orderInfo.total, 1)}}
-
-
- 运费
- ¥0.00
-
-
-
- 支付方式
-
- 微信支付
-
-
-
-
-
-
-
-
-
-
- 共 {{ cartList.length }} 款
-
- 合计:
- ¥
-
- {{c_price(orderInfo.total, 0)}}
- .{{c_price(orderInfo.total, 1)}}
-
-
-
-
- 提交订单
-
-
+
+
+
+ 共 {{ cartList.length }} 款
+
+ 合计:
+ ¥
+
+ {{c_price(orderInfo.total, 0)}}
+ .{{c_price(orderInfo.total, 1)}}
+
+
+
+
+ 提交订单
+
+
-
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/store/user.js b/store/user.js
index c376508..2540aec 100644
--- a/store/user.js
+++ b/store/user.js
@@ -1,39 +1,48 @@
// 导入定义仓库的方法
-import { defineStore } from 'pinia';
+import {
+ defineStore
+} from 'pinia';
// 导入响应式和计算
-import { ref } from 'vue';
+import {
+ ref
+} from 'vue';
const useUserStore = defineStore("user", () => {
- // 定义一个状态用户信息
- const userInfo = ref(uni.getStorageSync('userInfo') || {});
- // 定义一个设置状态的方法
- const setUserInfo = (data) => {
- userInfo.value = data;
- uni.setStorageSync('userInfo', data)
- }
+ // 定义一个状态用户信息
+ const userInfo = ref(uni.getStorageSync('userInfo') || {});
+ // 定义一个设置状态的方法
+ const setUserInfo = (data) => {
+ userInfo.value = data;
+ uni.setStorageSync('userInfo', data)
+ }
- const token = ref(uni.getStorageSync('token') || '');
- const setToken = (data) => {
- token.value = data;
- uni.setStorageSync('token', data)
- }
+ const token = ref(uni.getStorageSync('token') || '');
+ const setToken = (data) => {
+ token.value = data;
+ uni.setStorageSync('token', data)
+ }
- // #ifdef H5
- token.value = "fe46d0ca2dd4dcabcbd3b4777aa35c22"
- userInfo.value = {
- avatar: "https://lihaiim.oss-cn-chengdu.aliyuncs.com/image/admin/default_avatar.png",
- id: 9,
- is_disable: 0,
- is_new_user: 1,
- mobile: "19330904744",
- nickname: "用户1714964250",
- supplier: null,
- token: "fe46d0ca2dd4dcabcbd3b4777aa35c22"
- }
- // #endif
+ // #ifdef H5
+ token.value = "31f74a72e2d05673ec14d2a6408718ef"
+ userInfo.value = {
+ avatar: "https://lihaiim.oss-cn-chengdu.aliyuncs.com/image/admin/default_avatar.png",
+ id: 9,
+ is_disable: 0,
+ is_new_user: 1,
+ mobile: "19330904744",
+ nickname: "用户1714964250",
+ supplier: null,
+ token: "31f74a72e2d05673ec14d2a6408718ef"
+ }
+ // #endif
- return { userInfo, setUserInfo, token, setToken }
+ return {
+ userInfo,
+ setUserInfo,
+ token,
+ setToken
+ }
})
export default useUserStore;
\ No newline at end of file