1 line
3.5 KiB
Plaintext
1 line
3.5 KiB
Plaintext
{"version":3,"file":"index.js","sources":["../../../../../src/pages/push/index.vue","../../../../../uniPage:/cGFnZXMvcHVzaC9pbmRleC52dWU"],"sourcesContent":["<route lang=\"json5\">\r\n{\r\n style: {\r\n navigationBarTitleText: '发布与分享',\r\n navigationStyle: 'custom',\r\n },\r\n}\r\n</route>\r\n<template>\r\n <image class=\"background\" :src=\"imgUrl('@/static/push/bg.png')\" mode=\"aspectFill\"></image>\r\n <view class=\"container h-[100vh]\">\r\n <scroll-view class=\"flex mt-2 space-x-4 h-[100%] p-t[100%]\" scroll-x=\"true\">\r\n <view @click=\"handleService('door')\" class=\"flex flex-col items-center w-full relative\">\r\n <image\r\n class=\"bg-image absolute inset-0 w-full h-[100px] rounded-lg\"\r\n :src=\"imgUrl('@/static/push/pushshop.png')\"\r\n mode=\"widthFix\"\r\n ></image>\r\n <view\r\n class=\"h-12 rounded-lg flex items-center justify-center text-black relative z-10 font-500 text-size-[25px]\"\r\n >\r\n 发布上门服务\r\n </view>\r\n <view\r\n class=\"h-2 rounded-lg flex items-center justify-center text-black relative z-10 text-size-[15px]\"\r\n >\r\n 发布我的专属上门服务\r\n </view>\r\n </view>\r\n\r\n <view\r\n @click=\"handleService('shop')\"\r\n class=\"flex flex-col items-center w-full mt-[15%] relative\"\r\n >\r\n <image\r\n class=\"bg-image absolute inset-0 w-full h-[95px] rounded-lg\"\r\n :src=\"imgUrl('@/static/push/pushdoor.png')\"\r\n mode=\"widthFix\"\r\n ></image>\r\n <view\r\n class=\"h-12 rounded-lg flex items-center justify-center text-black relative z-10 font-500 text-size-[25px]\"\r\n >\r\n 发布商品服务\r\n </view>\r\n <view\r\n class=\"h-2 rounded-lg flex items-center justify-center text-black relative z-10 text-size-[15px]\"\r\n >\r\n 发布我的专属商品服务\r\n </view>\r\n </view>\r\n </scroll-view>\r\n </view>\r\n\r\n <!-- 引入自定义TabBar -->\r\n <Tabbar />\r\n</template>\r\n\r\n<script setup>\r\nimport Tabbar from '@/components/Tabbar.vue'\r\nimport { imgUrl } from '@/utils/commUtils'\r\n\r\nconst handleService = (type) => {\r\n if (type === 'door') {\r\n toPath('/pages/push/door')\r\n } else if (type === 'shop') {\r\n toPath('/pages/push/goods')\r\n }\r\n}\r\nconst toPath = (path) => {\r\n uni.navigateTo({\r\n url: path,\r\n })\r\n}\r\n</script>\r\n\r\n<style>\r\n.background {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n z-index: -1;\r\n width: 100%;\r\n height: 100%;\r\n background-color: #facc15;\r\n}\r\n/* 在这里添加任何自定义的样式 */\r\n.container {\r\n padding: 16px;\r\n}\r\n\r\nbutton {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n /* 调整字体大小以适应卡片 */\r\n font-size: 14px;\r\n text-align: center;\r\n /* 使按钮的文字不换行 */\r\n white-space: nowrap;\r\n}\r\n</style>\r\n","import MiniProgramPage from 'D:/App/Work/addr/acdr-ui/src/pages/push/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni","MiniProgramPage"],"mappings":";;;;;;;;;;AAOQ,MAAA,SAAA,MAAA;;;;AAAA,UAAA,gBAAA,CAAA,SAAA;AAAA,UAAA,SAAA,QAAA;AAAA,eAAA,kBAAA;AAAA,MAAA,WAAA,SAAA,QAAA;AAAA,eAAA,mBAAA;AAAA,MAAA;AAAA,IAAA;AAAA,UAAA,SAAA,CAAA,SAAA;AAAAA,oBAAAA,MAAA,WAAA;AAAA,QAAA,KAAA;AAAA,MAAA,CAAA;AAAA,IAAA;;;;;;;;;;;;ACNR,GAAG,WAAWC,SAAe;"} |