bug110,124,108 + 建设页

This commit is contained in:
shijingjing
2023-03-20 14:54:29 +08:00
parent 32871fdc1b
commit b84814c461
7 changed files with 58 additions and 35 deletions

View File

@@ -1,6 +1,6 @@
<template> <template>
<div class="AppHelpEachOther"> <div class="AppHelpEachOther">
<AiEmpty :description="`丰收号 内容建设中…`" class="emptyWrap"></AiEmpty> <AiEmpty img='https://cdn.cunwuyun.cn/fengdu/mdpi_img-jianshezhong.png' :description="`丰收号 内容建设中…`" class="emptyWrap"></AiEmpty>
</div> </div>
</template> </template>
@@ -17,6 +17,11 @@ export default {
} }
</script> </script>
<style> <style lang="scss" scoped>
.AppHelpEachOther {
::v-deep .emptyWrap .emptyImg {
width: 442px;
height: 312px;
}
}
</style> </style>

View File

@@ -46,7 +46,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="logout"> <div class="logout" v-if="token">
<b class="login-out" @click="onLogout">退出登录</b> <b class="login-out" @click="onLogout">退出登录</b>
</div> </div>
<AiLogin ref="login" @success="getAuth()"/> <AiLogin ref="login" @success="getAuth()"/>

View File

