yfx
2026-03-19 642fa7ad5acb2d1f61b27dcf3e4ac6b5fc804d7a
pages/quanyi/index.vue
@@ -1,15 +1,23 @@
<script>
import textBox from "@/components/textBox/index.vue";
export default {
  components: {
    textBox
  },
  async  created() {
    const _this = this;
    await uni.request({
      url: _this.$webHost+'/api/v2/auth/qxgIosUnionLogin?phone='+_this.$util.getUserInfo().phone,
      data:{
        customerId: uni.getStorageSync('qxgLogin').customerId,
        appId: uni.getStorageSync('qxgLogin').appId
      },
      success: function (res) {
        _this.ygxLogin = res.data.data;
        uni.setStorageSync('ygxLogin',_this.ygxLogin)
        _this.qxgLogin = res.data.data;
        uni.setStorageSync('qxgLogin',_this.qxgLogin)
        uni.request({
          url: _this.$webHost+'/api/v2/buryingPoint/record',
          method:'PUT',
@@ -31,6 +39,10 @@
          success:function (info){
            _this.memberPeriodConfigInfo = info.data.data;
            uni.setStorageSync('memberPeriodConfigInfo',_this.memberPeriodConfigInfo)
            _this.showTextBox = true;
            _this.$nextTick(() => {
              _this.$refs.textBox && _this.$refs.textBox.open()
            })
          }
        })
      }
@@ -52,9 +64,10 @@
  data() {
    return  {
      ygxLogin:{},
      qxgLogin:{},
      protocolChecked: [0],
      isAgree: false,
      showTextBox: false,
      tm: null,
      time:null,
      text:10,
@@ -64,6 +77,7 @@
      }
    }
  },
  methods: {
    goHome(){
      uni.switchTab({
@@ -117,12 +131,10 @@
</script>
<template>
  <view style="background-image: url('/static/imgs/QYBACKA.png');background-repeat: no-repeat;background-size: 100% 100%;background-color: #FFF4FA;">
  <view class="box" style="">
    <view class="head" style="position: relative">
      <view style="display: flex;justify-content: flex-start;z-index: 9">
        <view  @tap="goHome" id="home" class="home acea-row row-center-wrapper iconfont icon-fanhui2 h5_back icon-shouye4" :style="{ height:  '20rpx',lineHeight:  '80rpx'}" ></view>
      </view>
      <view style="margin-left: 20rpx;display: flex;justify-content: space-between;">
@@ -187,6 +199,7 @@
      </view>
    </view>
    <textBox v-if="showTextBox" ref="textBox" :code="memberPeriodConfigInfo.protocolCode" :title="memberPeriodConfigInfo.protocolName"></textBox>
  </view>
</template>
@@ -203,7 +216,7 @@
  background: #999 !important;
}
.head{
  padding: 30rpx 10rpx 0 30rpx;
  padding: 0rpx 10rpx 0 30rpx;
  font-size: 32rpx;
  color: #252938;
@@ -290,12 +303,18 @@
}
.back{
  background-image: url("/static/img/ba.png");
  background-image: url("/static/imgs/ba.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 22rpx 30rpx;
  display: flex;
  flex-direction: row;
}
.box{
  background-image: url('/static/imgs/QYBACKA.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-color: #FFF4FA;
  min-height: 100vh;
}
</style>