修改了注册页面的协议接口

This commit is contained in:
zhangyong 2024-06-03 17:29:08 +08:00
parent 497856dae7
commit bab56b62dc
2 changed files with 20 additions and 6 deletions

View File

@ -75,7 +75,12 @@
</li>
</ul>
<div class="pagin">
<!-- <el-pagination
:page-size="pageSize"
:current-page="currentPage"
:total="data.length"
@current-change="handlePageChange"
></el-pagination> -->
</div>
</div>
</div>
@ -95,6 +100,7 @@
<script>
import { ref, watch, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import { ElMenu, ElSubMenu, ElMenuItem, ElPagination } from 'element-plus'
// import { ref, reactive } from 'vue'
import axios from 'axios'
// import $ from 'jquery'
@ -161,6 +167,8 @@ export default {
};
},
data() {
return {
number: 0,
@ -170,6 +178,9 @@ export default {
defaultOpeneds: [],
//
// openedMenus: [],
// data: [],
// currentPage: 1,
// pageSize: 10,
}
},
methods: {
@ -204,9 +215,13 @@ export default {
search() {
var textInput = document.querySelector('#txtInput').value
axios.get('https://www.aimzhu.com/operator/app/help-detail/listrelease?keywords='+ textInput)
// var pageSize = 10;
// var currentPage = 1;
axios.get('https://www.aimzhu.com/operator/app/help-detail/listrelease?keywords=' + textInput)
// axios.get(`https://www.aimzhu.com/operator/app/help-detail/listrelease/${pageSize}/${currentPage}?keywords=${textInput}`)
.then(response => {
// alert( response.data[0].richContent)
console.log(response);
console.log(response.data);
let searchContent = response.data
if (searchContent.length !== 0) {
@ -277,7 +292,6 @@ export default {
</script>
<style scoped>
.help-center {
position: relative;
}

View File

@ -394,9 +394,9 @@
<p>我同意平台
<!-- <a id="openUserAgreement" class="layer-btn"
href="J:\project\Ai_Softness\src\components\UserAgreement.html" target="_blank">《用户服务协议》</a> -->
<a id="openUserAgreement" class="layer-btn"
href="https://www.aimzhu.com/operator/components/UserAgreement.html" target="_blank">《用户服务协议》</a><a
href="https://www.aimzhu.com/operator/components/PrivacyPolicy.html" target="_blank">《隐私条款》</a>
<a id="openUserAgreement" class="layer-btn" href="https://www.aimzhu.com/UserAgreement.html"
target="_blank">《用户服务协议》</a><a href="https://www.aimzhu.com/PrivacyPolicy.html"
target="_blank">《隐私条款》</a>
<!-- <a id="openUserAgreement" class="layer-btn" onclick="xieyiPage()">《用户服务协议》</a> -->
</p>
</div>