上传代码

This commit is contained in:
2025-08-18 14:20:34 +08:00
commit 527fd07910
2408 changed files with 427370 additions and 0 deletions

View File

@ -0,0 +1,31 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
data() {
return {
id: 0,
title: "map",
latitude: 39.909,
longitude: 116.39742,
covers: [{
latitude: 39.909,
longitude: 116.39742,
iconPath: "../../static/ip_blue.png"
}, {
latitude: 39.9,
longitude: 116.39,
iconPath: "../../static/ip_green.png"
}]
};
},
methods: {}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: $data.latitude,
b: $data.longitude,
c: $data.covers
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);

View File

@ -0,0 +1,6 @@
{
"navigationBarTitleText": "校内跑腿",
"navigationBarBackgroundColor": "#4095e5",
"enablePullDownRefresh": false,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="page-body"><view class="page-section page-section-gap"><map style="width:100%;height:300px" latitude="{{a}}" longitude="{{b}}" markers="{{c}}"></map></view></view><view class="viewport"><view class="buttonList"><button class="btn_style">帮我送</button><button class="btn_style">帮我取</button><button class="btn_style">帮我买</button></view><view class="address"><view class="sent"><view class="addressNow">填写目前地址</view></view><view class="sent"><view class="addressNow">填写收获地址</view></view><button class="order">去下单</button></view></view>

View File

@ -0,0 +1,47 @@
page {
background-color: #f4f4f4;
}
.viewport {
width: 90%;
height: 330px;
margin: 0 auto;
background-color: #fff;
border-radius: 10px;
}
.btn_style {
display: inline-block;
width: 100px;
background-color: #9abbd9;
border-radius: 15px;
margin-left: 15px;
margin-top: 10px;
color: #fff;
}
.address {
width: 100%;
height: 250px;
}
.sent {
width: 85%;
height: 80px;
background-color: #c1c1c1;
border-radius: 15px;
margin: 0 auto;
margin-top: 10px;
}
.addressNow {
font-size: 25px;
color: #fff;
line-height: 80px;
padding-left: 25px;
}
.order {
width: 85%;
height: 50px;
background-color: #9abbd9;
border-radius: 15px;
margin: 0 auto;
color: #fff;
margin-top: 15px;
}