@@ -1,7 +1,5 @@
<template> <template>
<div class="AppHarvestQR"> <div class="AppHarvestQR">
<u-navbar :is-back="false" title="我的丰收码" title-color="#000" title-width="300" title-size="32"
:background="backgroundNavbar" :title-bold="true"></u-navbar>
<div class="card"> <div class="card">
<div class="myself"> <div class="myself">
<img class="avatar" :src="user.avatarUrl" alt="" v-if="user.avatarUrl"> <img class="avatar" :src="user.avatarUrl" alt="" v-if="user.avatarUrl">
@@ -28,13 +26,8 @@
import { mapState } from 'vuex' import { mapState } from 'vuex'
export default { export default {
name: "AppHarvestQR", name: "AppHarvestQR",
appName: '丰收码',
customNavigation: true,
data() { data() {
return { return {
backgroundNavbar: {
background: '#FFF'
},
qrCode: '', qrCode: '',
} }
}, },
@@ -52,6 +45,9 @@ export default {
}, },
onLoad() { onLoad() {
this.getQrCode() this.getQrCode()
uni.setNavigationBarTitle({
title: '我的丰收码'
})
} }
} }
</script> </script>
@@ -65,6 +61,7 @@ export default {
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
border-radius: 16px; border-radius: 16px;
background: #FFF;
.myself { .myself {
padding: 72px; padding: 72px;

View File

@@ -1,7 +1,5 @@
<template> <template>
<div class="page"> <div class="page">
<u-navbar :is-back="false" title="个人认证" title-color="#000" title-width="300" title-size="32"
:background="{background: '#FFF'}" :title-bold="true"></u-navbar>
<div class="info-list"> <div class="info-list">
<div class="item-content mar-b8"> <div class="item-content mar-b8">
<div class="item solid"> <div class="item solid">
@@ -74,13 +72,14 @@ import {mapActions, mapState} from 'vuex'
export default { export default {
name: "userInfo", name: "userInfo",
appName: "个人中心",
customNavigation: true,
computed: { computed: {
...mapState(['user', 'token']), ...mapState(['user', 'token']),
}, },
onLoad() { onLoad() {
this.getUserInfo('qujing') this.getUserInfo('qujing')
uni.setNavigationBarTitle({
title: '个人中心'
})
}, },
data() { data() {
return { return {

View File

@@ -1,6 +1,6 @@
<template> <template>
<div class="AppNewFarmer"> <div class="AppNewFarmer">
<AiEmpty :description="`丰收号 内容建设中…`" class="emptyWrap"></AiEmpty> <AiEmpty img='https://cdn.cunwuyun.cn/fengdu/mdpi_img-jianshezhong.png' :description="`丰收号 内容建设中…`" class="emptyWrap"></AiEmpty>
</div> </div>
</template> </template>
@@ -19,6 +19,11 @@ export default {
} }
</script> </script>
<style> <style lang="scss" scoped>
.AppNewFarmer {
::v-deep .emptyWrap .emptyImg {
width: 442px;
height: 312px;
}
}
</style> </style>

View File

@@ -1,6 +1,6 @@
<template> <template>
<div class="AppNewFarmerBank"> <div class="AppNewFarmerBank">
<AiEmpty :description="`丰收号 内容建设中…`" class="emptyWrap"></AiEmpty> <AiEmpty img='https://cdn.cunwuyun.cn/fengdu/mdpi_img-jianshezhong.png' :description="`丰收号 内容建设中…`" class="emptyWrap"></AiEmpty>
</div> </div>
</template> </template>
@@ -24,6 +24,14 @@ export default {
} }
</script> </script>
<style> <style lang="scss" scoped>
.AppNewFarmerBank {
::v-deep .emptyWrap .emptyImg {
width: 442px;
height: 312px;
}
}
</style> </style>

View File

@@ -1,14 +1,13 @@
<template> <template>
<div class="AppWxworkQrcode"> <div class="AppWxworkQrcode">
<div class="header"> <div class="header">
<AiSelect v-model="id" :list="dictList" @selected="selectBtn"> <AiSelect v-model="id" :list="dictList">
<span class="label" v-if="id">{{ dictList[id].label }}</span> <span class="label" v-if="id">{{ dictList[id].label }}</span>
<span v-else class="col-666">请选择</span> <span v-else class="col-666">请选择</span>
<u-icon name="arrow-down" color="#666" size="24" style="margin-left: 4px"></u-icon> <u-icon name="arrow-down" color="#666" size="24" style="margin-left: 4px"></u-icon>
</AiSelect> </AiSelect>
<div v-if="user.areaId" class="qrcode-content"> <div v-if="user.areaId" class="qrcode-content">
<cell :url='picUrl' v-if="picUrl" class="qrcode-img"/> <img :src="picUrl" class="qrcode-img" v-if="picUrl"/>
<!-- <img :src="picUrl" class="qrcode-img" v-if="picUrl"/> -->
<div v-else class="tips"> <div v-else class="tips">
<u-icon name="error-circle" color="#909399" size="34" style="display: inline"></u-icon> <u-icon name="error-circle" color="#909399" size="34" style="display: inline"></u-icon>
<div class="col-666">请选择居民群</div> <div class="col-666">请选择居民群</div>
@@ -20,8 +19,8 @@
</div> </div>
<div class="jionGroup"> <div class="jionGroup">
<!-- bind:startmessage='startmessage' @completemessage="completemessage" -->
<div>加入群聊</div> <cell url='https://wework.qpic.cn/wwpic/71159_FwGG4OEPQM6LxsZ_1679023053/0' class="join-btn">加入群聊</cell>
</div> </div>
<div class="pic"> <div class="pic">
@@ -60,7 +59,10 @@ export default {
} }
}, },
methods: { methods: {
selectBtn(e) { startmessage(i) {
console.log(i);
},
completemessage(e) {
console.log(e); console.log(e);
}, },
getSelect() { getSelect() {
@@ -70,7 +72,6 @@ export default {
areaId: areaId, areaId: areaId,
current: this.current, current: this.current,
size: 3000, size: 3000,
} }
}).then(res => { }).then(res => {
if (res?.data) { if (res?.data) {
@@ -88,12 +89,12 @@ export default {
uni.navigateTo({url: "/mods/AppAuth/AppAuth"}) uni.navigateTo({url: "/mods/AppAuth/AppAuth"})
} }
}, },
onShareAppMessage() { // onShareAppMessage() {
return { // return {
title: '入群二维码', // title: '入群二维码',
path: `/mods/AppWxworkQrcode/AppWxworkQrcode` // path: `/mods/AppWxworkQrcode/AppWxworkQrcode`
} // }
} // }
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@@ -120,12 +121,20 @@ export default {
line-height: 80px; line-height: 80px;
padding: 0 72px; padding: 0 72px;
box-sizing: border-box; box-sizing: border-box;
div { ::v-deep .join-btn {
display: block;
width: 100%;
height: 100%;
text-align: center; text-align: center;
background: #2D7DFF; background: #2D7DFF;
color: #FFFFFF; color: #FFFFFF;
border-radius: 40px; border-radius: 40px;
} }
.join-bg {
background: #999999;
color: #333333;
}
} }
.header { .header {
@@ -140,7 +149,7 @@ export default {
margin: 10% auto 10%; margin: 10% auto 10%;
background: #F6F9FF; background: #F6F9FF;
border-radius: 12px; border-radius: 12px;
border: 4px solid #E6EEFF; border: 8px solid #f6f5f8;
padding: 36px; padding: 36px;
box-sizing: border-box; box-sizing: border-box;