第一提交
This commit is contained in:
113
packageTest/temp/temp.vue
Normal file
113
packageTest/temp/temp.vue
Normal file
@@ -0,0 +1,113 @@
|
||||
<template>
|
||||
<view class="page-content">
|
||||
<view class="page-section page-section-gap">
|
||||
<map
|
||||
style="width: 100%; height: 1600rpx;"
|
||||
id="mymap"
|
||||
show-location
|
||||
enable-traffic
|
||||
show-compass
|
||||
:latitude="latitude"
|
||||
enable-3D
|
||||
:longitude="longitude"
|
||||
:markers="covers"
|
||||
:polyline="polyline"
|
||||
@markertap="ontouchMaker"
|
||||
></map>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
id: 0, // 使用 marker点击事件 需要填写id
|
||||
title: 'map',
|
||||
longitude: 117.166483,
|
||||
latitude: 31.764309,
|
||||
|
||||
polyline: [{
|
||||
points: [{
|
||||
latitude: 31.764325,
|
||||
longitude: 117.16659
|
||||
}, {
|
||||
latitude: 31.764309,
|
||||
longitude: 117.166482
|
||||
},
|
||||
{
|
||||
latitude: 31.764308,
|
||||
longitude: 117.166483
|
||||
},
|
||||
{
|
||||
latitude: 31.764312,
|
||||
longitude: 117.166488
|
||||
},
|
||||
{
|
||||
latitude: 31.764332,
|
||||
longitude: 117.166583
|
||||
}
|
||||
],
|
||||
color: '#0AED4D',
|
||||
width: 3,
|
||||
borderWidth: 2,
|
||||
}],
|
||||
|
||||
|
||||
covers: [{
|
||||
id: 0,
|
||||
latitude: 39.909,
|
||||
longitude: 116.39742,
|
||||
iconPath: '../../static/img/60.jpg',
|
||||
width: 36,
|
||||
height: 36,
|
||||
alpha: 0.8
|
||||
}, {
|
||||
id: 1,
|
||||
latitude: 39.90,
|
||||
longitude: 116.39,
|
||||
iconPath: '../../static/img/28.png',
|
||||
width: 36,
|
||||
alpha: 0.8,
|
||||
height: 36
|
||||
}]
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
var mymap = uni.createMapContext('mymap', this)
|
||||
mymap.moveToLocation()
|
||||
|
||||
},
|
||||
onReady() {
|
||||
var mymap = uni.createMapContext('mymap', this)
|
||||
mymap.moveToLocation()
|
||||
|
||||
},
|
||||
|
||||
methods: {
|
||||
ontouchMaker(e) {
|
||||
console.log(e, e.detail)
|
||||
console.log(this.covers[e.detail.markerId])
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.page-content {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.logo {
|
||||
min-width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
width: 200upx;
|
||||
height: 200rpx;
|
||||
background-size: contain;
|
||||
margin: auto;
|
||||
}
|
||||
</style>
|
||||
23
packageTest/test/test.vue
Normal file
23
packageTest/test/test.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<view>
|
||||
<!-- <web-view src="https://xingka51.oss-cn-hangzhou.aliyuncs.com/applets/cloudSite/yunzhan.jpg"></web-view> -->
|
||||
<web-view class="qrimg-yunzhan" src="https://www.51xingka.net/LSMDRIVER/static/img/yunzhan.jpg" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
67
packageTest/wallet/record/record.vue
Normal file
67
packageTest/wallet/record/record.vue
Normal file
@@ -0,0 +1,67 @@
|
||||
<template>
|
||||
<view class="page-content my-bg">
|
||||
<cu-custom class="main-totextbar bg-main-oil" :isBack="true" bgColor="bg-main-oil">
|
||||
<block slot="backText">返回</block>
|
||||
<block slot="content">转入记录</block>
|
||||
</cu-custom>
|
||||
|
||||
<view class="margin bg-white radius main-money ">
|
||||
<view class="padding-xs flex align-center" @tap="copy">
|
||||
<view class="flex-sub text-center padding-top">
|
||||
<view class="text-center">星油余额</view>
|
||||
<view class=" text-xxl padding-top-xs">
|
||||
<text class="text-price text-red ">
|
||||
80.00
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="padding margin-left margin-right flex flex-direction">
|
||||
<button class="cu-btn bg-main-oil oil-main-btn-color oil-main-color lg">
|
||||
转入
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
<view class="margin">
|
||||
<view class="padding-top flex padding-left-xs padding-bottom">
|
||||
<view class="flex-sub">
|
||||
<text>最近的五笔交易</text>
|
||||
</view>
|
||||
<view class="flex-sub text-right padding-right-xs">
|
||||
<text class="text-gray">更多</text>
|
||||
|
||||
<text class="cuIcon-right text-gray"></text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="cu-list menu">
|
||||
<view class="cu-item">
|
||||
<view class="content">
|
||||
微信充值
|
||||
</view>
|
||||
<view class="action">
|
||||
¥ 0.20
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.page-content {
|
||||
min-height: 100%;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user