优化
This commit is contained in:
@@ -114,6 +114,14 @@ export default {
|
||||
},
|
||||
});
|
||||
},
|
||||
onShareAppMessage(res) {
|
||||
if (res.from === 'menu') {
|
||||
return {
|
||||
title: '分享',
|
||||
path: "/pages/Home/Home"
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 重新编辑主播信息
|
||||
onRecompose(item) {
|
||||
|
||||
@@ -1,46 +1,62 @@
|
||||
<template>
|
||||
<view class="contact">
|
||||
<view class="bg">
|
||||
<image class="bgImg" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png" mode="scaleToFill" />
|
||||
<view class="contact">
|
||||
<view class="bg">
|
||||
<image
|
||||
class="bgImg"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/HomeBackground.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="Return" @click="onBack">
|
||||
<image class="ReturnImg" src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png" mode="scaleToFill" />
|
||||
<image
|
||||
class="ReturnImg"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/Return.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="title">联系客服</view>
|
||||
<view class="content">
|
||||
<view class="building">
|
||||
<view>
|
||||
<image
|
||||
style="width: 500rpx;"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/building.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="buildingTitle">建设中~</view>
|
||||
<view>
|
||||
<image
|
||||
style="width: 500rpx"
|
||||
src="https://vv-1317974657.cos.ap-shanghai.myqcloud.com/util/building.png"
|
||||
mode="scaleToFill"
|
||||
/>
|
||||
</view>
|
||||
<view class="buildingTitle">建设中~</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: 'Hello'
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
// 页面加载时执行
|
||||
},
|
||||
methods: {
|
||||
onBack() {
|
||||
// 返回上一页
|
||||
wx.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
}
|
||||
}
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: "Hello",
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
// 页面加载时执行
|
||||
},
|
||||
onShareAppMessage(res) {
|
||||
if (res.from === "menu") {
|
||||
return {
|
||||
title: "分享",
|
||||
path: "/pages/Home/Home",
|
||||
};
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onBack() {
|
||||
// 返回上一页
|
||||
wx.navigateBack({
|
||||
delta: 1,
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
@@ -76,14 +92,14 @@
|
||||
height: 100%;
|
||||
}
|
||||
/* 建设中 */
|
||||
.content{
|
||||
.content {
|
||||
position: absolute;
|
||||
top: 250rpx;
|
||||
left: 0rpx;
|
||||
right: 0rpx;
|
||||
bottom: 100rpx;
|
||||
}
|
||||
.building{
|
||||
.building {
|
||||
width: 100%;
|
||||
height: 90%;
|
||||
display: flex;
|
||||
@@ -91,11 +107,11 @@
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.buildingTitle{
|
||||
.buildingTitle {
|
||||
font-size: 40rpx;
|
||||
color: #999999;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -177,6 +177,14 @@ export default {
|
||||
mounted() {
|
||||
this.createModule = this.$refs.createModule; // 挂载后赋值
|
||||
},
|
||||
onShareAppMessage(res) {
|
||||
if (res.from === 'menu') {
|
||||
return {
|
||||
title: '分享',
|
||||
path: "/pages/Home/Home"
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 刷新
|
||||
onRefresherRefresh() {
|
||||
|
||||
@@ -120,6 +120,14 @@ export default {
|
||||
},
|
||||
});
|
||||
},
|
||||
onShareAppMessage(res) {
|
||||
if (res.from === 'menu') {
|
||||
return {
|
||||
title: '分享',
|
||||
path: "/pages/Home/Home"
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
sliderPosition() {
|
||||
const { current, buttonWidth, gap } = this;
|
||||
|
||||
@@ -68,6 +68,14 @@ export default {
|
||||
},
|
||||
});
|
||||
},
|
||||
onShareAppMessage(res) {
|
||||
if (res.from === 'menu') {
|
||||
return {
|
||||
title: '分享',
|
||||
path: "/pages/Home/Home"
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
formatDate: formatDate,
|
||||
//下拉刷新
|
||||
|
||||
@@ -32,6 +32,14 @@ export default {
|
||||
onLoad() {
|
||||
// 页面加载时执行
|
||||
},
|
||||
onShareAppMessage(res) {
|
||||
if (res.from === 'menu') {
|
||||
return {
|
||||
title: '分享',
|
||||
path: "/pages/Home/Home"
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onBack() {
|
||||
// 返回上一页
|
||||
|
||||
Reference in New Issue
Block a user