zhengjinyi 2 年 前
コミット
ef5b7e2c8a

+ 10 - 10
components/thorui/tui-card/tui-card.vue

@@ -22,7 +22,7 @@
 
 <script>
 	export default {
-		name: "tuiCard",
+		name: 'tuiCard',
 		props: {
 			//是否铺满
 			full: {
@@ -33,7 +33,7 @@
 				type: Object,
 				default: function() {
 					return {
-						url: "", //图片地址
+						url: '', //图片地址
 						height: 60, //图片高度
 						width: 60, //图片宽度
 						circle: false
@@ -45,9 +45,9 @@
 				type: Object,
 				default: function() {
 					return {
-						text: "", //标题文字
+						text: '', //标题文字
 						size: 30, //字体大小
-						color: "#7A7A7A" //字体颜色
+						color: '#7A7A7A' //字体颜色
 					}
 				}
 			},
@@ -56,9 +56,9 @@
 				type: Object,
 				default: function() {
 					return {
-						text: "", //标签文字
+						text: '', //标签文字
 						size: 24, //字体大小
-						color: "#b2b2b2" //字体颜色
+						color: '#b2b2b2' //字体颜色
 					}
 				}
 			},
@@ -66,7 +66,7 @@
 				type: Object,
 				default: function() {
 					return {
-						bgcolor: "#fff", //背景颜色
+						bgcolor: '#fff', //背景颜色
 						line: false //是否去掉底部线条
 					}
 				}
@@ -85,12 +85,12 @@
 			handleClick() {
 				this.$emit('click', {
 					index: this.index
-				});
+				})
 			},
 			longTap() {
 				this.$emit('longclick', {
 					index: this.index
-				});
+				})
 			}
 		}
 	}
@@ -108,7 +108,7 @@
 	}
 
 	.tui-card-full {
-		margin: 0 !important;
+		margin: 8rpx !important;
 		border-radius: 0 !important;
 	}
 

+ 27 - 14
pages.json

@@ -34,11 +34,9 @@
 			}
 		}
 	],
