123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <template>
- <view class="content">
- <!-- 如果您是我们的ETC用户,需要删除个人的用户信息、车辆信息、银行卡信息和邮寄信息等,请通过联系在线客服 4008 0087 87 进行处理 -->
- {{content}}
- </view>
- </template>
-
- <script setup lang="ts">
- import {
- reactive,
- ref
- } from "vue";
- import {
- navTo
- } from "@/utils/utils"
- import {
- onLoad,
- onShow
- } from "@dcloudio/uni-app";
- import {
- stringToJson
- } from "../../utils/network/encryption.js";
- import {
- request
- } from "../../utils/network/request.js";
- import {
- infoQuery
- } from "@/utils/network/api.js"
-
- const content=ref('')
-
- // 获取文本信息----用户协议
- const getInfo = (type) => {
- //参数说明
- let options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- data: {
- businessType: 'USER_DELETE'
- }, //请求参数
- method: "POST", //提交方式(默认POST)
- showLoading: true, //是否显示加载中(默认显示)
- };
-
- //调用方式
- request(infoQuery, options)
- .then((res) => {
- let data=stringToJson(res.bizContent)
- console.log(data);
- content.value=data.text
- })
- .catch((err) => {
- console.log(err);
- });
- }
-
-
-
-
-
- onLoad(() => {
- getInfo()
- })
- </script>
-
-
-
- <style lang="scss" scoped>
- .content {
- padding: 98rpx 50rpx 0rpx 50rpx;
- font-size: 28rpx;
- font-weight: 400;
- color: #333333;
- line-height: 40px;
- }
- </style>
|