Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_wechat_app into dev
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
<template>
 | 
			
		||||
  <div class="AppHelpEachOther">
 | 
			
		||||
    <AiEmpty :description="`丰收号 内容建设中…`" class="emptyWrap"></AiEmpty>
 | 
			
		||||
    <AiEmpty img='https://cdn.cunwuyun.cn/fengdu/mdpi_img-jianshezhong.png' :description="`丰收号 内容建设中…`" class="emptyWrap"></AiEmpty>
 | 
			
		||||
  </div>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
@@ -17,6 +17,11 @@ export default {
 | 
			
		||||
}
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<style>
 | 
			
		||||
 | 
			
		||||
<style lang="scss" scoped>
 | 
			
		||||
.AppHelpEachOther {
 | 
			
		||||
  ::v-deep .emptyWrap .emptyImg {
 | 
			
		||||
    width: 442px;
 | 
			
		||||
    height: 312px;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
</style>
 | 
			
		||||
@@ -46,7 +46,7 @@
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="logout">
 | 
			
		||||
    <div class="logout" v-if="token">
 | 
			
		||||
      <b class="login-out" @click="onLogout">退出登录</b>
 | 
			
		||||
    </div>
 | 
			
		||||
    <AiLogin ref="login" @success="getAuth()"/>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,5 @@
 | 
			
		||||
<template>
 | 
			
		||||
  <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="myself">
 | 
			
		||||
        <img class="avatar" :src="user.avatarUrl" alt="" v-if="user.avatarUrl">
 | 
			
		||||
@@ -28,13 +26,8 @@
 | 
			
		||||
import { mapState } from 'vuex'
 | 
			
		||||
export default {
 | 
			
		||||
  name: "AppHarvestQR",
 | 
			
		||||
  appName: '丰收码',
 | 
			
		||||
  customNavigation: true,
 | 
			
		||||
  data() {
 | 
			
		||||
    return {
 | 
			
		||||
      backgroundNavbar: {
 | 
			
		||||
        background: '#FFF'
 | 
			
		||||
      },
 | 
			
		||||
      qrCode: '',
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
@@ -52,6 +45,9 @@ export default {
 | 
			
		||||
  },
 | 
			
		||||
  onLoad() {
 | 
			
		||||
    this.getQrCode()
 | 
			
		||||
    uni.setNavigationBarTitle({
 | 
			
		||||
      title: '我的丰收码'
 | 
			
		||||
    })
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
</script>
 | 
			
		||||
@@ -65,6 +61,7 @@ export default {
 | 
			
		||||
    height: 100%;
 | 
			
		||||
    box-sizing: border-box;
 | 
			
		||||
    border-radius: 16px;
 | 
			
		||||
    background: #FFF;
 | 
			
		||||
 | 
			
		||||
    .myself {
 | 
			
		||||
      padding: 72px;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,5 @@
 | 
			
		||||
<template>
 | 
			
		||||
  <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="item-content mar-b8">
 | 
			
		||||
        <div class="item solid">
 | 
			
		||||
@@ -74,13 +72,14 @@ import {mapActions, mapState} from 'vuex'
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
  name: "userInfo",
 | 
			
		||||
  appName: "个人中心",
 | 
			
		||||
  customNavigation: true,
 | 
			
		||||
  computed: {
 | 
			
		||||
    ...mapState(['user', 'token']),
 | 
			
		||||
  },
 | 
			
		||||
  onLoad() {
 | 
			
		||||
    this.getUserInfo('qujing') 
 | 
			
		||||
    uni.setNavigationBarTitle({
 | 
			
		||||
      title: '个人中心'
 | 
			
		||||
    })
 | 
			
		||||
  },
 | 
			
		||||
  data() {
 | 
			
		||||
    return {
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
<template>
 | 
			
		||||
  <div class="AppNewFarmer">
 | 
			
		||||
    <AiEmpty :description="`丰收号 内容建设中…`" class="emptyWrap"></AiEmpty>
 | 
			
		||||
    <AiEmpty img='https://cdn.cunwuyun.cn/fengdu/mdpi_img-jianshezhong.png' :description="`丰收号 内容建设中…`" class="emptyWrap"></AiEmpty>
 | 
			
		||||
  </div>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
@@ -19,6 +19,11 @@ export default {
 | 
			
		||||
}
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<style>
 | 
			
		||||
 | 
			
		||||
<style lang="scss" scoped>
 | 
			
		||||
.AppNewFarmer {
 | 
			
		||||
  ::v-deep .emptyWrap .emptyImg {
 | 
			
		||||
    width: 442px;
 | 
			
		||||
    height: 312px;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
</style>
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
<template>
 | 
			
		||||
  <div class="AppNewFarmerBank">
 | 
			
		||||
    <AiEmpty :description="`丰收号 内容建设中…`" class="emptyWrap"></AiEmpty>
 | 
			
		||||
    <AiEmpty img='https://cdn.cunwuyun.cn/fengdu/mdpi_img-jianshezhong.png' :description="`丰收号 内容建设中…`" class="emptyWrap"></AiEmpty>
 | 
			
		||||
  </div>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
@@ -24,6 +24,14 @@ export default {
 | 
			
		||||
}
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<style>
 | 
			
		||||
<style lang="scss" scoped>
 | 
			
		||||
.AppNewFarmerBank {
 | 
			
		||||
  
 | 
			
		||||
  ::v-deep .emptyWrap .emptyImg {
 | 
			
		||||
    width: 442px;
 | 
			
		||||
    height: 312px;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
</style>
 | 
			
		||||
@@ -1,14 +1,13 @@
 | 
			
		||||
<template>
 | 
			
		||||
  <div class="AppWxworkQrcode">
 | 
			
		||||
    <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 v-else class="col-666">请选择</span>
 | 
			
		||||
        <u-icon name="arrow-down" color="#666" size="24" style="margin-left: 4px"></u-icon>
 | 
			
		||||
      </AiSelect>
 | 
			
		||||
      <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">
 | 
			
		||||
          <u-icon name="error-circle" color="#909399" size="34" style="display: inline"></u-icon>
 | 
			
		||||
          <div class="col-666">请选择居民群</div>
 | 
			
		||||
@@ -20,8 +19,8 @@
 | 
			
		||||
      </div>
 | 
			
		||||
 | 
			
		||||
      <div class="jionGroup">
 | 
			
		||||
        
 | 
			
		||||
        <div>加入群聊</div>
 | 
			
		||||
        <!--  bind:startmessage='startmessage' @completemessage="completemessage" -->
 | 
			
		||||
        <cell url='https://wework.qpic.cn/wwpic/71159_FwGG4OEPQM6LxsZ_1679023053/0' class="join-btn">加入群聊</cell>
 | 
			
		||||
      </div>
 | 
			
		||||
 | 
			
		||||
      <div class="pic">
 | 
			
		||||
@@ -60,7 +59,10 @@ export default {
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  methods: {
 | 
			
		||||
    selectBtn(e) {
 | 
			
		||||
    startmessage(i) {
 | 
			
		||||
      console.log(i);
 | 
			
		||||
    },
 | 
			
		||||
    completemessage(e) {
 | 
			
		||||
      console.log(e);
 | 
			
		||||
    },
 | 
			
		||||
    getSelect() {
 | 
			
		||||
@@ -70,7 +72,6 @@ export default {
 | 
			
		||||
          areaId: areaId,
 | 
			
		||||
          current: this.current,
 | 
			
		||||
          size: 3000,
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
      }).then(res => {
 | 
			
		||||
        if (res?.data) {
 | 
			
		||||
@@ -88,12 +89,12 @@ export default {
 | 
			
		||||
      uni.navigateTo({url: "/mods/AppAuth/AppAuth"})
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  onShareAppMessage() {
 | 
			
		||||
    return {
 | 
			
		||||
      title: '入群二维码',
 | 
			
		||||
      path: `/mods/AppWxworkQrcode/AppWxworkQrcode`
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  // onShareAppMessage() {
 | 
			
		||||
  //   return {
 | 
			
		||||
  //     title: '入群二维码',
 | 
			
		||||
  //     path: `/mods/AppWxworkQrcode/AppWxworkQrcode`
 | 
			
		||||
  //   }
 | 
			
		||||
  // }
 | 
			
		||||
}
 | 
			
		||||
</script>
 | 
			
		||||
<style scoped lang="scss">
 | 
			
		||||
@@ -120,12 +121,20 @@ export default {
 | 
			
		||||
    line-height: 80px;
 | 
			
		||||
    padding: 0 72px;
 | 
			
		||||
    box-sizing: border-box;
 | 
			
		||||
    div {
 | 
			
		||||
    ::v-deep .join-btn {
 | 
			
		||||
      display: block;
 | 
			
		||||
      width: 100%;
 | 
			
		||||
      height: 100%;
 | 
			
		||||
      text-align: center;
 | 
			
		||||
      background: #2D7DFF;
 | 
			
		||||
      color: #FFFFFF;
 | 
			
		||||
      border-radius: 40px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .join-bg {
 | 
			
		||||
      background: #999999;
 | 
			
		||||
      color: #333333;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .header {
 | 
			
		||||
@@ -140,7 +149,7 @@ export default {
 | 
			
		||||
      margin: 10% auto 10%;
 | 
			
		||||
      background: #F6F9FF;
 | 
			
		||||
      border-radius: 12px;
 | 
			
		||||
      border: 4px solid #E6EEFF;
 | 
			
		||||
      border: 8px solid #f6f5f8;
 | 
			
		||||
      padding: 36px;
 | 
			
		||||
      box-sizing: border-box;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user