Commit 32e5e537 by 肖康

百度地图标点

parent 9c3e1eb6
.BMapLabel{
border:0px!important;
}
.mappage{
padding-top: 88rpx;
padding-bottom: 212rpx;
.chead{
width: 100%;
height: 88rpx;
background: #FFFFFF;
position: fixed;
left:0rpx;
top:0rpx;
.icon{
font-size: 44rpx;
color:$uni-color999;
margin-left: 32rpx;
}
.titlesi{
color:$uni-color333;
font-size: 34rpx;
font-weight: 500;
width:650rpx;
text-align: center;
}
}
.zttips{
height: 90rpx;
width:702rpx;
position: fixed;
left:24rpx;
top:104rpx;
background: #FFF8F2;
border-radius: 0px 30rpx 30rpx 30rpx;
color:$uni-colorwarning;
font-size: 22rpx;
box-sizing: border-box;
padding:15rpx 24rpx;
z-index: 1;
.icon{font-size: 32rpx;margin-right: 16rpx;}
}
.mapbox{
width:100%;
height: calc(100vh - 300rpx);
background: #fff;
}
.foot{
width: 100%;
height: 212rpx;
background: #FFFFFF;
box-shadow: 0rpx -4rpx 20rpx 0rpx rgba(198,199,204,0.1);
border-radius: 10rpx 10rpx 0rpx 0rpx;
position: fixed;
bottom:0rpx;
left:0rpx;
.ztitem{
padding:28rpx 24rpx;
padding-top: 36rpx;
view{
margin-bottom: 20rpx;
font-size: 24rpx;
color:$uni-color666;
width:620rpx;
.icon{
color:$uni-color999;
font-size: 32rpx;
margin-right: 12rpx;
}
}
}
}
}
\ No newline at end of file
......@@ -12,19 +12,150 @@
"jweixin-module": "^1.6.0",
"lodash": "^4.17.21",
"query-string": "^6.14.1",
"uni-simple-router": "^1.5.5"
"uni-simple-router": "^1.5.5",
"vue-baidu-map": "^0.21.22"
}
},
"node_modules/@babel/parser": {
"version": "7.22.4",
"resolved": "https://registry.npmmirror.com/@babel/parser/-/parser-7.22.4.tgz",
"integrity": "sha512-VLLsx06XkEYqBtE5YGPwfSGwfrjnyPP5oiGty3S8pQLFDFLaS8VwWSIxkTXpcvr5zeYLE6+MBNl2npl/YnfofA==",
"peer": true,
"bin": {
"parser": "bin/babel-parser.js"
},
"engines": {
"node": ">=6.0.0"
}
},
"node_modules/@vue/compiler-sfc": {
"version": "2.7.14",
"resolved": "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-2.7.14.tgz",
"integrity": "sha512-aNmNHyLPsw+sVvlQFQ2/8sjNuLtK54TC6cuKnVzAY93ks4ZBrvwQSnkkIh7bsbNhum5hJBS00wSDipQ937f5DA==",
"peer": true,
"dependencies": {
"@babel/parser": "^7.18.4",
"postcss": "^8.4.14",
"source-map": "^0.6.1"
}
},
"node_modules/argparse": {
"version": "1.0.10",
"resolved": "https://registry.npmmirror.com/argparse/-/argparse-1.0.10.tgz",
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
"dependencies": {
"sprintf-js": "~1.0.2"
}
},
"node_modules/bmaplib.curveline": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/bmaplib.curveline/-/bmaplib.curveline-1.0.0.tgz",
"integrity": "sha512-9wcFMVhiYxNPqpvsLDAADn3qDhNzXp2mA6VyHSHg2XOAgSooC7ZiujdFhy0sp+0QYjTfJ/MjmLuNoUg2HHxH4Q=="
},
"node_modules/bmaplib.heatmap": {
"version": "1.0.4",
"resolved": "https://registry.npmmirror.com/bmaplib.heatmap/-/bmaplib.heatmap-1.0.4.tgz",
"integrity": "sha512-rmhqUARBpUSJ9jXzUI2j7dIOqnc38bqubkx/8a349U2qtw/ulLUwyzRD535OrA8G7w5cz4aPKm6/rNvUAarg/Q=="
},
"node_modules/bmaplib.lushu": {
"version": "1.0.7",
"resolved": "https://registry.npmmirror.com/bmaplib.lushu/-/bmaplib.lushu-1.0.7.tgz",
"integrity": "sha512-LVvgpESPii6xGxyjnQjq8u+ic4NjvhdCPV/RiSS/PGTUdZKeTDS7prSpleJLZH3ES0+oc0gYn8bw0LtPYUSz2w=="
},
"node_modules/bmaplib.markerclusterer": {
"version": "1.0.13",
"resolved": "https://registry.npmmirror.com/bmaplib.markerclusterer/-/bmaplib.markerclusterer-1.0.13.tgz",
"integrity": "sha512-VrLyWSiuDEVNi0yUfwOhFQ6z1oEEHS4w36GNu3iASu6p52QIx9uAXMUkuSCHReNR0bj2Cp9SA1dSx5RpojXajQ==",
"dependencies": {
"bmaplib.texticonoverlay": "^1.0.2"
}
},
"node_modules/bmaplib.texticonoverlay": {
"version": "1.0.2",
"resolved": "https://registry.npmmirror.com/bmaplib.texticonoverlay/-/bmaplib.texticonoverlay-1.0.2.tgz",
"integrity": "sha512-4ZTWr4ZP3B6qEWput5Tut16CfZgII38YwM3bpyb4gFTQyORlKYryFp9WHWrwZZaHlOyYDAXG9SX0hka43jTADg=="
},
"node_modules/csstype": {
"version": "3.1.2",
"resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.1.2.tgz",
"integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==",
"peer": true
},
"node_modules/entities": {
"version": "1.1.2",
"resolved": "https://registry.npmmirror.com/entities/-/entities-1.1.2.tgz",
"integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w=="
},
"node_modules/jweixin-module": {
"version": "1.6.0",
"resolved": "https://registry.npmmirror.com/jweixin-module/-/jweixin-module-1.6.0.tgz",
"integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w=="
},
"node_modules/linkify-it": {
"version": "2.2.0",
"resolved": "https://registry.npmmirror.com/linkify-it/-/linkify-it-2.2.0.tgz",
"integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==",
"dependencies": {
"uc.micro": "^1.0.1"
}
},
"node_modules/lodash": {
"version": "4.17.21",
"resolved": "https://repo.huaweicloud.com/repository/npm/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
},
"node_modules/markdown-it": {
"version": "8.4.2",
"resolved": "https://registry.npmmirror.com/markdown-it/-/markdown-it-8.4.2.tgz",
"integrity": "sha512-GcRz3AWTqSUphY3vsUqQSFMbgR38a4Lh3GWlHRh/7MRwz8mcu9n2IO7HOh+bXHrR9kOPDl5RNCaEsrneb+xhHQ==",
"dependencies": {
"argparse": "^1.0.7",
"entities": "~1.1.1",
"linkify-it": "^2.0.0",
"mdurl": "^1.0.1",
"uc.micro": "^1.0.5"
},
"bin": {
"markdown-it": "bin/markdown-it.js"
}
},
"node_modules/mdurl": {
"version": "1.0.1",
"resolved": "https://registry.npmmirror.com/mdurl/-/mdurl-1.0.1.tgz",
"integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g=="
},
"node_modules/nanoid": {
"version": "3.3.6",
"resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.6.tgz",
"integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
"peer": true,
"bin": {
"nanoid": "bin/nanoid.cjs"
},
"engines": {
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
}
},
"node_modules/picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz",
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
"peer": true
},
"node_modules/postcss": {
"version": "8.4.24",
"resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.24.tgz",
"integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==",
"peer": true,
"dependencies": {
"nanoid": "^3.3.6",
"picocolors": "^1.0.0",
"source-map-js": "^1.0.2"
},
"engines": {
"node": "^10 || ^12 || >=14"
}
},
"node_modules/query-string": {
"version": "6.14.1",
"resolved": "https://registry.npmmirror.com/query-string/-/query-string-6.14.1.tgz",
......@@ -71,6 +202,34 @@
"node": ">=4"
}
},
"node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"peer": true,
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/source-map-js": {
"version": "1.0.2",
"resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.0.2.tgz",
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
"peer": true,
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/sprintf-js": {
"version": "1.0.3",
"resolved": "https://registry.npmmirror.com/sprintf-js/-/sprintf-js-1.0.3.tgz",
"integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="
},
"node_modules/uc.micro": {
"version": "1.0.6",
"resolved": "https://registry.npmmirror.com/uc.micro/-/uc.micro-1.0.6.tgz",
"integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA=="
},
"node_modules/uni-simple-router": {
"version": "1.5.5",
"resolved": "https://registry.npmmirror.com/uni-simple-router/-/uni-simple-router-1.5.5.tgz",
......@@ -125,19 +284,156 @@
"engines": {
"node": ">=4"
}
},
"node_modules/vue": {
"version": "2.7.14",
"resolved": "https://registry.npmmirror.com/vue/-/vue-2.7.14.tgz",
"integrity": "sha512-b2qkFyOM0kwqWFuQmgd4o+uHGU7T+2z3T+WQp8UBjADfEv2n4FEMffzBmCKNP0IGzOEEfYjvtcC62xaSKeQDrQ==",
"peer": true,
"dependencies": {
"@vue/compiler-sfc": "2.7.14",
"csstype": "^3.1.0"
}
},
"node_modules/vue-baidu-map": {
"version": "0.21.22",
"resolved": "https://registry.npmmirror.com/vue-baidu-map/-/vue-baidu-map-0.21.22.tgz",
"integrity": "sha512-WQMPCih4UTh0AZCKKH/OVOYnyAWjfRNeK6BIeoLmscyY5aF8zzlJhz/NOHLb3mdztIpB0Z6aohn4Jd9mfCSjQw==",
"dependencies": {
"bmaplib.curveline": "^1.0.0",
"bmaplib.heatmap": "^1.0.4",
"bmaplib.lushu": "^1.0.7",
"bmaplib.markerclusterer": "^1.0.13",
"markdown-it": "^8.4.0"
},
"peerDependencies": {
"vue": "^2.1.8"
}
}
},
"dependencies": {
"@babel/parser": {
"version": "7.22.4",
"resolved": "https://registry.npmmirror.com/@babel/parser/-/parser-7.22.4.tgz",
"integrity": "sha512-VLLsx06XkEYqBtE5YGPwfSGwfrjnyPP5oiGty3S8pQLFDFLaS8VwWSIxkTXpcvr5zeYLE6+MBNl2npl/YnfofA==",
"peer": true
},
"@vue/compiler-sfc": {
"version": "2.7.14",
"resolved": "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-2.7.14.tgz",
"integrity": "sha512-aNmNHyLPsw+sVvlQFQ2/8sjNuLtK54TC6cuKnVzAY93ks4ZBrvwQSnkkIh7bsbNhum5hJBS00wSDipQ937f5DA==",
"peer": true,
"requires": {
"@babel/parser": "^7.18.4",
"postcss": "^8.4.14",
"source-map": "^0.6.1"
}
},
"argparse": {
"version": "1.0.10",
"resolved": "https://registry.npmmirror.com/argparse/-/argparse-1.0.10.tgz",
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
"requires": {
"sprintf-js": "~1.0.2"
}
},
"bmaplib.curveline": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/bmaplib.curveline/-/bmaplib.curveline-1.0.0.tgz",
"integrity": "sha512-9wcFMVhiYxNPqpvsLDAADn3qDhNzXp2mA6VyHSHg2XOAgSooC7ZiujdFhy0sp+0QYjTfJ/MjmLuNoUg2HHxH4Q=="
},
"bmaplib.heatmap": {
"version": "1.0.4",
"resolved": "https://registry.npmmirror.com/bmaplib.heatmap/-/bmaplib.heatmap-1.0.4.tgz",
"integrity": "sha512-rmhqUARBpUSJ9jXzUI2j7dIOqnc38bqubkx/8a349U2qtw/ulLUwyzRD535OrA8G7w5cz4aPKm6/rNvUAarg/Q=="
},
"bmaplib.lushu": {
"version": "1.0.7",
"resolved": "https://registry.npmmirror.com/bmaplib.lushu/-/bmaplib.lushu-1.0.7.tgz",
"integrity": "sha512-LVvgpESPii6xGxyjnQjq8u+ic4NjvhdCPV/RiSS/PGTUdZKeTDS7prSpleJLZH3ES0+oc0gYn8bw0LtPYUSz2w=="
},
"bmaplib.markerclusterer": {
"version": "1.0.13",
"resolved": "https://registry.npmmirror.com/bmaplib.markerclusterer/-/bmaplib.markerclusterer-1.0.13.tgz",
"integrity": "sha512-VrLyWSiuDEVNi0yUfwOhFQ6z1oEEHS4w36GNu3iASu6p52QIx9uAXMUkuSCHReNR0bj2Cp9SA1dSx5RpojXajQ==",
"requires": {
"bmaplib.texticonoverlay": "^1.0.2"
}
},
"bmaplib.texticonoverlay": {
"version": "1.0.2",
"resolved": "https://registry.npmmirror.com/bmaplib.texticonoverlay/-/bmaplib.texticonoverlay-1.0.2.tgz",
"integrity": "sha512-4ZTWr4ZP3B6qEWput5Tut16CfZgII38YwM3bpyb4gFTQyORlKYryFp9WHWrwZZaHlOyYDAXG9SX0hka43jTADg=="
},
"csstype": {
"version": "3.1.2",
"resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.1.2.tgz",
"integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==",
"peer": true
},
"entities": {
"version": "1.1.2",
"resolved": "https://registry.npmmirror.com/entities/-/entities-1.1.2.tgz",
"integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w=="
},
"jweixin-module": {
"version": "1.6.0",
"resolved": "https://registry.npmmirror.com/jweixin-module/-/jweixin-module-1.6.0.tgz",
"integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w=="
},
"linkify-it": {
"version": "2.2.0",
"resolved": "https://registry.npmmirror.com/linkify-it/-/linkify-it-2.2.0.tgz",
"integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==",
"requires": {
"uc.micro": "^1.0.1"
}
},
"lodash": {
"version": "4.17.21",
"resolved": "https://repo.huaweicloud.com/repository/npm/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
},
"markdown-it": {
"version": "8.4.2",
"resolved": "https://registry.npmmirror.com/markdown-it/-/markdown-it-8.4.2.tgz",
"integrity": "sha512-GcRz3AWTqSUphY3vsUqQSFMbgR38a4Lh3GWlHRh/7MRwz8mcu9n2IO7HOh+bXHrR9kOPDl5RNCaEsrneb+xhHQ==",
"requires": {
"argparse": "^1.0.7",
"entities": "~1.1.1",
"linkify-it": "^2.0.0",
"mdurl": "^1.0.1",
"uc.micro": "^1.0.5"
}
},
"mdurl": {
"version": "1.0.1",
"resolved": "https://registry.npmmirror.com/mdurl/-/mdurl-1.0.1.tgz",
"integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g=="
},
"nanoid": {
"version": "3.3.6",
"resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.6.tgz",
"integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
"peer": true
},
"picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz",
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
"peer": true
},
"postcss": {
"version": "8.4.24",
"resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.24.tgz",
"integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==",
"peer": true,
"requires": {
"nanoid": "^3.3.6",
"picocolors": "^1.0.0",
"source-map-js": "^1.0.2"
}
},
"query-string": {
"version": "6.14.1",
"resolved": "https://registry.npmmirror.com/query-string/-/query-string-6.14.1.tgz",
......@@ -171,6 +467,28 @@
}
}
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"peer": true
},
"source-map-js": {
"version": "1.0.2",
"resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.0.2.tgz",
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
"peer": true
},
"sprintf-js": {
"version": "1.0.3",
"resolved": "https://registry.npmmirror.com/sprintf-js/-/sprintf-js-1.0.3.tgz",
"integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="
},
"uc.micro": {
"version": "1.0.6",
"resolved": "https://registry.npmmirror.com/uc.micro/-/uc.micro-1.0.6.tgz",
"integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA=="
},
"uni-simple-router": {
"version": "1.5.5",
"resolved": "https://registry.npmmirror.com/uni-simple-router/-/uni-simple-router-1.5.5.tgz",
......@@ -211,6 +529,28 @@
"integrity": "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ=="
}
}
},
"vue": {
"version": "2.7.14",
"resolved": "https://registry.npmmirror.com/vue/-/vue-2.7.14.tgz",
"integrity": "sha512-b2qkFyOM0kwqWFuQmgd4o+uHGU7T+2z3T+WQp8UBjADfEv2n4FEMffzBmCKNP0IGzOEEfYjvtcC62xaSKeQDrQ==",
"peer": true,
"requires": {
"@vue/compiler-sfc": "2.7.14",
"csstype": "^3.1.0"
}
},
"vue-baidu-map": {
"version": "0.21.22",
"resolved": "https://registry.npmmirror.com/vue-baidu-map/-/vue-baidu-map-0.21.22.tgz",
"integrity": "sha512-WQMPCih4UTh0AZCKKH/OVOYnyAWjfRNeK6BIeoLmscyY5aF8zzlJhz/NOHLb3mdztIpB0Z6aohn4Jd9mfCSjQw==",
"requires": {
"bmaplib.curveline": "^1.0.0",
"bmaplib.heatmap": "^1.0.4",
"bmaplib.lushu": "^1.0.7",
"bmaplib.markerclusterer": "^1.0.13",
"markdown-it": "^8.4.0"
}
}
}
}
......@@ -16,6 +16,7 @@
"jweixin-module": "^1.6.0",
"lodash": "^4.17.21",
"query-string": "^6.14.1",
"uni-simple-router": "^1.5.5"
"uni-simple-router": "^1.5.5",
"vue-baidu-map": "^0.21.22"
}
}
......@@ -65,6 +65,12 @@
"navigationBarTitleText": "转账支付"
}
},
{
"path": "pages/confirm/map",
"style": {
"navigationBarTitleText": "自提地址"
}
},
{
"path": "pages/confirm/confirmSuccess",
"style": {
......
......@@ -27,7 +27,7 @@
</view>
<view class="ztbox" v-show="shipping_type==2">
<view class="zttips row"><text class="icon iconfont icon-dzz"></text> <text>请在接到猎芯网系统短信通知后,再携带已盖章的合同打印件上门取货。</text></view>
<view class="ztitem row verCenter bothSide ">
<navigator class="ztitem row verCenter bothSide " :url="'/ztmap?type='+currency">
<view class="ztl">
<view class="row ">
<text class="icon iconfont icon-dzz"></text> <text>{{ztaddress.address}}</text>
......@@ -40,7 +40,7 @@
</view>
</view>
<text class="icon iconfont icon-jt"></text>
</view>
</navigator>
<view class="ztperson">
......
<template>
<view class="mappage">
<view class="chead row verCenter">
<text v-back class="icon iconfont icon-arrleft"></text>
<view class="titlesi">自提地址</view>
</view>
<view class="zttips row"><text class="icon iconfont icon-dzz"></text> <text>请在接到猎芯网系统短信通知后,再携带已盖章的合同打印件上门取货。</text></view>
<view class="mapbox" id="map">
<baidu-map class="map" :center="center" :zoom="zoom" style="width: 100%; height: 100%" v-if="type==1">
<bm-marker :position="{lng: 114.0626, lat: 22.67218}" :dragging="true" animation="BMAP_ANIMATION_BOUNCE">
<bm-info-window :show="true" >国内自提地址</bm-info-window>
</bm-marker>
</baidu-map>
<baidu-map class="map" :center="center1" :zoom="zoom" style="width: 100%; height: 100%" v-if="type==2">
<bm-marker :position="{lng: 114.188133, lat:22.305552}" :dragging="true" animation="BMAP_ANIMATION_BOUNCE">
<bm-info-window :show="true" >香港自提地址</bm-info-window>
</bm-marker>
</baidu-map>
</view>
<view class="foot">
<view class="ztitem row verCenter bothSide " >
<view class="ztl">
<view class="row ">
<text class="icon iconfont icon-dzz"></text> <text>{{ztaddress.address}}</text>
</view>
<view class="row ">
<text class="icon iconfont icon-dh"></text> <text>{{ztaddress.phone}}</text>
</view>
<view class="row ">
<text class="icon iconfont icon-gzr"></text> <text>{{ztaddress.worktime}}</text>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
import {
Ichunt_Api,
Api_Url
} from '@/util/api.js';
import Vue from 'vue'
import BaiduMap from 'vue-baidu-map';
Vue.use(BaiduMap, {
ak: '8vggsUWcL38cpMGEozcmTr89',
});
export default {
data() {
return {
type:1,
ztaddress:{},
center: { lng: 114.0626, lat: 22.67218},
center1:{lng: 114.188133, lat:22.305552},
zoom: 15,
}
},
onLoad(option){
this.type=option.type
this.getData()
},
methods: {
getData(){
this.request(Api_Url + '/cart/selfaddress', 'POST', {order_goods_type:1,currency:this.type}, false, true).then(res => {
if(res.err_code==0){
this.ztaddress=res.data[Object.keys(res.data)[0]]
}
});
},
getMap(){
}
}
}
</script>
<style scoped lang="scss">
@import '../../assets/css/confirm/map.scss';
</style>
......@@ -17,10 +17,10 @@
</view>
<view class="offlineinfo">
<view class="isitem">
<view class="isitem" v-if="obj_.currency==1">
<view class="t1 row bothSide verCenter">
<text>线下汇款账号</text>
<view><text class="icon iconfont icon-juxing3"></text>复制</view>
<view @click="copycons('4438 9999 10 1000 35')"><text class="icon iconfont icon-juxing3"></text>复制</view>
</view>
<view class="t2">
<view class="row">公司名称:<text>深圳市猎芯科技有限公司</text></view>
......@@ -28,35 +28,73 @@
<view class="row">银行账号:<text>4438 9999 10 1000 35</text></view>
</view>
</view>
<view class="isitem" style="display:none;">
<view class="isitem" v-if="obj_.currency==2">
<view class="t1 row bothSide verCenter">
<text>线下汇款账号</text>
<view><text class="icon iconfont icon-juxing3"></text>复制</view>
<view @click="copycons('819-847187-838')"><text class="icon iconfont icon-juxing3"></text>复制</view>
</view>
<view class="t2">
<view class="row">公司名称:<text>深貿電子有限公司</text></view>
<view class="row">开户银行:<text>汇丰银行</text></view>
<view class="row">银行账号:<text>819-846593-838</text></view>
<view class="row">Bank:<text>HSBC Hongkong</text></view>
<view class="row">SWIFT Code:<text>HSBCHKHHHKH</text></view>
<view class="row">Bank Address:<text>1 Queen's Road Central,Hong Kong</text></view>
<view class="row">Bank Account Name:<text>SEMOUR ELECTRONICS CO LIMITED</text></view>
<view class="row">Bank Account(USD/HKD):<text>819-847187-838</text></view>
</view>
</view>
</view>
<view class="payfoot row verCenter rowCenter">
<view>已转账,通知交易员</view>
<view @click="tzjyy()">已转账,通知交易员</view>
</view>
</view>
</template>
<script>
import {
Ichunt_Api,
Api_Url
} from '@/util/api.js';
export default {
data() {
return {
order_id:"",
obj_:{currency:1}
}
},
onLoad(option){
this.order_id=option.order_id
this.getData()
},
methods: {
copycons(text){
uni.setClipboardData({
data: text,
success: function() {
uni.showToast({
title: '复制成功',
duration: 2000,
icon:"none"
})
}
});
},
tzjyy(){
this.request(Api_Url + '/order/sendMsgToSale', 'POST', {order_id:this.order_id}, true, true).then(res => {
uni.showToast({
title: res.err_msg,
duration: 2000,
icon:"none"
})
});
},
getData(){
this.request(Api_Url + '/order/info', 'POST', {order_id:this.order_id}, true, true).then(res => {
if(res.err_code==0){
this.obj_=res.data
}
});
}
}
}
</script>
......
......@@ -7,21 +7,21 @@
<view class="tipbox">
<view class="tips row verCenter">
<text class="icon iconfont icon-ts"></text>
订单审核通过,请尽快付款!支付剩余时间: 6天23时
订单审核通过,请尽快付款!支付剩余时间: {{obj_.rest_time}}
</view>
</view>
<view class="f9 row rowCenter">应付金额</view>
<view class="totalprice row rowCenter verCenter">
<view></view>
<text>2970.68</text>
<view>{{obj_.topay_amount_format.slice(0,1)}}</view>
<text>{{obj_.topay_amount_format.slice(1)}}</text>
</view>
<view class="f9 row rowCenter">
订单号: <navigator url="/user/orderdetail">12023042144164SZ <text class="icon iconfont icon-jt"></text></navigator>
订单号: <navigator :url="'/user/orderdetail?order_id='+obj_.order_id">{{obj_.order_sn}}<text class="icon iconfont icon-jt"></text></navigator>
</view>
<view class="paybox">
<view class="tit">支付方式</view>
<view class="paytype">
<view class="payitem row verCenter bothSide act">
<view class="payitem row verCenter bothSide " v-if="money<=50000" :class="{'act':payType==1}" @click="qhtab(1)">
<view class="row verCenter">
<image src="https://img.ichunt.com/images/ichunt/202305/22/37c698b7a03541af811f229df7c140ba.png"></image>
<text class="paytext">微信支付</text>
......@@ -29,7 +29,7 @@
<text class="noxz"></text>
<text class="icon iconfont icon-xzs"></text>
</view>
<view class="payitem row verCenter bothSide">
<view class="payitem row verCenter bothSide" v-if="money<=50000" :class="{'act':payType==2}" @click="qhtab(2)">
<view class="row verCenter">
<image src="https://img.ichunt.com/images/ichunt/202305/22/e9c92965e9308d16bd3c3dd4f387cedc.png"></image>
<text class="paytext">支付宝支付</text>
......@@ -37,7 +37,7 @@
<text class="noxz"></text>
<text class="icon iconfont icon-xzs"></text>
</view>
<view class="payitem row verCenter bothSide">
<view class="payitem row verCenter bothSide" :class="{'act':payType==3}" @click="qhtab(3)">
<view class="row verCenter">
<image src="https://img.ichunt.com/images/ichunt/202305/22/ff00d191bb8ea08f34123f38e0217df6.png"></image>
<text class="paytext">转账支付</text>
......@@ -49,20 +49,80 @@
</view>
<view class="payfoot row verCenter rowCenter">
<view>确认支付</view>
<view @click="topay()">确认支付</view>
</view>
</view>
</template>
<script>
import {
Ichunt_Api,
Api_Url
} from '@/util/api.js';
export default {
data() {
return {
order_id:"",
obj_:{topay_amount_format:""},
payType:1,
money:0,
}
},
onLoad(option){
this.order_id=option.order_id
this.getData()
},
methods: {
topay(){
//锁库
this.request(Api_Url + '/order/wmsorder', 'POST', {order_id:this.order_id}, true, true).then(res => {
if(res.err_code==0){
this.paystyle()
}
});
},
paystyle(){
if(this.payType==3){
//线下支付
uni.navigateTo({
url: '/pay/offline?order_id='+this.order_id
});
}else if(this.payType==2){//支付宝支付
window.location.href=Api_Url+"/pay/todo?pay_code=alipay&rescue=1&order_id="+this.order_id+"&pay_mode=2&site_type=2";
}else if(this.payType==1){//微信支付
this.request(Api_Url + "/pay/todo?pay_code=wxpay&rescue=1&order_id="+this.order_id+"&site_type=2", 'POST', {}, true, true).then(res => {
if(res.err_code==0){
window.location.href=res.data;
}else{
uni.showToast({
title: res.err_msg,
duration: 2000,
icon:"none"
})
}
});
}
},
qhtab(type){
this.payType=type
},
pageUi(){
let money=Number(this.obj_.topay_amount_format.slice(1))
this.money=money
console.log(this.money)
if(this.money>50000){
this.payType=3
}
},
getData(){
this.request(Api_Url + '/order/info', 'POST', {order_id:this.order_id}, true, true).then(res => {
if(res.err_code==0){
this.obj_=res.data
this.pageUi()
}
});
}
}
}
</script>
......
......@@ -104,6 +104,14 @@ const router = new Router({
auth: true
}
},
{
path: '/pages/confirm/map',
aliasPath: '/ztmap',
meta: {
title: '自提地址',
auth: true
}
},
{
path: '/pages/confirm/confirmSuccess',
aliasPath: '/order/success',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment