icon修改 修改头像接口修改
@ -151,7 +151,7 @@ export function userProfileApi(config) { // 用户信息
|
|||||||
}
|
}
|
||||||
export function userEditApi(config) { // 用户编辑
|
export function userEditApi(config) { // 用户编辑
|
||||||
return https({
|
return https({
|
||||||
url: '/sys/user/edit',
|
url: '/sys/user/editApp',
|
||||||
method: 'PUT',
|
method: 'PUT',
|
||||||
data: config
|
data: config
|
||||||
})
|
})
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"name" : "数智产销",
|
"name" : "数智产销",
|
||||||
"appid" : "__UNI__F0AFD30",
|
"appid" : "__UNI__F0AFD30",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.5",
|
"versionName" : "1.0.0",
|
||||||
"versionCode" : 20240927,
|
"versionCode" : 20240929,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
@ -88,17 +88,17 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
/*生产环境 begin */
|
/*生产环境 begin */
|
||||||
loginApi({
|
// loginApi({
|
||||||
username: un,
|
// username: un,
|
||||||
password: pw,
|
// password: pw,
|
||||||
ip: getDeviceIp()
|
// ip: getDeviceIp()
|
||||||
/*生产环境 end */
|
/*生产环境 end */
|
||||||
|
|
||||||
/*开发环境 begin */
|
/*开发环境 begin */
|
||||||
// localLoginApi({
|
localLoginApi({
|
||||||
// username: username.value,
|
username: username.value,
|
||||||
// password: password.value,
|
password: password.value,
|
||||||
// captcha: 'app'
|
captcha: 'app'
|
||||||
/*开发环境 end */
|
/*开发环境 end */
|
||||||
}).then((loginres) => {
|
}).then((loginres) => {
|
||||||
if (loginres.success) {
|
if (loginres.success) {
|
||||||
|
@ -268,7 +268,6 @@
|
|||||||
pageNo,
|
pageNo,
|
||||||
pageSize
|
pageSize
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
console.log('---',res)
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
list.value = [...list.value, ...formatObj(res.result.records, 'fwbt', 'fwtime', null)]
|
list.value = [...list.value, ...formatObj(res.result.records, 'fwbt', 'fwtime', null)]
|
||||||
}
|
}
|
||||||
|
@ -14,9 +14,6 @@
|
|||||||
<view class="name">
|
<view class="name">
|
||||||
{{store.userinfo.realname}}
|
{{store.userinfo.realname}}
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="status">
|
|
||||||
在职
|
|
||||||
</view> -->
|
|
||||||
</view>
|
</view>
|
||||||
<view class="job">
|
<view class="job">
|
||||||
{{store.role}}
|
{{store.role}}
|
||||||
@ -24,9 +21,9 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="shezhi">
|
<view class="shezhi">
|
||||||
<image @click="scan" style="width: 50rpx;height: 50rpx;margin-right: 20rpx;"
|
<image @click="scan" style="width: 50rpx;height: 50rpx;margin-right: 20rpx;"
|
||||||
src="../../static/tab/scan.png" mode=""></image>
|
src="../../static/tab/scan.png"></image>
|
||||||
<image src="../../static/my/shezhi.png" mode="" @click="toProfile('/pages/useredit/useredit')">
|
<!-- <image src="../../static/my/shezhi.png" mode="" @click="toProfile('/pages/useredit/useredit')">
|
||||||
</image>
|
</image> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -1,16 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<view :class="{'gray':store.isgray==1}">
|
<view :class="{'gray':store.isgray==1}">
|
||||||
|
|
||||||
<view class="nav"></view>
|
<view class="nav"></view>
|
||||||
<view class="placeholder"></view>
|
<view class="placeholder"></view>
|
||||||
<view class="drag" v-if="listorder?.length">
|
<!-- <view class="drag" v-if="listorder?.length"> //20240929 yzq 注释 这部分是拖拽组件
|
||||||
<view class="title">
|
<view class="title">
|
||||||
{{ listtitle}}
|
{{ listtitle}}
|
||||||
</view>
|
</view>
|
||||||
<l-drag :list="listorder" @change="change" :column="4" gridHeight="100px">
|
<l-drag :list="listorder" @change="change" :column="4" gridHeight="100px">
|
||||||
<!-- // 每一项的插槽 grid 的 content 您传入的数据 -->
|
|
||||||
<template #grid="{active, content}">
|
<template #grid="{active, content}">
|
||||||
<!-- // grid.active 是否为当前拖拽项目 根据自己需要写样式 -->
|
|
||||||
<view class="inner f-col aic" :class="{'active': active}" @click="jump(content.path)">
|
<view class="inner f-col aic" :class="{'active': active}" @click="jump(content.path)">
|
||||||
<view class="img f-row aic">
|
<view class="img f-row aic">
|
||||||
<image :src="`../../static/office/${content.meta.icon}.png`" mode=""></image>
|
<image :src="`../../static/office/${content.meta.icon}.png`" mode=""></image>
|
||||||
@ -21,15 +18,12 @@
|
|||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
</l-drag>
|
</l-drag>
|
||||||
</view>
|
</view> -->
|
||||||
<view class="title f-col aic" style="padding-top: 30rpx;" v-if="!listorder?.length&&!arr?.length">
|
<view class="title f-col aic" style="padding-top: 30rpx;" v-if="!listorder?.length&&!arr?.length">
|
||||||
暂无权限,请联系管理员!
|
暂无权限,请联系管理员!
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="content">
|
<view class="content">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<view class="list" v-if="arr?.length">
|
<view class="list" v-if="arr?.length">
|
||||||
<view class="item" v-for="item,i in arr" :key="i">
|
<view class="item" v-for="item,i in arr" :key="i">
|
||||||
<view class="title">
|
<view class="title">
|
||||||
@ -38,7 +32,7 @@
|
|||||||
<view class="info_box f-row aic">
|
<view class="info_box f-row aic">
|
||||||
<view class="info f-col aic" @click="jump(e.path)" v-for="e,i in item.children" :key="i">
|
<view class="info f-col aic" @click="jump(e.path)" v-for="e,i in item.children" :key="i">
|
||||||
<view class="img f-row aic">
|
<view class="img f-row aic">
|
||||||
<image :src="`../../static/office/${e.meta.icon}.png`" mode=""></image>
|
<image :src="`../../static/office/${e.meta.icon}.png`"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="text">
|
<view class="text">
|
||||||
{{e.meta.title}}
|
{{e.meta.title}}
|
||||||
@ -101,7 +95,8 @@
|
|||||||
data.map(item =>item.children= item?.children.filter(e => e?.meta?.icon))
|
data.map(item =>item.children= item?.children.filter(e => e?.meta?.icon))
|
||||||
data=data.filter(item=>item?.children?.length)
|
data=data.filter(item=>item?.children?.length)
|
||||||
listtitle.value = data[0]?.meta?.title
|
listtitle.value = data[0]?.meta?.title
|
||||||
arr.value = data.slice(1, data?.length)
|
// arr.value = data.slice(1, data?.length)
|
||||||
|
arr.value = data;
|
||||||
listorder.value = data.slice(0, 1)[0]?.children
|
listorder.value = data.slice(0, 1)[0]?.children
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
|
@ -17,15 +17,6 @@
|
|||||||
placeholder-style="font-size: 32rpx;color: #999999;" v-model="store.userinfo.realname"
|
placeholder-style="font-size: 32rpx;color: #999999;" v-model="store.userinfo.realname"
|
||||||
placeholder="请输入姓名" />
|
placeholder="请输入姓名" />
|
||||||
</view>
|
</view>
|
||||||
<!-- <picker @change="bindSex" disabled :value="sexIndex" :range="sexArr">
|
|
||||||
<view class="box" style="padding-top: 30rpx;padding-bottom: 30rpx;">
|
|
||||||
<view>性别</view>
|
|
||||||
<view :class="[{'choose':sexIndex==null},{'choosed':sexIndex!=null},'f-row','aic']">
|
|
||||||
<text>{{sexIndex==null?'请选择':sexArr[sexIndex]}}</text>
|
|
||||||
<uni-icons type="right" size="24"></uni-icons>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</picker> -->
|
|
||||||
<view class="box" style="padding-top: 30rpx;padding-bottom: 30rpx;">
|
<view class="box" style="padding-top: 30rpx;padding-bottom: 30rpx;">
|
||||||
<view>手机号</view>
|
<view>手机号</view>
|
||||||
<input disabled style="text-align: right;" type="nickname" v-model="store.userinfo.phone"
|
<input disabled style="text-align: right;" type="nickname" v-model="store.userinfo.phone"
|
||||||
@ -36,13 +27,6 @@
|
|||||||
<input style="text-align: right;" type="nickname" disabled v-model="store.userinfo.workNo"
|
<input style="text-align: right;" type="nickname" disabled v-model="store.userinfo.workNo"
|
||||||
placeholder="请输入劳动合同号" placeholder-style="font-size: 32rpx;color: #999999;" />
|
placeholder="请输入劳动合同号" placeholder-style="font-size: 32rpx;color: #999999;" />
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="box" style="padding-top: 30rpx;padding-bottom: 30rpx;" @click="jump('/pages/useredit/address')">
|
|
||||||
<view>我的地址</view>
|
|
||||||
<view class="">
|
|
||||||
<uni-icons type="right" size="24"></uni-icons>
|
|
||||||
</view>
|
|
||||||
</view> -->
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="line">
|
<view class="line">
|
||||||
|
|
||||||
@ -62,7 +46,6 @@
|
|||||||
} from '@dcloudio/uni-app';
|
} from '@dcloudio/uni-app';
|
||||||
import {
|
import {
|
||||||
userEditApi,
|
userEditApi,
|
||||||
userProfileApi
|
|
||||||
} from '@/api/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
beforeJump,
|
beforeJump,
|
||||||
@ -74,19 +57,6 @@
|
|||||||
const baseUrl = import.meta.env.VITE_REQUEST_BASE_URL + '/jeecg-boot'
|
const baseUrl = import.meta.env.VITE_REQUEST_BASE_URL + '/jeecg-boot'
|
||||||
const store = useStore()
|
const store = useStore()
|
||||||
|
|
||||||
const sexIndex = ref(null)
|
|
||||||
const bindSex = (e) => {
|
|
||||||
sexIndex.value = e.detail.value
|
|
||||||
}
|
|
||||||
const sexArr = ['男', '女']
|
|
||||||
|
|
||||||
const toast = (title) => {
|
|
||||||
uni.showToast({
|
|
||||||
title,
|
|
||||||
icon: 'none',
|
|
||||||
duration: 2000
|
|
||||||
})
|
|
||||||
}
|
|
||||||
const jump = (url) => {
|
const jump = (url) => {
|
||||||
beforeJump(url, () => {
|
beforeJump(url, () => {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
@ -95,7 +65,7 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
const chooseAvatar = () => {
|
const chooseAvatar = () => {
|
||||||
|
|
||||||
uni.chooseImage({
|
uni.chooseImage({
|
||||||
count: 1,
|
count: 1,
|
||||||
success: (chooseImageRes) => {
|
success: (chooseImageRes) => {
|
||||||
@ -114,10 +84,14 @@
|
|||||||
form.avatar = JSON.parse(uploadFileRes.data).message
|
form.avatar = JSON.parse(uploadFileRes.data).message
|
||||||
userEditApi({
|
userEditApi({
|
||||||
avatar: form.avatar,
|
avatar: form.avatar,
|
||||||
id:store.userinfo.id
|
id: store.userinfo.id
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.success) {
|
if (res) {
|
||||||
userProfile()
|
uni.showToast({
|
||||||
|
title: res,
|
||||||
|
icon: 'success',
|
||||||
|
duration: 2000
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
@ -132,36 +106,12 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const userEdit = () => {
|
|
||||||
userEditApi({
|
|
||||||
...form,
|
|
||||||
sex: sexArr[sexIndex.value] ? sexArr[sexIndex.value] : null
|
|
||||||
}).then((res) => {
|
|
||||||
if (res.success) {
|
|
||||||
userProfile()
|
|
||||||
}
|
|
||||||
}).catch((err) => {
|
|
||||||
console.log(err);
|
|
||||||
})
|
|
||||||
}
|
|
||||||
const form = reactive({
|
const form = reactive({
|
||||||
avatar: '',
|
avatar: '',
|
||||||
realname: '',
|
realname: '',
|
||||||
phone: ''
|
phone: ''
|
||||||
})
|
})
|
||||||
const userProfile = () => {
|
|
||||||
userProfileApi({
|
|
||||||
username: store.userinfo.username
|
|
||||||
}).then((res) => {
|
|
||||||
if (res.success) {
|
|
||||||
uni.setStorageSync('user', JSON.stringify(res.result.records[0]))
|
|
||||||
store.setUserInfo(res.result.records[0])
|
|
||||||
}
|
|
||||||
}).catch((err) => {
|
|
||||||
console.log(err);
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
const loginout = () => {
|
const loginout = () => {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '退出登录',
|
title: '退出登录',
|
||||||
@ -179,12 +129,12 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
onLoad(()=>{
|
onLoad(() => {
|
||||||
uni.setNavigationBarColor({
|
uni.setNavigationBarColor({
|
||||||
frontColor:"#ffffff",
|
frontColor: "#ffffff",
|
||||||
backgroundColor:'#bebebe'
|
backgroundColor: '#bebebe'
|
||||||
})
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
BIN
static/office/task.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
@ -1 +1 @@
|
|||||||
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__F0AFD30","name":"数智产销","version":{"name":"1.0.5","code":20240927},"description":"","developer":{"name":"","email":"","url":""},"permissions":{"Geolocation":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":true,"delay":0,"target":"id:1","waiting":true},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"},"prerendered":"false"}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"packagename":"uni.UNIF0AFD30","aliasname":"__uni__f0afd30","password":"4Z2SSz2hk5AO56cxUDfY3A==","keystore":"google-keystore.keystore","custompermissions":true},"apple":{"dSYMs":false,"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}},"geolocation":{"system":{"__platform__":["android"]}}},"orientation":"portrait-primary"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#000000"},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"control":"uni-v3","vueVersion":"3","compilerVersion":"4.15","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal","webView":{"minUserAgentVersion":"49.0"}},"tabBar":{"position":"bottom","color":"#333333","selectedColor":"#01508B","borderStyle":"rgba(0,0,0,0.4)","blurEffect":"none","fontSize":"10px","iconWidth":"24px","spacing":"3px","height":"50px","backgroundColor":"#FFFFFF","list":[{"text":"首页","pagePath":"pages/tab/index","iconPath":"/static/tab/index1.png","selectedIconPath":"/static/tab/index2.png"},{"text":"办公","pagePath":"pages/tab/office","iconPath":"/static/tab/office1.png","selectedIconPath":"/static/tab/office2.png"},{"text":"生产","pagePath":"pages/tab/product","iconPath":"/static/tab/product1.png","selectedIconPath":"/static/tab/product2.png"},{"text":"我的","pagePath":"pages/tab/my","iconPath":"/static/tab/user1.png","selectedIconPath":"/static/tab/user2.png"}],"midButton":{"width":"65px","height":"75px","text":"","iconPath":"static/tab/todo.png","iconWidth":"50px"},"selectedIndex":0,"shown":true},"adid":"120390270110"},"launch_path":"__uniappview.html"}
|
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__F0AFD30","name":"数智产销","version":{"name":"1.0.7","code":20240929},"description":"","developer":{"name":"","email":"","url":""},"permissions":{"Geolocation":{},"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":true,"delay":0,"target":"id:1","waiting":true},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"},"prerendered":"false"}},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"packagename":"uni.UNIF0AFD30","aliasname":"__uni__f0afd30","password":"4Z2SSz2hk5AO56cxUDfY3A==","keystore":"google-keystore.keystore","custompermissions":true},"apple":{"dSYMs":false,"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}},"geolocation":{"system":{"__platform__":["android"]}}},"orientation":"portrait-primary"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#000000"},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"control":"uni-v3","vueVersion":"3","compilerVersion":"4.15","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal","webView":{"minUserAgentVersion":"49.0"}},"tabBar":{"position":"bottom","color":"#333333","selectedColor":"#01508B","borderStyle":"rgba(0,0,0,0.4)","blurEffect":"none","fontSize":"10px","iconWidth":"24px","spacing":"3px","height":"50px","backgroundColor":"#FFFFFF","list":[{"text":"首页","pagePath":"pages/tab/index","iconPath":"/static/tab/index1.png","selectedIconPath":"/static/tab/index2.png"},{"text":"办公","pagePath":"pages/tab/office","iconPath":"/static/tab/office1.png","selectedIconPath":"/static/tab/office2.png"},{"text":"生产","pagePath":"pages/tab/product","iconPath":"/static/tab/product1.png","selectedIconPath":"/static/tab/product2.png"},{"text":"我的","pagePath":"pages/tab/my","iconPath":"/static/tab/user1.png","selectedIconPath":"/static/tab/user2.png"}],"midButton":{"width":"65px","height":"75px","text":"","iconPath":"static/tab/todo.png","iconWidth":"50px"},"selectedIndex":0,"shown":true},"adid":"120390270110"},"launch_path":"__uniappview.html"}
|
@ -1 +1 @@
|
|||||||
[data-v-a774db70] .uni-select{border:none;padding-left:0;height:2.75rem}[data-v-a774db70] .uni-select__input-placeholder{font-size:.875rem;color:#999}[data-v-a774db70] .uni-icons{display:none}.logo[data-v-a774db70]{padding-top:5.75rem}.logo uni-image[data-v-a774db70]{width:14.84375rem;height:6.21875rem}.form[data-v-a774db70]{margin-top:1.875rem}.form .box[data-v-a774db70]{width:17.8125rem;height:2.75rem;background:#f8f8f8;border-radius:1.375rem;padding:0 .9375rem;margin-top:1.25rem;position:relative}.form .box .account_box[data-v-a774db70]{position:absolute;top:3.125rem;left:2.8125rem;width:15.625rem;background-color:#fff;box-shadow:0 0 3px 1px #dfdfdf;z-index:99;border-radius:.3125rem}.form .box .account_box .account[data-v-a774db70]{max-height:6.25rem;overflow-y:auto}.form .box .account_box .account uni-view[data-v-a774db70]{padding:.3125rem}.form .box uni-image[data-v-a774db70]{width:1.25rem;height:1.25rem;margin-right:.625rem}.form .box uni-input[data-v-a774db70]{height:100%;flex:1}.pwd[data-v-a774db70]{justify-content:flex-end;margin-top:.625rem;margin-right:1.875rem;font-size:.75rem;color:#01508b}.pwd uni-image[data-v-a774db70]{width:1.0625rem;height:1.0625rem;margin-right:.125rem}.login[data-v-a774db70]{margin-top:1.96875rem}.login uni-view[data-v-a774db70]{width:19.6875rem;height:2.75rem;background:#4e74fb;border-radius:1.375rem;font-size:1rem;color:#fff;text-align:center;line-height:2.75rem}
|
[data-v-3dca468b] .uni-select{border:none;padding-left:0;height:2.75rem}[data-v-3dca468b] .uni-select__input-placeholder{font-size:.875rem;color:#999}[data-v-3dca468b] .uni-icons{display:none}.logo[data-v-3dca468b]{padding-top:5.75rem}.logo uni-image[data-v-3dca468b]{width:14.84375rem;height:6.21875rem}.form[data-v-3dca468b]{margin-top:1.875rem}.form .box[data-v-3dca468b]{width:17.8125rem;height:2.75rem;background:#f8f8f8;border-radius:1.375rem;padding:0 .9375rem;margin-top:1.25rem;position:relative}.form .box .account_box[data-v-3dca468b]{position:absolute;top:3.125rem;left:2.8125rem;width:15.625rem;background-color:#fff;box-shadow:0 0 3px 1px #dfdfdf;z-index:99;border-radius:.3125rem}.form .box .account_box .account[data-v-3dca468b]{max-height:6.25rem;overflow-y:auto}.form .box .account_box .account uni-view[data-v-3dca468b]{padding:.3125rem}.form .box uni-image[data-v-3dca468b]{width:1.25rem;height:1.25rem;margin-right:.625rem}.form .box uni-input[data-v-3dca468b]{height:100%;flex:1}.pwd[data-v-3dca468b]{justify-content:flex-end;margin-top:.625rem;margin-right:1.875rem;font-size:.75rem;color:#01508b}.pwd uni-image[data-v-3dca468b]{width:1.0625rem;height:1.0625rem;margin-right:.125rem}.login[data-v-3dca468b]{margin-top:1.96875rem}.login uni-view[data-v-3dca468b]{width:19.6875rem;height:2.75rem;background:#4e74fb;border-radius:1.375rem;font-size:1rem;color:#fff;text-align:center;line-height:2.75rem}
|
||||||
|
@ -1 +1 @@
|
|||||||
.operate[data-v-bdfdea2f]{padding:0 .9375rem;transform:translateY(-.3125rem)}.operate .item[data-v-bdfdea2f]{height:3.25rem;border-bottom:1px solid #EFEFEF}.operate .item .version[data-v-bdfdea2f]{font-size:.75rem;color:#888}.operate .switch uni-image[data-v-bdfdea2f]{width:2.125rem;height:1.1875rem}.operate .left[data-v-bdfdea2f]{font-size:.875rem;color:#333}.operate .left uni-image[data-v-bdfdea2f]{width:1.375rem;height:1.375rem;margin-right:.9375rem}.msg[data-v-bdfdea2f]{width:21.5625rem;height:4.4375rem;background-image:url(../../static/my/bg1.png);background-size:21.5625rem 4.4375rem;margin-top:.9375rem}.msg .box[data-v-bdfdea2f]{justify-content:center;width:33.33%}.msg .box .num[data-v-bdfdea2f]{font-size:1rem;color:#333;margin-bottom:.125rem}.msg .box uni-text[data-v-bdfdea2f]{font-size:.75rem;color:#888}.msg .box[data-v-bdfdea2f]:not(:last-child){position:relative}.msg .box[data-v-bdfdea2f]:not(:last-child):after{content:" ";width:.03125rem;height:1rem;background:#d8d8d8;position:absolute;right:0;top:50%;transform:translateY(-50%)}.nav[data-v-bdfdea2f]{height:14.3125rem;background-image:url(../../static/my/navbg.png);background-size:23.4375rem 14.3125rem}.nav .user[data-v-bdfdea2f]{padding:4rem .9375rem 0}.nav .user .right[data-v-bdfdea2f]{flex:1}.nav .user .avatar[data-v-bdfdea2f]{margin-right:.75rem}.nav .user .avatar uni-image[data-v-bdfdea2f]{width:3.4375rem;height:3.4375rem;border-radius:50%;background-color:#fff}.nav .user .name_job .name[data-v-bdfdea2f]{font-size:1.125rem;color:#333}.nav .user .name_job .status[data-v-bdfdea2f]{padding:.125rem .375rem;background:#55b800;border-radius:.25rem;font-size:.625rem;color:#fff;display:inline-block;margin-left:.25rem}.nav .user .name_job .job[data-v-bdfdea2f]{font-size:.75rem;color:#666;margin-top:.1875rem}.nav .user .shezhi uni-image[data-v-bdfdea2f]{width:1.3125rem;height:1.3125rem}
|
.operate[data-v-41cd4ade]{padding:0 .9375rem;transform:translateY(-.3125rem)}.operate .item[data-v-41cd4ade]{height:3.25rem;border-bottom:1px solid #EFEFEF}.operate .item .version[data-v-41cd4ade]{font-size:.75rem;color:#888}.operate .switch uni-image[data-v-41cd4ade]{width:2.125rem;height:1.1875rem}.operate .left[data-v-41cd4ade]{font-size:.875rem;color:#333}.operate .left uni-image[data-v-41cd4ade]{width:1.375rem;height:1.375rem;margin-right:.9375rem}.msg[data-v-41cd4ade]{width:21.5625rem;height:4.4375rem;background-image:url(../../static/my/bg1.png);background-size:21.5625rem 4.4375rem;margin-top:.9375rem}.msg .box[data-v-41cd4ade]{justify-content:center;width:33.33%}.msg .box .num[data-v-41cd4ade]{font-size:1rem;color:#333;margin-bottom:.125rem}.msg .box uni-text[data-v-41cd4ade]{font-size:.75rem;color:#888}.msg .box[data-v-41cd4ade]:not(:last-child){position:relative}.msg .box[data-v-41cd4ade]:not(:last-child):after{content:" ";width:.03125rem;height:1rem;background:#d8d8d8;position:absolute;right:0;top:50%;transform:translateY(-50%)}.nav[data-v-41cd4ade]{height:14.3125rem;background-image:url(../../static/my/navbg.png);background-size:23.4375rem 14.3125rem}.nav .user[data-v-41cd4ade]{padding:4rem .9375rem 0}.nav .user .right[data-v-41cd4ade]{flex:1}.nav .user .avatar[data-v-41cd4ade]{margin-right:.75rem}.nav .user .avatar uni-image[data-v-41cd4ade]{width:3.4375rem;height:3.4375rem;border-radius:50%;background-color:#fff}.nav .user .name_job .name[data-v-41cd4ade]{font-size:1.125rem;color:#333}.nav .user .name_job .status[data-v-41cd4ade]{padding:.125rem .375rem;background:#55b800;border-radius:.25rem;font-size:.625rem;color:#fff;display:inline-block;margin-left:.25rem}.nav .user .name_job .job[data-v-41cd4ade]{font-size:.75rem;color:#666;margin-top:.1875rem}.nav .user .shezhi uni-image[data-v-41cd4ade]{width:1.3125rem;height:1.3125rem}
|
||||||
|
@ -1 +1 @@
|
|||||||
.l-drag[data-v-dd727fb0]{margin-top:var(--ebea0dec)}.l-drag[data-v-dd727fb0]{overflow:hidden;margin:.75rem .9375rem 0}.l-drag__inner[data-v-dd727fb0]{width:100%;min-height:3.125rem}.l-drag__view[data-v-dd727fb0]{z-index:2;transition:opacity .3s ease;box-sizing:border-box}.l-drag__view .mask[data-v-dd727fb0]{position:absolute;top:0;right:0;bottom:0;left:0;background-color:transparent;z-index:9}.l-drag__view>uni-view[data-v-dd727fb0]:last-child{width:100%;height:100%}.l-drag-enter[data-v-dd727fb0]{opacity:0}.l-drag__ghost[data-v-dd727fb0]{box-sizing:border-box}.l-drag__ghost>uni-view[data-v-dd727fb0]:last-child{width:100%;height:100%}.l-is-active[data-v-dd727fb0]{z-index:3}.l-is-hidden[data-v-dd727fb0]{opacity:0}.l-drag__delete[data-v-dd727fb0]{position:absolute;z-index:10;width:var(--l-drag-delete-size, 1rem);height:var(--l-drag-delete-size, 1rem)}.l-drag__handle[data-v-dd727fb0]{position:absolute;z-index:10;width:var(--l-drag-handle-size, 1.5625rem);height:var(--l-drag-handle-size, 1.5625rem)}.l-drag__delete[data-v-dd727fb0]:before,.l-drag__handle[data-v-dd727fb0]:before{content:"";position:absolute;width:100%;height:100%;left:0;top:0;z-index:10}.drag[data-v-41e1e7cd]{background:#fff;box-shadow:0 .0625rem .125rem rgba(0,0,0,.5);border-radius:.5rem;margin:.75rem .9375rem 0}.drag .title[data-v-41e1e7cd]{font-size:.875rem;color:#333;padding:.9375rem 0 0 .9375rem}.inner uni-image[data-v-41e1e7cd]{width:3.0625rem;height:3.0625rem;background-color:#efefef}.inner .text[data-v-41e1e7cd]{font-size:.875rem;color:#333;margin-top:.625rem}.placeholder[data-v-41e1e7cd]{height:var(--30145246)}.nav[data-v-41e1e7cd]{width:calc(100% - 1.875rem);padding:0 .9375rem;height:var(--30145246);font-size:.75rem;color:#fff;position:fixed;top:0;left:0;z-index:99;background-image:url(../../static/my/navbg.png);background-repeat:no-repeat;background-size:23.4375rem 14.3125rem}.content[data-v-41e1e7cd]{padding:0 .9375rem .625rem}.list[data-v-41e1e7cd]{margin-bottom:.75rem}.list .item[data-v-41e1e7cd]{background:#fff;box-shadow:0 .0625rem .125rem rgba(0,0,0,.5);border-radius:.5rem;padding:.9375rem 0;margin-top:.75rem}.list .item .title[data-v-41e1e7cd]{font-size:.875rem;color:#333;padding-left:.9375rem}.list uni-image[data-v-41e1e7cd]{width:3.0625rem;height:3.0625rem}.list .info_box[data-v-41e1e7cd]{flex-wrap:wrap}.list .info_box .info[data-v-41e1e7cd]{margin-top:1.25rem;width:25%}.list .info_box .info .text[data-v-41e1e7cd]{font-size:.875rem;color:#333;margin-top:.625rem}
|
.drag[data-v-dc6eb4fe]{background:#fff;box-shadow:0 .0625rem .125rem rgba(0,0,0,.5);border-radius:.5rem;margin:.75rem .9375rem 0}.drag .title[data-v-dc6eb4fe]{font-size:.875rem;color:#333;padding:.9375rem 0 0 .9375rem}.inner uni-image[data-v-dc6eb4fe]{width:3.0625rem;height:3.0625rem;background-color:#efefef}.inner .text[data-v-dc6eb4fe]{font-size:.875rem;color:#333;margin-top:.625rem}.placeholder[data-v-dc6eb4fe]{height:var(--3924a663)}.nav[data-v-dc6eb4fe]{width:calc(100% - 1.875rem);padding:0 .9375rem;height:var(--3924a663);font-size:.75rem;color:#fff;position:fixed;top:0;left:0;z-index:99;background-image:url(../../static/my/navbg.png);background-repeat:no-repeat;background-size:23.4375rem 14.3125rem}.content[data-v-dc6eb4fe]{padding:0 .9375rem .625rem}.list[data-v-dc6eb4fe]{margin-bottom:.75rem}.list .item[data-v-dc6eb4fe]{background:#fff;box-shadow:0 .0625rem .125rem rgba(0,0,0,.5);border-radius:.5rem;padding:.9375rem 0;margin-top:.75rem}.list .item .title[data-v-dc6eb4fe]{font-size:.875rem;color:#333;padding-left:.9375rem}.list uni-image[data-v-dc6eb4fe]{width:3.0625rem;height:3.0625rem}.list .info_box[data-v-dc6eb4fe]{flex-wrap:wrap}.list .info_box .info[data-v-dc6eb4fe]{margin-top:1.25rem;width:25%}.list .info_box .info .text[data-v-dc6eb4fe]{font-size:.875rem;color:#333;margin-top:.625rem}
|
||||||
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
BIN
unpackage/cache/wgt/__UNI__F0AFD30/static/office/task.png
vendored
Normal file
After Width: | Height: | Size: 4.4 KiB |
2
unpackage/dist/build/app-plus/app-service.js
vendored
4
unpackage/dist/build/app-plus/manifest.json
vendored
@ -7,8 +7,8 @@
|
|||||||
"id": "__UNI__F0AFD30",
|
"id": "__UNI__F0AFD30",
|
||||||
"name": "数智产销",
|
"name": "数智产销",
|
||||||
"version": {
|
"version": {
|
||||||
"name": "1.0.5",
|
"name": "1.0.7",
|
||||||
"code": 20240927
|
"code": 20240929
|
||||||
},
|
},
|
||||||
"description": "",
|
"description": "",
|
||||||
"developer": {
|
"developer": {
|
||||||
|
@ -1 +1 @@
|
|||||||
[data-v-a774db70] .uni-select{border:none;padding-left:0;height:2.75rem}[data-v-a774db70] .uni-select__input-placeholder{font-size:.875rem;color:#999}[data-v-a774db70] .uni-icons{display:none}.logo[data-v-a774db70]{padding-top:5.75rem}.logo uni-image[data-v-a774db70]{width:14.84375rem;height:6.21875rem}.form[data-v-a774db70]{margin-top:1.875rem}.form .box[data-v-a774db70]{width:17.8125rem;height:2.75rem;background:#f8f8f8;border-radius:1.375rem;padding:0 .9375rem;margin-top:1.25rem;position:relative}.form .box .account_box[data-v-a774db70]{position:absolute;top:3.125rem;left:2.8125rem;width:15.625rem;background-color:#fff;box-shadow:0 0 3px 1px #dfdfdf;z-index:99;border-radius:.3125rem}.form .box .account_box .account[data-v-a774db70]{max-height:6.25rem;overflow-y:auto}.form .box .account_box .account uni-view[data-v-a774db70]{padding:.3125rem}.form .box uni-image[data-v-a774db70]{width:1.25rem;height:1.25rem;margin-right:.625rem}.form .box uni-input[data-v-a774db70]{height:100%;flex:1}.pwd[data-v-a774db70]{justify-content:flex-end;margin-top:.625rem;margin-right:1.875rem;font-size:.75rem;color:#01508b}.pwd uni-image[data-v-a774db70]{width:1.0625rem;height:1.0625rem;margin-right:.125rem}.login[data-v-a774db70]{margin-top:1.96875rem}.login uni-view[data-v-a774db70]{width:19.6875rem;height:2.75rem;background:#4e74fb;border-radius:1.375rem;font-size:1rem;color:#fff;text-align:center;line-height:2.75rem}
|
[data-v-3dca468b] .uni-select{border:none;padding-left:0;height:2.75rem}[data-v-3dca468b] .uni-select__input-placeholder{font-size:.875rem;color:#999}[data-v-3dca468b] .uni-icons{display:none}.logo[data-v-3dca468b]{padding-top:5.75rem}.logo uni-image[data-v-3dca468b]{width:14.84375rem;height:6.21875rem}.form[data-v-3dca468b]{margin-top:1.875rem}.form .box[data-v-3dca468b]{width:17.8125rem;height:2.75rem;background:#f8f8f8;border-radius:1.375rem;padding:0 .9375rem;margin-top:1.25rem;position:relative}.form .box .account_box[data-v-3dca468b]{position:absolute;top:3.125rem;left:2.8125rem;width:15.625rem;background-color:#fff;box-shadow:0 0 3px 1px #dfdfdf;z-index:99;border-radius:.3125rem}.form .box .account_box .account[data-v-3dca468b]{max-height:6.25rem;overflow-y:auto}.form .box .account_box .account uni-view[data-v-3dca468b]{padding:.3125rem}.form .box uni-image[data-v-3dca468b]{width:1.25rem;height:1.25rem;margin-right:.625rem}.form .box uni-input[data-v-3dca468b]{height:100%;flex:1}.pwd[data-v-3dca468b]{justify-content:flex-end;margin-top:.625rem;margin-right:1.875rem;font-size:.75rem;color:#01508b}.pwd uni-image[data-v-3dca468b]{width:1.0625rem;height:1.0625rem;margin-right:.125rem}.login[data-v-3dca468b]{margin-top:1.96875rem}.login uni-view[data-v-3dca468b]{width:19.6875rem;height:2.75rem;background:#4e74fb;border-radius:1.375rem;font-size:1rem;color:#fff;text-align:center;line-height:2.75rem}
|
||||||
|
@ -1 +1 @@
|
|||||||
.operate[data-v-bdfdea2f]{padding:0 .9375rem;transform:translateY(-.3125rem)}.operate .item[data-v-bdfdea2f]{height:3.25rem;border-bottom:1px solid #EFEFEF}.operate .item .version[data-v-bdfdea2f]{font-size:.75rem;color:#888}.operate .switch uni-image[data-v-bdfdea2f]{width:2.125rem;height:1.1875rem}.operate .left[data-v-bdfdea2f]{font-size:.875rem;color:#333}.operate .left uni-image[data-v-bdfdea2f]{width:1.375rem;height:1.375rem;margin-right:.9375rem}.msg[data-v-bdfdea2f]{width:21.5625rem;height:4.4375rem;background-image:url(../../static/my/bg1.png);background-size:21.5625rem 4.4375rem;margin-top:.9375rem}.msg .box[data-v-bdfdea2f]{justify-content:center;width:33.33%}.msg .box .num[data-v-bdfdea2f]{font-size:1rem;color:#333;margin-bottom:.125rem}.msg .box uni-text[data-v-bdfdea2f]{font-size:.75rem;color:#888}.msg .box[data-v-bdfdea2f]:not(:last-child){position:relative}.msg .box[data-v-bdfdea2f]:not(:last-child):after{content:" ";width:.03125rem;height:1rem;background:#d8d8d8;position:absolute;right:0;top:50%;transform:translateY(-50%)}.nav[data-v-bdfdea2f]{height:14.3125rem;background-image:url(../../static/my/navbg.png);background-size:23.4375rem 14.3125rem}.nav .user[data-v-bdfdea2f]{padding:4rem .9375rem 0}.nav .user .right[data-v-bdfdea2f]{flex:1}.nav .user .avatar[data-v-bdfdea2f]{margin-right:.75rem}.nav .user .avatar uni-image[data-v-bdfdea2f]{width:3.4375rem;height:3.4375rem;border-radius:50%;background-color:#fff}.nav .user .name_job .name[data-v-bdfdea2f]{font-size:1.125rem;color:#333}.nav .user .name_job .status[data-v-bdfdea2f]{padding:.125rem .375rem;background:#55b800;border-radius:.25rem;font-size:.625rem;color:#fff;display:inline-block;margin-left:.25rem}.nav .user .name_job .job[data-v-bdfdea2f]{font-size:.75rem;color:#666;margin-top:.1875rem}.nav .user .shezhi uni-image[data-v-bdfdea2f]{width:1.3125rem;height:1.3125rem}
|
.operate[data-v-41cd4ade]{padding:0 .9375rem;transform:translateY(-.3125rem)}.operate .item[data-v-41cd4ade]{height:3.25rem;border-bottom:1px solid #EFEFEF}.operate .item .version[data-v-41cd4ade]{font-size:.75rem;color:#888}.operate .switch uni-image[data-v-41cd4ade]{width:2.125rem;height:1.1875rem}.operate .left[data-v-41cd4ade]{font-size:.875rem;color:#333}.operate .left uni-image[data-v-41cd4ade]{width:1.375rem;height:1.375rem;margin-right:.9375rem}.msg[data-v-41cd4ade]{width:21.5625rem;height:4.4375rem;background-image:url(../../static/my/bg1.png);background-size:21.5625rem 4.4375rem;margin-top:.9375rem}.msg .box[data-v-41cd4ade]{justify-content:center;width:33.33%}.msg .box .num[data-v-41cd4ade]{font-size:1rem;color:#333;margin-bottom:.125rem}.msg .box uni-text[data-v-41cd4ade]{font-size:.75rem;color:#888}.msg .box[data-v-41cd4ade]:not(:last-child){position:relative}.msg .box[data-v-41cd4ade]:not(:last-child):after{content:" ";width:.03125rem;height:1rem;background:#d8d8d8;position:absolute;right:0;top:50%;transform:translateY(-50%)}.nav[data-v-41cd4ade]{height:14.3125rem;background-image:url(../../static/my/navbg.png);background-size:23.4375rem 14.3125rem}.nav .user[data-v-41cd4ade]{padding:4rem .9375rem 0}.nav .user .right[data-v-41cd4ade]{flex:1}.nav .user .avatar[data-v-41cd4ade]{margin-right:.75rem}.nav .user .avatar uni-image[data-v-41cd4ade]{width:3.4375rem;height:3.4375rem;border-radius:50%;background-color:#fff}.nav .user .name_job .name[data-v-41cd4ade]{font-size:1.125rem;color:#333}.nav .user .name_job .status[data-v-41cd4ade]{padding:.125rem .375rem;background:#55b800;border-radius:.25rem;font-size:.625rem;color:#fff;display:inline-block;margin-left:.25rem}.nav .user .name_job .job[data-v-41cd4ade]{font-size:.75rem;color:#666;margin-top:.1875rem}.nav .user .shezhi uni-image[data-v-41cd4ade]{width:1.3125rem;height:1.3125rem}
|
||||||
|
@ -1 +1 @@
|
|||||||
.l-drag[data-v-dd727fb0]{margin-top:var(--ebea0dec)}.l-drag[data-v-dd727fb0]{overflow:hidden;margin:.75rem .9375rem 0}.l-drag__inner[data-v-dd727fb0]{width:100%;min-height:3.125rem}.l-drag__view[data-v-dd727fb0]{z-index:2;transition:opacity .3s ease;box-sizing:border-box}.l-drag__view .mask[data-v-dd727fb0]{position:absolute;top:0;right:0;bottom:0;left:0;background-color:transparent;z-index:9}.l-drag__view>uni-view[data-v-dd727fb0]:last-child{width:100%;height:100%}.l-drag-enter[data-v-dd727fb0]{opacity:0}.l-drag__ghost[data-v-dd727fb0]{box-sizing:border-box}.l-drag__ghost>uni-view[data-v-dd727fb0]:last-child{width:100%;height:100%}.l-is-active[data-v-dd727fb0]{z-index:3}.l-is-hidden[data-v-dd727fb0]{opacity:0}.l-drag__delete[data-v-dd727fb0]{position:absolute;z-index:10;width:var(--l-drag-delete-size, 1rem);height:var(--l-drag-delete-size, 1rem)}.l-drag__handle[data-v-dd727fb0]{position:absolute;z-index:10;width:var(--l-drag-handle-size, 1.5625rem);height:var(--l-drag-handle-size, 1.5625rem)}.l-drag__delete[data-v-dd727fb0]:before,.l-drag__handle[data-v-dd727fb0]:before{content:"";position:absolute;width:100%;height:100%;left:0;top:0;z-index:10}.drag[data-v-41e1e7cd]{background:#fff;box-shadow:0 .0625rem .125rem rgba(0,0,0,.5);border-radius:.5rem;margin:.75rem .9375rem 0}.drag .title[data-v-41e1e7cd]{font-size:.875rem;color:#333;padding:.9375rem 0 0 .9375rem}.inner uni-image[data-v-41e1e7cd]{width:3.0625rem;height:3.0625rem;background-color:#efefef}.inner .text[data-v-41e1e7cd]{font-size:.875rem;color:#333;margin-top:.625rem}.placeholder[data-v-41e1e7cd]{height:var(--30145246)}.nav[data-v-41e1e7cd]{width:calc(100% - 1.875rem);padding:0 .9375rem;height:var(--30145246);font-size:.75rem;color:#fff;position:fixed;top:0;left:0;z-index:99;background-image:url(../../static/my/navbg.png);background-repeat:no-repeat;background-size:23.4375rem 14.3125rem}.content[data-v-41e1e7cd]{padding:0 .9375rem .625rem}.list[data-v-41e1e7cd]{margin-bottom:.75rem}.list .item[data-v-41e1e7cd]{background:#fff;box-shadow:0 .0625rem .125rem rgba(0,0,0,.5);border-radius:.5rem;padding:.9375rem 0;margin-top:.75rem}.list .item .title[data-v-41e1e7cd]{font-size:.875rem;color:#333;padding-left:.9375rem}.list uni-image[data-v-41e1e7cd]{width:3.0625rem;height:3.0625rem}.list .info_box[data-v-41e1e7cd]{flex-wrap:wrap}.list .info_box .info[data-v-41e1e7cd]{margin-top:1.25rem;width:25%}.list .info_box .info .text[data-v-41e1e7cd]{font-size:.875rem;color:#333;margin-top:.625rem}
|
.drag[data-v-dc6eb4fe]{background:#fff;box-shadow:0 .0625rem .125rem rgba(0,0,0,.5);border-radius:.5rem;margin:.75rem .9375rem 0}.drag .title[data-v-dc6eb4fe]{font-size:.875rem;color:#333;padding:.9375rem 0 0 .9375rem}.inner uni-image[data-v-dc6eb4fe]{width:3.0625rem;height:3.0625rem;background-color:#efefef}.inner .text[data-v-dc6eb4fe]{font-size:.875rem;color:#333;margin-top:.625rem}.placeholder[data-v-dc6eb4fe]{height:var(--3924a663)}.nav[data-v-dc6eb4fe]{width:calc(100% - 1.875rem);padding:0 .9375rem;height:var(--3924a663);font-size:.75rem;color:#fff;position:fixed;top:0;left:0;z-index:99;background-image:url(../../static/my/navbg.png);background-repeat:no-repeat;background-size:23.4375rem 14.3125rem}.content[data-v-dc6eb4fe]{padding:0 .9375rem .625rem}.list[data-v-dc6eb4fe]{margin-bottom:.75rem}.list .item[data-v-dc6eb4fe]{background:#fff;box-shadow:0 .0625rem .125rem rgba(0,0,0,.5);border-radius:.5rem;padding:.9375rem 0;margin-top:.75rem}.list .item .title[data-v-dc6eb4fe]{font-size:.875rem;color:#333;padding-left:.9375rem}.list uni-image[data-v-dc6eb4fe]{width:3.0625rem;height:3.0625rem}.list .info_box[data-v-dc6eb4fe]{flex-wrap:wrap}.list .info_box .info[data-v-dc6eb4fe]{margin-top:1.25rem;width:25%}.list .info_box .info .text[data-v-dc6eb4fe]{font-size:.875rem;color:#333;margin-top:.625rem}
|
||||||
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
BIN
unpackage/dist/build/app-plus/static/office/task.png
vendored
Normal file
After Width: | Height: | Size: 4.4 KiB |
736
unpackage/dist/dev/app-plus/app-service.js
vendored
@ -256,7 +256,8 @@ if (uni.restoreGlobal) {
|
|||||||
}
|
}
|
||||||
})(commonjsGlobal);
|
})(commonjsGlobal);
|
||||||
})(base64, base64.exports);
|
})(base64, base64.exports);
|
||||||
base64.exports;
|
var base64Exports = base64.exports;
|
||||||
|
const Base64 = /* @__PURE__ */ getDefaultExportFromCjs(base64Exports);
|
||||||
var isVue2 = false;
|
var isVue2 = false;
|
||||||
function set(target, key, val) {
|
function set(target, key, val) {
|
||||||
if (Array.isArray(target)) {
|
if (Array.isArray(target)) {
|
||||||
@ -1778,6 +1779,8 @@ This will fail in production.`);
|
|||||||
return proxy.$toast("请输入账号");
|
return proxy.$toast("请输入账号");
|
||||||
if (!password.value.trim())
|
if (!password.value.trim())
|
||||||
return proxy.$toast("请输入密码");
|
return proxy.$toast("请输入密码");
|
||||||
|
Base64.encode(encodeURIComponent(username.value));
|
||||||
|
Base64.encode(encodeURIComponent(password.value));
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title: "登录中..."
|
title: "登录中..."
|
||||||
});
|
});
|
||||||
@ -1785,6 +1788,7 @@ This will fail in production.`);
|
|||||||
username: username.value,
|
username: username.value,
|
||||||
password: password.value,
|
password: password.value,
|
||||||
captcha: "app"
|
captcha: "app"
|
||||||
|
/*开发环境 end */
|
||||||
}).then((loginres) => {
|
}).then((loginres) => {
|
||||||
if (loginres.success) {
|
if (loginres.success) {
|
||||||
uni.setStorageSync("token", loginres.result.token);
|
uni.setStorageSync("token", loginres.result.token);
|
||||||
@ -1804,7 +1808,7 @@ This will fail in production.`);
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
formatAppLog("log", "at pages/login/login.vue:121", err);
|
formatAppLog("log", "at pages/login/login.vue:132", err);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
vue.ref([]);
|
vue.ref([]);
|
||||||
@ -2596,7 +2600,7 @@ This will fail in production.`);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
||||||
return vue.openBlock(), vue.createElementBlock(
|
return vue.openBlock(), vue.createElementBlock(
|
||||||
"text",
|
"text",
|
||||||
{
|
{
|
||||||
@ -2611,7 +2615,7 @@ This will fail in production.`);
|
|||||||
/* CLASS, STYLE */
|
/* CLASS, STYLE */
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
const __easycom_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$c], ["__scopeId", "data-v-d31e1c47"], ["__file", "D:/projects/cxc-szcx-uniapp/uni_modules/uni-icons/components/uni-icons/uni-icons.vue"]]);
|
const __easycom_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$b], ["__scopeId", "data-v-d31e1c47"], ["__file", "D:/projects/cxc-szcx-uniapp/uni_modules/uni-icons/components/uni-icons/uni-icons.vue"]]);
|
||||||
let Calendar$1 = class Calendar {
|
let Calendar$1 = class Calendar {
|
||||||
constructor({
|
constructor({
|
||||||
selected,
|
selected,
|
||||||
@ -3001,7 +3005,7 @@ This will fail in production.`);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
||||||
return vue.openBlock(), vue.createElementBlock(
|
return vue.openBlock(), vue.createElementBlock(
|
||||||
"view",
|
"view",
|
||||||
{
|
{
|
||||||
@ -3057,7 +3061,7 @@ This will fail in production.`);
|
|||||||
/* CLASS, NEED_HYDRATION */
|
/* CLASS, NEED_HYDRATION */
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
const calendarItem = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$b], ["__scopeId", "data-v-3c762a01"], ["__file", "D:/projects/cxc-szcx-uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item.vue"]]);
|
const calendarItem = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$a], ["__scopeId", "data-v-3c762a01"], ["__file", "D:/projects/cxc-szcx-uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar-item.vue"]]);
|
||||||
const isObject = (val) => val !== null && typeof val === "object";
|
const isObject = (val) => val !== null && typeof val === "object";
|
||||||
const defaultDelimiters = ["{", "}"];
|
const defaultDelimiters = ["{", "}"];
|
||||||
class BaseFormatter {
|
class BaseFormatter {
|
||||||
@ -4020,7 +4024,7 @@ This will fail in production.`);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
||||||
return vue.openBlock(), vue.createElementBlock("view", { class: "uni-datetime-picker" }, [
|
return vue.openBlock(), vue.createElementBlock("view", { class: "uni-datetime-picker" }, [
|
||||||
vue.createElementVNode("view", {
|
vue.createElementVNode("view", {
|
||||||
onClick: _cache[0] || (_cache[0] = (...args) => $options.initTimePicker && $options.initTimePicker(...args))
|
onClick: _cache[0] || (_cache[0] = (...args) => $options.initTimePicker && $options.initTimePicker(...args))
|
||||||
@ -4297,7 +4301,7 @@ This will fail in production.`);
|
|||||||
)) : vue.createCommentVNode("v-if", true)
|
)) : vue.createCommentVNode("v-if", true)
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
const TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$a], ["__scopeId", "data-v-1d532b70"], ["__file", "D:/projects/cxc-szcx-uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker.vue"]]);
|
const TimePicker = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$9], ["__scopeId", "data-v-1d532b70"], ["__file", "D:/projects/cxc-szcx-uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker.vue"]]);
|
||||||
const {
|
const {
|
||||||
t: t$2
|
t: t$2
|
||||||
} = initVueI18n(i18nMessages);
|
} = initVueI18n(i18nMessages);
|
||||||
@ -4782,7 +4786,7 @@ This will fail in production.`);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
||||||
const _component_calendar_item = vue.resolveComponent("calendar-item");
|
const _component_calendar_item = vue.resolveComponent("calendar-item");
|
||||||
const _component_time_picker = vue.resolveComponent("time-picker");
|
const _component_time_picker = vue.resolveComponent("time-picker");
|
||||||
const _component_uni_icons = resolveEasycom(vue.resolveDynamicComponent("uni-icons"), __easycom_1$1);
|
const _component_uni_icons = resolveEasycom(vue.resolveDynamicComponent("uni-icons"), __easycom_1$1);
|
||||||
@ -5066,7 +5070,7 @@ This will fail in production.`);
|
|||||||
/* NEED_HYDRATION */
|
/* NEED_HYDRATION */
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
const Calendar = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$9], ["__scopeId", "data-v-1d379219"], ["__file", "D:/projects/cxc-szcx-uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue"]]);
|
const Calendar = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$8], ["__scopeId", "data-v-1d379219"], ["__file", "D:/projects/cxc-szcx-uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/calendar.vue"]]);
|
||||||
const _sfc_main$I = {
|
const _sfc_main$I = {
|
||||||
name: "UniDatetimePicker",
|
name: "UniDatetimePicker",
|
||||||
options: {
|
options: {
|
||||||
@ -5723,7 +5727,7 @@ This will fail in production.`);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
||||||
const _component_uni_icons = resolveEasycom(vue.resolveDynamicComponent("uni-icons"), __easycom_1$1);
|
const _component_uni_icons = resolveEasycom(vue.resolveDynamicComponent("uni-icons"), __easycom_1$1);
|
||||||
const _component_time_picker = vue.resolveComponent("time-picker");
|
const _component_time_picker = vue.resolveComponent("time-picker");
|
||||||
const _component_Calendar = vue.resolveComponent("Calendar");
|
const _component_Calendar = vue.resolveComponent("Calendar");
|
||||||
@ -6067,7 +6071,7 @@ This will fail in production.`);
|
|||||||
}, null, 8, ["date", "defTime", "start-date", "end-date", "selectableTimes", "startPlaceholder", "endPlaceholder", "default-value", "pleStatus", "range", "hasTime", "hideSecond", "onConfirm", "onMaskClose", "onChange"])) : vue.createCommentVNode("v-if", true)
|
}, null, 8, ["date", "defTime", "start-date", "end-date", "selectableTimes", "startPlaceholder", "endPlaceholder", "default-value", "pleStatus", "range", "hasTime", "hideSecond", "onConfirm", "onMaskClose", "onChange"])) : vue.createCommentVNode("v-if", true)
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
const __easycom_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$8], ["__scopeId", "data-v-9802168a"], ["__file", "D:/projects/cxc-szcx-uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue"]]);
|
const __easycom_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$7], ["__scopeId", "data-v-9802168a"], ["__file", "D:/projects/cxc-szcx-uniapp/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue"]]);
|
||||||
const _sfc_main$H = {
|
const _sfc_main$H = {
|
||||||
name: "UniDrawer",
|
name: "UniDrawer",
|
||||||
components: {},
|
components: {},
|
||||||
@ -6140,7 +6144,7 @@ This will fail in production.`);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
||||||
return $data.visibleSync ? (vue.openBlock(), vue.createElementBlock(
|
return $data.visibleSync ? (vue.openBlock(), vue.createElementBlock(
|
||||||
"view",
|
"view",
|
||||||
{
|
{
|
||||||
@ -6176,7 +6180,7 @@ This will fail in production.`);
|
|||||||
/* CLASS, NEED_HYDRATION */
|
/* CLASS, NEED_HYDRATION */
|
||||||
)) : vue.createCommentVNode("v-if", true);
|
)) : vue.createCommentVNode("v-if", true);
|
||||||
}
|
}
|
||||||
const __easycom_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$7], ["__scopeId", "data-v-f7c32d22"], ["__file", "D:/projects/cxc-szcx-uniapp/uni_modules/uni-drawer/components/uni-drawer/uni-drawer.vue"]]);
|
const __easycom_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$6], ["__scopeId", "data-v-f7c32d22"], ["__file", "D:/projects/cxc-szcx-uniapp/uni_modules/uni-drawer/components/uni-drawer/uni-drawer.vue"]]);
|
||||||
function taskListApi(config) {
|
function taskListApi(config) {
|
||||||
return https({
|
return https({
|
||||||
url: "/act/task/list",
|
url: "/act/task/list",
|
||||||
@ -6303,16 +6307,9 @@ This will fail in production.`);
|
|||||||
data: config
|
data: config
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
function userProfileApi(config) {
|
|
||||||
return https({
|
|
||||||
url: "/sys/user/userList",
|
|
||||||
method: "get",
|
|
||||||
data: config
|
|
||||||
});
|
|
||||||
}
|
|
||||||
function userEditApi(config) {
|
function userEditApi(config) {
|
||||||
return https({
|
return https({
|
||||||
url: "/sys/user/edit",
|
url: "/sys/user/editApp",
|
||||||
method: "PUT",
|
method: "PUT",
|
||||||
data: config
|
data: config
|
||||||
});
|
});
|
||||||
@ -6743,13 +6740,12 @@ This will fail in production.`);
|
|||||||
pageNo,
|
pageNo,
|
||||||
pageSize
|
pageSize
|
||||||
}).then((res2) => {
|
}).then((res2) => {
|
||||||
formatAppLog("log", "at pages/tab/index.vue:271", "---", res2);
|
|
||||||
if (res2.success) {
|
if (res2.success) {
|
||||||
list.value = [...list.value, ...formatObj(res2.result.records, "fwbt", "fwtime", null)];
|
list.value = [...list.value, ...formatObj(res2.result.records, "fwbt", "fwtime", null)];
|
||||||
}
|
}
|
||||||
loading2 = false;
|
loading2 = false;
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
formatAppLog("log", "at pages/tab/index.vue:277", "err", err);
|
formatAppLog("log", "at pages/tab/index.vue:276", "err", err);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
const gonggaolist = () => {
|
const gonggaolist = () => {
|
||||||
@ -6763,7 +6759,7 @@ This will fail in production.`);
|
|||||||
}
|
}
|
||||||
loading2 = false;
|
loading2 = false;
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
formatAppLog("log", "at pages/tab/index.vue:292", "err", err);
|
formatAppLog("log", "at pages/tab/index.vue:291", "err", err);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
const zhibanArr = vue.ref([]);
|
const zhibanArr = vue.ref([]);
|
||||||
@ -6773,7 +6769,7 @@ This will fail in production.`);
|
|||||||
zhibanArr.value = res2.result.records.slice(0, 2);
|
zhibanArr.value = res2.result.records.slice(0, 2);
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
formatAppLog("log", "at pages/tab/index.vue:303", "err", err);
|
formatAppLog("log", "at pages/tab/index.vue:302", "err", err);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
const fagui = () => {
|
const fagui = () => {
|
||||||
@ -6787,7 +6783,7 @@ This will fail in production.`);
|
|||||||
}
|
}
|
||||||
loading2 = false;
|
loading2 = false;
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
formatAppLog("log", "at pages/tab/index.vue:319", "err", err);
|
formatAppLog("log", "at pages/tab/index.vue:318", "err", err);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
const zhidu = () => {
|
const zhidu = () => {
|
||||||
@ -6803,7 +6799,7 @@ This will fail in production.`);
|
|||||||
}
|
}
|
||||||
loading2 = false;
|
loading2 = false;
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
formatAppLog("log", "at pages/tab/index.vue:336", "err", err);
|
formatAppLog("log", "at pages/tab/index.vue:335", "err", err);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
const formatObj = (arr, title, time, depart) => {
|
const formatObj = (arr, title, time, depart) => {
|
||||||
@ -6841,7 +6837,7 @@ This will fail in production.`);
|
|||||||
getlist();
|
getlist();
|
||||||
});
|
});
|
||||||
return (_ctx, _cache) => {
|
return (_ctx, _cache) => {
|
||||||
const _component_uni_datetime_picker = resolveEasycom(vue.resolveDynamicComponent("uni-datetime-picker"), __easycom_0$4);
|
const _component_uni_datetime_picker = resolveEasycom(vue.resolveDynamicComponent("uni-datetime-picker"), __easycom_0$3);
|
||||||
const _component_uni_icons = resolveEasycom(vue.resolveDynamicComponent("uni-icons"), __easycom_1$1);
|
const _component_uni_icons = resolveEasycom(vue.resolveDynamicComponent("uni-icons"), __easycom_1$1);
|
||||||
const _component_uni_drawer = resolveEasycom(vue.resolveDynamicComponent("uni-drawer"), __easycom_2$1);
|
const _component_uni_drawer = resolveEasycom(vue.resolveDynamicComponent("uni-drawer"), __easycom_2$1);
|
||||||
return vue.openBlock(), vue.createElementBlock(
|
return vue.openBlock(), vue.createElementBlock(
|
||||||
@ -7163,565 +7159,6 @@ This will fail in production.`);
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
const PagesTabIndex = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-ae0729d5"], ["__file", "D:/projects/cxc-szcx-uniapp/pages/tab/index.vue"]]);
|
const PagesTabIndex = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-ae0729d5"], ["__file", "D:/projects/cxc-szcx-uniapp/pages/tab/index.vue"]]);
|
||||||
const DragProps = {
|
|
||||||
list: {
|
|
||||||
type: Array,
|
|
||||||
default: []
|
|
||||||
},
|
|
||||||
column: {
|
|
||||||
type: Number,
|
|
||||||
default: 2
|
|
||||||
},
|
|
||||||
/**宽高比 填写这项, gridHeight 失效*/
|
|
||||||
aspectRatio: Number,
|
|
||||||
gridHeight: {
|
|
||||||
type: [Number, String],
|
|
||||||
default: "120rpx"
|
|
||||||
},
|
|
||||||
// removeStyle: String,
|
|
||||||
// handleStyle: String,
|
|
||||||
damping: {
|
|
||||||
type: Number,
|
|
||||||
default: 40
|
|
||||||
},
|
|
||||||
friction: {
|
|
||||||
type: Number,
|
|
||||||
default: 2
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* 由于 movable-area 无法动态设置高度,故增加额外的行数。用于增加动态项时,高度不够无法正确显示
|
|
||||||
*/
|
|
||||||
extraRow: {
|
|
||||||
type: Number,
|
|
||||||
default: 0
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* 由于 movable-area 无法动态设置高度,但vif 重染可以,另一种实现动态高度的方式, 这BUG uni官方好像修复了。
|
|
||||||
*/
|
|
||||||
// reset: Boolean,
|
|
||||||
// sort: Boolean,
|
|
||||||
// remove: Boolean,
|
|
||||||
ghost: Boolean,
|
|
||||||
handle: Boolean,
|
|
||||||
touchHandle: Boolean,
|
|
||||||
before: Boolean,
|
|
||||||
after: Boolean,
|
|
||||||
disabled: Boolean,
|
|
||||||
longpress: Boolean
|
|
||||||
};
|
|
||||||
const __default__ = vue.defineComponent({
|
|
||||||
name: "l-drag",
|
|
||||||
externalClasses: ["l-class"],
|
|
||||||
options: {
|
|
||||||
addGlobalClass: true,
|
|
||||||
virtualHost: true
|
|
||||||
},
|
|
||||||
props: DragProps,
|
|
||||||
emits: ["change"],
|
|
||||||
setup(props, { emit, expose }) {
|
|
||||||
const res = wx.getSystemInfoSync();
|
|
||||||
res.statusBarHeight;
|
|
||||||
const app = vue.getCurrentInstance();
|
|
||||||
const isDrag = vue.ref(false);
|
|
||||||
const isInit = vue.ref(false);
|
|
||||||
const isReset = vue.ref(true);
|
|
||||||
const colmunId = vue.ref(-1);
|
|
||||||
const active = vue.ref(-1);
|
|
||||||
const maxIndex = vue.ref(-1);
|
|
||||||
const animation = vue.ref(true);
|
|
||||||
const isDisabled = vue.ref(props.handle || props.longpress ? true : false);
|
|
||||||
const dragEl = vue.reactive({
|
|
||||||
content: null,
|
|
||||||
/** 当前视图下标*/
|
|
||||||
index: 0,
|
|
||||||
/** 旧视图下标 */
|
|
||||||
oldindex: -1,
|
|
||||||
/** 上次原始下标 */
|
|
||||||
lastindex: -1
|
|
||||||
});
|
|
||||||
const ghostEl = vue.reactive({
|
|
||||||
content: null,
|
|
||||||
x: 0,
|
|
||||||
y: 0
|
|
||||||
});
|
|
||||||
const beforeEl = vue.reactive({
|
|
||||||
x: 0,
|
|
||||||
y: 0
|
|
||||||
});
|
|
||||||
const afterEl = vue.reactive({
|
|
||||||
x: 0,
|
|
||||||
y: 0
|
|
||||||
});
|
|
||||||
let gridRects = [];
|
|
||||||
const areaWidth = vue.ref(0);
|
|
||||||
const cloneList = vue.ref([]);
|
|
||||||
const leaveRow = vue.ref(0);
|
|
||||||
const extra = vue.computed(() => (props.before ? 1 : 0) + (props.after ? 1 : 0));
|
|
||||||
const rows = vue.computed(() => Math.ceil(((isInit.value ? cloneList.value.length : props.list.length) + extra.value) / props.column));
|
|
||||||
const gridHeight = vue.computed(() => props.aspectRatio ? girdWidth.value / props.aspectRatio : /rpx$/.test(`${props.gridHeight}`) ? uni.upx2px(parseInt(`${props.gridHeight}`)) : parseInt(`${props.gridHeight}`));
|
|
||||||
const girdWidth = vue.computed(() => areaWidth.value / props.column);
|
|
||||||
const viewStyles = vue.computed(() => ({ width: girdWidth.value + "px", height: gridHeight.value + "px" }));
|
|
||||||
const areaStyles = vue.computed(() => ({ height: (rows.value + leaveRow.value) * gridHeight.value + "px" }));
|
|
||||||
const innerStyles = vue.computed(() => ({
|
|
||||||
height: (rows.value + props.extraRow + leaveRow.value) * gridHeight.value + "px"
|
|
||||||
}));
|
|
||||||
const sleep = (cb, time = 1e3 / 60) => setTimeout(cb, time);
|
|
||||||
const createGrid = (content, position) => {
|
|
||||||
colmunId.value++;
|
|
||||||
maxIndex.value++;
|
|
||||||
const index = maxIndex.value;
|
|
||||||
const colmun = gridRects[index];
|
|
||||||
let x = 0;
|
|
||||||
let y2 = 0;
|
|
||||||
if (colmun) {
|
|
||||||
if (props.after) {
|
|
||||||
let nxet = gridRects[index + 1];
|
|
||||||
if (!nxet) {
|
|
||||||
nxet = createGridRect(gridRects.length + (props.before ? 1 : 0));
|
|
||||||
gridRects.push(nxet);
|
|
||||||
}
|
|
||||||
setReset(() => setAfter(nxet));
|
|
||||||
} else {
|
|
||||||
setReset();
|
|
||||||
}
|
|
||||||
x = colmun.x;
|
|
||||||
y2 = colmun.y;
|
|
||||||
} else {
|
|
||||||
const nxet = createGridRect(gridRects.length + (props.before ? 1 : 0));
|
|
||||||
gridRects.push(nxet);
|
|
||||||
setReset();
|
|
||||||
x = nxet.x;
|
|
||||||
y2 = nxet.y;
|
|
||||||
}
|
|
||||||
if (position) {
|
|
||||||
x = position.x;
|
|
||||||
y2 = position.y;
|
|
||||||
}
|
|
||||||
return { id: `l-drag-item-${colmunId.value}`, index, oldindex: index, content, x, y: y2, class: "", show: true };
|
|
||||||
};
|
|
||||||
const setReset = (cb) => {
|
|
||||||
if (isInit.value) {
|
|
||||||
cb && sleep(cb);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const setAfter = ({ x, y: y2 } = { x: 0, y: 0 }) => {
|
|
||||||
if (props.after) {
|
|
||||||
afterEl.x = x;
|
|
||||||
afterEl.y = y2;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const setDisabled = (e2, flag = false) => {
|
|
||||||
const type = `${e2.type}`.toLowerCase();
|
|
||||||
const { handle = props.touchHandle } = e2.target.dataset;
|
|
||||||
if (props.handle && !handle) {
|
|
||||||
isDisabled.value = true;
|
|
||||||
} else if (props.handle && handle && !props.longpress) {
|
|
||||||
isDisabled.value = flag;
|
|
||||||
} else if (props.handle && handle && props.longpress && type.includes("longpress")) {
|
|
||||||
isDisabled.value = false;
|
|
||||||
} else if (props.longpress && type.includes("longpress") && !props.handle) {
|
|
||||||
isDisabled.value = false;
|
|
||||||
}
|
|
||||||
if (type.includes("touchend") && props.longpress) {
|
|
||||||
isDisabled.value = true;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const createGridRect = (i2, last) => {
|
|
||||||
let { row } = last || gridRects[gridRects.length - 1] || { row: 0 };
|
|
||||||
const col = i2 % props.column;
|
|
||||||
const grid = (row2, x, y2) => {
|
|
||||||
return { row: row2, x, y: y2, x1: x + girdWidth.value, y1: y2 + gridHeight.value };
|
|
||||||
};
|
|
||||||
if (col == 0 && i2 != 0) {
|
|
||||||
row++;
|
|
||||||
}
|
|
||||||
return grid(row, col * girdWidth.value, row * gridHeight.value);
|
|
||||||
};
|
|
||||||
const createGridRects = () => {
|
|
||||||
let rects = [];
|
|
||||||
const length = rows.value * props.column + extra.value;
|
|
||||||
gridRects = [];
|
|
||||||
for (var i2 = 0; i2 < length; i2++) {
|
|
||||||
const item = createGridRect(i2, rects[rects.length - 1]);
|
|
||||||
rects.push(item);
|
|
||||||
}
|
|
||||||
if (props.before) {
|
|
||||||
const { x, y: y2 } = rects.shift();
|
|
||||||
beforeEl.x = x;
|
|
||||||
beforeEl.y = y2;
|
|
||||||
}
|
|
||||||
setAfter(rects[props.list.length]);
|
|
||||||
gridRects = rects;
|
|
||||||
};
|
|
||||||
const updateList = (v2) => {
|
|
||||||
cloneList.value = v2.map((content) => createGrid(content));
|
|
||||||
};
|
|
||||||
const touchStart = (e2) => {
|
|
||||||
var _a, _b;
|
|
||||||
if (e2.target.dataset.remove)
|
|
||||||
return;
|
|
||||||
const { oindex } = ((_a = e2.currentTarget) == null ? void 0 : _a.dataset) || ((_b = e2.target) == null ? void 0 : _b.dataset) || {};
|
|
||||||
if (typeof oindex !== "number")
|
|
||||||
return;
|
|
||||||
const target = cloneList.value[oindex];
|
|
||||||
isDrag.value = true;
|
|
||||||
active.value = oindex;
|
|
||||||
dragEl.index = dragEl.oldindex = target.index;
|
|
||||||
ghostEl.x = target.x || 0;
|
|
||||||
ghostEl.y = target.y || 0;
|
|
||||||
dragEl.content = ghostEl.content = target.content;
|
|
||||||
};
|
|
||||||
const touchEnd = (e2) => {
|
|
||||||
setTimeout(() => {
|
|
||||||
if (e2.target.dataset.remove || active.value == -1)
|
|
||||||
return;
|
|
||||||
setDisabled(e2, true);
|
|
||||||
isDrag.value = false;
|
|
||||||
const isEmit = dragEl.index !== dragEl.oldindex && dragEl.oldindex > -1;
|
|
||||||
dragEl.lastindex = active.value;
|
|
||||||
dragEl.oldindex = active.value = -1;
|
|
||||||
const last = cloneList.value[dragEl.lastindex];
|
|
||||||
const position = gridRects[dragEl.index];
|
|
||||||
vue.nextTick(() => {
|
|
||||||
last.x = position.x + 1e-3;
|
|
||||||
last.y = position.y + 1e-3;
|
|
||||||
sleep(() => {
|
|
||||||
last.x = position.x;
|
|
||||||
last.y = position.y;
|
|
||||||
isEmit && emitting();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}, 80);
|
|
||||||
};
|
|
||||||
const emitting = () => {
|
|
||||||
const clone = [...cloneList.value].sort((a2, b2) => a2.index - b2.index);
|
|
||||||
emit("change", clone);
|
|
||||||
};
|
|
||||||
const touchMove = (e2) => {
|
|
||||||
if (!isDrag.value)
|
|
||||||
return;
|
|
||||||
let { oindex } = e2.currentTarget.dataset;
|
|
||||||
if (oindex != active.value)
|
|
||||||
return;
|
|
||||||
const { x, y: y2 } = e2.detail;
|
|
||||||
const centerX = x + girdWidth.value / 2;
|
|
||||||
const centerY = y2 + gridHeight.value / 2;
|
|
||||||
for (let i2 = 0; i2 < cloneList.value.length; i2++) {
|
|
||||||
const item = gridRects[i2];
|
|
||||||
if (centerX > item.x && centerX < item.x1 && centerY > item.y && centerY < item.y1) {
|
|
||||||
ghostEl.x = item.x;
|
|
||||||
ghostEl.y = item.y;
|
|
||||||
if (dragEl.index != i2) {
|
|
||||||
_move(active.value, i2);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const getDragEl = (oindex) => {
|
|
||||||
if (isDrag.value) {
|
|
||||||
return dragEl;
|
|
||||||
}
|
|
||||||
return cloneList.value[oindex];
|
|
||||||
};
|
|
||||||
const _move = (oindex, toIndex, position, emit2 = true) => {
|
|
||||||
const length = cloneList.value.length - 1;
|
|
||||||
if (toIndex > length || toIndex < 0)
|
|
||||||
return;
|
|
||||||
const dragEl2 = getDragEl(oindex);
|
|
||||||
let speed = 0;
|
|
||||||
let start = dragEl2.index;
|
|
||||||
if (start < toIndex) {
|
|
||||||
speed = 1;
|
|
||||||
}
|
|
||||||
if (start > toIndex) {
|
|
||||||
speed = -1;
|
|
||||||
}
|
|
||||||
if (!speed)
|
|
||||||
return;
|
|
||||||
let distance = start - toIndex;
|
|
||||||
while (distance) {
|
|
||||||
distance += speed;
|
|
||||||
const target = isDrag.value ? dragEl2.index += speed : start += speed;
|
|
||||||
let targetOindex = cloneList.value.findIndex((item) => item.index == target && item.content != dragEl2.content);
|
|
||||||
if (targetOindex == oindex)
|
|
||||||
return;
|
|
||||||
if (targetOindex < 0) {
|
|
||||||
targetOindex = cloneList.value.length - 1;
|
|
||||||
}
|
|
||||||
let targetEl = cloneList.value[targetOindex];
|
|
||||||
if (!targetEl)
|
|
||||||
return;
|
|
||||||
const lastIndex = target - speed;
|
|
||||||
const activeEl = cloneList.value[oindex];
|
|
||||||
const rect = gridRects[lastIndex];
|
|
||||||
targetEl.x = rect.x;
|
|
||||||
targetEl.y = rect.y;
|
|
||||||
targetEl.oldindex = targetEl.index;
|
|
||||||
targetEl.index = lastIndex;
|
|
||||||
activeEl.oldindex = activeEl.index;
|
|
||||||
activeEl.index = toIndex;
|
|
||||||
if (!distance && !isDrag.value) {
|
|
||||||
const rect2 = gridRects[toIndex];
|
|
||||||
const { x, y: y2 } = position || rect2;
|
|
||||||
activeEl.x = dragEl2.x = x;
|
|
||||||
activeEl.y = dragEl2.y = y2;
|
|
||||||
if (emit2) {
|
|
||||||
emitting();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const move = (oindex, toIndex) => {
|
|
||||||
active.value = -1;
|
|
||||||
isDrag.value = false;
|
|
||||||
_move(oindex, toIndex);
|
|
||||||
};
|
|
||||||
const REMOVE_TIME = 400;
|
|
||||||
let removeTimer = null;
|
|
||||||
const remove = (oindex) => {
|
|
||||||
active.value = -1;
|
|
||||||
isDrag.value = false;
|
|
||||||
clearTimeout(removeTimer);
|
|
||||||
const item = cloneList.value[oindex];
|
|
||||||
if (props.disabled || !item)
|
|
||||||
return;
|
|
||||||
item.show = false;
|
|
||||||
const after = cloneList.value.length - 1;
|
|
||||||
_move(oindex, after, item, false);
|
|
||||||
setAfter(gridRects[after]);
|
|
||||||
maxIndex.value--;
|
|
||||||
const _remove = (_index = oindex) => {
|
|
||||||
const row = Math.ceil((cloneList.value.length - 1 + extra.value) / props.column);
|
|
||||||
if (row < rows.value) {
|
|
||||||
leaveRow.value = rows.value - row;
|
|
||||||
}
|
|
||||||
cloneList.value.splice(_index, 1)[0];
|
|
||||||
emitting();
|
|
||||||
removeTimer = setTimeout(() => {
|
|
||||||
leaveRow.value = 0;
|
|
||||||
}, REMOVE_TIME);
|
|
||||||
};
|
|
||||||
_remove();
|
|
||||||
};
|
|
||||||
const push = (...args) => {
|
|
||||||
if (props.disabled)
|
|
||||||
return;
|
|
||||||
if (Array.isArray(args)) {
|
|
||||||
Promise.all(args.map(async (item) => await add(item, true))).then(emitting);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const add = (content, after) => {
|
|
||||||
return new Promise((resolve) => {
|
|
||||||
const item = createGrid(content, after ? null : { x: -100, y: 0 });
|
|
||||||
item.class = "l-drag-enter";
|
|
||||||
cloneList.value.push(item);
|
|
||||||
const length = cloneList.value.length - 1;
|
|
||||||
vue.nextTick(() => {
|
|
||||||
sleep(() => {
|
|
||||||
item.class = "l-drag-leave";
|
|
||||||
_move(length, after ? length : 0, null, false);
|
|
||||||
vue.triggerRef(cloneList);
|
|
||||||
resolve(true);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
};
|
|
||||||
const unshift = (...args) => {
|
|
||||||
if (props.disabled)
|
|
||||||
return;
|
|
||||||
if (Array.isArray(args)) {
|
|
||||||
Promise.all(args.map(async (item) => await add(item))).then(emitting);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const shift = () => {
|
|
||||||
if (!cloneList.value.length)
|
|
||||||
return;
|
|
||||||
remove(cloneList.value.findIndex((item) => item.index == 0) || 0);
|
|
||||||
};
|
|
||||||
const pop = () => {
|
|
||||||
const length = cloneList.value.length - 1;
|
|
||||||
if (length < 0)
|
|
||||||
return;
|
|
||||||
remove(cloneList.value.findIndex((item) => item.index == length) || length);
|
|
||||||
};
|
|
||||||
const clear = () => {
|
|
||||||
isInit.value = isDrag.value = false;
|
|
||||||
maxIndex.value = colmunId.value = active.value = -1;
|
|
||||||
cloneList.value = [];
|
|
||||||
gridRects = [];
|
|
||||||
};
|
|
||||||
const init = () => {
|
|
||||||
clear();
|
|
||||||
createGridRects();
|
|
||||||
vue.nextTick(() => {
|
|
||||||
updateList(props.list);
|
|
||||||
isInit.value = true;
|
|
||||||
});
|
|
||||||
};
|
|
||||||
const getRect = () => {
|
|
||||||
uni.createSelectorQuery().in(app.proxy).select(".l-drag").boundingClientRect((res2) => {
|
|
||||||
if (res2) {
|
|
||||||
areaWidth.value = res2.width || 0;
|
|
||||||
init();
|
|
||||||
}
|
|
||||||
}).exec();
|
|
||||||
};
|
|
||||||
vue.onMounted(getRect);
|
|
||||||
vue.onUnmounted(clear);
|
|
||||||
vue.watch(() => props.list, init);
|
|
||||||
expose({
|
|
||||||
remove,
|
|
||||||
// add,
|
|
||||||
move,
|
|
||||||
push,
|
|
||||||
unshift,
|
|
||||||
shift,
|
|
||||||
pop
|
|
||||||
});
|
|
||||||
return {
|
|
||||||
cloneList,
|
|
||||||
areaStyles,
|
|
||||||
innerStyles,
|
|
||||||
viewStyles,
|
|
||||||
setDisabled,
|
|
||||||
isDisabled,
|
|
||||||
isReset,
|
|
||||||
isDrag,
|
|
||||||
active,
|
|
||||||
animation,
|
|
||||||
afterEl,
|
|
||||||
ghostEl,
|
|
||||||
beforeEl,
|
|
||||||
touchStart,
|
|
||||||
touchMove,
|
|
||||||
touchEnd,
|
|
||||||
remove,
|
|
||||||
// add,
|
|
||||||
move,
|
|
||||||
push,
|
|
||||||
unshift,
|
|
||||||
// shift,
|
|
||||||
// pop,
|
|
||||||
props
|
|
||||||
// isDelete: props.delete,
|
|
||||||
// ...toRefs(props)
|
|
||||||
};
|
|
||||||
}
|
|
||||||
});
|
|
||||||
const __injectCSSVars__ = () => {
|
|
||||||
vue.useCssVars((_ctx) => ({
|
|
||||||
"e414e52a-cusnavbarheight": _ctx.cusnavbarheight
|
|
||||||
}));
|
|
||||||
};
|
|
||||||
const __setup__ = __default__.setup;
|
|
||||||
__default__.setup = __setup__ ? (props, ctx) => {
|
|
||||||
__injectCSSVars__();
|
|
||||||
return __setup__(props, ctx);
|
|
||||||
} : __injectCSSVars__;
|
|
||||||
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
||||||
return vue.openBlock(), vue.createElementBlock(
|
|
||||||
"view",
|
|
||||||
{
|
|
||||||
class: "l-drag l-class",
|
|
||||||
style: vue.normalizeStyle([_ctx.areaStyles]),
|
|
||||||
ref: "dragRef",
|
|
||||||
onTouchstart: _cache[5] || (_cache[5] = (...args) => _ctx.setDisabled && _ctx.setDisabled(...args))
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_ctx.isReset ? (vue.openBlock(), vue.createElementBlock(
|
|
||||||
"movable-area",
|
|
||||||
{
|
|
||||||
key: 0,
|
|
||||||
class: "l-drag__inner",
|
|
||||||
style: vue.normalizeStyle([_ctx.innerStyles])
|
|
||||||
},
|
|
||||||
[
|
|
||||||
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true),
|
|
||||||
_ctx.isDrag && _ctx.props.ghost ? (vue.openBlock(), vue.createElementBlock("movable-view", {
|
|
||||||
class: "l-drag__ghost",
|
|
||||||
animation: true,
|
|
||||||
style: vue.normalizeStyle([_ctx.viewStyles]),
|
|
||||||
direction: "all",
|
|
||||||
x: _ctx.ghostEl.x,
|
|
||||||
y: _ctx.ghostEl.y,
|
|
||||||
key: "l-drag-clone"
|
|
||||||
}, [
|
|
||||||
vue.renderSlot(_ctx.$slots, "ghost", {}, void 0, true)
|
|
||||||
], 12, ["x", "y"])) : vue.createCommentVNode("v-if", true),
|
|
||||||
_ctx.props.before ? (vue.openBlock(), vue.createElementBlock("movable-view", {
|
|
||||||
key: 1,
|
|
||||||
class: "l-drag__before",
|
|
||||||
disabled: "",
|
|
||||||
animation: false,
|
|
||||||
style: vue.normalizeStyle([_ctx.viewStyles]),
|
|
||||||
x: _ctx.beforeEl.x,
|
|
||||||
y: _ctx.beforeEl.y
|
|
||||||
}, [
|
|
||||||
vue.renderSlot(_ctx.$slots, "before", {}, void 0, true)
|
|
||||||
], 12, ["x", "y"])) : vue.createCommentVNode("v-if", true),
|
|
||||||
(vue.openBlock(true), vue.createElementBlock(
|
|
||||||
vue.Fragment,
|
|
||||||
null,
|
|
||||||
vue.renderList(_ctx.cloneList, (item, oindex) => {
|
|
||||||
return vue.openBlock(), vue.createElementBlock("movable-view", {
|
|
||||||
key: item.id,
|
|
||||||
direction: "all",
|
|
||||||
"data-oindex": oindex,
|
|
||||||
style: vue.normalizeStyle([_ctx.viewStyles]),
|
|
||||||
class: vue.normalizeClass(["l-drag__view", [{ "l-is-active": oindex == _ctx.active, "l-is-hidden": !item.show }, item.class]]),
|
|
||||||
x: item.x,
|
|
||||||
y: item.y,
|
|
||||||
friction: _ctx.friction,
|
|
||||||
damping: _ctx.damping,
|
|
||||||
animation: _ctx.animation,
|
|
||||||
disabled: _ctx.isDisabled || _ctx.props.disabled,
|
|
||||||
onTouchstart: _cache[0] || (_cache[0] = (...args) => _ctx.touchStart && _ctx.touchStart(...args)),
|
|
||||||
onChange: _cache[1] || (_cache[1] = (...args) => _ctx.touchMove && _ctx.touchMove(...args)),
|
|
||||||
onTouchend: _cache[2] || (_cache[2] = (...args) => _ctx.touchEnd && _ctx.touchEnd(...args)),
|
|
||||||
onTouchcancel: _cache[3] || (_cache[3] = (...args) => _ctx.touchEnd && _ctx.touchEnd(...args)),
|
|
||||||
onLongpress: _cache[4] || (_cache[4] = (...args) => _ctx.setDisabled && _ctx.setDisabled(...args))
|
|
||||||
}, [
|
|
||||||
vue.createCommentVNode(' <view v-if="props.remove" class="l-drag__remove" :style="removeStyle" data-remove="true">\r\n <slot name="remove" :oindex="oindex" data-remove="true" />\r\n </view> '),
|
|
||||||
vue.createCommentVNode(' <view v-if="props.handle" class="l-drag__handle" :style="handleStyle" data-handle="true">\r\n <slot name="handle" :oindex="oindex" :active="!isDisabled && !isDisabled && oindex == active" />\r\n </view> '),
|
|
||||||
vue.renderSlot(_ctx.$slots, "grid", {
|
|
||||||
oindex,
|
|
||||||
index: item.index,
|
|
||||||
oldindex: item.oldindex,
|
|
||||||
content: item.content,
|
|
||||||
active: !_ctx.isDisabled && !_ctx.isDisabled && oindex == _ctx.active
|
|
||||||
}, void 0, true),
|
|
||||||
!(_ctx.isDisabled || _ctx.props.disabled) && _ctx.props.longpress ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
||||||
key: 0,
|
|
||||||
class: "mask"
|
|
||||||
})) : vue.createCommentVNode("v-if", true)
|
|
||||||
], 46, ["data-oindex", "x", "y", "friction", "damping", "animation", "disabled"]);
|
|
||||||
}),
|
|
||||||
128
|
|
||||||
/* KEYED_FRAGMENT */
|
|
||||||
)),
|
|
||||||
_ctx.props.after ? (vue.openBlock(), vue.createElementBlock("movable-view", {
|
|
||||||
key: 2,
|
|
||||||
class: "l-drag__after",
|
|
||||||
disabled: "",
|
|
||||||
animation: true,
|
|
||||||
direction: "all",
|
|
||||||
style: vue.normalizeStyle([_ctx.viewStyles]),
|
|
||||||
x: _ctx.afterEl.x,
|
|
||||||
y: _ctx.afterEl.y
|
|
||||||
}, [
|
|
||||||
vue.renderSlot(_ctx.$slots, "after", {}, void 0, true)
|
|
||||||
], 12, ["x", "y"])) : vue.createCommentVNode("v-if", true)
|
|
||||||
],
|
|
||||||
4
|
|
||||||
/* STYLE */
|
|
||||||
)) : vue.createCommentVNode("v-if", true)
|
|
||||||
],
|
|
||||||
36
|
|
||||||
/* STYLE, NEED_HYDRATION */
|
|
||||||
);
|
|
||||||
}
|
|
||||||
const __easycom_0$3 = /* @__PURE__ */ _export_sfc(__default__, [["render", _sfc_render$6], ["__scopeId", "data-v-e414e52a"], ["__file", "D:/projects/cxc-szcx-uniapp/uni_modules/lime-drag/components/l-drag/l-drag.vue"]]);
|
|
||||||
const _sfc_main$E = {
|
const _sfc_main$E = {
|
||||||
__name: "office",
|
__name: "office",
|
||||||
setup(__props) {
|
setup(__props) {
|
||||||
@ -7730,8 +7167,7 @@ This will fail in production.`);
|
|||||||
}));
|
}));
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
new Array(7).fill(0).map((v2, i2) => i2);
|
new Array(7).fill(0).map((v2, i2) => i2);
|
||||||
const newList = vue.ref([]);
|
vue.ref([]);
|
||||||
const change = (v2) => newList.value = v2;
|
|
||||||
const res = wx.getSystemInfoSync();
|
const res = wx.getSystemInfoSync();
|
||||||
const statusHeight = res.statusBarHeight;
|
const statusHeight = res.statusBarHeight;
|
||||||
const cusnavbarheight = statusHeight + 44 + "px";
|
const cusnavbarheight = statusHeight + 44 + "px";
|
||||||
@ -7765,16 +7201,15 @@ This will fail in production.`);
|
|||||||
return (_a2 = item == null ? void 0 : item.children) == null ? void 0 : _a2.length;
|
return (_a2 = item == null ? void 0 : item.children) == null ? void 0 : _a2.length;
|
||||||
});
|
});
|
||||||
listtitle.value = (_b = (_a = data[0]) == null ? void 0 : _a.meta) == null ? void 0 : _b.title;
|
listtitle.value = (_b = (_a = data[0]) == null ? void 0 : _a.meta) == null ? void 0 : _b.title;
|
||||||
arr.value = data.slice(1, data == null ? void 0 : data.length);
|
arr.value = data;
|
||||||
listorder.value = (_c = data.slice(0, 1)[0]) == null ? void 0 : _c.children;
|
listorder.value = (_c = data.slice(0, 1)[0]) == null ? void 0 : _c.children;
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
formatAppLog("log", "at pages/tab/office.vue:108", err);
|
formatAppLog("log", "at pages/tab/office.vue:103", err);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
return (_ctx, _cache) => {
|
return (_ctx, _cache) => {
|
||||||
var _a, _b, _c, _d;
|
var _a, _b, _c;
|
||||||
const _component_l_drag = resolveEasycom(vue.resolveDynamicComponent("l-drag"), __easycom_0$3);
|
|
||||||
return vue.openBlock(), vue.createElementBlock(
|
return vue.openBlock(), vue.createElementBlock(
|
||||||
"view",
|
"view",
|
||||||
{
|
{
|
||||||
@ -7783,55 +7218,14 @@ This will fail in production.`);
|
|||||||
[
|
[
|
||||||
vue.createElementVNode("view", { class: "nav" }),
|
vue.createElementVNode("view", { class: "nav" }),
|
||||||
vue.createElementVNode("view", { class: "placeholder" }),
|
vue.createElementVNode("view", { class: "placeholder" }),
|
||||||
((_a = listorder.value) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("view", {
|
vue.createCommentVNode(' <view class="drag" v-if="listorder?.length"> //20240929 yzq 注释 这部分是拖拽组件\r\n <view class="title">\r\n {{ listtitle}}\r\n </view>\r\n <l-drag :list="listorder" @change="change" :column="4" gridHeight="100px">\r\n <template #grid="{active, content}">\r\n <view class="inner f-col aic" :class="{\'active\': active}" @click="jump(content.path)">\r\n <view class="img f-row aic">\r\n <image :src="`../../static/office/${content.meta.icon}.png`" mode=""></image>\r\n </view>\r\n <view class="text">\r\n {{content?.meta.title}}\r\n </view>\r\n </view>\r\n </template>\r\n </l-drag>\r\n </view> '),
|
||||||
|
!((_a = listorder.value) == null ? void 0 : _a.length) && !((_b = arr.value) == null ? void 0 : _b.length) ? (vue.openBlock(), vue.createElementBlock("view", {
|
||||||
key: 0,
|
key: 0,
|
||||||
class: "drag"
|
|
||||||
}, [
|
|
||||||
vue.createElementVNode(
|
|
||||||
"view",
|
|
||||||
{ class: "title" },
|
|
||||||
vue.toDisplayString(listtitle.value),
|
|
||||||
1
|
|
||||||
/* TEXT */
|
|
||||||
),
|
|
||||||
vue.createVNode(_component_l_drag, {
|
|
||||||
list: listorder.value,
|
|
||||||
onChange: change,
|
|
||||||
column: 4,
|
|
||||||
gridHeight: "100px"
|
|
||||||
}, {
|
|
||||||
grid: vue.withCtx(({ active, content }) => [
|
|
||||||
vue.createCommentVNode(" // grid.active 是否为当前拖拽项目 根据自己需要写样式 "),
|
|
||||||
vue.createElementVNode("view", {
|
|
||||||
class: vue.normalizeClass(["inner f-col aic", { "active": active }]),
|
|
||||||
onClick: ($event) => jump(content.path)
|
|
||||||
}, [
|
|
||||||
vue.createElementVNode("view", { class: "img f-row aic" }, [
|
|
||||||
vue.createElementVNode("image", {
|
|
||||||
src: `../../static/office/${content.meta.icon}.png`,
|
|
||||||
mode: ""
|
|
||||||
}, null, 8, ["src"])
|
|
||||||
]),
|
|
||||||
vue.createElementVNode(
|
|
||||||
"view",
|
|
||||||
{ class: "text" },
|
|
||||||
vue.toDisplayString(content == null ? void 0 : content.meta.title),
|
|
||||||
1
|
|
||||||
/* TEXT */
|
|
||||||
)
|
|
||||||
], 10, ["onClick"])
|
|
||||||
]),
|
|
||||||
_: 1
|
|
||||||
/* STABLE */
|
|
||||||
}, 8, ["list"])
|
|
||||||
])) : vue.createCommentVNode("v-if", true),
|
|
||||||
!((_b = listorder.value) == null ? void 0 : _b.length) && !((_c = arr.value) == null ? void 0 : _c.length) ? (vue.openBlock(), vue.createElementBlock("view", {
|
|
||||||
key: 1,
|
|
||||||
class: "title f-col aic",
|
class: "title f-col aic",
|
||||||
style: { "padding-top": "30rpx" }
|
style: { "padding-top": "30rpx" }
|
||||||
}, " 暂无权限,请联系管理员! ")) : vue.createCommentVNode("v-if", true),
|
}, " 暂无权限,请联系管理员! ")) : vue.createCommentVNode("v-if", true),
|
||||||
vue.createElementVNode("view", { class: "content" }, [
|
vue.createElementVNode("view", { class: "content" }, [
|
||||||
((_d = arr.value) == null ? void 0 : _d.length) ? (vue.openBlock(), vue.createElementBlock("view", {
|
((_c = arr.value) == null ? void 0 : _c.length) ? (vue.openBlock(), vue.createElementBlock("view", {
|
||||||
key: 0,
|
key: 0,
|
||||||
class: "list"
|
class: "list"
|
||||||
}, [
|
}, [
|
||||||
@ -7862,8 +7256,7 @@ This will fail in production.`);
|
|||||||
}, [
|
}, [
|
||||||
vue.createElementVNode("view", { class: "img f-row aic" }, [
|
vue.createElementVNode("view", { class: "img f-row aic" }, [
|
||||||
vue.createElementVNode("image", {
|
vue.createElementVNode("image", {
|
||||||
src: `../../static/office/${e2.meta.icon}.png`,
|
src: `../../static/office/${e2.meta.icon}.png`
|
||||||
mode: ""
|
|
||||||
}, null, 8, ["src"])
|
}, null, 8, ["src"])
|
||||||
]),
|
]),
|
||||||
vue.createElementVNode(
|
vue.createElementVNode(
|
||||||
@ -8234,7 +7627,7 @@ This will fail in production.`);
|
|||||||
const scan = () => {
|
const scan = () => {
|
||||||
uni.scanCode({
|
uni.scanCode({
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
formatAppLog("log", "at pages/tab/my.vue:172", "扫码结果", res);
|
formatAppLog("log", "at pages/tab/my.vue:169", "扫码结果", res);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
@ -8281,8 +7674,7 @@ This will fail in production.`);
|
|||||||
vue.toDisplayString(vue.unref(store).userinfo.realname),
|
vue.toDisplayString(vue.unref(store).userinfo.realname),
|
||||||
1
|
1
|
||||||
/* TEXT */
|
/* TEXT */
|
||||||
),
|
)
|
||||||
vue.createCommentVNode(' <view class="status">\r\n 在职\r\n </view> ')
|
|
||||||
]),
|
]),
|
||||||
vue.createElementVNode(
|
vue.createElementVNode(
|
||||||
"view",
|
"view",
|
||||||
@ -8296,14 +7688,10 @@ This will fail in production.`);
|
|||||||
vue.createElementVNode("image", {
|
vue.createElementVNode("image", {
|
||||||
onClick: scan,
|
onClick: scan,
|
||||||
style: { "width": "50rpx", "height": "50rpx", "margin-right": "20rpx" },
|
style: { "width": "50rpx", "height": "50rpx", "margin-right": "20rpx" },
|
||||||
src: "/static/tab/scan.png",
|
src: "/static/tab/scan.png"
|
||||||
mode: ""
|
|
||||||
}),
|
}),
|
||||||
vue.createElementVNode("image", {
|
vue.createCommentVNode(` <image src="../../static/my/shezhi.png" mode="" @click="toProfile('/pages/useredit/useredit')">\r
|
||||||
src: "/static/my/shezhi.png",
|
</image> `)
|
||||||
mode: "",
|
|
||||||
onClick: _cache[2] || (_cache[2] = ($event) => toProfile("/pages/useredit/useredit"))
|
|
||||||
})
|
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
]),
|
]),
|
||||||
@ -8311,7 +7699,7 @@ This will fail in production.`);
|
|||||||
vue.createElementVNode("view", { class: "msg f-row aic jca" }, [
|
vue.createElementVNode("view", { class: "msg f-row aic jca" }, [
|
||||||
vue.createElementVNode("view", {
|
vue.createElementVNode("view", {
|
||||||
class: "box f-col aic",
|
class: "box f-col aic",
|
||||||
onClick: _cache[3] || (_cache[3] = ($event) => jump("/pages/task/todotask"))
|
onClick: _cache[2] || (_cache[2] = ($event) => jump("/pages/task/todotask"))
|
||||||
}, [
|
}, [
|
||||||
vue.createElementVNode(
|
vue.createElementVNode(
|
||||||
"view",
|
"view",
|
||||||
@ -8334,7 +7722,7 @@ This will fail in production.`);
|
|||||||
]),
|
]),
|
||||||
vue.createElementVNode("view", {
|
vue.createElementVNode("view", {
|
||||||
class: "box f-col aic",
|
class: "box f-col aic",
|
||||||
onClick: _cache[4] || (_cache[4] = ($event) => jump("/pages/useredit/addressbook"))
|
onClick: _cache[3] || (_cache[3] = ($event) => jump("/pages/useredit/addressbook"))
|
||||||
}, [
|
}, [
|
||||||
vue.createElementVNode("view", { class: "num" }, " 34 "),
|
vue.createElementVNode("view", { class: "num" }, " 34 "),
|
||||||
vue.createElementVNode("text", null, "通讯录")
|
vue.createElementVNode("text", null, "通讯录")
|
||||||
@ -8371,7 +7759,7 @@ This will fail in production.`);
|
|||||||
"view",
|
"view",
|
||||||
{
|
{
|
||||||
class: "switch",
|
class: "switch",
|
||||||
onClick: _cache[5] || (_cache[5] = ($event) => messageSwitch.value = !messageSwitch.value)
|
onClick: _cache[4] || (_cache[4] = ($event) => messageSwitch.value = !messageSwitch.value)
|
||||||
},
|
},
|
||||||
[
|
[
|
||||||
vue.withDirectives(vue.createElementVNode(
|
vue.withDirectives(vue.createElementVNode(
|
||||||
@ -12345,7 +11733,6 @@ This will fail in production.`);
|
|||||||
setup(__props) {
|
setup(__props) {
|
||||||
const baseUrl2 = "http://10.75.166.174:8080/jeecg-boot";
|
const baseUrl2 = "http://10.75.166.174:8080/jeecg-boot";
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
vue.ref(null);
|
|
||||||
const chooseAvatar = () => {
|
const chooseAvatar = () => {
|
||||||
uni.chooseImage({
|
uni.chooseImage({
|
||||||
count: 1,
|
count: 1,
|
||||||
@ -12368,15 +11755,19 @@ This will fail in production.`);
|
|||||||
avatar: form.avatar,
|
avatar: form.avatar,
|
||||||
id: store.userinfo.id
|
id: store.userinfo.id
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.success) {
|
if (res) {
|
||||||
userProfile();
|
uni.showToast({
|
||||||
|
title: res,
|
||||||
|
icon: "success",
|
||||||
|
duration: 2e3
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
formatAppLog("log", "at pages/useredit/useredit.vue:123", err);
|
formatAppLog("log", "at pages/useredit/useredit.vue:97", err);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
fail(err) {
|
fail(err) {
|
||||||
formatAppLog("log", "at pages/useredit/useredit.vue:127", "图片上传出错", err);
|
formatAppLog("log", "at pages/useredit/useredit.vue:101", "图片上传出错", err);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -12387,18 +11778,6 @@ This will fail in production.`);
|
|||||||
realname: "",
|
realname: "",
|
||||||
phone: ""
|
phone: ""
|
||||||
});
|
});
|
||||||
const userProfile = () => {
|
|
||||||
userProfileApi({
|
|
||||||
username: store.userinfo.username
|
|
||||||
}).then((res) => {
|
|
||||||
if (res.success) {
|
|
||||||
uni.setStorageSync("user", JSON.stringify(res.result.records[0]));
|
|
||||||
store.setUserInfo(res.result.records[0]);
|
|
||||||
}
|
|
||||||
}).catch((err) => {
|
|
||||||
formatAppLog("log", "at pages/useredit/useredit.vue:161", err);
|
|
||||||
});
|
|
||||||
};
|
|
||||||
const loginout = () => {
|
const loginout = () => {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: "退出登录",
|
title: "退出登录",
|
||||||
@ -12480,15 +11859,6 @@ This will fail in production.`);
|
|||||||
[vue.vModelText, vue.unref(store).userinfo.realname]
|
[vue.vModelText, vue.unref(store).userinfo.realname]
|
||||||
])
|
])
|
||||||
]),
|
]),
|
||||||
vue.createCommentVNode(` <picker @change="bindSex" disabled :value="sexIndex" :range="sexArr">\r
|
|
||||||
<view class="box" style="padding-top: 30rpx;padding-bottom: 30rpx;">\r
|
|
||||||
<view>性别</view>\r
|
|
||||||
<view :class="[{'choose':sexIndex==null},{'choosed':sexIndex!=null},'f-row','aic']">\r
|
|
||||||
<text>{{sexIndex==null?'请选择':sexArr[sexIndex]}}</text>\r
|
|
||||||
<uni-icons type="right" size="24"></uni-icons>\r
|
|
||||||
</view>\r
|
|
||||||
</view>\r
|
|
||||||
</picker> `),
|
|
||||||
vue.createElementVNode("view", {
|
vue.createElementVNode("view", {
|
||||||
class: "box",
|
class: "box",
|
||||||
style: { "padding-top": "30rpx", "padding-bottom": "30rpx" }
|
style: { "padding-top": "30rpx", "padding-bottom": "30rpx" }
|
||||||
@ -12532,13 +11902,7 @@ This will fail in production.`);
|
|||||||
), [
|
), [
|
||||||
[vue.vModelText, vue.unref(store).userinfo.workNo]
|
[vue.vModelText, vue.unref(store).userinfo.workNo]
|
||||||
])
|
])
|
||||||
]),
|
])
|
||||||
vue.createCommentVNode(` <view class="box" style="padding-top: 30rpx;padding-bottom: 30rpx;" @click="jump('/pages/useredit/address')">\r
|
|
||||||
<view>我的地址</view>\r
|
|
||||||
<view class="">\r
|
|
||||||
<uni-icons type="right" size="24"></uni-icons>\r
|
|
||||||
</view>\r
|
|
||||||
</view> `)
|
|
||||||
],
|
],
|
||||||
2
|
2
|
||||||
/* CLASS */
|
/* CLASS */
|
||||||
|
2
unpackage/dist/dev/app-plus/manifest.json
vendored
@ -8,7 +8,7 @@
|
|||||||
"name": "数智产销",
|
"name": "数智产销",
|
||||||
"version": {
|
"version": {
|
||||||
"name": "1.0.0",
|
"name": "1.0.0",
|
||||||
"code": 100
|
"code": 20240929
|
||||||
},
|
},
|
||||||
"description": "",
|
"description": "",
|
||||||
"developer": {
|
"developer": {
|
||||||
|
96
unpackage/dist/dev/app-plus/pages/tab/office.css
vendored
@ -1,99 +1,3 @@
|
|||||||
/**
|
|
||||||
* 这里是uni-app内置的常用样式变量
|
|
||||||
*
|
|
||||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|
||||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
/**
|
|
||||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|
||||||
*
|
|
||||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|
||||||
*/
|
|
||||||
/* 颜色变量 */
|
|
||||||
/* 行为相关颜色 */
|
|
||||||
/* 文字基本颜色 */
|
|
||||||
/* 背景颜色 */
|
|
||||||
/* 边框颜色 */
|
|
||||||
/* 尺寸变量 */
|
|
||||||
/* 文字尺寸 */
|
|
||||||
/* 图片尺寸 */
|
|
||||||
/* Border Radius */
|
|
||||||
/* 水平间距 */
|
|
||||||
/* 垂直间距 */
|
|
||||||
/* 透明度 */
|
|
||||||
/* 文章场景相关 */
|
|
||||||
.l-drag[data-v-e414e52a] {
|
|
||||||
margin-top: var(--e414e52a-cusnavbarheight);
|
|
||||||
}
|
|
||||||
.l-drag[data-v-e414e52a] {
|
|
||||||
overflow: hidden;
|
|
||||||
margin: 0.75rem 0.9375rem 0 0.9375rem;
|
|
||||||
}
|
|
||||||
.l-drag__inner[data-v-e414e52a] {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
min-height: 3.125rem;
|
|
||||||
}
|
|
||||||
.l-drag__view[data-v-e414e52a] {
|
|
||||||
z-index: 2;
|
|
||||||
transition: opacity 300ms ease;
|
|
||||||
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
.l-drag__view .mask[data-v-e414e52a] {
|
|
||||||
position: absolute;
|
|
||||||
inset: 0;
|
|
||||||
background-color: transparent;
|
|
||||||
z-index: 9;
|
|
||||||
}
|
|
||||||
.l-drag__view > uni-view[data-v-e414e52a]:last-child {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.l-drag-enter[data-v-e414e52a] {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
.l-drag__ghost[data-v-e414e52a] {
|
|
||||||
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
.l-drag__ghost > uni-view[data-v-e414e52a]:last-child {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.l-is-active[data-v-e414e52a] {
|
|
||||||
z-index: 3;
|
|
||||||
}
|
|
||||||
.l-is-hidden[data-v-e414e52a] {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
.l-drag__delete[data-v-e414e52a] {
|
|
||||||
position: absolute;
|
|
||||||
z-index: 10;
|
|
||||||
width: var(--l-drag-delete-size, 1rem);
|
|
||||||
height: var(--l-drag-delete-size, 1rem);
|
|
||||||
}
|
|
||||||
.l-drag__handle[data-v-e414e52a] {
|
|
||||||
position: absolute;
|
|
||||||
z-index: 10;
|
|
||||||
width: var(--l-drag-handle-size, 1.5625rem);
|
|
||||||
height: var(--l-drag-handle-size, 1.5625rem);
|
|
||||||
}
|
|
||||||
.l-drag__delete[data-v-e414e52a]::before, .l-drag__handle[data-v-e414e52a]::before {
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 这里是uni-app内置的常用样式变量
|
* 这里是uni-app内置的常用样式变量
|
||||||
*
|
*
|
||||||
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
BIN
unpackage/dist/dev/app-plus/static/office/task.png
vendored
Normal file
After Width: | Height: | Size: 4.4 KiB |