-	"subPackages": [
-		{
+	"subPackages": [{
 			"root": "pages/goods/", //商品模块
-			"pages": [
-				{
+			"pages": [{
 					"path": "good-floor",
 					"style": {
 						"navigationBarTitleText": "商品列表",
@@ -59,6 +57,25 @@
 						"enablePullDownRefresh": true,
 						"navigationStyle": "custom"
 					}
+				},
+				{
+					"path": "procurement",
+					"style": {
+						"navigationBarTitleText": "采集需求",
+						"enablePullDownRefresh": true
+					}
+				}, {
+					"path": "procurement_info",
+					"style": {
+						"navigationBarTitleText": "需求详情",
+						"enablePullDownRefresh": false
+					}
+				}, {
+					"path": "procurementAdd",
+					"style": {
+						"navigationBarTitleText": "发布需求",
+						"enablePullDownRefresh": false
+					}
 				}
 			]
 		},
@@ -113,8 +130,7 @@
 		},
 		{
 			"root": "pages/user/", //机构个人中心模块
-			"pages": [
-				{
+			"pages": [{
 					"path": "address/addressManage",
 					"style": {
 						"navigationBarTitleText": "添加新地址"
@@ -263,8 +279,7 @@
 		},
 		{
 			"root": "pages/notice/", //搜索分包模块
-			"pages": [
-				{
+			"pages": [{
 					"path": "club/notice-order",
 					"style": {
 						"navigationBarTitleText": "交易物流",
@@ -296,8 +311,7 @@
 		},
 		{
 			"root": "pages/h5/", //活动分包模块
-			"pages": [
-				{
+			"pages": [{
 					"path": "article/page",
 					"style": {
 						"navigationBarTitleText": "采美采购平台",
@@ -365,7 +379,7 @@
 				"path": "search-library",
 				"style": {
 					"navigationBarTitleText": "搜索",
-                    "enablePullDownRefresh": false
+					"enablePullDownRefresh": false
 				}
 			}]
 		}
@@ -376,8 +390,7 @@
 		"selectedColor": "#f3b574",
 		"borderStyle": "black",
 		"backgroundColor": "#ffffff",
-		"list": [
-			{
+		"list": [{
 				"pagePath": "pages/tabBar/home/index",
 				"iconPath": "static/icon-home@3x.png",
 				"selectedIconPath": "static/icon-home-active@3x.png",
@@ -417,4 +430,4 @@
 			"query": "" //启动参数,在页面的onLoad函数里面得到
 		}]
 	}
-}
+}

+ 58 - 0
pages/goods/components/procurement-btn.vue

@@ -0,0 +1,58 @@
+<template>
+    <button class="pro-btn" :style="{
+        width,
+        height,
+        background,
+        color,
+        fontSize,
+        borderRadius: border ? borderRadius : '',
+        lineHeight: height
+    }">
+        <span><slot></slot></span>
+    </button>
+</template>
+
+<script>
+    export default {
+        props: {
+            border: {
+                type: Boolean,
+                default: () => true
+            },
+            width: {
+                type: String,
+                default: () => '280rpx'
+            },
+            height: {
+                type: String,
+                default: () => '84rpx'
+            },
+            background: {
+                type: String,
+                default: () => '#FFF4E6'
+            },
+            color: {
+                type: String,
+                default: () => '#F3B574'
+            },
+            fontSize: {
+                type: String,
+                default: () => '32rpx'
+            },
+            borderRadius: {
+                type: String,
+                default: () => '45rpx'
+            },
+        }
+    }
+</script>
+
+<style scoped lang="scss">
+    .pro-btn {
+        display: inline-block;/*变为行内块:*/
+        line-height: 1;
+        white-space: nowrap;/*规定段落中的文本不进行换行:*/
+        cursor: pointer;
+        text-align: center;
+    }
+</style>

+ 283 - 0
pages/goods/components/procurement_card.vue

@@ -0,0 +1,283 @@
+<template>
+    <view class="card" :style="{padding: proStatus ? '32rpx 32rpx 0 32rpx' : '32rpx'}">
+        <view class="card_title">
+            <view class="card_user_icon">
+                发起者
+            </view>
+            <view class="card_user">
+                科医人医疗激光设备贸易公司
+            </view>
+        </view>
+        <view class="card_time">2023-04-26   16:20:10</view>
+        <view class="card_content">
+            <image class="card_content_img" src="" mode=""></image>
+            <view class="card_content_title">
+                韩国恩盛进口氢洁气小气泡清韩进口氢
+                洁气小气泡清...
+            </view>
+        </view>
+        <view class="card_form">
+            <view class="form">
+                <view class="form_title">
+                    期望单价:
+                </view>
+                <view class="form_price">
+                    ¥100.00
+                </view>
+            </view>
+        </view>
+        <view class="card_form">
+            <view class="form">
+                <view class="form_title">
+                    采购数量:
+                </view>
+                <view class="form_price">
+                    ¥100.00
+                </view>
+            </view>
+            <view class="form_title">
+                >
+            </view>
+        </view>
+        <view class="card_form">
+            <view class="form">
+                <view class="form_title">
+                    参与机构数:
+                </view>
+                <view class="form_price">
+                    ¥100.00
+                </view>
+            </view>
+        </view>
+        <view class="card_foot" v-if='proStatus'>
+            <view class="foot_title">
+                您已参与
+            </view>
+            <view class="foot_continue">
+               <view class="foot_change" @click="procurementChange">
+                    修改
+                </view>
+                <!-- <view class="foot_delete" @click="procurementDelete">
+                    删除
+                </view> -->
+                <view class="foot_exit" @click="procurementExit">
+                    退出
+                </view>
+            </view>
+        </view>
+<!--        <view class="card_foot_2" @click="procurementAdd">
+            <view class="foot_title">
+                我要参与
+            </view>
+        </view>
+        <view class="card_foot_2">
+            <view class="foot_title_2">
+                您已参与
+            </view>
+        </view> -->
+        <view class="card_status">
+            <image v-if='proStatus' style="width: 100%;height: 100%;" src="@/static/procurement/success.png" mode="aspectFill"></image>
+            <image v-else style="width: 100%;height: 100%;" src="@/static/procurement/delete.png" mode="aspectFill"></image>
+        </view>
+        <view class="card_bg" v-if='!proStatus'></view>
+    </view>
+</template>
+
+<script>
+    export default {
+        props: {
+            procuretInfo: {
+                id: 1,
+                msg: '12313'
+            }
+        },
+        data() {
+            return {
+                //data 数据
+                card: {},
+            }
+        },
+        computed: {
+            // 状态
+            proStatus() {
+                return this.procuretInfo % 2 === 0
+            },
+        },
+        methods: {
+            handlerChange() {
+                
+            },
+            handlerDelete() {},
+            // 删除
+            procurementDelete() {},
+            // 修改
+            procurementChange() {
+                this.$emit('popupChange', this.procuretInfo)
+            },
+            // 参与
+            procurementAdd() {
+                this.$emit('popupAdd', this.procuretInfo)
+            },
+            // 退出
+            procurementExit() {
+                this.$emit('modelData', this.procuretInfo)
+            },
+        }
+    }
+</script>
+
+<style scoped lang="scss">
+.card{
+    border-radius: 8rpx;
+    width: 100%;
+    background: #fff;
+    padding: 32rpx 32rpx 0 32rpx;
+    box-sizing: border-box;
+    position: relative;
+}
+.card_title {
+    display: flex;
+    align-items: center;
+    margin-bottom: 32rpx;
+}
+.card .card_user_icon {
+    width: 96rpx;
+    height: 40rpx;
+    border-radius: 8rpx;
+    font-size: 24rpx;
+    background-color: #F3B574;
+    color: #fff;
+    display: flex;
+    justify-content: center;
+    align-items: center;
+}
+.card .card_user {
+    margin-left: 32rpx;
+    height: 40rpx;
+    display: flex;
+    justify-content: center;
+    align-items: center;
+    color: black;
+    font-size: 32rpx;
+}
+.card .card_time {
+    height: 37rpx;
+    font-size: 26rpx;
+    font-weight: 400;
+    color: #999999;
+    margin-bottom: 32rpx;
+}
+.card .card_content{
+    radius: 8rpx 8rpx 8rpx 8rpx;
+    opacity: 1;
+    background: #FFF8EF;
+    height: 160rpx;
+    padding: 12rpx 16rpx;
+    display: flex;
+    justify-content: space-around;
+    align-items: center;
+    box-sizing: border-box;
+    margin-bottom: 32rpx;
+}
+.card .card_content_img {
+    width: 136rpx;
+    height: 136rpx;
+    border-radius: 8rpx;
+}
+.card_content .card_content_title {
+    width: 442rpx;
+    height: 85rpx;
+    font-size: 26rpx;
+    font-family: PingFangSC-Regular, PingFang SC;
+    font-weight: 400;
+    color: #333333;
+    line-height: 48rpx;
+}
+.card .card_form {
+    margin-bottom: 32rpx;
+    height: 37rpx;
+    display: flex;
+    justify-content: space-between;
+    align-items: center;
+}
+.card_form .form {
+    display: flex;
+    height: 100%;
+}
+.card_form .form_title {
+    color: #999999;
+    height: 100%;
+    line-height: 37rpx;
+    font-size: 26rpx;
+}
+.card_form .form_price {
+    height: 100%;
+    line-height: 37rpx;
+    color: #333333;
+    font-size: 26rpx;
+}
+.card .card_foot {
+    height: 100rpx;
+    display: flex;
+    justify-content: space-between;
+    align-content: center;
+    border-top: 1px solid #E1E1E1;
+}
+.card_foot .foot_title {
+    color: #999999;
+    height: 100%;
+    line-height: 100rpx;
+    font-size: 26rpx;
+}
+.card .foot_continue {
+    display: flex;
+    align-items: center;
+    justify-content: center;
+    height: 100%;
+}
+.foot_continue .foot_change {
+    color: #F3B574;
+    font-size: 26rpx;
+    margin-right: 32rpx;
+}
+.foot_continue .foot_delete {
+    font-size: 26rpx;
+    color: #F85050;
+}
+.foot_continue .foot_exit {
+    font-size: 26rpx;
+    color: #F85050;
+}
+.card_foot_2 { 
+    border-top: 1px solid #E1E1E1;
+    height: 100rpx;
+    justify-content: center;
+    align-items: center;
+    display: flex;
+}
+.card_foot_2 .foot_title {
+    color: #F3B574;
+    font-size: 32rpx;
+    font-weight: 500;
+}
+.card_foot_2 .foot_title_2 {
+    color: #999999;
+    font-size: 32rpx;
+    font-weight: 400;
+}
+.card_status {
+    position: absolute;
+    width: 150rpx;
+    height: 100rpx;
+    top: 48rpx;
+    right: 48rpx;
+}
+.card_bg {
+    position: absolute;
+    left: 0;
+    top: 0;
+    height: 100%;
+    width: 100%;
+    background-color: rgba(255, 255, 255, 0.7);
+}
+</style>

+ 33 - 0
pages/goods/components/upload.vue

@@ -0,0 +1,33 @@
+<template>
+    <view class="upload" @click="handlerUpload">
+        <input type="file" ref='upload_inp' class="upload_inp">
+    </view>
+</template>
+
+<script>
+    export default {
+        data() {
+            return {}
+        },
+        methods: {
+            handlerUpload() {
+                const upload = this.$refs.upload_inp
+                upload.onclick = function (e) {
+                    console.log(e)
+                }
+            }
+        }
+    }
+</script>
+
+<style scoped lang="scss">
+    .upload {
+        width: 210rpx;
+        height: 210rpx;
+        border-radius: 6rpx 6rpx 6rpx 6rpx;
+        border: 1rpx dotted #B2B2B2;
+    }
+    .upload_inp {
+        display: none;
+    }
+</style>

+ 271 - 0
pages/goods/procurement.vue

@@ -0,0 +1,271 @@
+<template>
+    <view class="proInit">
+        <tui-skeleton
+        	v-if="skeletonShow"
+        	backgroundColor="#fafafa"
+        	borderRadius="10rpx"
+        	:isLoading="true"
+        	:loadingType="5"
+        ></tui-skeleton>
+        <view v-else>
+            <tui-tabs :tabs="tabs" :currentTab="currentTab" @change="handlerTabs" class="tab"></tui-tabs>
+            <view class="tabsContent" v-for="(item, index) in 5" :key="index" :style="{marginTop: index === 0 ? '40px' : ''}">
+                <proCard @modelData="modelData" :procuretInfo='item' @popupAdd="popupAdd" @popupChange='popupChange'/>
+            </view>
+        </view>
+        <!-- 弹窗提示 -->
+        <tui-modal
+        	:show="modal"
+        	@click="handleClick"
+        	@cancel="hideMobel"
+        	:content="contentModalText"
+        	:button="modalButton"
+        	color="#333"
+        	:size="32"
+        	shape="circle"
+        	:maskClosable="false"
+        >
+        </tui-modal>
+        <view class="add_btn" @click="procurementAdd">
+            <image style="width: 100%;height: 100%;" src="@/static/procurement/add_pro.png"></image>
+        </view>
+        <tui-bottom-popup  :zIndex="1002" :maskZIndex="1001" :show="popupShow" @close="handlerPopupClose">
+        	<view class="popup_content">
+        	    <view class="pro_popup_title">
+        	        参与需求
+        	    </view>
+                <view class="popup_form">
+                    <view class="popup_form_item">
+                        商品图片:
+                    </view>
+                    <view class="popup_img">
+                        <image style="width: 100%;height: 100%;" src="" mode="aspectFill"></image>
+                    </view>
+                </view>
+                <view class="popup_form">
+                    <view class="popup_form_item">
+                        商品名称:
+                    </view>
+                    <view class="popup_form_name">
+                        韩国恩盛进口氢洁气小气泡清韩进口氢洁气小气泡清
+                        口氢洁气小气泡清韩进口氢洁气小气泡
+                    </view>
+                </view>
+                <form>
+                    <view class="uni-form-item uni-column">
+                        <view class="title"><text style="font-size: 26rpx;color: #F85050;">*</text>期望单价:</view>
+                        <view style="position: relative;">
+                            <view class="input_icon">
+                                ¥
+                            </view>
+                            <input class="uni-input" focus placeholder="自动获得焦点" />
+                        </view>
+                    </view>
+                    <view class="uni-form-item uni-column">
+                        <view class="title"><text style="font-size: 26rpx;color: #F85050;">*</text>采购数量:</view>
+                        <view style="position: relative;">
+                            <input class="uni-input" focus placeholder="自动获得焦点" />
+                        </view>
+                    </view>
+                    <view class="submit_btn">
+                        <button class="popup_btn cancel">取消</button>
+                        <button class="popup_btn submit">确定</button>
+                    </view>
+                </form>
+        	</view>
+        </tui-bottom-popup>
+        <!--加载loadding-->
+        <tui-loadmore :visible="loadding" :index="3" type="black"></tui-loadmore>
+        <tui-nomore :visible="!pullUpOn" :backgroundColor="'#F7F7F7'" :text="nomoreText"></tui-nomore>
+        <!--加载loadding-->
+    </view>
+</template>
+
+<script>
+    import proCard from './components/procurement_card.vue'
+    export default {
+        components: {
+            proCard,
+        },
+        data() {
+            return {
+                skeletonShow: true,
+                tabs: [
+                    {
+                        name: '全部'
+                    },
+                    {
+                        name:'我参与的'
+                    },
+                    {
+                        name: '我发起的'
+                    }
+                ],
+                currentTab: 0,
+                modal: false,
+                contentModalText: '确定退出参与该需求吗?',
+                modalButton: [
+                    {
+                        text: '取消',
+                        type: 'gray',
+                        plain: true, //是否空心
+                    },
+                    {
+                        text: '确认',
+                        customStyle: {
+                            color: '#fff',
+                            bgColor: 'linear-gradient(90deg, #F28F31 0%, #F3B574 100%)'
+                        },
+                        plain: false
+                    }
+                ],
+                proDataInfo: {},
+                popupShow: false,
+                loadding: true,
+                pullUpOn: true,
+            }
+        },
+        mounted() {
+            this.skeletonShow = false
+        },
+        methods:{
+            handlerTabs($event) {
+                this.currentTab = $event.index
+            },
+            handleClick($event) {
+                this.modal = false
+                if ($event.index === 1) {}
+            },
+            hideMobel($event) {},
+            modelData(proData) {
+                this.modal = true
+                this.proDataInfo = proData
+            },
+            // 关闭底部
+            handlerPopupClose() {
+                this.popupShow = false
+            },
+            // 我要参与
+            popupAdd($event) {
+                console.log($event)
+                this.popupShow = true
+            },
+            // 修改
+            popupChange($event) {
+                uni.navigateTo({
+                	url: '/pages/goods/procurement_info'
+                })
+            },
+            // 发布
+            procurementAdd() {
+                uni.navigateTo({
+                	url: '/pages/goods/procurementAdd'
+                })
+            },
+        },
+    }
+</script>
+
+<style lang="scss" scoped>
+.proInit {
+    background-color: #F7F7F7;
+}
+.proInit .tab {
+    position: fixed;
+    left: 0;
+    top: 0;
+    z-index: 9;
+}
+::v-deep .tui-tabs-slider.data-v-9311a734 {
+    background: #F3B574 !important;
+}
+::v-deep .tui-tabs-title.tui-tabs-active {
+    color: #F3B574 !important;
+}
+.tabsContent {
+    background-color: #F7F7F7;
+    padding: 16rpx 32rpx;
+    // margin-bottom: 32rpx;
+}
+.add_btn {
+    width: 100rpx;
+    height: 100rpx;
+    position: fixed;
+    bottom: 129rpx;
+    right: 34rpx;
+}
+.popup_content {
+    padding: 0 64rpx;
+}
+.pro_popup_title {
+    font-size: 32rpx;
+    font-weight: bold;
+    color: #333333;
+    margin: 40rpx auto;
+    text-align: center;
+}
+.popup_form {
+    margin-bottom: 32rpx;
+}
+.popup_form .popup_form_item {
+    color: #999999;
+    font-size: 26rpx;
+    margin-bottom: 16rpx;
+}
+.popup_form .popup_img {
+    width: 136rpx;
+    height: 136rpx;
+    border: 1px dotted black;
+}
+.popup_form .popup_form_name {
+    color: #333333;
+    font-size: 26rpx;
+    font-weight: 400;
+    line-height: 44rpx;
+}
+.uni-form-item .title {
+    color: #999999;
+    font-size: 26rpx;
+    margin-bottom: 16rpx;
+}
+.input_icon {
+    position: absolute;
+    left: 15rpx;
+    top: 24rpx;
+    color: #B2B2B2;
+    font-size: 26rpx;
+}
+.uni-form-item .uni-input {
+    height: 80rpx;
+    border: 1px solid #B2B2B2;
+    border-radius: 6rpx 6rpx 6rpx 6rpx;
+    font-size: 26rpx;
+    padding-left: 47rpx;
+    margin-bottom: 32rpx;
+}
+.submit_btn {
+    margin-top: 56rpx;
+    height: 84rpx;
+    display: flex;
+    justify-content: space-between;
+    align-items: center;
+    margin-bottom: 50rpx;
+}
+.submit_btn .popup_btn {
+    width: 280rpx;
+    height: 100%;
+    border-radius: 45rpx 45rpx 45rpx 45rpx;
+    text-align: center;
+    line-height: 84rpx;
+}
+::v-deep .submit_btn .cancel {
+    background-color: #FFF4E6;
+    color: #F3B574;
+    font-size: 32rpx;
+}
+::v-deep .submit_btn .submit {
+    background-color: #F3B574;
+    color: #FFFFFF;
+    font-size: 32rpx;
+}
+</style>

+ 82 - 0
pages/goods/procurementAdd.vue

@@ -0,0 +1,82 @@
+<template>
+    <view class="release">
+        <form>
+            <view class="uni-form-item uni-column">
+                <view class="title"><span>*</span>商品图片</view>
+                <view class="uploadComp">
+                    <proUpload />
+                </view>
+            </view>
+            <view class="uni-form-item uni-column">
+                <view class="title"><span>*</span>商品名称</view>
+                <view>
+                    <input class="uni-input" focus placeholder="自动获得焦点" />
+                </view>
+            </view>
+            <view class="uni-form-item uni-column">
+                <view class="title"><span>*</span>期望单价</view>
+                <view>
+                    <input class="uni-input" focus placeholder="自动获得焦点" />
+                </view>
+            </view>
+            <view class="uni-form-item uni-column">
+                <view class="title"><span>*</span>采购数量</view>
+                <view>
+                    <input class="uni-input" focus placeholder="自动获得焦点" />
+                </view>
+            </view>
+        </form>
+        <view class="release_btn">
+            <proBtn width="600rpx" height="90rpx" background='#E2E2E2' color='#999999' fontSize='32rpx'>发布</proBtn>
+        </view>
+    </view>
+</template>
+
+<script>
+    import proBtn from './components/procurement-btn.vue'
+    import proUpload from './components/upload.vue'
+    export default {
+        components: {
+            proUpload,
+            proBtn
+        },
+    }
+</script>
+
+<style lang="scss" scoped>
+    .release {
+        padding: 24rpx;
+    }
+    span{
+        color: #F85050;
+        font-size: 28rpx;
+    }
+    .title {
+        font-size: 28rpx;
+        color: #666666;
+        margin-bottom: 24rpx;
+    }
+    .uploadComp {
+        margin-bottom: 40rpx;
+    }
+    .uni-input {
+        border-radius: 6rpx 6rpx 6rpx 6rpx;
+        border: 1rpx solid #B2B2B2;
+        height: 90rpx;
+        font-size: 28rpx;
+        padding: 24rpx;
+        margin-bottom: 40rpx;
+        box-sizing: border-box;
+        line-height: 40rpx;
+    }
+    .release_btn {
+        position: fixed;
+        left: 0;
+        bottom: 0;
+        margin-bottom: 76rpx;
+        display: flex;
+        justify-content: center;
+        align-items: center;
+        width: 100%;
+    }
+</style>

+ 258 - 0
pages/goods/procurement_info.vue

@@ -0,0 +1,258 @@
+<template>
+   <view style="background-color: #fff;position: relative;">
+       <view class="procure_info">
+           <view class="info_card">
+               <view class="card_title">
+                   采购商品
+               </view>
+               <view class="card_line"></view>
+               <view class="card_store">
+                   <image class="img" src="" mode="aspectFill"></image>
+                   <view class="store_title">
+                      韩国恩盛进口氢洁气小气泡清韩进口氢洁气小气泡清...
+                   </view>
+               </view>
+               <view class="back-filter"></view>
+           </view>
+           <view class="info_Initiator">
+               <view class="card_title">
+                   发起者需求
+               </view>
+               <view class="card_line"></view>
+               <view class="Initiator_contant">
+                   <view class="Initiator_name">
+                       <view class="Initiator_icon">
+                           发起者
+                       </view>
+                       <view class="user">
+                           科医人医疗激光设备贸易公司
+                       </view>
+                   </view>
+                   <view class="Initiator_price">
+                       <view class="unit_price">
+                           <view class="title">
+                               期望单价:
+                           </view>
+                           <view class="price">
+                               ¥500.00
+                           </view>
+                       </view>
+                       <view class="unit_sum">
+                           <view class="title">
+                               采购数量:
+                           </view>
+                           <view class="price">
+                               50
+                           </view>
+                       </view>
+                   </view>
+               </view>
+               <view class="status">
+<!--                   <image style="width: 100%;height: 100%;" src="@/static/procurement/success.png" mode="aspectFill"></image> -->
+                    <image style="width: 100%;height: 100%;" src="@/static/procurement/delete.png" mode="aspectFill"></image>
+               </view>
+               <view class="back-filter"></view>
+           </view>
+           <view class="info_Participant">
+               <view class="card_title">
+                   参与者需求(3)
+               </view>
+               <view class="card_line"></view>
+               <view class="Initiator_contant" v-for="(item, index) in 3" :key="item" :style="{margin: index!== 0 ? '24rpx 8rpx 16rpx 8rpx' : '40rpx 8rpx 16rpx 8rpx'}">
+                   <view class="Initiator_name">
+                       <view class="Initiator_icon">
+                           参与者
+                       </view>
+                       <view class="user">
+                           科医人医疗激光设备贸易公司
+                       </view>
+                   </view>
+                   <view class="Initiator_price">
+                       <view class="unit_price">
+                           <view class="title">
+                               期望单价:
+                           </view>
+                           <view class="price">
+                               ¥500.00
+                           </view>
+                       </view>
+                       <view class="unit_sum">
+                           <view class="title">
+                               采购数量:
+                           </view>
+                           <view class="price">
+                               50
+                           </view>
+                       </view>
+                   </view>
+               </view>
+               <view class="empty" v-if='false'>
+                   暂无参与者~
+               </view>
+               <view class="back-filter"></view>
+           </view>
+       </view>
+       <view class="info_btn">
+           <proBtn>删除</proBtn>
+           <proBtn color='#FFFFFF' background='#F3B574'>修改</proBtn>
+       </view>
+   </view>
+</template>
+
+<script>
+    import proBtn from './components/procurement-btn.vue'
+    export default {
+        components: {
+            proBtn,
+        },
+        data() {
+            return {
+                
+            }
+        }
+    }
+</script>
+
+<style lang="scss" scoped>
+.img {
+    width: 136rpx;
+    height: 136rpx;
+    border: 1px dotted black;
+    margin-right: 24rpx;
+}
+.procure_info {
+    background-color: #F7F7F7;
+    padding: 24rpx;
+}
+.procure_info .info_card {
+    height: 340rpx;
+    padding: 24rpx;
+    background-color: #fff;
+    border-radius: 16rpx 16rpx 16rpx 16rpx;
+    box-sizing: border-box;
+    position: relative;
+}
+.card_title {
+    color: #333333;
+    font-size: 32rpx;
+    font-weight: bold;
+}
+.card_line {
+    border: 1rpx solid #E1E1E1;
+    margin-top: 24rpx;
+}
+.info_card .card_store {
+    margin: 40rpx 8px;
+    padding: 12rpx;
+    background-color: #F7F7F7;
+    display: flex;
+    align-items: center;
+    border-radius: 8rpx 8rpx 8rpx 8rpx;
+}
+.info_card .store_title {
+    width: 442rpx;
+    font-size: 26rpx;
+    color: #333333;
+    line-height: 48rpx;
+}
+.procure_info .info_Initiator {
+    background-color: #fff;
+    border-radius: 16rpx 16rpx 16rpx 16rpx;
+    padding: 24rpx;
+    margin: 24rpx 0;
+    box-sizing: border-box;
+    position: relative;
+}
+.Initiator_contant {
+    height: 220rpx;
+    background-color: #F7F7F7;
+    margin: 40rpx 8rpx 16rpx 8rpx;
+    border-radius: 8rpx 8rpx 8rpx 8rpx;
+    padding: 40rpx 24rpx;
+    box-sizing: border-box;
+}
+.Initiator_contant .Initiator_name {
+    display: flex;
+    align-items: center;
+}
+.Initiator_contant .Initiator_icon {
+    width: 96rpx;
+    height: 40rpx;
+    line-height: 40rpx;
+    font-size: 24rpx;
+    text-align: center;
+    color: #fff;
+    background-color: #F3B574;
+    border-radius: 8rpx;
+    margin-right: 24rpx;
+}
+.Initiator_name .user{
+    color: #333333;
+    font-size: 32rpx;
+    font-weight: bold;
+}
+.Initiator_contant .Initiator_price {
+    margin-top: 48rpx;
+    display: flex;
+    align-items: center;
+}
+.Initiator_price .unit_price,
+.Initiator_price .unit_sum{
+    display: flex;
+    align-items: center;
+}
+.Initiator_price .unit_sum {
+    margin-left: 120rpx;
+}
+.title {
+    color: #999999;
+    font-size: 26rpx;
+    font-weight: 400;
+}
+.price {
+    color: #333333;
+    font-size: 26rpx;
+}
+.info_Participant {
+    background-color: #fff;
+    padding: 24rpx;
+    border-radius: 16rpx;
+    margin-bottom: 256rpx;
+    position: relative;
+}
+.empty {
+    height: 250rpx;
+    display: flex;
+    justify-content: center;
+    align-items: center;
+    font-size: 26rpx;
+    color: #B2B2B2;
+}
+.info_btn {
+    position: fixed;
+    bottom: 0%;
+    left: 0;
+    padding: 16rpx 56rpx 84rpx 56rpx;
+    justify-content: space-between;
+    display: flex;
+    align-items: center;
+    background-color: #fff;
+    width: 100%;
+    box-sizing: border-box;
+}
+.status {
+    position: absolute;
+    width: 150rpx;
+    height: 100rpx;
+    right: 48rpx;
+    top: 48rpx;
+}
+.back-filter {
+    position: absolute;
+    left: 0;
+    top: 0;
+    background-color: rgba(255, 255, 255, 0.7);
+    height: 100%;
+    width: 100%;
+}
+</style>

+ 7 - 2
pages/tabBar/home/components/hotmode.vue

@@ -1,7 +1,7 @@
 <template name="hotmode">
 	<view>
 		<view class="hotmode-content clearfix">
-			<view class="hot-image le">
+			<view class="hot-image le" @click="handler">
 				<image src="https://img-b.caimei365.com/group1/M00/04/30/rB-lHGRWIi-AMo5bAABBwc_L90w000.png" mode=""></image>
 			</view>
 			<view class="hot-image ri">
@@ -35,7 +35,12 @@
 			initData(list){
 				this.navList = list
 			},
-			NavToDetailPage(pros,index) {//跳转
+			handler() {
+                uni.navigateTo({
+                    url:'/pages/goods/procurement'
+                })
+            },
+            NavToDetailPage(pros,index) {//跳转
 				if(index === 3){
 					let linkPath = 'https://static.caimei365.com/app/caimei-activity-h5/html/2023/activity_02.html'
 					this.$api.navigateTo(`/pages/h5/activity/activity?link=${linkPath}&linkId=382`)

BIN
static/procurement/add_pro.png


BIN
static/procurement/delete.png


BIN
static/procurement/success.png