diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index 35eb1dd..43da0a2 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -2,5 +2,6 @@
+
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 485844f..722f957 100644
--- a/pages.json
+++ b/pages.json
@@ -61,7 +61,7 @@
"path" : "pages/store-home/ProductDetails/ProductDetails",
"style" :
{
- "navigationBarTitleText" : ""
+ "navigationBarTitleText" : "泠泷水月阁工作室"
}
},
{
@@ -114,13 +114,6 @@
"navigationBarTitleText" : ""
}
},
- {
- "path" : "pages/order/paysuccess/paysuccess",
- "style" :
- {
- "navigationBarTitleText" : ""
- }
- },
{
"path": "pages/booking/Simple/Simple",
"style": {
@@ -134,13 +127,6 @@
"navigationBarTitleText" : ""
}
},
- {
- "path" : "pages/order/productOrderDetail/productOrderDetail",
- "style" :
- {
- "navigationBarTitleText" : ""
- }
- },
{
"path" : "pages/login/login",
"style" :
@@ -196,6 +182,20 @@
{
"navigationBarTitleText" : ""
}
+ },
+ {
+ "path" : "pages/workshop/productmain/productmain",
+ "style" :
+ {
+ "navigationBarTitleText" : ""
+ }
+ },
+ {
+ "path" : "pages/workshop/component/timePopUp",
+ "style" :
+ {
+ "navigationBarTitleText" : ""
+ }
}
],
"globalStyle": {
@@ -208,30 +208,26 @@
}
},
"tabBar": {
- "backgroundColor": "#F7E7C6",
+ "backgroundColor": "#FFFFFF",
"list": [
{
"pagePath": "pages/home/home",
"iconPath": "./static/home.png",
- "selectedIconPath": "./static/homeselected.png",
"text":"首页"
},
{
"pagePath": "pages/store-home/main/main",
"iconPath": "./static/store.png",
- "selectedIconPath": "./static/storeselected.png",
"text":"商城"
},
{
"pagePath": "pages/Shopping-cart/productmain/productmain",
"iconPath": "./static/shopcar.png",
- "selectedIconPath": "./static/shopcarselected.png",
"text":"购物车"
},
{
"pagePath": "pages/mine/main/main",
"iconPath": "./static/mine.png",
- "selectedIconPath": "./static/mineselected.png",
"text":"我的"
}
]
diff --git a/pages/Shopping-cart/newaddress_Info/img/dingwei.png b/pages/Shopping-cart/newaddress_Info/img/dingwei.png
deleted file mode 100644
index 42904d6..0000000
Binary files a/pages/Shopping-cart/newaddress_Info/img/dingwei.png and /dev/null differ
diff --git a/pages/Shopping-cart/newaddress_Info/img/selected.png b/pages/Shopping-cart/newaddress_Info/img/selected.png
deleted file mode 100644
index 52a1349..0000000
Binary files a/pages/Shopping-cart/newaddress_Info/img/selected.png and /dev/null differ
diff --git a/pages/Shopping-cart/newaddress_Info/newaddress_Info.vue b/pages/Shopping-cart/newaddress_Info/newaddress_Info.vue
index 96f47c4..1029029 100644
--- a/pages/Shopping-cart/newaddress_Info/newaddress_Info.vue
+++ b/pages/Shopping-cart/newaddress_Info/newaddress_Info.vue
@@ -48,8 +48,6 @@
import {ref , onMounted} from 'vue'
import { testUrl , baseUrl , suiUrl } from '../../../api/request';
import { onLoad } from '@dcloudio/uni-app';
-import dingwei from '@/pages/Shopping-cart/newaddress_Info/img/dingwei.png'
-import selected from '@/pages/Shopping-cart/newaddress_Info/img/selected.png'
const userInfo = ref({})
const addressParam = ref({
userId: 0,
diff --git a/pages/Shopping-cart/productmain/img/add.png b/pages/Shopping-cart/productmain/img/add.png
deleted file mode 100644
index 7f1530a..0000000
Binary files a/pages/Shopping-cart/productmain/img/add.png and /dev/null differ
diff --git a/pages/Shopping-cart/productmain/img/choose.png b/pages/Shopping-cart/productmain/img/choose.png
deleted file mode 100644
index 5b700ad..0000000
Binary files a/pages/Shopping-cart/productmain/img/choose.png and /dev/null differ
diff --git a/pages/Shopping-cart/productmain/img/choosed.png b/pages/Shopping-cart/productmain/img/choosed.png
deleted file mode 100644
index 8d36d1f..0000000
Binary files a/pages/Shopping-cart/productmain/img/choosed.png and /dev/null differ
diff --git a/pages/Shopping-cart/productmain/img/productimg.png b/pages/Shopping-cart/productmain/img/productimg.png
deleted file mode 100644
index 1ddfcae..0000000
Binary files a/pages/Shopping-cart/productmain/img/productimg.png and /dev/null differ
diff --git a/pages/Shopping-cart/productmain/img/pull.png b/pages/Shopping-cart/productmain/img/pull.png
deleted file mode 100644
index b4410ee..0000000
Binary files a/pages/Shopping-cart/productmain/img/pull.png and /dev/null differ
diff --git a/pages/Shopping-cart/productmain/img/rmb.png b/pages/Shopping-cart/productmain/img/rmb.png
deleted file mode 100644
index cc3c40f..0000000
Binary files a/pages/Shopping-cart/productmain/img/rmb.png and /dev/null differ
diff --git a/pages/Shopping-cart/productmain/img/short.png b/pages/Shopping-cart/productmain/img/short.png
deleted file mode 100644
index 4db3f01..0000000
Binary files a/pages/Shopping-cart/productmain/img/short.png and /dev/null differ
diff --git a/pages/Shopping-cart/productmain/productmain.vue b/pages/Shopping-cart/productmain/productmain.vue
index e2deb4f..6ab8d21 100644
--- a/pages/Shopping-cart/productmain/productmain.vue
+++ b/pages/Shopping-cart/productmain/productmain.vue
@@ -133,14 +133,6 @@
import { ref , onMounted} from 'vue'
import { onShow } from "@dcloudio/uni-app";
import { baseUrl , testUrl ,suiUrl} from '../../../api/request';
-//本地图片
-import product_img from '@/pages/Shopping-cart/productmain/img/productimg.png';
-import add from '@/pages/Shopping-cart/productmain/img/add.png';
-import choose from '@/pages/Shopping-cart/productmain/img/choose.png';
-import choosed from '@/pages/Shopping-cart/productmain/img/choosed.png';
-import pull from '@/pages/Shopping-cart/productmain/img/pull.png';
-import rmb from '@/pages/Shopping-cart/productmain/img/rmb.png';
-import short from '@/pages/Shopping-cart/productmain/img/short.png';
const products = ref([])
const current = ref(1) //用于判断是实体类商品还是服务类商品
const allCheck = ref(false) //全选
diff --git a/pages/home/home.vue b/pages/home/home.vue
index d985c44..5ef96e8 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -1,135 +1,51 @@
-
-
-
-
- 热门精品
-
-
- 非遗工坊
-
-
-
-
- 写真预约
-
+
+
+
+ 限定手制|非量售卖
+ 匠
+ 承
+ 非
+ 遗
+
+
+
+
+ 写真预约
+ 伊人摸样,丹青绘画
-
-
- 推荐商品
-
- 更多
-
-
-
-
-
-
-
- 琉璃发体验包
-
- ¥750
-
-
-
-
- 琉璃发体验包
-
- ¥750
-
-
-
-
- 琉璃发体验包
-
- ¥750
-
-
-
- 推荐服务
-
- 更多
-
-
-
-
-
-
-
- 琉璃发体验包
-
- ¥750
-
-
-
-
- 琉璃发体验包
-
- ¥750
-
-
-
-
- 琉璃发体验包
-
- ¥750
-
-
-
- 活动资讯
-
- 更多
-
-
+
+
+
+ 手作材包
+ 朴物良社,匠心手作
-
-
-
- “五色五育”研学——端午香囊篇
- 为进一步深入贯彻落实习近平总书记...
- 2024-08-04
-
-
+
+
+
+ 推荐商品
+ 伊人摸样,丹青绘画
+
+
+ 活动咨询
+ 朴物良社,匠心手作
+
@@ -138,14 +54,6 @@
import {ref} from 'vue'
import { baseUrl, testUrl , suiUrl} from '@/api/request';
import { onShow } from "@dcloudio/uni-app";
-import dec from '@/pages/home/img/dec.png'
-import product from '@/pages/home/img/product.png'
-import right from '@/pages/home/img/right.png'
-import left from '@/pages/home/img/left.png'
-import rili from '@/pages/home/img/rili.png'
-import xuanchuan from '@/pages/home/img/xuanchuan.png'
-import shizi from '@/pages/home/img/shizi.png'
-import you from '@/pages/home/img/you.png'
//变量
const items = ref( [null, null, null])
const items_1 = ref( [null, null, null])
@@ -153,11 +61,6 @@ onShow(() => {
uni.removeStorageSync('businessId')
getMyUser()
})
-const jump_feiyi =()=>{
- uni.navigateTo({
- url: '/pages/workshop/index/index'
- })
-}
const getMyUser = async () =>{
const res = await uni.request({
url: baseUrl + '/user/get/login',
@@ -178,219 +81,181 @@ const getMyUser = async () =>{
})
}
}
-//跳转商品详情页面
-const jump_product =()=>{
- uni.navigateTo({
- url:'../../pages/store-home/ProductDetails/ProductDetails'
- })
-}
const jump_xiezhen =()=>{
uni.navigateTo({
url: '../../pages/booking/respectable/respectable'
})
}
+const jump_feiyi =()=>{ //跳转非遗工坊
+ uni.navigateTo({
+ url: '/pages/workshop/index/index'
+ })
+}
+const jump_store =()=>{
+ uni.switchTab({
+ url: '/pages/store-home/main/main'
+ })
+}
\ No newline at end of file
diff --git a/pages/order/product-waitpay/img/add.png b/pages/order/product-waitpay/img/add.png
deleted file mode 100644
index 0b3310f..0000000
Binary files a/pages/order/product-waitpay/img/add.png and /dev/null differ
diff --git a/pages/order/product-waitpay/img/dingwei.png b/pages/order/product-waitpay/img/dingwei.png
deleted file mode 100644
index f09812a..0000000
Binary files a/pages/order/product-waitpay/img/dingwei.png and /dev/null differ
diff --git a/pages/order/product-waitpay/img/product.png b/pages/order/product-waitpay/img/product.png
deleted file mode 100644
index f7b1566..0000000
Binary files a/pages/order/product-waitpay/img/product.png and /dev/null differ
diff --git a/pages/order/product-waitpay/img/rmb_32.png b/pages/order/product-waitpay/img/rmb_32.png
deleted file mode 100644
index 015faa7..0000000
Binary files a/pages/order/product-waitpay/img/rmb_32.png and /dev/null differ
diff --git a/pages/order/product-waitpay/img/rmb_36px.png b/pages/order/product-waitpay/img/rmb_36px.png
deleted file mode 100644
index 60e9daf..0000000
Binary files a/pages/order/product-waitpay/img/rmb_36px.png and /dev/null differ
diff --git a/pages/order/product-waitpay/img/rmb_cheng.png b/pages/order/product-waitpay/img/rmb_cheng.png
deleted file mode 100644
index b176eea..0000000
Binary files a/pages/order/product-waitpay/img/rmb_cheng.png and /dev/null differ
diff --git a/pages/order/product-waitpay/img/rmb_huang.png b/pages/order/product-waitpay/img/rmb_huang.png
deleted file mode 100644
index a780003..0000000
Binary files a/pages/order/product-waitpay/img/rmb_huang.png and /dev/null differ
diff --git a/pages/order/product-waitpay/img/short.png b/pages/order/product-waitpay/img/short.png
deleted file mode 100644
index 51481c5..0000000
Binary files a/pages/order/product-waitpay/img/short.png and /dev/null differ
diff --git a/pages/order/product-waitpay/img/yiwen.png b/pages/order/product-waitpay/img/yiwen.png
deleted file mode 100644
index 654306a..0000000
Binary files a/pages/order/product-waitpay/img/yiwen.png and /dev/null differ
diff --git a/pages/order/product-waitpay/img/you_cheng.png b/pages/order/product-waitpay/img/you_cheng.png
deleted file mode 100644
index 96adf0d..0000000
Binary files a/pages/order/product-waitpay/img/you_cheng.png and /dev/null differ
diff --git a/pages/order/product-waitpay/img/you_hei.png b/pages/order/product-waitpay/img/you_hei.png
deleted file mode 100644
index 871a146..0000000
Binary files a/pages/order/product-waitpay/img/you_hei.png and /dev/null differ
diff --git a/pages/order/product-waitpay/product-waitpay.vue b/pages/order/product-waitpay/product-waitpay.vue
index 2e32add..e923396 100644
--- a/pages/order/product-waitpay/product-waitpay.vue
+++ b/pages/order/product-waitpay/product-waitpay.vue
@@ -10,7 +10,7 @@
{{ addressRealInfo.detailAddress }}
@@ -18,7 +18,7 @@
更换地址
@@ -58,7 +58,7 @@
@@ -66,7 +66,7 @@
@@ -78,7 +78,7 @@
@@ -126,7 +126,7 @@
{{ sumprice }}.00
@@ -144,7 +144,7 @@
应付:
{{ sumprice }}.
@@ -166,19 +166,6 @@ import {onMounted, ref, toRaw} from 'vue'
import emitter from '../../../utils/emitter'
import { onLoad , onShow } from "@dcloudio/uni-app";
import { baseUrl } from '../../../api/request';
-//图片暂时存在本地
-import addressComponentVue from '../component/addressComponent.vue'; //带入组件
-import add from '@/pages/order/product-waitpay/img/add.png';
-import dingwei from '@/pages/order/product-waitpay/img/dingwei.png';
-import product from '@/pages/order/product-waitpay/img/product.png';
-import rmb_32 from '@/pages/order/product-waitpay/img/rmb_32.png';
-import rmb_36px from '@/pages/order/product-waitpay/img/rmb_36px.png';
-import rmb_cheng from '@/pages/order/product-waitpay/img/rmb_cheng.png';
-import rmb_huang from '@/pages/order/product-waitpay/img/rmb_huang.png';
-import short from '@/pages/order/product-waitpay/img/short.png';
-import yiwen from '@/pages/order/product-waitpay/img/yiwen.png';
-import you_cheng from '@/pages/order/product-waitpay/img/you_cheng.png';
-import you_hei from '@/pages/order/product-waitpay/img/you_hei.png';
//一些暂时变量
const num = ref(1)
const price = ref(138)
diff --git a/pages/order/productOrderDetail/productOrderDetail.vue b/pages/order/productOrderDetail/productOrderDetail.vue
deleted file mode 100644
index bb643a0..0000000
--- a/pages/order/productOrderDetail/productOrderDetail.vue
+++ /dev/null
@@ -1,489 +0,0 @@
-
-
-
-
-
-
-
- 等待商家发货
-
-
-
-
- 张三 15888610253
- 黑龙江省哈尔滨市呼兰区学院路街道288号哈尔滨华德学院
-
-
-
-
-
-
-
-
-
- 非遗绒花
- 【材料包】
-
- 已选种类:紫色
-
-
-
- 138.
-
-
- 00
-
-
-
- ×1
-
-
- 商品总价
-
-
- 138.00
-
-
-
- 优惠券
-
-
- 50.00
-
-
-
-
-
- 应付款:
-
- 88.00
-
-
- 买家留言
-
-
- 希望所使用的材料是可持续来源的,并且制作工艺要精细,以确保每一朵花瓣都能生动地展现出绒花的质感和美感。
-
-
-
-
- 订单编号:
-
- E20241005095840091406189
-
- 复制
-
-
-
-
- 创建时间:
- 2024-10-05 09:58:41
-
-
-
- 在线客服
-
-
-
-
-
-
- 更多精选商品
-
-
-
-
-
- 【非遗手工艺体验】玉雕-古法制玉体验
-
-
- 99.00
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/store-home/ProductDetails/ProductDetails.vue b/pages/store-home/ProductDetails/ProductDetails.vue
index 2032032..4ab7bc8 100644
--- a/pages/store-home/ProductDetails/ProductDetails.vue
+++ b/pages/store-home/ProductDetails/ProductDetails.vue
@@ -1,113 +1,69 @@
-
-
-
-
- 商品
- 详情
- 推荐
-
-
-
-
+
+
+
+ ¥
+ {{ goodObject.price }}
-
-
- 图片
- 展示
-
-
+
+ {{ goodObject.name }}
+
-
-
-
-
+ 中秋节限定
-
-
-
- ¥
- {{ goodObject.price }}
-
-
- {{ goodObject.name }}
-
-
- 中秋节限定
-
-
-
-
-
- 商品简介:{{ goodObject.introDetail }}
-
-
-
-
-
-
- 商品标签:
-
- #{{ labelList[index] }}
-
-
-
-
- 用户须知
- 1.发货后不接受退货、不接受7天无理由退货
- 2.商品购买后无法自主退款,需联系客服进行退款处理
-
- 3.定制款商品购买后不接受退货退款,包售后需要录制开箱视频,并且开箱视频需要从拆包装开始
-
- 4.商品售罄后的款式也可以重新预定,需等待并联系客服
- 5.定制商品的具体发货日期根据制作团队制作情况而定
- 6.只售后邮寄破损
+
+
+
+ 商品简介:{{ goodObject.introDetail }}
+
+
+
+
+
+ 商品标签:
+
+ #{{ item }}
-
- 商品详情
-
-
-
-
- 客服
-
-
-
- 加入购物车
-
-
- 立即购买
-
-
+
+ 用户须知
+ 1.发货后不接受退货、不接受7天无理由退货
+ 2.商品购买后无法自主退款,需联系客服进行退款处理
+
+ 3.定制款商品购买后不接受退货退款,包售后需要录制开箱视频,并且开箱视频需要从拆包装开始
+
+ 4.商品售罄后的款式也可以重新预定,需等待并联系客服
+ 5.定制商品的具体发货日期根据制作团队制作情况而定
+ 6.只售后邮寄破损
+
+
+
+
+
+ 客服
+
+
+
+ 加入购物车
+
+
+ 立即购买
@@ -125,14 +81,6 @@ import { onLoad , onShow } from "@dcloudio/uni-app";
import { baseUrl } from '../../../api/request';
import emitter from '../../../utils/emitter'
import addProduct from '../../Shopping-cart/component/addProduct.vue';
-//相关图片
-import denglong from '@/pages/store-home/ProductDetails/img/denglong.png';
-import haibao from '@/pages/store-home/ProductDetails/img/haibao.png';
-import kefu from '@/pages/store-home/ProductDetails/img/kefu.png';
-import show1 from '@/pages/store-home/ProductDetails/img/show1.png';
-import show2 from '@/pages/store-home/ProductDetails/img/show2.png';
-import show3 from '@/pages/store-home/ProductDetails/img/show3.png';
-import show4 from '@/pages/store-home/ProductDetails/img/show4.png';
const popup = ref(null) //弹窗对象
const goodObject = ref({}) //商品对象
// const checkedData = ref([{}]) //对齐批量购买
@@ -178,11 +126,8 @@ const jump_buy =()=> {
\ No newline at end of file
diff --git a/pages/store-home/ProductDetails/img/denglong.png b/pages/store-home/ProductDetails/img/denglong.png
deleted file mode 100644
index bcd82ea..0000000
Binary files a/pages/store-home/ProductDetails/img/denglong.png and /dev/null differ
diff --git a/pages/store-home/ProductDetails/img/haibao.png b/pages/store-home/ProductDetails/img/haibao.png
deleted file mode 100644
index 1a9c5df..0000000
Binary files a/pages/store-home/ProductDetails/img/haibao.png and /dev/null differ
diff --git a/pages/store-home/ProductDetails/img/kefu.png b/pages/store-home/ProductDetails/img/kefu.png
deleted file mode 100644
index 796f5d4..0000000
Binary files a/pages/store-home/ProductDetails/img/kefu.png and /dev/null differ
diff --git a/pages/store-home/ProductDetails/img/show1.png b/pages/store-home/ProductDetails/img/show1.png
deleted file mode 100644
index ba0c2c1..0000000
Binary files a/pages/store-home/ProductDetails/img/show1.png and /dev/null differ
diff --git a/pages/store-home/ProductDetails/img/show2.png b/pages/store-home/ProductDetails/img/show2.png
deleted file mode 100644
index 57a61e7..0000000
Binary files a/pages/store-home/ProductDetails/img/show2.png and /dev/null differ
diff --git a/pages/store-home/ProductDetails/img/show3.png b/pages/store-home/ProductDetails/img/show3.png
deleted file mode 100644
index 7b6de73..0000000
Binary files a/pages/store-home/ProductDetails/img/show3.png and /dev/null differ
diff --git a/pages/store-home/ProductDetails/img/show4.png b/pages/store-home/ProductDetails/img/show4.png
deleted file mode 100644
index b5b420d..0000000
Binary files a/pages/store-home/ProductDetails/img/show4.png and /dev/null differ
diff --git a/pages/store-home/ProductDetails/img/zhuye.png b/pages/store-home/ProductDetails/img/zhuye.png
deleted file mode 100644
index 343c6d1..0000000
Binary files a/pages/store-home/ProductDetails/img/zhuye.png and /dev/null differ
diff --git a/pages/store-home/main/img/cailiaobao.png b/pages/store-home/main/img/cailiaobao.png
deleted file mode 100644
index 5e14e41..0000000
Binary files a/pages/store-home/main/img/cailiaobao.png and /dev/null differ
diff --git a/pages/store-home/main/img/dingzhi.png b/pages/store-home/main/img/dingzhi.png
deleted file mode 100644
index fe9c8c7..0000000
Binary files a/pages/store-home/main/img/dingzhi.png and /dev/null differ
diff --git a/pages/store-home/main/img/jifenduihuan.png b/pages/store-home/main/img/jifenduihuan.png
deleted file mode 100644
index 9ae355a..0000000
Binary files a/pages/store-home/main/img/jifenduihuan.png and /dev/null differ
diff --git a/pages/store-home/main/img/lunbotu1.png b/pages/store-home/main/img/lunbotu1.png
deleted file mode 100644
index 6fc0b65..0000000
Binary files a/pages/store-home/main/img/lunbotu1.png and /dev/null differ
diff --git a/pages/store-home/main/img/shangpingtupian.png b/pages/store-home/main/img/shangpingtupian.png
deleted file mode 100644
index 12fbf4b..0000000
Binary files a/pages/store-home/main/img/shangpingtupian.png and /dev/null differ
diff --git a/pages/store-home/main/img/shouchiwu.png b/pages/store-home/main/img/shouchiwu.png
deleted file mode 100644
index 76fd73a..0000000
Binary files a/pages/store-home/main/img/shouchiwu.png and /dev/null differ
diff --git a/pages/store-home/main/img/sousuokuang.png b/pages/store-home/main/img/sousuokuang.png
deleted file mode 100644
index 6f9b05c..0000000
Binary files a/pages/store-home/main/img/sousuokuang.png and /dev/null differ
diff --git a/pages/store-home/main/img/tianjia.png b/pages/store-home/main/img/tianjia.png
deleted file mode 100644
index 531f024..0000000
Binary files a/pages/store-home/main/img/tianjia.png and /dev/null differ
diff --git a/pages/store-home/main/img/toushi.png b/pages/store-home/main/img/toushi.png
deleted file mode 100644
index 902ceec..0000000
Binary files a/pages/store-home/main/img/toushi.png and /dev/null differ
diff --git a/pages/store-home/main/main.vue b/pages/store-home/main/main.vue
index 76e0a5d..199d388 100644
--- a/pages/store-home/main/main.vue
+++ b/pages/store-home/main/main.vue
@@ -59,15 +59,6 @@ import {
ref,onMounted, toRaw
} from 'vue';
import { baseUrl, testUrl , suiUrl} from '@/api/request';
-import img1 from '@/pages/store-home/main/img/cailiaobao.png';
-import img2 from '@/pages/store-home/main/img/shouchiwu.png';
-import img3 from '@/pages/store-home/main/img/toushi.png';
-import img4 from '@/pages/store-home/main/img/dingzhi.png';
-import img5 from '@/pages/store-home/main/img/jifenduihuan.png';
-import product_img from '@/pages/store-home/main/img/shangpingtupian.png';
-import add_img from '@/pages/store-home/main/img/tianjia.png';
-import sousuokuang from '@/pages/store-home/main/img/sousuokuang.png';
-
const currentColor = ref(0);
const sort =ref([{}]) //商品类别对象数组
const headerList = ref([{}]) //类别标题和介绍
diff --git a/pages/workshop/index/index.vue b/pages/workshop/index/index.vue
index 68115d2..dbd1660 100644
--- a/pages/workshop/index/index.vue
+++ b/pages/workshop/index/index.vue
@@ -59,10 +59,10 @@ const getProducts = async ()=> {
products.value = res.data.data
}
}
-const jump_detail =(index,item)=>{
- console.log(index);
+const jump_detail =(item,index)=>{
+ // console.log(item.id);
uni.navigateTo({
- url: '../productmain/productmain?info=' + + JSON.stringify(item)
+ url: '../productmain/productmain?info=' + JSON.stringify(item.id)
})
}
diff --git a/pages/workshop/productmain/productmain.vue b/pages/workshop/productmain/productmain.vue
index a7f08fb..292db9e 100644
--- a/pages/workshop/productmain/productmain.vue
+++ b/pages/workshop/productmain/productmain.vue
@@ -1,31 +1,20 @@
-
-
- 玲泷水月阁
-
-
¥
- 299
+ {{ productObject.price }}
- 【非遗手工艺体验】纸笺加工技艺-流沙笺团扇制作体验
+ {{ productObject.name }}
- 产品简介:纸笺加工技艺-流沙笺团扇制作体验,带您领略国家级非物质文化遗产的魅力。本活动让您亲手体验传统纸笺加工技艺,感受流沙笺团扇的制作过程,传承千年匠心精神。
+ {{ productObject.introDetail }}
@@ -54,12 +43,12 @@
客服
-
+
加入购物车
@@ -71,17 +60,69 @@
服务详情
+
+
+
diff --git a/static/home.png b/static/home.png
index 9bbe9f9..b252610 100644
Binary files a/static/home.png and b/static/home.png differ
diff --git a/static/homeselected.png b/static/homeselected.png
deleted file mode 100644
index 74b7b2f..0000000
Binary files a/static/homeselected.png and /dev/null differ
diff --git a/static/mine.png b/static/mine.png
index 0296358..ad60e7f 100644
Binary files a/static/mine.png and b/static/mine.png differ
diff --git a/static/mineselected.png b/static/mineselected.png
deleted file mode 100644
index bcf5ecb..0000000
Binary files a/static/mineselected.png and /dev/null differ
diff --git a/static/shopcar.png b/static/shopcar.png
index f8252ab..912a802 100644
Binary files a/static/shopcar.png and b/static/shopcar.png differ
diff --git a/static/shopcarselected.png b/static/shopcarselected.png
deleted file mode 100644
index b26fda5..0000000
Binary files a/static/shopcarselected.png and /dev/null differ
diff --git a/static/store.png b/static/store.png
index 8939831..19a1652 100644
Binary files a/static/store.png and b/static/store.png differ
diff --git a/static/storeselected.png b/static/storeselected.png
deleted file mode 100644
index 80e6bb9..0000000
Binary files a/static/storeselected.png and /dev/null differ
diff --git a/store/userStore.ts b/store/userStore.ts
deleted file mode 100644
index ef6668a..0000000
--- a/store/userStore.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import {defineStore} from "pinia";
-import { baseUrl, testUrl , suiUrl} from '@/api/request';
-export const userStore = defineStore('userInfo', {
- state: () => {
- return {
- userInfo: {
- id: 2,
- userAvatar: '',
- userName: '匠承非遗',
- points: 800
- }
- }
- },
- actions: {
- // updateUserInfo: async () => {
- // const res = await uni.request({
- // url: testUrl + '/user/updateUser'
- // })
- // console.log(res)
- // },
- // getLoginUser(res) {
-
- // }
- }
-})