commit ba2249188ba37bb7495bd2b6503fb0a4c0d5de09 Author: 曹辉 <814457906@qq.com> Date: Tue Mar 28 10:02:47 2023 +0800 初次提交 diff --git a/App.vue b/App.vue new file mode 100644 index 0000000..886dc42 --- /dev/null +++ b/App.vue @@ -0,0 +1,63 @@ + + + diff --git a/api/Modifyinformation/Modifyinformation.js b/api/Modifyinformation/Modifyinformation.js new file mode 100644 index 0000000..da9821b --- /dev/null +++ b/api/Modifyinformation/Modifyinformation.js @@ -0,0 +1,22 @@ +import request from "../request.js" + +export function userPassWord(data) { + return request({ + url: `/nurseApp/personLogin/userPassWord`, + method: 'POST', + data, + }) +} +export function updateHeadAvatarHead(userId, File) { + return request({ + url: `/nurseApp/personLogin/updateHeadAvatarHead?userId=${userId}&File=${File}`, + method: 'POST', + data, + }) +} +export function nursePerson(phonenumber, password) { + return request({ + url: `/nurseApp/personLogin/nursePerson?phonenumber=${phonenumber}&stationPersonPassword=${password}`, + method: 'GET' + }) +} diff --git a/api/Mymission.js b/api/Mymission.js new file mode 100644 index 0000000..838f627 --- /dev/null +++ b/api/Mymission.js @@ -0,0 +1,9 @@ +import request from "./request.js" + + +export function selectMission(nursePersonId, orderStatus, pageNum, pageSize,nurseItemName) { + return request({ + url: `/nurseApp/personLogin/selectMission?nursePersonId=${nursePersonId}&orderStatus=${orderStatus}&pageNum=${pageNum}&pageSize=${pageSize}&nurseItemName=${nurseItemName}`, + method: 'GET' + }) +} diff --git a/api/baseurl.js b/api/baseurl.js new file mode 100644 index 0000000..87ed2bd --- /dev/null +++ b/api/baseurl.js @@ -0,0 +1,6 @@ +// var baseurl = "https://quanyidaojia.xinelu.cn"; + + + +var baseurl = "http://192.168.16.49:8080"; +export default baseurl diff --git a/api/confirmCompletion/index.js b/api/confirmCompletion/index.js new file mode 100644 index 0000000..1094867 --- /dev/null +++ b/api/confirmCompletion/index.js @@ -0,0 +1,9 @@ +import request from "../request.js" + +export function orderConfirm(data) { + return request({ + url: `/nurseApp/personLogin/orderConfirm`, + method: 'POST', + data + }) +} diff --git a/api/forgotPassword/forgotPassword.js b/api/forgotPassword/forgotPassword.js new file mode 100644 index 0000000..a48cfbc --- /dev/null +++ b/api/forgotPassword/forgotPassword.js @@ -0,0 +1,9 @@ +import request from "../request.js" + +export function updatePassword(phonenumber, password) { + return request({ + url: `/nurseApp/personLogin/updatePassword?phonenumber=${phonenumber}&stationPersonPassword=${password}`, + method: 'POST' + }) +} + diff --git a/api/login/index.js b/api/login/index.js new file mode 100644 index 0000000..5864355 --- /dev/null +++ b/api/login/index.js @@ -0,0 +1,16 @@ +import request from "../request.js" + +//密码 +export function appLogin(phonenumber, stationPersonPassword) { + return request({ + url: `/nurseApp/personLogin/appLogin?phonenumber=${phonenumber}&stationPersonPassword=${stationPersonPassword}`, + method: 'POST' + }) +} + +export function createMobileToken() { + return request({ + url: `/nurseApplet/authorization/createMobileToken`, + method: 'GET' + }) +} diff --git a/api/personnal/personal.js b/api/personnal/personal.js new file mode 100644 index 0000000..b8e825d --- /dev/null +++ b/api/personnal/personal.js @@ -0,0 +1,7 @@ +import request from "../request.js" +export function nursePerson(phonenumber,password) { + return request({ + url: `/nurseApp/personLogin/nursePerson?phonenumber=${phonenumber}&stationPersonPassword=${password}`, + method: 'GET' + }) +} diff --git a/api/register/index.js b/api/register/index.js new file mode 100644 index 0000000..2a6346f --- /dev/null +++ b/api/register/index.js @@ -0,0 +1,16 @@ +import request from "../request.js" + +export function nurseAppLoginSysUser(data) { + return request({ + url: `/nurseApp/personLogin/nurseAppLoginSysUser`, + method: 'POST', + data, + }) +} + +export function personNurseStationLists(pageNum,pageSize) { + return request({ + url: `/nurseApp/personLogin/personNurseStationLists?pageNum=${pageNum}&pageSize=${pageSize}`, + method: 'get' + }) +} diff --git a/api/request.js b/api/request.js new file mode 100644 index 0000000..31de474 --- /dev/null +++ b/api/request.js @@ -0,0 +1,54 @@ +import baseurl from './baseurl.js' + +var request = function(config) { + return new Promise((resolve, rejected) => { + uni.showLoading({ + title: '' + }); + uni.request({ + url: baseurl + config.url, + data: config.data, + method: config.method, + timeout: 10000, + header: { + Authorization: 'Bearer' + ' ' + uni.getStorageSync('token') + }, + success(res) { + if (res.data.code == 9999) { + uni.removeStorageSync('token'); + // uni.reLaunch({ + // url: '/pages/login/login' + // }) + uni.showModal({ + title: "登录提示", + content: '登录失效,请重新登录', + success(res1) { + if (res1.confirm) { + uni.navigateTo({ + url: '/pages/login/login' + }) + } else if (res1.cancel) { + uni.reLaunch({ + url: '/pages/homepage/homepage' + }) + } + }, + fail(err1) { + uni.reLaunch({ + url: '/pages/homepage/homepage' + }) + } + }) + } + uni.hideLoading(); + resolve(res.data) + }, + fail(err) { + uni.hideLoading(); + rejected(err) + } + }) + }) +} + +export default request diff --git a/api/startup.js b/api/startup.js new file mode 100644 index 0000000..b4bdb03 --- /dev/null +++ b/api/startup.js @@ -0,0 +1,9 @@ +import request from "./request.js" + + +export function appFileInfoByOneId() { + return request({ + url: `/nurseApplet/uploadFile/appFileInfoByOneId`, + method: 'GET' + }) +} diff --git a/api/taskDetails.js b/api/taskDetails.js new file mode 100644 index 0000000..876dff8 --- /dev/null +++ b/api/taskDetails.js @@ -0,0 +1,11 @@ +import request from "./request.js" + +// 任务详情 + +export function taskDetails(orderDetailsId) { + return request({ + url: `/nurseApp/personLogin/taskDetails?&orderDetailsId=${orderDetailsId}`, + method: 'GET' + }) +} + diff --git a/api/taskReturn/index.js b/api/taskReturn/index.js new file mode 100644 index 0000000..386b64c --- /dev/null +++ b/api/taskReturn/index.js @@ -0,0 +1,9 @@ +import request from "../request.js" + + +export function orderFallback(orderNo, taskReturnReason) { + return request({ + url: `/nurseApp/personLogin/orderFallback?orderNo=${orderNo}&taskReturnReason=${taskReturnReason}`, + method: 'POST' + }) +} diff --git a/components/v-sign/utils.js b/components/v-sign/utils.js new file mode 100644 index 0000000..a5a9ab7 --- /dev/null +++ b/components/v-sign/utils.js @@ -0,0 +1,15 @@ +/** + * 判断是否未数值 + * @param {Object} val + */ +export function isNumber(val) { + return !isNaN(Number(val)) +} + +/** + * 处理大小单位 + * @param {Object} val + */ +export function formatSize(val) { + return isNumber(val) ? `${val}rpx` : val +} diff --git a/components/v-sign/v-sign-action.vue b/components/v-sign/v-sign-action.vue new file mode 100644 index 0000000..65d11d1 --- /dev/null +++ b/components/v-sign/v-sign-action.vue @@ -0,0 +1,162 @@ + + + + + diff --git a/components/v-sign/v-sign-pen.vue b/components/v-sign/v-sign-pen.vue new file mode 100644 index 0000000..9c26a66 --- /dev/null +++ b/components/v-sign/v-sign-pen.vue @@ -0,0 +1,211 @@ + + + + + diff --git a/components/v-sign/v-sign.vue b/components/v-sign/v-sign.vue new file mode 100644 index 0000000..afb3020 --- /dev/null +++ b/components/v-sign/v-sign.vue @@ -0,0 +1,238 @@ + + + + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..c3ff205 --- /dev/null +++ b/index.html @@ -0,0 +1,20 @@ + + + + + + + + + + +
+ + + diff --git a/main.js b/main.js new file mode 100644 index 0000000..37e8faf --- /dev/null +++ b/main.js @@ -0,0 +1,23 @@ +import App from './App' + +// #ifndef VUE3 +import Vue from 'vue' +import uView from "uview-ui"; +Vue.use(uView); +Vue.config.productionTip = false +App.mpType = 'app' +const app = new Vue({ + ...App +}) +app.$mount() +// #endif + +// #ifdef VUE3 +import { createSSRApp } from 'vue' +export function createApp() { + const app = createSSRApp(App) + return { + app + } +} +// #endif \ No newline at end of file diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..fb90404 --- /dev/null +++ b/manifest.json @@ -0,0 +1,128 @@ +{ + "name" : "泉医到家护理员", + "appid" : "__UNI__9FA8ADB", + "description" : "", + "versionName" : "1.0.0", + "versionCode" : 100, + "transformPx" : false, + /* 5+App特有相关 */ + "app-plus" : { + "usingComponents" : true, + "nvueStyleCompiler" : "uni-app", + "compilerVersion" : 3, + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 0 + }, + /* 模块配置 */ + "modules" : { + "Geolocation" : {}, + "Maps" : {}, + "Camera" : {} + }, + /* 应用发布信息 */ + "distribute" : { + /* android打包配置 */ + "android" : { + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + /* ios打包配置 */ + "ios" : { + "dSYMs" : false + }, + /* SDK配置 */ + "sdkConfigs" : { + "ad" : {}, + "geolocation" : { + "amap" : { + "__platform__" : [ "ios", "android" ], + "appkey_ios" : "fa38860a5159a551b6819ea3092a68f3", + "appkey_android" : "fa38860a5159a551b6819ea3092a68f3" + } + }, + "maps" : { + "amap" : { + "appkey_ios" : "fa38860a5159a551b6819ea3092a68f3", + "appkey_android" : "fa38860a5159a551b6819ea3092a68f3" + } + } + }, + "icons" : { + "android" : { + "hdpi" : "", + "xhdpi" : "", + "xxhdpi" : "", + "xxxhdpi" : "" + }, + "ios" : { + "appstore" : "", + "ipad" : { + "app" : "", + "app@2x" : "", + "notification" : "", + "notification@2x" : "", + "proapp@2x" : "", + "settings" : "", + "settings@2x" : "", + "spotlight" : "", + "spotlight@2x" : "" + }, + "iphone" : { + "app@2x" : "", + "app@3x" : "", + "notification@2x" : "", + "notification@3x" : "", + "settings@2x" : "", + "settings@3x" : "", + "spotlight@2x" : "", + "spotlight@3x" : "" + } + } + } + } + }, + /* 快应用特有相关 */ + "quickapp" : {}, + /* 小程序特有相关 */ + "mp-weixin" : { + "appid" : "", + "setting" : { + "urlCheck" : false + }, + "usingComponents" : true, + "permission" : {} + }, + "mp-alipay" : { + "usingComponents" : true + }, + "mp-baidu" : { + "usingComponents" : true + }, + "mp-toutiao" : { + "usingComponents" : true + }, + "uniStatistics" : { + "enable" : false + }, + "vueVersion" : "2", + "locale" : "zh-Hans", + "fallbackLocale" : "zh-Hans" +} diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..12f84de --- /dev/null +++ b/package-lock.json @@ -0,0 +1,27 @@ +{ + "name": "签名组件-兼容H5、小程序、APP", + "version": "1.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "签名组件-兼容H5、小程序、APP", + "version": "1.0.0", + "dependencies": { + "uview-ui": "^1.8.4" + } + }, + "node_modules/uview-ui": { + "version": "1.8.4", + "resolved": "https://registry.npmjs.org/uview-ui/-/uview-ui-1.8.4.tgz", + "integrity": "sha512-Zr+D5dFdNy6CdHQLBEXeGq/w0LkjxzBtsgaaDwLl0P58g67H7fBBDvy6AzWK/k0c7dwPYMBiK7I4Tr9p92+0DA==" + } + }, + "dependencies": { + "uview-ui": { + "version": "1.8.4", + "resolved": "https://registry.npmjs.org/uview-ui/-/uview-ui-1.8.4.tgz", + "integrity": "sha512-Zr+D5dFdNy6CdHQLBEXeGq/w0LkjxzBtsgaaDwLl0P58g67H7fBBDvy6AzWK/k0c7dwPYMBiK7I4Tr9p92+0DA==" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..d5f0107 --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "id": "sin-signature", + "name": "签名组件-兼容H5、小程序、APP", + "version": "1.0.0", + "description": "用于uni-app的签名组件,支持H5、小程序、APP,可导出svg矢量图片。", + "keywords": [ + "签名,签字,svg,canvas" + ], + "dependencies": { + "uview-ui": "^1.8.4" + } +} diff --git a/pages.json b/pages.json new file mode 100644 index 0000000..8406c08 --- /dev/null +++ b/pages.json @@ -0,0 +1,123 @@ +{ + "easycom": { + "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" + }, + "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { + "path": "pages/startup/startup", + "style": { + "navigationBarTitleText": "启动页", + "navigationStyle": "custom" + } + }, { + "path": "pages/login/login", + "style": { + "navigationBarTitleText": "登录", + "navigationBarBackgroundColor": "#ffffff", //背景颜色 + "navigationStyle": "custom" + } + }, + { + "path": "pages/confirmCompletion/confirmCompletion", + "style": { + "navigationBarTitleText": "完成确认", + "navigationBarBackgroundColor": "#ffffff" //背景颜色 + } + }, { + "path": "pages/personal/personal", + "style": { + "navigationBarTitleText": "个人信息", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#4C7BC9", + "navigationBarTextStyle": "white" + } + }, { + "path": "pages/forgotPassword/forgotPassword", + "style": { + "navigationBarTitleText": "忘记密码", + "navigationBarBackgroundColor": "#ffffff" //背景颜色 + } + }, { + "path": "pages/register/register", + "style": { + "navigationBarTitleText": "注册账号", + "navigationBarBackgroundColor": "#ffffff" //背景颜色 + } + }, { + "path": "pages/homepage/homepage", + "style": { + "navigationBarTitleText": "", + "navigationBarBackgroundColor": "#ffffff", //背景颜色 + "navigationStyle": "custom" + } + }, + { + "path": "pages/taskReturn/taskReturn", + "style": { + "navigationBarTitleText": "任务退回", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" //背景颜色 + } + + }, { + "path": "pages/Mymission/Mymission", + "style": { + "navigationBarTitleText": "我的任务", + "navigationBarBackgroundColor": "#ffffff", //背景颜色 + "onReachBottomDistance": 20, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true + } + + }, { + "path": "pages/taskDetails/taskDetails", + "style": { + "navigationBarTitleText": "任务详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" //背景颜色 + } + + }, + { + "path": "pages/Modifyinformation/Modifyinformation", + "style": { + "navigationBarTitleText": "修改信息", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" //背景颜色 + // "navigationBarTextStyle": "white" + } + }, { + "path": "pages/signature/signature", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + } + ], + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "", + "navigationBarBackgroundColor": "#F8F8F8", + "backgroundColor": "#F8F8F8" + }, + "uniIdRouter": {}, + "tabBar": { + "color": "#7A7E83", + "selectedColor": "#435950", + "borderStyle": "black", + "backgroundColor": "#ffffff", + "list": [{ + "pagePath": "pages/homepage/homepage", + "iconPath": "static/homepagew.png", + "selectedIconPath": "static/homepagews.png", + "text": "首页" + }, + { + "pagePath": "pages/personal/personal", + "iconPath": "static/userw.png", + "selectedIconPath": "static/users.png", + "text": "我的" + } + ] + } +} diff --git a/pages/Modifyinformation/Modifyinformation.scss b/pages/Modifyinformation/Modifyinformation.scss new file mode 100644 index 0000000..9135d1c --- /dev/null +++ b/pages/Modifyinformation/Modifyinformation.scss @@ -0,0 +1,96 @@ +.app { + background-color: #F4F5F7; + width: 100%; + height: 100vh; + color: #000000; + padding: 3%; + font-size: 34rpx; + .title{ + font-size: 28rpx; + margin: 20rpx 20rpx 0; + } + .finish { + width: 217rpx; + color: #FFFFFF; + height: 68rpx; + line-height: 68rpx; + text-align: center; + position: absolute; + top: 70%; + left: 70%; + background: #4C7BC9; + border-radius: 26rpx; + } + + .centercontent { + width: 99%; + background: #FFFFFF; + box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03); + border-radius: 20rpx; + margin: 0 auto; + padding-bottom: 10rpx; + .content { + line-height: 100rpx; + .name { + margin-left: 20rpx; + height: 100rpx; + line-height: 100rpx; + border-bottom: 1rpx solid #D8D4D4; + position: relative; + + span { + display: inline-block; + width: 20%; + } + + input { + position: absolute; + top: 50%; + transform: translateY(-50%); + line-height: 100rpx; + display: inline-block; + width: 80%; + font-size: 34rpx; + + } + } + + .nursetype { + padding-bottom: 20rpx; + border: none;line-height: 50rpx;margin: 20rpx 20rpx; + } + } + + .Commodity { + line-height: 130rpx; + margin-left: 20rpx; + border-bottom: 1rpx solid #D8D4D4; + position: relative; + + .picture { + position: absolute; + right: 10%; + top: 50%; + transform: translateY(-50%); + width: 110rpx; + height: 110rpx; + border-radius: 50%; + } + + .pictureA { + position: absolute; + right: 2%; + top: 50%; + transform: translateY(-50%); + width: 18rpx; + height: 27rpx; + } + + .head { + line-height: 140rpx; + margin-left: 5%; + display: inline-block; + } + } + } + } \ No newline at end of file diff --git a/pages/Modifyinformation/Modifyinformation.vue b/pages/Modifyinformation/Modifyinformation.vue new file mode 100644 index 0000000..2963ceb --- /dev/null +++ b/pages/Modifyinformation/Modifyinformation.vue @@ -0,0 +1,196 @@ + + + + diff --git a/pages/Mymission/Mymission.vue b/pages/Mymission/Mymission.vue new file mode 100644 index 0000000..bf5d6a9 --- /dev/null +++ b/pages/Mymission/Mymission.vue @@ -0,0 +1,356 @@ + + + + + diff --git a/pages/confirmCompletion/confirmCompletion.vue b/pages/confirmCompletion/confirmCompletion.vue new file mode 100644 index 0000000..f94388f --- /dev/null +++ b/pages/confirmCompletion/confirmCompletion.vue @@ -0,0 +1,329 @@ + + + + + diff --git a/pages/forgotPassword/forgotPassword.scss b/pages/forgotPassword/forgotPassword.scss new file mode 100644 index 0000000..f5f1a96 --- /dev/null +++ b/pages/forgotPassword/forgotPassword.scss @@ -0,0 +1,74 @@ + .app { + height: 100vh; + padding: 20rpx 0; + + .item { + font-size: 34rpx; + margin: 0 auto 20rpx; + width: 94%; + height: 100rpx; + line-height: 100rpx; + background-color: #fff; + box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03); + border-radius: 20rpx; + position: relative; + + .lefttext { + position: absolute; + top: 50%; + transform: translateY(-50%); + left: 3%; + } + + .righttext { + position: absolute; + top: 50%; + transform: translateY(-50%); + left: 18%; + height: 100rpx; + } + + .lefttext, + .righttext { + ::v-deep .uni-input-input { + font-size: 34rpx; + } + + ::v-deep .uni-input-wrapper { + height: 100rpx; + line-height: 100rpx; + } + + ::v-deep .uni-input-placeholder { + line-height: 100rpx; + font-size: 34rpx; + font-weight: 400; + color: #C3C1C1; + } + } + + .obtaincode { + text-align: center; + font-size: 36rpx; + color: #4C7BC9; + line-height: 100rpx; + position: absolute; + right: 5%; + top: 0%; + } + } + + .loginbtn { + width: 80%; + height: 100rpx; + text-align: center; + line-height: 100rpx; + background: #4C7BC9; + border-radius: 51rpx; + font-size: 41rpx; + color: #FFFFFF; + position: absolute; + top: 40%; + left: 10%; + } + } \ No newline at end of file diff --git a/pages/forgotPassword/forgotPassword.vue b/pages/forgotPassword/forgotPassword.vue new file mode 100644 index 0000000..6076e1a --- /dev/null +++ b/pages/forgotPassword/forgotPassword.vue @@ -0,0 +1,144 @@ + + + + diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue new file mode 100644 index 0000000..40703f0 --- /dev/null +++ b/pages/homepage/homepage.vue @@ -0,0 +1,91 @@ + + + + diff --git a/pages/login/login.scss b/pages/login/login.scss new file mode 100644 index 0000000..43988db --- /dev/null +++ b/pages/login/login.scss @@ -0,0 +1,33 @@ + .app { + font-family: DengXian; + color: #C3C1C1; + font-weight: 400; + height:100vh; + background-color: #ffffff; + .title{ + position: absolute; + top:20%; + left:50%; + transform: translateX(-50%); + .text{ + text-align: center; + padding-top: 30rpx; + font-size: 32rpx; + color: #000000; + font-weight: 600; + } + image{ + width: 200rpx; + height: 200rpx; + } + } + + .loginbtn{ + width: 90%; + position: absolute; + top:55%; + left:5%; + background-color: #46ABD7; + color: #ffffff; + } + } diff --git a/pages/login/login.vue b/pages/login/login.vue new file mode 100644 index 0000000..0821b77 --- /dev/null +++ b/pages/login/login.vue @@ -0,0 +1,86 @@ + + + + diff --git a/pages/personal/personal.vue b/pages/personal/personal.vue new file mode 100644 index 0000000..1f12b67 --- /dev/null +++ b/pages/personal/personal.vue @@ -0,0 +1,264 @@ + + + + + diff --git a/pages/register/register.scss b/pages/register/register.scss new file mode 100644 index 0000000..5eb087a --- /dev/null +++ b/pages/register/register.scss @@ -0,0 +1,172 @@ +.app { + height: 100vh; + padding: 20rpx 0; + .Agreement{ + width: 100%; + background-color: #F4F5F7; + text-align: center; + height: 1000rpx; + position: absolute; + // left:3%; + top:5%; + font-size: 30rpx; + .title{ + height: 100rpx; + line-height: 100rpx; + border-bottom: 1px solid #eeeeee; + font-size: 34rpx; + margin: 0px auto; + width: 100%; + text-align: center; + } + .scroll-Y{ + height:830rpx ; + overflow-y:scroll; + text-align: left; + text-indent: 2em; + } + .cancel { + height:70rpx; + line-height: 70rpx; + font-size: 32rpx; + background-color: #F4F5F7; + position: absolute; + border-top: 1rpx solid #000000; + bottom:0; + right:0; + width: 50%; + color: #000000; + } + .determine { + height:70rpx; + line-height: 70rpx; + font-size: 32rpx; + width: 50%; + color: #F4F5F7; + background: #4C7BC9; + position: absolute; + bottom:0; + left:0; + } + } + .item { + font-size: 34rpx; + margin: 0 auto 20rpx; + width: 94%; + height: 100rpx; + line-height: 100rpx; + background-color: #fff; + box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03); + border-radius: 20rpx; + position: relative; + + span { + margin-left: 3%; + } + + .addition { + line-height: 100rpx; + font-size: 34rpx; + font-weight: 400; + margin-left: 3%; + } + + .lefttext { + position: absolute; + top: 50%; + transform: translateY(-50%); + left: 3%; + } + + .righttext { + position: absolute; + top: 50%; + transform: translateY(-50%); + left: 18%; + height: 100rpx; + } + + .lefttext, + .righttext { + ::v-deep .uni-input-input { + font-size: 34rpx; + } + + ::v-deep .uni-input-wrapper { + height: 100rpx; + line-height: 100rpx; + } + + ::v-deep .uni-input-placeholder { + line-height: 100rpx; + font-size: 34rpx; + font-weight: 400; + color: #C3C1C1; + } + } + + + } + + .radio-content { + margin: 50rpx auto; + width: 70%; + text-align: center; + font-size: 28rpx; + position: relative; + .agreement { + position: absolute; + top:50%; + left:20%; + transform: translateY(-50%); + color: #878987; + } + .radio-right { + height: 100rpx; + + .radio { + display: inline-block; + width: 35rpx; + height: 35rpx; + border-radius: 70%; + border: 2rpx solid #178ffb; + position: absolute; + top:50%; + left:5%; + transform: translateY(-50%); + .radio-active { + width: 16rpx; + height: 16rpx; + border-radius: 50%; + background-color: #178ffb; + margin-left: 26%; + margin-top: 22%; + // margin: 0 auto; + } + } + } + } + + .switch { + text-align: center; + line-height: 60rpx; + color: #46ABD7; + position: absolute; + top: 70%; + } + + .loginbtn { + width: 70%; + height: 100rpx; + text-align: center; + line-height: 100rpx; + background: #4C7BC9; + border-radius: 51rpx; + font-size: 41rpx; + color: #FFFFFF; + position: absolute; + top: 60%; + left: 15%; + } + + } \ No newline at end of file diff --git a/pages/register/register.vue b/pages/register/register.vue new file mode 100644 index 0000000..5962ba2 --- /dev/null +++ b/pages/register/register.vue @@ -0,0 +1,175 @@ + + + + diff --git a/pages/register/text.vue b/pages/register/text.vue new file mode 100644 index 0000000..8fa9249 --- /dev/null +++ b/pages/register/text.vue @@ -0,0 +1,384 @@ + + + + + diff --git a/pages/signature/signature.vue b/pages/signature/signature.vue new file mode 100644 index 0000000..d8d66d8 --- /dev/null +++ b/pages/signature/signature.vue @@ -0,0 +1,49 @@ + + + + + diff --git a/pages/startup/startup.vue b/pages/startup/startup.vue new file mode 100644 index 0000000..a5ea686 --- /dev/null +++ b/pages/startup/startup.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/pages/taskDetails/taskDetails.scss b/pages/taskDetails/taskDetails.scss new file mode 100644 index 0000000..287d302 --- /dev/null +++ b/pages/taskDetails/taskDetails.scss @@ -0,0 +1,120 @@ +.app { + padding: 0; + height: 100vh; + padding: 3%; + .img{ + line-height: 90rpx; + view{ + font-size: 32rpx; + padding: 20rpx 0; + } + image{ + width: 100%; + height: 700rpx; + } + } + .details { + width: 100%; + height: 250rpx; + background: #FFFFFF; + box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03); + border-radius: 20rpx; + margin: 0 auto; + position: relative; + + image { + width: 170rpx; + height: 170rpx; + border-radius: 10rpx; + margin: 20rpx 0 0 30rpx; + } + + .detailsinfo { + width: 60%; + height: 200rpx; + border-radius: 10rpx; + position: absolute; + top: 12%; + left: 35%; + + .change { + width: 100%; + color: #000000; + font-size: 34rpx; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + + .time { + width: 100%; + font-size: 32rpx; + color: #999999; + position: absolute; + top: 32%; + } + + .price { + width: 100%; + font-size: 30rpx; + color: #D43953; + position: absolute; + top: 65%; + } + } + } + + .info { + width: 100%; + background: #FFFFFF; + box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03); + border-radius: 20rpx; + position: relative; + top: 20rpx; + + + .item { + line-height: 110rpx; + border-bottom: 1rpx solid #D8D4D4; + font-size: 32rpx; + color: #000000; + margin-left: 30rpx; + } + } + + .submit { + width: 100%; + height: 100rpx; + height: 68rpx; + font-size: 32rpx; + color: #FFFFFF; + text-align: center; + position: fixed; + bottom: 80rpx; + // background-color: red; + left: 15%; + // padding: 20rpx; + + .return { + width: 216rpx; + height: 68rpx; + background: #E1AE3C; + border-radius: 26rpx; + line-height: 68rpx; + display: inline-block; + + + } + + .finish { + width: 217rpx; + height: 68rpx; + line-height: 68rpx; + background: #4C7BC9; + border-radius: 26rpx; + display: inline-block; + margin-left: 30rpx; + + } + } + } \ No newline at end of file diff --git a/pages/taskDetails/taskDetails.vue b/pages/taskDetails/taskDetails.vue new file mode 100644 index 0000000..931f3dd --- /dev/null +++ b/pages/taskDetails/taskDetails.vue @@ -0,0 +1,100 @@ + + + + + diff --git a/pages/taskReturn/taskReturn.vue b/pages/taskReturn/taskReturn.vue new file mode 100644 index 0000000..47849ea --- /dev/null +++ b/pages/taskReturn/taskReturn.vue @@ -0,0 +1,99 @@ + + + + + diff --git a/static/1024.png b/static/1024.png new file mode 100644 index 0000000..f8d8525 Binary files /dev/null and b/static/1024.png differ diff --git a/static/autograph.png b/static/autograph.png new file mode 100644 index 0000000..72d9f41 Binary files /dev/null and b/static/autograph.png differ diff --git a/static/detailed.png b/static/detailed.png new file mode 100644 index 0000000..6a3cf0c Binary files /dev/null and b/static/detailed.png differ diff --git a/static/dingdan.png b/static/dingdan.png new file mode 100644 index 0000000..df60c20 Binary files /dev/null and b/static/dingdan.png differ diff --git a/static/evaluated.png b/static/evaluated.png new file mode 100644 index 0000000..8cd65fa Binary files /dev/null and b/static/evaluated.png differ diff --git a/static/finished.png b/static/finished.png new file mode 100644 index 0000000..0b35f09 Binary files /dev/null and b/static/finished.png differ diff --git a/static/gb.png b/static/gb.png new file mode 100644 index 0000000..711581e Binary files /dev/null and b/static/gb.png differ diff --git a/static/headportrait.png b/static/headportrait.png new file mode 100644 index 0000000..ee21ec4 Binary files /dev/null and b/static/headportrait.png differ diff --git a/static/home.png b/static/home.png new file mode 100644 index 0000000..8eb8e55 Binary files /dev/null and b/static/home.png differ diff --git a/static/home1.png b/static/home1.png new file mode 100644 index 0000000..5525a3f Binary files /dev/null and b/static/home1.png differ diff --git a/static/homepagew.png b/static/homepagew.png new file mode 100644 index 0000000..fff7d18 Binary files /dev/null and b/static/homepagew.png differ diff --git a/static/homepagews.png b/static/homepagews.png new file mode 100644 index 0000000..d7c5558 Binary files /dev/null and b/static/homepagews.png differ diff --git a/static/jiantou.png b/static/jiantou.png new file mode 100644 index 0000000..80157cd Binary files /dev/null and b/static/jiantou.png differ diff --git a/static/logo.png b/static/logo.png new file mode 100644 index 0000000..cfeb33c Binary files /dev/null and b/static/logo.png differ diff --git a/static/noorder.png b/static/noorder.png new file mode 100644 index 0000000..66be356 Binary files /dev/null and b/static/noorder.png differ diff --git a/static/order.png b/static/order.png new file mode 100644 index 0000000..98ecbc2 Binary files /dev/null and b/static/order.png differ diff --git a/static/person.png b/static/person.png new file mode 100644 index 0000000..0d3600c Binary files /dev/null and b/static/person.png differ diff --git a/static/pic.png b/static/pic.png new file mode 100644 index 0000000..bf2e92e Binary files /dev/null and b/static/pic.png differ diff --git a/static/radio.png b/static/radio.png new file mode 100644 index 0000000..30338c2 Binary files /dev/null and b/static/radio.png differ diff --git a/static/rowsright.png b/static/rowsright.png new file mode 100644 index 0000000..dbf914f Binary files /dev/null and b/static/rowsright.png differ diff --git a/static/shopping.png b/static/shopping.png new file mode 100644 index 0000000..936f8f9 Binary files /dev/null and b/static/shopping.png differ diff --git a/static/sousuo.png b/static/sousuo.png new file mode 100644 index 0000000..17074ab Binary files /dev/null and b/static/sousuo.png differ diff --git a/static/users.png b/static/users.png new file mode 100644 index 0000000..05d94fe Binary files /dev/null and b/static/users.png differ diff --git a/static/userw.png b/static/userw.png new file mode 100644 index 0000000..77902b7 Binary files /dev/null and b/static/userw.png differ diff --git a/static/v-sign/clear.png b/static/v-sign/clear.png new file mode 100644 index 0000000..032e7aa Binary files /dev/null and b/static/v-sign/clear.png differ diff --git a/static/v-sign/next.png b/static/v-sign/next.png new file mode 100644 index 0000000..20cbf6c Binary files /dev/null and b/static/v-sign/next.png differ diff --git a/static/v-sign/prev.png b/static/v-sign/prev.png new file mode 100644 index 0000000..e81d3b9 Binary files /dev/null and b/static/v-sign/prev.png differ diff --git a/static/v-sign/save.png b/static/v-sign/save.png new file mode 100644 index 0000000..5269210 Binary files /dev/null and b/static/v-sign/save.png differ diff --git a/uni.scss b/uni.scss new file mode 100644 index 0000000..a98bd1b --- /dev/null +++ b/uni.scss @@ -0,0 +1,77 @@ +/** + * 这里是uni-app内置的常用样式变量 + * + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App + * + */ + +/** + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 + * + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 + */ + +/* 颜色变量 */ + +/* 行为相关颜色 */ +@import 'uview-ui/theme.scss'; +$uni-color-primary: #007aff; +$uni-color-success: #4cd964; +$uni-color-warning: #f0ad4e; +$uni-color-error: #dd524d; + +/* 文字基本颜色 */ +$uni-text-color:#333;//基本色 +$uni-text-color-inverse:#fff;//反色 +$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息 +$uni-text-color-placeholder: #808080; +$uni-text-color-disable:#c0c0c0; + +/* 背景颜色 */ +$uni-bg-color:#ffffff; +$uni-bg-color-grey:#f8f8f8; +$uni-bg-color-hover:#f1f1f1;//点击状态颜色 +$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色 + +/* 边框颜色 */ +$uni-border-color:#c8c7cc; + +/* 尺寸变量 */ + +/* 文字尺寸 */ +$uni-font-size-sm:12px; +$uni-font-size-base:14px; +$uni-font-size-lg:16; + +/* 图片尺寸 */ +$uni-img-size-sm:20px; +$uni-img-size-base:26px; +$uni-img-size-lg:40px; + +/* Border Radius */ +$uni-border-radius-sm: 2px; +$uni-border-radius-base: 3px; +$uni-border-radius-lg: 6px; +$uni-border-radius-circle: 50%; + +/* 水平间距 */ +$uni-spacing-row-sm: 5px; +$uni-spacing-row-base: 10px; +$uni-spacing-row-lg: 15px; + +/* 垂直间距 */ +$uni-spacing-col-sm: 4px; +$uni-spacing-col-base: 8px; +$uni-spacing-col-lg: 12px; + +/* 透明度 */ +$uni-opacity-disabled: 0.3; // 组件禁用态的透明度 + +/* 文章场景相关 */ +$uni-color-title: #2C405A; // 文章标题颜色 +$uni-font-size-title:20px; +$uni-color-subtitle: #555555; // 二级标题颜色 +$uni-font-size-subtitle:26px; +$uni-color-paragraph: #3F536E; // 文章段落颜色 +$uni-font-size-paragraph:15px;