Commit c77bfec5 by 李伟康

commit 提交

1 parent 02378e58
.sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: 1434rpx 774rpx;} .sprite-icon { background-image: url(@/assets/images/sprite.png);background-size: 1434rpx 774rpx;}
.icon-arrow-right { width: 32rpx; height: 32rpx; background-position: -352rpx -588rpx;} .icon-arrow-right { width: 32rpx; height: 32rpx; background-position: -882rpx -588rpx;}
.icon-back { width: 128rpx; height: 50rpx; background-position: -106rpx -588rpx;} .icon-back { width: 128rpx; height: 50rpx; background-position: -636rpx -588rpx;}
.icon-change-account { width: 32rpx; height: 32rpx; background-position: -394rpx -588rpx;} .icon-change-account { width: 32rpx; height: 32rpx; background-position: -924rpx -588rpx;}
.icon-face-error-active { width: 96rpx; height: 96rpx; background-position: -722rpx -464rpx;} .icon-face-error-active { width: 96rpx; height: 96rpx; background-position: -1210rpx -464rpx;}
.icon-face-error { width: 96rpx; height: 96rpx; background-position: -828rpx -464rpx;} .icon-face-error { width: 96rpx; height: 96rpx; background-position: -1316rpx -464rpx;}
.icon-face-success-active { width: 96rpx; height: 96rpx; background-position: -934rpx -464rpx;} .icon-face-success-active { width: 96rpx; height: 96rpx; background-position: 0rpx -588rpx;}
.icon-face-success { width: 96rpx; height: 96rpx; background-position: -1040rpx -464rpx;} .icon-face-success { width: 96rpx; height: 96rpx; background-position: -106rpx -588rpx;}
.icon-feedback { width: 32rpx; height: 32rpx; background-position: -436rpx -588rpx;} .icon-feedback { width: 32rpx; height: 32rpx; background-position: -966rpx -588rpx;}
.icon-home-active { width: 80rpx; height: 80rpx; background-position: 0rpx -694rpx;} .icon-home-active { width: 80rpx; height: 80rpx; background-position: 0rpx -694rpx;}
.icon-home { width: 80rpx; height: 80rpx; background-position: -90rpx -694rpx;} .icon-home { width: 80rpx; height: 80rpx; background-position: -90rpx -694rpx;}
.icon-icon-addr { width: 32rpx; height: 32rpx; background-position: -478rpx -588rpx;} .icon-icon-addr { width: 32rpx; height: 32rpx; background-position: -1008rpx -588rpx;}
.icon-icon-avatar { width: 112rpx; height: 112rpx; background-position: -1290rpx -294rpx;} .icon-icon-avatar { width: 112rpx; height: 112rpx; background-position: -1290rpx -294rpx;}
.icon-icon-female { width: 32rpx; height: 32rpx; background-position: -520rpx -588rpx;} .icon-icon-female { width: 32rpx; height: 32rpx; background-position: -1050rpx -588rpx;}
.icon-icon-handshake { width: 72rpx; height: 72rpx; background-position: -1358rpx -464rpx;} .icon-icon-handshake { width: 72rpx; height: 72rpx; background-position: -360rpx -694rpx;}
.icon-icon-male { width: 32rpx; height: 32rpx; background-position: -562rpx -588rpx;} .icon-icon-male { width: 32rpx; height: 32rpx; background-position: -1092rpx -588rpx;}
.icon-icon-shop { width: 32rpx; height: 32rpx; background-position: -604rpx -588rpx;} .icon-icon-shop { width: 32rpx; height: 32rpx; background-position: -1134rpx -588rpx;}
.icon-icon-upload { width: 128rpx; height: 128rpx; background-position: -892rpx -294rpx;} .icon-icon-upload { width: 128rpx; height: 128rpx; background-position: -892rpx -294rpx;}
.icon-icon-weixin { width: 32rpx; height: 32rpx; background-position: -646rpx -588rpx;} .icon-icon-weixin { width: 32rpx; height: 32rpx; background-position: -1176rpx -588rpx;}
.icon-kf-0 { width: 32rpx; height: 32rpx; background-position: -688rpx -588rpx;} .icon-kf-0 { width: 32rpx; height: 32rpx; background-position: -1218rpx -588rpx;}
.icon-kf-1 { width: 32rpx; height: 32rpx; background-position: -730rpx -588rpx;} .icon-kf-1 { width: 32rpx; height: 32rpx; background-position: -1260rpx -588rpx;}
.icon-kf-2 { width: 32rpx; height: 32rpx; background-position: -772rpx -588rpx;} .icon-kf-2 { width: 32rpx; height: 32rpx; background-position: -1302rpx -588rpx;}
.icon-kf-3 { width: 32rpx; height: 32rpx; background-position: -814rpx -588rpx;} .icon-kf-3 { width: 32rpx; height: 32rpx; background-position: -1344rpx -588rpx;}
.icon-logo { width: 160rpx; height: 160rpx; background-position: -722rpx -294rpx;} .icon-logo { width: 160rpx; height: 160rpx; background-position: -722rpx -294rpx;}
.icon-pen-active { width: 120rpx; height: 120rpx; background-position: -1030rpx -294rpx;} .icon-pen-active { width: 120rpx; height: 120rpx; background-position: -1030rpx -294rpx;}
.icon-pen { width: 120rpx; height: 120rpx; background-position: -1160rpx -294rpx;} .icon-pen { width: 120rpx; height: 120rpx; background-position: -1160rpx -294rpx;}
.icon-qw { width: 48rpx; height: 48rpx; background-position: -244rpx -588rpx;} .icon-qw { width: 48rpx; height: 48rpx; background-position: -774rpx -588rpx;}
.icon-record-active { width: 80rpx; height: 80rpx; background-position: -180rpx -694rpx;} .icon-record-active { width: 80rpx; height: 80rpx; background-position: -180rpx -694rpx;}
.icon-record-day { width: 712rpx; height: 284rpx; background-position: 0rpx 0rpx;} .icon-record-day { width: 712rpx; height: 284rpx; background-position: 0rpx 0rpx;}
.icon-record-month { width: 712rpx; height: 284rpx; background-position: 0rpx -294rpx;} .icon-record-month { width: 712rpx; height: 284rpx; background-position: 0rpx -294rpx;}
.icon-record-week { width: 712rpx; height: 284rpx; background-position: -722rpx 0rpx;} .icon-record-week { width: 712rpx; height: 284rpx; background-position: -722rpx 0rpx;}
.icon-record { width: 80rpx; height: 80rpx; background-position: -270rpx -694rpx;} .icon-record { width: 80rpx; height: 80rpx; background-position: -270rpx -694rpx;}
.icon-setting { width: 32rpx; height: 32rpx; background-position: -856rpx -588rpx;}
.icon-tool-file { width: 60rpx; height: 60rpx; background-position: -360rpx -694rpx;}
.icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -430rpx -694rpx;}
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -500rpx -694rpx;}
.icon-search { width: 40rpx; height: 40rpx; background-position: -302rpx -588rpx;}
.icon-store { width: 96rpx; height: 96rpx; background-position: -1146rpx -464rpx;}
.icon-scene-0 { width: 96rpx; height: 96rpx; background-position: -1252rpx -464rpx;}
.icon-scene-1 { width: 96rpx; height: 96rpx; background-position: 0rpx -588rpx;}
\ No newline at end of file \ No newline at end of file
.icon-setting { width: 32rpx; height: 32rpx; background-position: -1386rpx -588rpx;}
.icon-tool-file { width: 60rpx; height: 60rpx; background-position: -590rpx -694rpx;}
.icon-tool-finish { width: 60rpx; height: 60rpx; background-position: -660rpx -694rpx;}
.icon-tool-pay { width: 60rpx; height: 60rpx; background-position: -730rpx -694rpx;}
.icon-search { width: 40rpx; height: 40rpx; background-position: -832rpx -588rpx;}
.icon-store { width: 96rpx; height: 96rpx; background-position: -212rpx -588rpx;}
.icon-scene-0 { width: 96rpx; height: 96rpx; background-position: -318rpx -588rpx;}
.icon-scene-1 { width: 96rpx; height: 96rpx; background-position: -424rpx -588rpx;}
.icon-new-home-active { width: 112rpx; height: 112rpx; background-position: -722rpx -464rpx;}
.icon-new-home { width: 112rpx; height: 112rpx; background-position: -844rpx -464rpx;}
.icon-new-record-active { width: 112rpx; height: 112rpx; background-position: -966rpx -464rpx;}
.icon-new-record { width: 112rpx; height: 112rpx; background-position: -1088rpx -464rpx;}
.icon-new-avatar { width: 96rpx; height: 96rpx; background-position: -530rpx -588rpx;}
.icon-new-addr { width: 32rpx; height: 32rpx; background-position: -636rpx -648rpx;}
.icon-new-feedback { width: 64rpx; height: 64rpx; background-position: -442rpx -694rpx;}
.icon-new-setting { width: 64rpx; height: 64rpx; background-position: -516rpx -694rpx;}
\ No newline at end of file \ No newline at end of file
No preview for this file type
No preview for this file type

