上传代码
This commit is contained in:
26
uniapp04/unpackage/dist/dev/mp-weixin/pages/addressList/addressList.js
vendored
Normal file
26
uniapp04/unpackage/dist/dev/mp-weixin/pages/addressList/addressList.js
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {};
|
||||
if (!Array) {
|
||||
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
|
||||
_easycom_uni_icons2();
|
||||
}
|
||||
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
||||
if (!Math) {
|
||||
_easycom_uni_icons();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache) {
|
||||
return {
|
||||
a: common_vendor.f(10, (item, k0, i0) => {
|
||||
return {
|
||||
a: "0271f918-0-" + i0
|
||||
};
|
||||
}),
|
||||
b: common_vendor.p({
|
||||
type: "plus-filled",
|
||||
size: "30"
|
||||
})
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
7
uniapp04/unpackage/dist/dev/mp-weixin/pages/addressList/addressList.json
vendored
Normal file
7
uniapp04/unpackage/dist/dev/mp-weixin/pages/addressList/addressList.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "地址列表",
|
||||
"enablePullDownRefresh": false,
|
||||
"usingComponents": {
|
||||
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons"
|
||||
}
|
||||
}
|
1
uniapp04/unpackage/dist/dev/mp-weixin/pages/addressList/addressList.wxml
vendored
Normal file
1
uniapp04/unpackage/dist/dev/mp-weixin/pages/addressList/addressList.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view wx:for="{{a}}" wx:for-item="item" class="address"><view class="addressList"><view class="addressTop"><view>哈尔滨华德学院二公寓</view></view><view class="addressBottom"><view>张新然女士</view><view>12345235432</view></view><navigator url="/pages/address/address" class="change"><uni-icons wx:if="{{b}}" u-i="{{item.a}}" bind:__l="__l" u-p="{{b}}"></uni-icons></navigator></view></view>
|
30
uniapp04/unpackage/dist/dev/mp-weixin/pages/addressList/addressList.wxss
vendored
Normal file
30
uniapp04/unpackage/dist/dev/mp-weixin/pages/addressList/addressList.wxss
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
|
||||
page {
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
.address {
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
background-color: #fff;
|
||||
}
|
||||
.addressList {
|
||||
width: 90%;
|
||||
height: inherit;
|
||||
background-color: #fff;
|
||||
margin: 0 auto;
|
||||
border-bottom: 2px solid #f6f6f6;
|
||||
}
|
||||
.addressTop {
|
||||
padding-top: 10px;
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.addressBottom {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
padding-top: 10px;
|
||||
font-size: 18px;
|
||||
}
|
||||
.change {
|
||||
float: right;
|
||||
}
|
Reference in New Issue
Block a user