Compare commits
No commits in common. "10335b8b2cce871e2bd23784ae35edfb67d30c03" and "0b0a0d96633912b5eeff43fb0b15a04ba6108a99" have entirely different histories.
10335b8b2c
...
0b0a0d9663
4
.gitignore
vendored
4
.gitignore
vendored
@ -36,7 +36,3 @@
|
|||||||
|
|
||||||
# ### Mac OS ###
|
# ### Mac OS ###
|
||||||
.DS_Store
|
.DS_Store
|
||||||
/.idea/.gitignore
|
|
||||||
/.idea/acdr.iml
|
|
||||||
/.idea/inspectionProfiles/Project_Default.xml
|
|
||||||
/.idea/vcs.xml
|
|
||||||
|
BIN
acdr-admin.zip
Normal file
BIN
acdr-admin.zip
Normal file
Binary file not shown.
@ -2,19 +2,19 @@
|
|||||||
<template>
|
<template>
|
||||||
<view v-if="template">
|
<view v-if="template">
|
||||||
<s-layout
|
<s-layout
|
||||||
|
title="首页"
|
||||||
|
navbar="custom"
|
||||||
|
tabbar="/pages/mall/index/index"
|
||||||
:bgStyle="template.page"
|
:bgStyle="template.page"
|
||||||
:navbarStyle="template.navigationBar"
|
:navbarStyle="template.navigationBar"
|
||||||
navbar="custom"
|
|
||||||
onShareAppMessage
|
onShareAppMessage
|
||||||
tabbar="/pages/mall/index/index"
|
|
||||||
title="首页"
|
|
||||||
>
|
>
|
||||||
<s-block
|
<s-block
|
||||||
v-for="(item, index) in template.components"
|
v-for="(item, index) in template.components"
|
||||||
:key="index"
|
:key="index"
|
||||||
:styles="item.property.style"
|
:styles="item.property.style"
|
||||||
>
|
>
|
||||||
<s-block-item :data="item.property" :styles="item.property.style" :type="item.id"/>
|
<s-block-item :type="item.id" :data="item.property" :styles="item.property.style" />
|
||||||
</s-block>
|
</s-block>
|
||||||
</s-layout>
|
</s-layout>
|
||||||
</view>
|
</view>
|
||||||
@ -26,9 +26,6 @@ import {onLoad, onPageScroll, onPullDownRefresh} from '@dcloudio/uni-app'
|
|||||||
import sheep from '@/sheep'
|
import sheep from '@/sheep'
|
||||||
import $share from '@/sheep/platform/share'
|
import $share from '@/sheep/platform/share'
|
||||||
import AuthUtil from '@/sheep/api/member/auth'
|
import AuthUtil from '@/sheep/api/member/auth'
|
||||||
import SBlockItem from '@/sheep/components/s-block-item/s-block-item.vue'
|
|
||||||
import SBlock from '@/sheep/components/s-block/s-block.vue'
|
|
||||||
import SLayout from '@/sheep/components/s-layout/s-layout.vue'
|
|
||||||
|
|
||||||
// 隐藏原生tabBar
|
// 隐藏原生tabBar
|
||||||
uni.hideTabBar()
|
uni.hideTabBar()
|
||||||
@ -95,8 +92,7 @@ onPullDownRefresh(() => {
|
|||||||
}, 800)
|
}, 800)
|
||||||
})
|
})
|
||||||
|
|
||||||
onPageScroll(() => {
|
onPageScroll(() => {})
|
||||||
})
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
@ -7,12 +7,11 @@
|
|||||||
</route>
|
</route>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<image
|
<view class="bg-[#F5F5F5] h-full">
|
||||||
class="absolute w-full h-full"
|
<!-- 顶部背景和标题 -->
|
||||||
src="/static/certification/certification_bg.png"
|
<view class="w-full bg-pink-100 py-6 flex justify-center items-center">
|
||||||
mode="aspectFill"
|
<text class="text-2xl text-white">输入新的手机号</text>
|
||||||
></image>
|
</view>
|
||||||
<view class="absolute w-full top-[75vw]">
|
|
||||||
|
|
||||||
<!-- 手机号绑定部分 -->
|
<!-- 手机号绑定部分 -->
|
||||||
<view class="p-4">
|
<view class="p-4">
|
||||||
@ -20,40 +19,20 @@
|
|||||||
<wd-icon name="search" size="24" class="text-gray-400"></wd-icon>
|
<wd-icon name="search" size="24" class="text-gray-400"></wd-icon>
|
||||||
<input class="ml-4 flex-1 text-lg" placeholder="请输入手机号" v-model="phoneNumber" />
|
<input class="ml-4 flex-1 text-lg" placeholder="请输入手机号" v-model="phoneNumber" />
|
||||||
</view>
|
</view>
|
||||||
<view class="bg-white p-4 rounded-lg shadow mb-4 flex items-center">
|
|
||||||
<wd-icon name="search" size="24" class="text-gray-400"></wd-icon>
|
|
||||||
<input class="ml-4 flex-1 text-lg" placeholder="请输入验证码" v-model="captcha" />
|
|
||||||
</view>
|
|
||||||
<button
|
<button
|
||||||
class="w-full bg-gray-300 text-white text-center rounded-full py-4 mt-4"
|
class="w-full bg-gray-300 text-white text-center rounded-full py-4 mt-4"
|
||||||
@click="getVerificationCode"
|
@click="getVerificationCode"
|
||||||
>
|
>
|
||||||
获取验证码
|
获取验证码
|
||||||
</button>
|
</button>
|
||||||
<button
|
|
||||||
class="w-full bg-gray-300 text-white text-center rounded-full py-1 mt-4"
|
|
||||||
@click="binding"
|
|
||||||
>
|
|
||||||
绑定
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
class="w-full bg-[#ff7f50] text-black text-center rounded-full py-1 mt-4"
|
|
||||||
@click="toPath('/')"
|
|
||||||
>
|
|
||||||
返回首页
|
|
||||||
</button>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import TopBar from "@/components/TopBar.vue";
|
|
||||||
import {toPath} from "@/utils/commUtils";
|
|
||||||
|
|
||||||
const phoneNumber = ref('')
|
const phoneNumber = ref('')
|
||||||
const captcha = ref('')
|
|
||||||
|
|
||||||
const getVerificationCode = () => {
|
const getVerificationCode = () => {
|
||||||
// 获取验证码逻辑
|
// 获取验证码逻辑
|
||||||
@ -63,16 +42,6 @@ const getVerificationCode = () => {
|
|||||||
}
|
}
|
||||||
uni.showToast({ title: '验证码已发送', icon: 'success' })
|
uni.showToast({ title: '验证码已发送', icon: 'success' })
|
||||||
}
|
}
|
||||||
const binding = () => {
|
|
||||||
if (!captcha.value) {
|
|
||||||
uni.showToast({ title: '请输入验证码', icon: 'none' })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
if (!phoneNumber.value) {
|
|
||||||
uni.showToast({ title: '请输入手机号', icon: 'none' })
|
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
@ -33,24 +33,6 @@ const DiyApi = {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
updatePhone: (id) => {
|
|
||||||
return request({
|
|
||||||
url: '/api/setting/updatePhone',
|
|
||||||
method: 'POST',
|
|
||||||
params: {
|
|
||||||
id,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
},
|
|
||||||
getCode: (id) => {
|
|
||||||
return request({
|
|
||||||
url: '/public/getCode',
|
|
||||||
method: 'GET',
|
|
||||||
params: {
|
|
||||||
id,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default DiyApi
|
export default DiyApi
|
||||||
|
BIN
acdr-ui/tootls/PngSplit.exe
Normal file
BIN
acdr-ui/tootls/PngSplit.exe
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user