1.17 MB | W: | H:

1.26 MB | W: | H:

assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
<template>
<uni-popup
ref="popup"
type="bottom"
border-radius="16px"
>
<view class="kf-box">
<view
class="close flex"
@click="close"
>
<uni-icons
type="closeempty"
:size="18"
color="#1A1A1A"
></uni-icons>
</view>
<view class="title flex">
<view class="sprite-icon icon-qw"></view>
嘀加智慧云
</view>
<view class="info flex">
<view class="text">
<view class="name flex">
云小白 <view class="duty">产品经理</view>
</view>
<view class="content">嘀加智慧云|产品中心</view>
<view class="tool">
<template v-for="(i,index) in tool">
<view
class="tool-item flex"
:key="index"
>
<view :class="['sprite-icon',`icon-kf-${index}`]"></view>
{{i}}
</view>
</template>
</view>
</view>
<view class="qr-box flex">
<image
class="qr"
:src="qr"
/>
使用企业微信扫码
</view>
</view>
</view>
</uni-popup>
</template>
<script type='text/ecmascript-6'>
export default {
name: '',
data () {
return {
tool: ['使用反馈', '功能建议', '心得分享', '吐槽拍砖'],
qr: require('@/assets/images/common/qr.webp')
}
},
mounted () {
},
methods: {
open () {
this.$refs.popup.open("center");
},
close () {
this.$refs.popup.close()
}
}
}
</script>
<style scoped lang='scss'>
.kf-box {
position: relative;
width: 864rpx;
height: 478rpx;
background: #ffffff;
border-radius: 32rpx;
padding: 0 48rpx;
box-sizing: border-box;
.close {
position: absolute;
width: 120rpx;
height: 120rpx;
top: 0;
right: 0;
justify-content: center;
}
.title {
font-weight: 500;
font-size: 32rpx;
padding: 46rpx 0;
.sprite-icon {
margin-right: 16rpx;
}
}
.info {
.name {
position: relative;
width: 480rpx;
font-weight: 600;
font-size: 48rpx;
align-items: baseline;
padding-bottom: 24rpx;
border-bottom: 2rpx solid #e6e6e6;
.duty {
font-weight: 400;
font-size: 28rpx;
margin-left: 16rpx;
}
&::after {
position: absolute;
left: 0;
bottom: -2rpx;
width: 280rpx;
height: 4rpx;
background: #2c66f7;
content: "";
}
}
.content {
padding: 28rpx 0;
font-weight: 500;
font-size: 28rpx;
}
.tool {
display: flex;
flex-wrap: wrap;
&-item {
flex: 50%;
font-size: 28rpx;
color: #666666;
margin-bottom: 20rpx;
.sprite-icon {
margin-right: 8rpx;
}
}
}
}
.qr-box {
margin-left: 48rpx;
flex-shrink: 0;
flex-direction: column;
font-weight: 500;
font-size: 28rpx;
.qr {
width: 240rpx;
height: 240rpx;
margin-bottom: 8rpx;
}
}
}
</style>
\ No newline at end of file \ No newline at end of file
<template>
<uni-popup
ref="popup"
border-radius="20px"
>
<view class="setting-box">
<view
class="close flex"
@click="close"
>
<uni-icons
type="closeempty"
:size="18"
color="#1A1A1A"
></uni-icons>
</view>
<view class="app-info flex">
<view class="sprite-icon icon-logo"></view>
展业助手
<view class="version">
版本号:V{{version}}
</view>
</view>
<view class="btn-box">
<view
v-if="accountLength > 1"
class="btn flex"
@click="changeAccount"
>
切换账号
</view>
<view
class="btn flex logout"
@click="logout"
>退出</view>
</view>
<view
class="a"
@click="jump('agreement')"
>《用户隐私协议》</view>
<view
class="icp flex"
@click="jump('icp')"
>
ICP备案号:苏ICP备18023686号-2A
<view class="sprite-icon icon-arrow-right"></view>
</view>
</view>
</uni-popup>
</template>
<script type='text/ecmascript-6'>
import myClick from "@/mixin/click";
export default {
mixins: [myClick],
name: 'SettingBox',
data () {
return {
accountLength: uni.$storage.get('accountLength'),
version: '',
}
},
mounted () {
this.version = plus?.runtime?.version || '1.0.0'
},
methods: {
open () {
this.$refs.popup.open("center");
},
close () {
this.$refs.popup.close()
},
changeAccount () {
uni.redirectTo({
url: '/pages/common/accountItems'
})
},
// 退出
logout () {
let _this = this
uni.showModal({
title: '温馨提示',
content: '是否退出当前账号?',
confirmColor: '#347BFF',
async success (res) {
if (res.confirm) {
_this.stopAudio();
try {
uni.showLoading()
const { code, message } = await uni.$api.userApi.logout()
console.log(code)
if (code == 0) {
uni.$storage.rm("userInfo");
uni.$storage.rm("sessionId");
uni.$storage.rm("noSignInUuid");
setTimeout(() => {
uni.hideLoading()
uni.reLaunch({
url: "/pages/common/login",
});
}, 500)
} else throw message
} catch (error) {
console.log(error)
uni.hideLoading()
uni.showToast({
title: error,
icon: "none",
});
}
}
}
})
},
jump (type) {
let url = type == 'icp' ? 'https://beian.miit.gov.cn/' : 'https://img01.glsx.com.cn/weapp/resource/saas/app/privacy.html'
uni.navigateTo({
url: `/pages/common/webview?url=${url}`
})
}
}
}
</script>
<style scoped lang='scss'>
.setting-box {
position: relative;
width: 720rpx;
height: 880rpx;
background: #ffffff;
border-radius: 40rpx;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
.close {
position: absolute;
width: 120rpx;
height: 120rpx;
top: 0;
right: 0;
justify-content: center;
}
.app-info {
flex-direction: column;
font-size: 32rpx;
color: #333333;
.sprite-icon {
margin-bottom: 12rpx;
box-shadow:0 0 24rpx 0 #3682ef33;
border-radius: 40rpx;
}
.version {
margin-top: 8rpx;
font-size: 24rpx;
color: #999999;
}
}
.btn-box {
margin-top: 120rpx;
.btn {
width: 384rpx;
height: 64rpx;
background: #3b73ff1a;
border: 2rpx solid transparent;
border-radius: 32rpx;
justify-content: center;
font-size: 28rpx;
color: #3b73ff;
margin-bottom: 16rpx;
}
.logout {
background: #ffffff;
color: #333333;
border: 2rpx solid #e8e8e8;
}
}
.a {
font-size: 24rpx;
color: #2c66f7;
margin: 48rpx 0 16rpx;
}
.icp {
font-size: 24rpx;
color: #999999;
}
}
</style>
\ No newline at end of file \ No newline at end of file
<template> <template>
<view>123</view> <home-frame>
<template slot="module">
</template>
</home-frame>
</template> </template>
<script type='text/ecmascript-6'> <script type='text/ecmascript-6'>
export default { import HomeFrame from '../../components/HomeFrame/index.vue'
name: '', export default {
components: { HomeFrame },
name: 'boutique',
data () { data () {
return { return {
} }
...@@ -13,9 +20,8 @@ ...@@ -13,9 +20,8 @@
}, },
methods: { methods: {
} }
} }
</script> </script>
<style scoped lang='scss'> <style scoped lang='scss'>
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -275,9 +275,11 @@ export default { ...@@ -275,9 +275,11 @@ export default {
} }
.form-footer { .form-footer {
display: flex; display: flex;
align-items: center;
justify-content: center; justify-content: center;
margin-top: 40rpx; margin-top: 40rpx;
flex-direction: column;
gap: 38rpx 0;
padding-left: 142rpx;
.autoLogin { .autoLogin {
display: flex; display: flex;
align-items: center; align-items: center;
......
...@@ -381,17 +381,6 @@ export default { ...@@ -381,17 +381,6 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
.container { .container {
position: relative; position: relative;
// &::after {
// position: absolute;
// z-index: -2;
// left: 0;
// top: 0;
// width: 100vw;
// height: 100vh;
// background-image: url("../../assets/images/home/bg.webp");
// background-size: 100% 100%;
// content: "";
// }
.bg { .bg {
position: absolute; position: absolute;
z-index: -2; z-index: -2;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!