jiangping
2024-12-18 4b8fda000f9f600ba5187e738278b340b55ebd7c
h5/pages/staff/signin.vue
@@ -1,20 +1,39 @@
<template>
   <view>
      <web-view style="width: 100vw;height: 100vh;" src="https://atwl.ahzyssl.com/dps/web/wxAuth/loginV2?oaId=atwl&redirectId=index"></web-view>
      <!-- <web-view src="https://www.baidu.com/"></web-view> -->
   </view>
  <view class="box">
    <!-- <view v-html="info"></view> -->
      <mp-html :content="info" />
  </view>
</template>
<script>
   export default {
      data() {
         return {
         };
      }
   }
import { getSystemDictData } from '@/api'
export default {
  data() {
    return {
      info: "",
    }
  },
  onLoad() {
    this.initData()
  },
  methods: {
    initData() {
      getSystemDictData({
        dictCode: 'TSM_PARAM',
        label: 'CENTER_LINK_TYPE'
      }).then(res => {
        if (res.code === 200) {
          this.info = res.data.code
               uni.setNavigationBarTitle({
                  title: res.data.remark
               })
        }
      })
    }
  }
}
</script>
<style lang="scss">
</style>
<style lang="scss" scoped>
.box {
   padding: 0 30rpx;
}
</style>