gitignore
Showing
305 changed files
with
6 additions
and
4517 deletions
unpackage/dist/dev/mp-weixin/app.js
deleted
100644 → 0
| 1 | "use strict"; | ||
| 2 | Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); | ||
| 3 | const common_vendor = require("./common/vendor.js"); | ||
| 4 | const config = require("./config.js"); | ||
| 5 | if (!Math) { | ||
| 6 | "./pages/index/index.js"; | ||
| 7 | "./pages/index/login.js"; | ||
| 8 | "./pages/index/register.js"; | ||
| 9 | "./webView/vipSystem.js"; | ||
| 10 | "./pages/index/binding.js"; | ||
| 11 | "./webView/newList/newList.js"; | ||
| 12 | "./training/trainList.js"; | ||
| 13 | "./training/detailPage.js"; | ||
| 14 | "./training/trainSignUp.js"; | ||
| 15 | "./match/index.js"; | ||
| 16 | "./match/single.js"; | ||
| 17 | "./match/singleLs.js"; | ||
| 18 | "./match/sign_single.js"; | ||
| 19 | "./match/matchBill.js"; | ||
| 20 | "./match/matchPayDone.js"; | ||
| 21 | "./match/choose_sportman.js"; | ||
| 22 | "./match/team_choose_sportman.js"; | ||
| 23 | "./match/choose_coach.js"; | ||
| 24 | "./match/add_coach.js"; | ||
| 25 | "./match/add_rank.js"; | ||
| 26 | "./match/choose_project.js"; | ||
| 27 | "./match/projectList.js"; | ||
| 28 | "./myCenter/index.js"; | ||
| 29 | "./myCenter/mytrain/mytrain.js"; | ||
| 30 | "./myCenter/mytrain/myBill.js"; | ||
| 31 | "./myCenter/mytrain/orderDetail.js"; | ||
| 32 | } | ||
| 33 | const _sfc_main = { | ||
| 34 | onLaunch: function(options) { | ||
| 35 | console.log("App Launch", options); | ||
| 36 | this.globalData.baseUrl_api = config.config.baseUrl_api; | ||
| 37 | let userName = common_vendor.index.getStorageSync("userName"); | ||
| 38 | if (userName) { | ||
| 39 | this.globalData.isLogin = true; | ||
| 40 | } else { | ||
| 41 | this.globalData.isLogin = false; | ||
| 42 | } | ||
| 43 | }, | ||
| 44 | onShow: function() { | ||
| 45 | console.log("App Show"); | ||
| 46 | }, | ||
| 47 | onHide: function() { | ||
| 48 | console.log("App Hide"); | ||
| 49 | } | ||
| 50 | }; | ||
| 51 | const App = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/yangyang/ztx_wx_minapp/App.vue"]]); | ||
| 52 | function createApp() { | ||
| 53 | const app = common_vendor.createSSRApp(App); | ||
| 54 | return { | ||
| 55 | app | ||
| 56 | }; | ||
| 57 | } | ||
| 58 | createApp().app.mount("#app"); | ||
| 59 | exports.createApp = createApp; |
| 1 | { | ||
| 2 | "pages": [ | ||
| 3 | "pages/index/index", | ||
| 4 | "pages/index/login", | ||
| 5 | "pages/index/register", | ||
| 6 | "webView/vipSystem", | ||
| 7 | "pages/index/binding", | ||
| 8 | "webView/newList/newList" | ||
| 9 | ], | ||
| 10 | "subPackages": [ | ||
| 11 | { | ||
| 12 | "root": "training", | ||
| 13 | "pages": [ | ||
| 14 | "trainList", | ||
| 15 | "detailPage", | ||
| 16 | "trainSignUp" | ||
| 17 | ] | ||
| 18 | }, | ||
| 19 | { | ||
| 20 | "root": "match", | ||
| 21 | "pages": [ | ||
| 22 | "index", | ||
| 23 | "single", | ||
| 24 | "singleLs", | ||
| 25 | "sign_single", | ||
| 26 | "matchBill", | ||
| 27 | "matchPayDone", | ||
| 28 | "choose_sportman", | ||
| 29 | "team_choose_sportman", | ||
| 30 | "choose_coach", | ||
| 31 | "add_coach", | ||
| 32 | "add_rank", | ||
| 33 | "choose_project", | ||
| 34 | "projectList" | ||
| 35 | ] | ||
| 36 | }, | ||
| 37 | { | ||
| 38 | "root": "myCenter", | ||
| 39 | "pages": [ | ||
| 40 | "index", | ||
| 41 | "mytrain/mytrain", | ||
| 42 | "mytrain/myBill", | ||
| 43 | "mytrain/orderDetail" | ||
| 44 | ] | ||
| 45 | } | ||
| 46 | ], | ||
| 47 | "window": { | ||
| 48 | "navigationStyle": "default", | ||
| 49 | "navigationBarTextStyle": "black", | ||
| 50 | "navigationBarBackgroundColor": "#ffffff", | ||
| 51 | "navigationBarTitleText": "中国跆协" | ||
| 52 | }, | ||
| 53 | "tabBar": { | ||
| 54 | "list": [ | ||
| 55 | { | ||
| 56 | "pagePath": "pages/index/index", | ||
| 57 | "text": "首页" | ||
| 58 | }, | ||
| 59 | { | ||
| 60 | "pagePath": "webView/auth", | ||
| 61 | "text": "认证查询" | ||
| 62 | }, | ||
| 63 | { | ||
| 64 | "pagePath": "myCenter/index", | ||
| 65 | "text": "我的" | ||
| 66 | } | ||
| 67 | ] | ||
| 68 | }, | ||
| 69 | "preloadRule": { | ||
| 70 | "pages/index/index": { | ||
| 71 | "network": "all", | ||
| 72 | "packages": [ | ||
| 73 | "training", | ||
| 74 | "match", | ||
| 75 | "myCenter" | ||
| 76 | ] | ||
| 77 | } | ||
| 78 | }, | ||
| 79 | "permission": {}, | ||
| 80 | "usingComponents": {} | ||
| 81 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff could not be displayed because it is too large.
1.42 KB
1.03 KB
2.04 KB
| 1 | "use strict"; | ||
| 2 | const common_vendor = require("./vendor.js"); | ||
| 3 | const _encrypt = (word, keyStr) => { | ||
| 4 | keyStr = keyStr || "8751276152370123"; | ||
| 5 | const key = common_vendor.CryptoJS.enc.Utf8.parse(keyStr); | ||
| 6 | const iv = common_vendor.CryptoJS.enc.Utf8.parse("0000000000000000"); | ||
| 7 | const src = common_vendor.CryptoJS.enc.Utf8.parse(word); | ||
| 8 | const encrypted = common_vendor.CryptoJS.AES.encrypt(src, key, { | ||
| 9 | iv, | ||
| 10 | mode: common_vendor.CryptoJS.mode.CBC, | ||
| 11 | padding: common_vendor.CryptoJS.pad.ZeroPadding | ||
| 12 | }); | ||
| 13 | return encrypted.toString(); | ||
| 14 | }; | ||
| 15 | const _decrypt = (word, keyStr) => { | ||
| 16 | keyStr = keyStr || "8751276152370123"; | ||
| 17 | const key = common_vendor.CryptoJS.enc.Utf8.parse(keyStr); | ||
| 18 | const iv = common_vendor.CryptoJS.enc.Utf8.parse("0000000000000000"); | ||
| 19 | const decrypt = common_vendor.CryptoJS.AES.decrypt(word, key, { | ||
| 20 | iv, | ||
| 21 | mode: common_vendor.CryptoJS.mode.CBC, | ||
| 22 | padding: common_vendor.CryptoJS.pad.ZeroPadding | ||
| 23 | }); | ||
| 24 | return common_vendor.CryptoJS.enc.Utf8.stringify(decrypt).toString(); | ||
| 25 | }; | ||
| 26 | const aes = { | ||
| 27 | encrypt: _encrypt, | ||
| 28 | decrypt: _decrypt | ||
| 29 | }; | ||
| 30 | exports.aes = aes; |
| 1 | "use strict"; | ||
| 2 | const common_vendor = require("./vendor.js"); | ||
| 3 | const common_request = require("./request.js"); | ||
| 4 | const config = require("../config.js"); | ||
| 5 | const common_aes = require("./aes.js"); | ||
| 6 | function pcLogin(data) { | ||
| 7 | return common_request.request({ | ||
| 8 | // url: '/login', | ||
| 9 | url: `${config.config.baseUrl_api}/loginZtx`, | ||
| 10 | method: "post", | ||
| 11 | headers: { | ||
| 12 | isToken: false | ||
| 13 | }, | ||
| 14 | params: data | ||
| 15 | }).then((res) => { | ||
| 16 | common_vendor.index.setStorageSync("token", "Bearer " + res.data.token); | ||
| 17 | }).then(getInfo); | ||
| 18 | } | ||
| 19 | function h5Login(userName) { | ||
| 20 | return common_request.request({ | ||
| 21 | url: `/h5Login`, | ||
| 22 | method: "post", | ||
| 23 | params: { | ||
| 24 | username: userName | ||
| 25 | } | ||
| 26 | }).then((res) => { | ||
| 27 | common_vendor.index.setStorageSync("token", "Bearer " + res.data.token); | ||
| 28 | }).then(getInfo); | ||
| 29 | } | ||
| 30 | function h5LoginAuto() { | ||
| 31 | const userName = common_vendor.index.getStorageSync("userName"); | ||
| 32 | if (userName) { | ||
| 33 | return h5Login(userName); | ||
| 34 | } else { | ||
| 35 | common_vendor.index.redirectTo({ | ||
| 36 | url: "/pages/index/login" | ||
| 37 | }); | ||
| 38 | } | ||
| 39 | } | ||
| 40 | function getCodeImg() { | ||
| 41 | return common_request.request({ | ||
| 42 | url: `${config.config.baseUrl_api}/captchaImage`, | ||
| 43 | method: "get" | ||
| 44 | }); | ||
| 45 | } | ||
| 46 | function getSmsCode(data) { | ||
| 47 | return common_request.request({ | ||
| 48 | url: "/captchaSmsWithCaptchaImage", | ||
| 49 | method: "post", | ||
| 50 | params: data | ||
| 51 | }); | ||
| 52 | } | ||
| 53 | function loginByPhone(phonenumber, code) { | ||
| 54 | const data = { | ||
| 55 | phonenumber, | ||
| 56 | code | ||
| 57 | }; | ||
| 58 | return common_request.request({ | ||
| 59 | url: "/userLoginByPhone", | ||
| 60 | method: "post", | ||
| 61 | params: data | ||
| 62 | }).then((res) => { | ||
| 63 | common_vendor.index.setStorageSync("token", "Bearer " + res.data.token); | ||
| 64 | }).then(getInfo); | ||
| 65 | } | ||
| 66 | function getInfo() { | ||
| 67 | return common_request.request({ | ||
| 68 | url: `${config.config.baseUrl_api}/getInfo`, | ||
| 69 | method: "get" | ||
| 70 | }).then((res) => { | ||
| 71 | const app = getApp(); | ||
| 72 | const user = res.data.user; | ||
| 73 | const personInfo = res.data.personInfo; | ||
| 74 | common_vendor.index.setStorageSync("userName", user.userName); | ||
| 75 | common_vendor.index.setStorageSync("perId", common_aes.aes.encrypt(personInfo.perId)); | ||
| 76 | app.globalData.deptType = user.dept.deptType; | ||
| 77 | app.globalData.userInfo = user; | ||
| 78 | }); | ||
| 79 | } | ||
| 80 | function groupMemberRegister(data) { | ||
| 81 | return common_request.request({ | ||
| 82 | url: "/groupMemberRegister", | ||
| 83 | method: "post", | ||
| 84 | params: data | ||
| 85 | }); | ||
| 86 | } | ||
| 87 | function getWxUserPhone(phoneRes) { | ||
| 88 | const currUser = common_vendor.index.getStorageSync("currUser"); | ||
| 89 | const nowOpenId = common_vendor.index.getStorageSync("nowOpenId"); | ||
| 90 | return common_request.request({ | ||
| 91 | url: `/system/wx/updateMobile?openId=${nowOpenId}`, | ||
| 92 | method: "POST", | ||
| 93 | params: { | ||
| 94 | appId, | ||
| 95 | userId: currUser.id, | ||
| 96 | encryptedData: phoneRes.encryptedData, | ||
| 97 | errMsg: phoneRes.errMsg, | ||
| 98 | iv: phoneRes.iv, | ||
| 99 | rawData: phoneRes.rawData, | ||
| 100 | signature: phoneRes.signature | ||
| 101 | } | ||
| 102 | }).then((res) => { | ||
| 103 | let user = res.data; | ||
| 104 | common_vendor.index.setStorageSync("token", user.token); | ||
| 105 | common_vendor.index.setStorageSync("currUser", user); | ||
| 106 | return user; | ||
| 107 | }); | ||
| 108 | } | ||
| 109 | function checkUserAuth(path) { | ||
| 110 | const app = getApp(); | ||
| 111 | if (app.globalData.isLogin) { | ||
| 112 | return true; | ||
| 113 | } else { | ||
| 114 | common_vendor.index.navigateTo({ | ||
| 115 | url: "/pages/index/binding?path=" + encodeURIComponent(path) | ||
| 116 | }); | ||
| 117 | return false; | ||
| 118 | } | ||
| 119 | } | ||
| 120 | exports.checkUserAuth = checkUserAuth; | ||
| 121 | exports.getCodeImg = getCodeImg; | ||
| 122 | exports.getInfo = getInfo; | ||
| 123 | exports.getSmsCode = getSmsCode; | ||
| 124 | exports.getWxUserPhone = getWxUserPhone; | ||
| 125 | exports.groupMemberRegister = groupMemberRegister; | ||
| 126 | exports.h5LoginAuto = h5LoginAuto; | ||
| 127 | exports.loginByPhone = loginByPhone; | ||
| 128 | exports.pcLogin = pcLogin; |
| 1 | "use strict"; | ||
| 2 | const common_vendor = require("./vendor.js"); | ||
| 3 | const common_login = require("./login.js"); | ||
| 4 | function getToken() { | ||
| 5 | try { | ||
| 6 | const token = common_vendor.index.getStorageSync("token"); | ||
| 7 | if (token) { | ||
| 8 | return token; | ||
| 9 | } else { | ||
| 10 | return ""; | ||
| 11 | } | ||
| 12 | } catch (e) { | ||
| 13 | console.log(e); | ||
| 14 | } | ||
| 15 | } | ||
| 16 | function getHeaders() { | ||
| 17 | const token = getToken(); | ||
| 18 | const header = { | ||
| 19 | "Authorization": token, | ||
| 20 | "Content-Type": "application/json", | ||
| 21 | // 根据自己的数据类型 | ||
| 22 | // "Content-Type":"application/x-www-form-urlencoded", | ||
| 23 | "Ztx-Per-Id": common_vendor.index.getStorageSync("perId") || "-1" | ||
| 24 | }; | ||
| 25 | return header; | ||
| 26 | } | ||
| 27 | const request = function(req) { | ||
| 28 | req.method = req.method.toUpperCase(); | ||
| 29 | if (!["GET", "POST", "PUT", "DELETE"].includes(req.method)) { | ||
| 30 | common_vendor.index.showToast({ | ||
| 31 | title: `暂不支持的请求方式: ${req.method}`, | ||
| 32 | icon: "none" | ||
| 33 | }); | ||
| 34 | return; | ||
| 35 | } | ||
| 36 | return new Promise((resolve, reject) => { | ||
| 37 | common_vendor.index.request({ | ||
| 38 | url: req.url, | ||
| 39 | method: req.method, | ||
| 40 | data: req.params, | ||
| 41 | header: getHeaders() | ||
| 42 | }).then((res) => { | ||
| 43 | var _a; | ||
| 44 | switch (res.statusCode) { | ||
| 45 | case 200: | ||
| 46 | const data = res.data || {}; | ||
| 47 | if (!data || data.code === 0 || data.code === 200 || ((_a = data.pageData) == null ? void 0 : _a.code) === 200) { | ||
| 48 | resolve(data); | ||
| 49 | } else if (req.url.indexOf("getMemberCountInfo") > -1) { | ||
| 50 | resolve(data); | ||
| 51 | } else { | ||
| 52 | if (data.msg) { | ||
| 53 | common_vendor.index.showToast({ | ||
| 54 | title: data.msg, | ||
| 55 | icon: "none", | ||
| 56 | duration: 2e3 | ||
| 57 | }); | ||
| 58 | } | ||
| 59 | if (data.code === 60002 || data.code === 60001) { | ||
| 60 | common_vendor.index.redirectTo({ | ||
| 61 | url: "/pages/index/login" | ||
| 62 | }); | ||
| 63 | } else if (data.code === 401) { | ||
| 64 | common_login.h5LoginAuto().then(() => { | ||
| 65 | common_vendor.index.hideLoading(); | ||
| 66 | common_vendor.index.redirectTo({ | ||
| 67 | url: getCurrentPages()[getCurrentPages().length - 1].$page.fullPath | ||
| 68 | }); | ||
| 69 | }).catch(() => { | ||
| 70 | common_vendor.index.showToast({ | ||
| 71 | title: "服务异常,请稍后重试", | ||
| 72 | icon: "none" | ||
| 73 | }); | ||
| 74 | }); | ||
| 75 | } | ||
| 76 | reject(res); | ||
| 77 | } | ||
| 78 | break; | ||
| 79 | default: | ||
| 80 | reject(res); | ||
| 81 | } | ||
| 82 | }).catch((res) => { | ||
| 83 | reject(res); | ||
| 84 | }).finally(() => { | ||
| 85 | }); | ||
| 86 | }); | ||
| 87 | }; | ||
| 88 | exports.request = request; |
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
| 1 | { | ||
| 2 | "navigationBarTitleText": "新建人员", | ||
| 3 | "navigationBarBackgroundColor": "#F7F8FA", | ||
| 4 | "navigationBarTextStyle": "black", | ||
| 5 | "backgroundColor": "#ffffff", | ||
| 6 | "usingComponents": { | ||
| 7 | "uni-file-picker": "../uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker", | ||
| 8 | "uni-forms-item": "../uni_modules/uni-forms/components/uni-forms-item/uni-forms-item", | ||
| 9 | "uni-easyinput": "../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput", | ||
| 10 | "uni-data-select": "../uni_modules/uni-data-select/components/uni-data-select/uni-data-select", | ||
| 11 | "uni-data-checkbox": "../uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox", | ||
| 12 | "uni-datetime-picker": "../uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker", | ||
| 13 | "uni-data-picker": "../uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker", | ||
| 14 | "uni-forms": "../uni_modules/uni-forms/components/uni-forms/uni-forms" | ||
| 15 | } | ||
| 16 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <view class="fixedbody data-v-ba2298e0"><uni-forms wx:if="{{ai}}" class="r data-v-ba2298e0" u-s="{{['d']}}" u-r="baseForm" u-i="ba2298e0-0" bind:__l="__l" u-p="{{ai}}"><view class="wBox data-v-ba2298e0"><uni-forms-item wx:if="{{e}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-1,ba2298e0-0" bind:__l="__l" u-p="{{e}}"><view class="avatarUrl data-v-ba2298e0"><uni-file-picker wx:if="{{d}}" class="data-v-ba2298e0" binddelete="{{a}}" bindselect="{{b}}" u-i="ba2298e0-2,ba2298e0-1" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></uni-file-picker></view></uni-forms-item><uni-forms-item wx:if="{{h}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-3,ba2298e0-0" bind:__l="__l" u-p="{{h}}"><uni-easyinput wx:if="{{g}}" class="data-v-ba2298e0" u-i="ba2298e0-4,ba2298e0-3" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"/></uni-forms-item><uni-forms-item wx:if="{{l}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-5,ba2298e0-0" bind:__l="__l" u-p="{{l}}"><uni-data-select wx:if="{{k}}" class="data-v-ba2298e0" bindchange="{{i}}" u-i="ba2298e0-6,ba2298e0-5" bind:__l="__l" bindupdateModelValue="{{j}}" u-p="{{k}}"></uni-data-select></uni-forms-item><uni-forms-item wx:if="{{o}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-7,ba2298e0-0" bind:__l="__l" u-p="{{o}}"><uni-data-select wx:if="{{n}}" class="data-v-ba2298e0" u-i="ba2298e0-8,ba2298e0-7" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"></uni-data-select></uni-forms-item><uni-forms-item wx:if="{{r}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-9,ba2298e0-0" bind:__l="__l" u-p="{{r}}"><uni-data-select wx:if="{{q}}" class="data-v-ba2298e0" u-i="ba2298e0-10,ba2298e0-9" bind:__l="__l" bindupdateModelValue="{{p}}" u-p="{{q}}"></uni-data-select></uni-forms-item><uni-forms-item wx:if="{{w}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-11,ba2298e0-0" bind:__l="__l" u-p="{{w}}"><uni-easyinput wx:if="{{v}}" class="data-v-ba2298e0" bindblur="{{s}}" u-i="ba2298e0-12,ba2298e0-11" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"/></uni-forms-item><uni-forms-item wx:if="{{z}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-13,ba2298e0-0" bind:__l="__l" u-p="{{z}}"><uni-data-checkbox wx:if="{{y}}" class="data-v-ba2298e0" u-i="ba2298e0-14,ba2298e0-13" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"/></uni-forms-item><uni-forms-item wx:if="{{C}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-15,ba2298e0-0" bind:__l="__l" u-p="{{C}}"><uni-datetime-picker wx:if="{{B}}" class="data-v-ba2298e0" u-i="ba2298e0-16,ba2298e0-15" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"/></uni-forms-item><uni-forms-item wx:if="{{F}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-17,ba2298e0-0" bind:__l="__l" u-p="{{F}}"><uni-easyinput wx:if="{{E}}" class="data-v-ba2298e0" u-i="ba2298e0-18,ba2298e0-17" bind:__l="__l" bindupdateModelValue="{{D}}" u-p="{{E}}"/></uni-forms-item><uni-forms-item wx:if="{{I}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-19,ba2298e0-0" bind:__l="__l" u-p="{{I}}"><uni-data-picker wx:if="{{H}}" class="fixUniFormItemStyle data-v-ba2298e0" u-i="ba2298e0-20,ba2298e0-19" bind:__l="__l" bindupdateModelValue="{{G}}" u-p="{{H}}"></uni-data-picker></uni-forms-item><uni-forms-item wx:if="{{L}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-21,ba2298e0-0" bind:__l="__l" u-p="{{L}}"><uni-easyinput wx:if="{{K}}" class="data-v-ba2298e0" u-i="ba2298e0-22,ba2298e0-21" bind:__l="__l" bindupdateModelValue="{{J}}" u-p="{{K}}"/></uni-forms-item><uni-forms-item wx:if="{{O}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-23,ba2298e0-0" bind:__l="__l" u-p="{{O}}"><uni-easyinput wx:if="{{N}}" class="data-v-ba2298e0" u-i="ba2298e0-24,ba2298e0-23" bind:__l="__l" bindupdateModelValue="{{M}}" u-p="{{N}}"/></uni-forms-item><uni-forms-item wx:if="{{R}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-25,ba2298e0-0" bind:__l="__l" u-p="{{R}}"><uni-easyinput wx:if="{{Q}}" class="data-v-ba2298e0" u-i="ba2298e0-26,ba2298e0-25" bind:__l="__l" bindupdateModelValue="{{P}}" u-p="{{Q}}"/></uni-forms-item><uni-forms-item wx:if="{{U}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-27,ba2298e0-0" bind:__l="__l" u-p="{{U}}"><uni-easyinput wx:if="{{T}}" class="data-v-ba2298e0" u-i="ba2298e0-28,ba2298e0-27" bind:__l="__l" bindupdateModelValue="{{S}}" u-p="{{T}}"/></uni-forms-item><uni-forms-item wx:if="{{Y}}" class="data-v-ba2298e0" u-s="{{['d']}}" u-i="ba2298e0-29,ba2298e0-0" bind:__l="__l" u-p="{{Y}}"><uni-data-checkbox wx:if="{{X}}" class="data-v-ba2298e0" bindchange="{{V}}" u-i="ba2298e0-30,ba2298e0-29" bind:__l="__l" bindupdateModelValue="{{W}}" u-p="{{X}}"/></uni-forms-item></view><view class="gapTitle data-v-ba2298e0"> 实名认证 <text class="data-v-ba2298e0">正面为国徽面 反面为头像面</text></view><view class="wBox data-v-ba2298e0"><view class="ttt data-v-ba2298e0"> 头像面<text class="data-v-ba2298e0">请拍摄完整身份证</text></view><view class="idImgUrl data-v-ba2298e0"><uni-file-picker wx:if="{{ac}}" class="data-v-ba2298e0" binddelete="{{Z}}" bindselect="{{aa}}" u-i="ba2298e0-31,ba2298e0-0" bind:__l="__l" bindupdateModelValue="{{ab}}" u-p="{{ac}}"></uni-file-picker></view><view class="ttt data-v-ba2298e0"> 国徽面<text class="data-v-ba2298e0">请拍摄完整身份证</text></view><view class="idImgUrl data-v-ba2298e0"><uni-file-picker wx:if="{{ag}}" class="data-v-ba2298e0" binddelete="{{ad}}" bindselect="{{ae}}" u-i="ba2298e0-32,ba2298e0-0" bind:__l="__l" bindupdateModelValue="{{af}}" u-p="{{ag}}"></uni-file-picker></view></view></uni-forms><view class="fixedBottom data-v-ba2298e0"><button class="btn btn1 data-v-ba2298e0" bindtap="{{aj}}" type="default">确定</button></view></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .wBox.data-v-ba2298e0 { | ||
| 27 | width: 700rpx; | ||
| 28 | margin: 30rpx auto 0; | ||
| 29 | padding: 30rpx 30rpx 1rpx; | ||
| 30 | } | ||
| 31 | .avatarUrl.data-v-ba2298e0 { | ||
| 32 | width: 200rpx; | ||
| 33 | height: 280rpx; | ||
| 34 | } | ||
| 35 | .avatarUrl button.data-v-ba2298e0 { | ||
| 36 | padding: 0; | ||
| 37 | display: block; | ||
| 38 | line-height: 1; | ||
| 39 | } | ||
| 40 | .refreshIcon.data-v-ba2298e0 { | ||
| 41 | width: 200rpx; | ||
| 42 | height: 280rpx; | ||
| 43 | } | ||
| 44 | .ttt.data-v-ba2298e0 { | ||
| 45 | color: #2B3133; | ||
| 46 | font-size: 30rpx; | ||
| 47 | margin: 0 0 10rpx; | ||
| 48 | } | ||
| 49 | .ttt text.data-v-ba2298e0 { | ||
| 50 | font-size: 24rpx; | ||
| 51 | color: #DC0032; | ||
| 52 | margin-left: 10rpx; | ||
| 53 | } | ||
| 54 | .idImgUrl.data-v-ba2298e0 { | ||
| 55 | width: 500rpx; | ||
| 56 | height: 300rpx; | ||
| 57 | margin: 20rpx auto 40rpx; | ||
| 58 | } | ||
| 59 | .idImgUrl button.data-v-ba2298e0 { | ||
| 60 | padding: 0; | ||
| 61 | display: block; | ||
| 62 | line-height: 1; | ||
| 63 | } | ||
| 64 | .idImgUrl .idImg.data-v-ba2298e0 { | ||
| 65 | width: 500rpx; | ||
| 66 | height: 300rpx; | ||
| 67 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
| 1 | { | ||
| 2 | "navigationBarTitleText": "新建队伍", | ||
| 3 | "navigationBarBackgroundColor": "#F7F8FA", | ||
| 4 | "navigationBarTextStyle": "black", | ||
| 5 | "backgroundColor": "#ffffff", | ||
| 6 | "usingComponents": { | ||
| 7 | "uni-icons": "../uni_modules/uni-icons/components/uni-icons/uni-icons", | ||
| 8 | "uni-list-item": "../uni_modules/uni-list/components/uni-list-item/uni-list-item", | ||
| 9 | "uni-list": "../uni_modules/uni-list/components/uni-list/uni-list", | ||
| 10 | "uni-group": "../uni_modules/uni-group/components/uni-group/uni-group", | ||
| 11 | "uni-easyinput": "../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput", | ||
| 12 | "uni-forms-item": "../uni_modules/uni-forms/components/uni-forms-item/uni-forms-item", | ||
| 13 | "uni-file-picker": "../uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker", | ||
| 14 | "uni-forms": "../uni_modules/uni-forms/components/uni-forms/uni-forms", | ||
| 15 | "uni-popup": "../uni_modules/uni-popup/components/uni-popup/uni-popup" | ||
| 16 | } | ||
| 17 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <view class="data-v-ebbed043" style="padding:25rpx 0 190rpx"><button class="addBtn data-v-ebbed043" bindtap="{{a}}">+新建代表队</button><uni-group wx:for="{{b}}" wx:for-item="t" wx:key="N" class="data-v-ebbed043" u-s="{{['d']}}" u-i="{{t.O}}" bind:__l="__l" u-p="{{t.P}}"><view class="wBox data-v-ebbed043"><uni-icons wx:if="{{c}}" class="poIcon data-v-ebbed043" style="right:36px" bindclick="{{t.a}}" u-i="{{t.b}}" bind:__l="__l" u-p="{{c}}"></uni-icons><uni-icons wx:if="{{d}}" class="poIcon data-v-ebbed043" bindclick="{{t.c}}" u-i="{{t.d}}" bind:__l="__l" u-p="{{d}}"></uni-icons><uni-list wx:if="{{f}}" class="data-v-ebbed043" u-s="{{['d']}}" u-i="{{t.M}}" bind:__l="__l" u-p="{{f}}"><uni-list-item wx:if="{{t.f}}" class="data-v-ebbed043" u-i="{{t.e}}" bind:__l="__l" u-p="{{t.f}}"/><uni-list-item wx:if="{{e}}" class="data-v-ebbed043" u-s="{{['footer']}}" u-i="{{t.h}}" bind:__l="__l" u-p="{{e}}"><image class="rank-image data-v-ebbed043" src="{{t.g}}" mode="aspectFit" slot="footer"></image></uni-list-item><uni-list-item wx:if="{{t.i}}" class="data-v-ebbed043" u-s="{{['footer']}}" u-i="{{t.k}}" bind:__l="__l" u-p="{{t.l}}"><view slot="footer" style="display:flex"><view class="nameList data-v-ebbed043"><text class="data-v-ebbed043">{{t.j}}</text></view></view></uni-list-item><uni-list-item wx:if="{{t.m}}" class="data-v-ebbed043" u-s="{{['footer']}}" u-i="{{t.o}}" bind:__l="__l" u-p="{{t.p}}"><view class="nameList data-v-ebbed043" slot="footer"><text class="data-v-ebbed043">{{t.n}}</text></view></uni-list-item><uni-list-item wx:if="{{t.q}}" class="data-v-ebbed043" u-s="{{['footer']}}" u-i="{{t.s}}" bind:__l="__l" u-p="{{t.t}}"><view class="nameList data-v-ebbed043" slot="footer"><text class="data-v-ebbed043">{{t.r}}</text></view></uni-list-item><uni-list-item wx:if="{{t.v}}" class="data-v-ebbed043" u-s="{{['footer']}}" u-i="{{t.x}}" bind:__l="__l" u-p="{{t.y}}"><view class="nameList data-v-ebbed043" slot="footer"><text class="data-v-ebbed043">{{t.w}}</text></view></uni-list-item><uni-list-item wx:if="{{t.z}}" class="data-v-ebbed043" u-s="{{['footer']}}" u-i="{{t.B}}" bind:__l="__l" u-p="{{t.C}}"><view class="nameList data-v-ebbed043" slot="footer"><text class="data-v-ebbed043">{{t.A}}</text></view></uni-list-item><uni-list-item wx:if="{{t.D}}" class="data-v-ebbed043" u-s="{{['footer']}}" u-i="{{t.F}}" bind:__l="__l" u-p="{{t.G}}"><view class="nameList data-v-ebbed043" slot="footer"><text class="data-v-ebbed043">{{t.E}}</text></view></uni-list-item><uni-list-item class="data-v-ebbed043" u-s="{{['body']}}" u-i="{{t.L}}" bind:__l="__l"><view class="flexRight data-v-ebbed043" slot="body"><button wx:if="{{t.H}}" class="data-v-ebbed043" type="primary" style="font-size:13px;padding:0 10px;margin:0" plain="true" bindtap="{{t.I}}">配置队员</button><view wx:else class="flexBetween data-v-ebbed043"><text class="orange data-v-ebbed043">已报{{t.J}}人</text><button class="data-v-ebbed043" type="primary" style="font-size:13px;padding:0 10px;margin:0" plain="true" bindtap="{{t.K}}">修改配置</button></view></view></uni-list-item></uni-list></view></uni-group><view wx:if="{{g}}" class="nodata data-v-ebbed043"><image class="data-v-ebbed043" mode="aspectFit" src="/static/nodata.png"></image><text class="data-v-ebbed043">还没有队伍,点击新建代表队立即创建吧~</text></view><uni-popup wx:if="{{Y}}" class="r data-v-ebbed043" u-s="{{['d']}}" u-r="popup" u-i="ebbed043-13" bind:__l="__l" u-p="{{Y}}"><view class="wBox data-v-ebbed043" style="padding:30rpx"><uni-forms wx:if="{{W}}" class="r data-v-ebbed043" u-s="{{['d']}}" u-r="baseForm" u-i="ebbed043-14,ebbed043-13" bind:__l="__l" u-p="{{W}}"><uni-forms-item wx:if="{{j}}" class="data-v-ebbed043" u-s="{{['d']}}" u-i="ebbed043-15,ebbed043-14" bind:__l="__l" u-p="{{j}}"><uni-easyinput wx:if="{{i}}" class="data-v-ebbed043" u-i="ebbed043-16,ebbed043-15" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"/></uni-forms-item><uni-forms-item wx:if="{{o}}" class="data-v-ebbed043" u-s="{{['d']}}" u-i="ebbed043-17,ebbed043-14" bind:__l="__l" u-p="{{o}}"><uni-file-picker wx:if="{{n}}" class="data-v-ebbed043" binddelete="{{k}}" bindselect="{{l}}" u-i="ebbed043-18,ebbed043-17" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"></uni-file-picker></uni-forms-item><uni-forms-item wx:if="{{p}}" class="data-v-ebbed043" u-s="{{['d']}}" u-i="ebbed043-19,ebbed043-14" bind:__l="__l" u-p="{{t}}"><view bindtap="{{s}}" class="fakeInput data-v-ebbed043"><text wx:if="{{q}}" class="data-v-ebbed043">{{r}}</text><text wx:else class="placeHolder data-v-ebbed043">请选择教练</text></view></uni-forms-item><uni-forms-item wx:if="{{v}}" class="data-v-ebbed043" u-s="{{['d']}}" u-i="ebbed043-20,ebbed043-14" bind:__l="__l" u-p="{{z}}"><view bindtap="{{y}}" class="fakeInput data-v-ebbed043"><text wx:if="{{w}}" class="data-v-ebbed043">{{x}}</text><text wx:else class="placeHolder data-v-ebbed043">请选择领队</text></view></uni-forms-item><uni-forms-item wx:if="{{A}}" class="data-v-ebbed043" u-s="{{['d']}}" u-i="ebbed043-21,ebbed043-14" bind:__l="__l" u-p="{{E}}"><view bindtap="{{D}}" class="fakeInput data-v-ebbed043"><text wx:if="{{B}}" class="data-v-ebbed043">{{C}}</text><text wx:else class="placeHolder data-v-ebbed043">请选择其他</text></view></uni-forms-item><uni-forms-item wx:if="{{F}}" class="data-v-ebbed043" u-s="{{['d']}}" u-i="ebbed043-22,ebbed043-14" bind:__l="__l" u-p="{{J}}"><view bindtap="{{I}}" class="fakeInput data-v-ebbed043"><text wx:if="{{G}}" class="data-v-ebbed043">{{H}}</text><text wx:else class="placeHolder data-v-ebbed043">请选择其他</text></view></uni-forms-item><uni-forms-item wx:if="{{K}}" class="data-v-ebbed043" u-s="{{['d']}}" u-i="ebbed043-23,ebbed043-14" bind:__l="__l" u-p="{{O}}"><view bindtap="{{N}}" class="fakeInput data-v-ebbed043"><text wx:if="{{L}}" class="data-v-ebbed043">{{M}}</text><text wx:else class="placeHolder data-v-ebbed043">请选择其他</text></view></uni-forms-item><uni-forms-item wx:if="{{P}}" class="data-v-ebbed043" u-s="{{['d']}}" u-i="ebbed043-24,ebbed043-14" bind:__l="__l" u-p="{{T}}"><view bindtap="{{S}}" class="fakeInput data-v-ebbed043"><text wx:if="{{Q}}" class="data-v-ebbed043">{{R}}</text><text wx:else class="placeHolder data-v-ebbed043">请选择其他</text></view></uni-forms-item><view class="flexCenter data-v-ebbed043"><button class="btn btn1 data-v-ebbed043" bindtap="{{U}}" type="default">保存</button></view></uni-forms></view></uni-popup><view class="fixedBottom data-v-ebbed043"><button bindtap="{{Z}}" class="btn btnKx data-v-ebbed043">上一步</button><button wx:if="{{aa}}" class="btn btn1 data-v-ebbed043" bindtap="{{ab}}" type="default">下一步</button></view></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .poKxBtn.data-v-ebbed043 { | ||
| 27 | position: absolute; | ||
| 28 | top: -70rpx; | ||
| 29 | right: 0; | ||
| 30 | font-size: 24rpx; | ||
| 31 | line-height: 2; | ||
| 32 | } | ||
| 33 | .poIcon.data-v-ebbed043 { | ||
| 34 | position: absolute; | ||
| 35 | top: -66rpx; | ||
| 36 | right: 10rpx; | ||
| 37 | } | ||
| 38 | .data-v-ebbed043 .uni-group__content { | ||
| 39 | padding: 0; | ||
| 40 | } | ||
| 41 | .addBtn.data-v-ebbed043 { | ||
| 42 | width: 700rpx; | ||
| 43 | height: 90rpx; | ||
| 44 | background: #ffffff; | ||
| 45 | border: 1rpx solid #1ec886; | ||
| 46 | color: #1ec886; | ||
| 47 | font-size: 30rpx; | ||
| 48 | border-radius: 15rpx; | ||
| 49 | } | ||
| 50 | .wBox.data-v-ebbed043 { | ||
| 51 | position: relative; | ||
| 52 | background: #ffffff; | ||
| 53 | border-radius: 15px; | ||
| 54 | box-sizing: border-box; | ||
| 55 | } | ||
| 56 | .avatarUrl.data-v-ebbed043 { | ||
| 57 | width: 200rpx; | ||
| 58 | height: 200rpx; | ||
| 59 | } | ||
| 60 | .avatarUrl button.data-v-ebbed043 { | ||
| 61 | padding: 0; | ||
| 62 | display: block; | ||
| 63 | line-height: 1; | ||
| 64 | } | ||
| 65 | .refreshIcon.data-v-ebbed043 { | ||
| 66 | width: 200rpx; | ||
| 67 | height: 200rpx; | ||
| 68 | } | ||
| 69 | .rank-image.data-v-ebbed043 { | ||
| 70 | width: 120rpx; | ||
| 71 | height: 120rpx; | ||
| 72 | background: #f8f8f8; | ||
| 73 | border-radius: 50%; | ||
| 74 | } | ||
| 75 | .nameList text.data-v-ebbed043 { | ||
| 76 | font-size: 30rpx; | ||
| 77 | color: #000000; | ||
| 78 | } | ||
| 79 | .fakeInput.data-v-ebbed043 { | ||
| 80 | font-size: 14px; | ||
| 81 | border-radius: 4px; | ||
| 82 | border: 1px solid #e5e5e5; | ||
| 83 | color: #333; | ||
| 84 | padding-left: 10px; | ||
| 85 | line-height: 35px; | ||
| 86 | } | ||
| 87 | .fakeInput .placeHolder.data-v-ebbed043 { | ||
| 88 | color: #aaa; | ||
| 89 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
| 1 | { | ||
| 2 | "navigationBarTitleText": "选择人员", | ||
| 3 | "navigationBarBackgroundColor": "#F7F8FA", | ||
| 4 | "navigationBarTextStyle": "black", | ||
| 5 | "backgroundColor": "#ffffff", | ||
| 6 | "usingComponents": { | ||
| 7 | "uni-icons": "../uni_modules/uni-icons/components/uni-icons/uni-icons", | ||
| 8 | "uni-list-item": "../uni_modules/uni-list/components/uni-list-item/uni-list-item", | ||
| 9 | "uni-list": "../uni_modules/uni-list/components/uni-list/uni-list" | ||
| 10 | } | ||
| 11 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <view class="data-v-7501d7e4" style="padding:25rpx 25rpx 190rpx"><button class="addBtn data-v-7501d7e4" bindtap="{{a}}">+新建教练</button><view class="block data-v-7501d7e4"><view class="t data-v-7501d7e4">教练</view><uni-list wx:for="{{b}}" wx:for-item="s" wx:key="l" class="data-v-7501d7e4" u-s="{{['d']}}" u-i="{{s.m}}" bind:__l="__l"><uni-list-item wx:if="{{s.k}}" class="data-v-7501d7e4" u-s="{{['body']}}" u-i="{{s.j}}" bind:__l="__l" u-p="{{s.k}}"><view class="flexBetween data-v-7501d7e4" slot="body"><view class="data-v-7501d7e4" bindtap="{{s.c}}">{{s.a}} <uni-icons wx:if="{{c}}" class="data-v-7501d7e4" u-i="{{s.b}}" bind:__l="__l" u-p="{{c}}"></uni-icons></view><view class="slotfooter data-v-7501d7e4" bindtap="{{s.i}}"><uni-icons wx:if="{{s.d}}" class="data-v-7501d7e4" u-i="{{s.e}}" bind:__l="__l" u-p="{{s.f}}"></uni-icons><uni-icons wx:else class="data-v-7501d7e4" u-i="{{s.g}}" bind:__l="__l" u-p="{{s.h||''}}"></uni-icons></view></view></uni-list-item></uni-list></view><view class="block data-v-7501d7e4"><view class="t data-v-7501d7e4">领队</view><uni-list wx:for="{{d}}" wx:for-item="s" wx:key="l" class="data-v-7501d7e4" u-s="{{['d']}}" u-i="{{s.m}}" bind:__l="__l"><uni-list-item wx:if="{{s.k}}" class="data-v-7501d7e4" u-s="{{['body']}}" u-i="{{s.j}}" bind:__l="__l" u-p="{{s.k}}"><view class="flexBetween data-v-7501d7e4" slot="body"><view class="data-v-7501d7e4" bindtap="{{s.c}}">{{s.a}} <uni-icons wx:if="{{e}}" class="data-v-7501d7e4" u-i="{{s.b}}" bind:__l="__l" u-p="{{e}}"></uni-icons></view><view class="slotfooter data-v-7501d7e4" bindtap="{{s.i}}"><uni-icons wx:if="{{s.d}}" class="data-v-7501d7e4" u-i="{{s.e}}" bind:__l="__l" u-p="{{s.f}}"></uni-icons><uni-icons wx:else class="data-v-7501d7e4" u-i="{{s.g}}" bind:__l="__l" u-p="{{s.h||''}}"></uni-icons></view></view></uni-list-item></uni-list></view><view class="block data-v-7501d7e4"><view class="t data-v-7501d7e4">队医</view><uni-list wx:for="{{f}}" wx:for-item="s" wx:key="l" class="data-v-7501d7e4" u-s="{{['d']}}" u-i="{{s.m}}" bind:__l="__l"><uni-list-item wx:if="{{s.k}}" class="data-v-7501d7e4" u-s="{{['body']}}" u-i="{{s.j}}" bind:__l="__l" u-p="{{s.k}}"><view class="flexBetween data-v-7501d7e4" slot="body"><view class="data-v-7501d7e4" bindtap="{{s.c}}">{{s.a}} <uni-icons wx:if="{{g}}" class="data-v-7501d7e4" u-i="{{s.b}}" bind:__l="__l" u-p="{{g}}"></uni-icons></view><view class="slotfooter data-v-7501d7e4" bindtap="{{s.i}}"><uni-icons wx:if="{{s.d}}" class="data-v-7501d7e4" u-i="{{s.e}}" bind:__l="__l" u-p="{{s.f}}"></uni-icons><uni-icons wx:else class="data-v-7501d7e4" u-i="{{s.g}}" bind:__l="__l" u-p="{{s.h||''}}"></uni-icons></view></view></uni-list-item></uni-list></view><view class="block data-v-7501d7e4"><view class="t data-v-7501d7e4">翻译</view><uni-list wx:for="{{h}}" wx:for-item="s" wx:key="l" class="data-v-7501d7e4" u-s="{{['d']}}" u-i="{{s.m}}" bind:__l="__l"><uni-list-item wx:if="{{s.k}}" class="data-v-7501d7e4" u-s="{{['body']}}" u-i="{{s.j}}" bind:__l="__l" u-p="{{s.k}}"><view class="flexBetween data-v-7501d7e4" slot="body"><view class="data-v-7501d7e4" bindtap="{{s.c}}">{{s.a}} <uni-icons wx:if="{{i}}" class="data-v-7501d7e4" u-i="{{s.b}}" bind:__l="__l" u-p="{{i}}"></uni-icons></view><view class="slotfooter data-v-7501d7e4" bindtap="{{s.i}}"><uni-icons wx:if="{{s.d}}" class="data-v-7501d7e4" u-i="{{s.e}}" bind:__l="__l" u-p="{{s.f}}"></uni-icons><uni-icons wx:else class="data-v-7501d7e4" u-i="{{s.g}}" bind:__l="__l" u-p="{{s.h||''}}"></uni-icons></view></view></uni-list-item></uni-list></view><view class="block data-v-7501d7e4"><view class="t data-v-7501d7e4">官员</view><uni-list wx:for="{{j}}" wx:for-item="s" wx:key="l" class="data-v-7501d7e4" u-s="{{['d']}}" u-i="{{s.m}}" bind:__l="__l"><uni-list-item wx:if="{{s.k}}" class="data-v-7501d7e4" u-s="{{['body']}}" u-i="{{s.j}}" bind:__l="__l" u-p="{{s.k}}"><view class="flexBetween data-v-7501d7e4" slot="body"><view class="data-v-7501d7e4" bindtap="{{s.c}}">{{s.a}} <uni-icons wx:if="{{k}}" class="data-v-7501d7e4" u-i="{{s.b}}" bind:__l="__l" u-p="{{k}}"></uni-icons></view><view class="slotfooter data-v-7501d7e4" bindtap="{{s.i}}"><uni-icons wx:if="{{s.d}}" class="data-v-7501d7e4" u-i="{{s.e}}" bind:__l="__l" u-p="{{s.f}}"></uni-icons><uni-icons wx:else class="data-v-7501d7e4" u-i="{{s.g}}" bind:__l="__l" u-p="{{s.h||''}}"></uni-icons></view></view></uni-list-item></uni-list></view><view class="block data-v-7501d7e4"><view class="t data-v-7501d7e4">其他</view><uni-list wx:for="{{l}}" wx:for-item="s" wx:key="l" class="data-v-7501d7e4" u-s="{{['d']}}" u-i="{{s.m}}" bind:__l="__l"><uni-list-item wx:if="{{s.k}}" class="data-v-7501d7e4" u-s="{{['body']}}" u-i="{{s.j}}" bind:__l="__l" u-p="{{s.k}}"><view class="flexBetween data-v-7501d7e4" slot="body"><view class="data-v-7501d7e4" bindtap="{{s.c}}">{{s.a}} <uni-icons wx:if="{{m}}" class="data-v-7501d7e4" u-i="{{s.b}}" bind:__l="__l" u-p="{{m}}"></uni-icons></view><view class="slotfooter data-v-7501d7e4" bindtap="{{s.i}}"><uni-icons wx:if="{{s.d}}" class="data-v-7501d7e4" u-i="{{s.e}}" bind:__l="__l" u-p="{{s.f}}"></uni-icons><uni-icons wx:else class="data-v-7501d7e4" u-i="{{s.g}}" bind:__l="__l" u-p="{{s.h||''}}"></uni-icons></view></view></uni-list-item></uni-list></view><view class="fixedBottom data-v-7501d7e4"><button wx:if="{{n}}" class="btn btnKx data-v-7501d7e4" bindtap="{{o}}" type="default">上一步</button><button wx:if="{{p}}" class="btn btn1 data-v-7501d7e4" bindtap="{{q}}" type="default">下一步</button><button wx:else class="btn btn1 data-v-7501d7e4" bindtap="{{r}}" type="default">完成</button></view></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .addBtn.data-v-7501d7e4 { | ||
| 27 | width: 700rpx; | ||
| 28 | height: 90rpx; | ||
| 29 | background: #ffffff; | ||
| 30 | border: 1rpx solid #1ec886; | ||
| 31 | color: #1ec886; | ||
| 32 | font-size: 30rpx; | ||
| 33 | border-radius: 15rpx; | ||
| 34 | } | ||
| 35 | .block .list.data-v-7501d7e4 { | ||
| 36 | background: #ffffff; | ||
| 37 | padding: 30rpx 0; | ||
| 38 | display: flex; | ||
| 39 | border-radius: 15px; | ||
| 40 | flex-wrap: wrap; | ||
| 41 | } | ||
| 42 | .block .list view.data-v-7501d7e4 { | ||
| 43 | position: relative; | ||
| 44 | text-align: center; | ||
| 45 | margin: 0 20rpx 20rpx 50rpx; | ||
| 46 | } | ||
| 47 | .block .list .photo.data-v-7501d7e4 { | ||
| 48 | width: 100rpx; | ||
| 49 | border-radius: 50%; | ||
| 50 | display: block; | ||
| 51 | height: 100rpx; | ||
| 52 | object-fit: cover; | ||
| 53 | background: #eee; | ||
| 54 | margin: 0 0 17rpx; | ||
| 55 | } | ||
| 56 | .block .list .name.data-v-7501d7e4 { | ||
| 57 | color: #000000; | ||
| 58 | text-align: center; | ||
| 59 | font-size: 30rpx; | ||
| 60 | } | ||
| 61 | .block .list > view uni-icons.data-v-7501d7e4 { | ||
| 62 | position: absolute; | ||
| 63 | right: -24rpx; | ||
| 64 | top: 0; | ||
| 65 | background: #fff; | ||
| 66 | border-radius: 50%; | ||
| 67 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
| 1 | { | ||
| 2 | "navigationBarTitleText": "选择参赛项目", | ||
| 3 | "navigationBarBackgroundColor": "#F7F8FA", | ||
| 4 | "navigationBarTextStyle": "black", | ||
| 5 | "backgroundColor": "#ffffff", | ||
| 6 | "usingComponents": { | ||
| 7 | "uni-swipe-action-item": "../uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item", | ||
| 8 | "uni-swipe-action": "../uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action", | ||
| 9 | "uni-list-item": "../uni_modules/uni-list/components/uni-list-item/uni-list-item", | ||
| 10 | "uni-list": "../uni_modules/uni-list/components/uni-list/uni-list", | ||
| 11 | "uni-collapse-item": "../uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item", | ||
| 12 | "uni-collapse": "../uni_modules/uni-collapse/components/uni-collapse/uni-collapse", | ||
| 13 | "uni-popup": "../uni_modules/uni-popup/components/uni-popup/uni-popup", | ||
| 14 | "uni-data-checkbox": "../uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox", | ||
| 15 | "uni-section": "../uni_modules/uni-section/components/uni-section/uni-section" | ||
| 16 | } | ||
| 17 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <view class="data-v-1a2bdcd1" style="padding:25rpx"><button class="addBtn data-v-1a2bdcd1" bindtap="{{a}}">+ 选择参赛项目</button><view wx:for="{{b}}" wx:for-item="p" wx:key="h" class="block data-v-1a2bdcd1"><view class="t data-v-1a2bdcd1">{{p.a}}</view><uni-swipe-action class="data-v-1a2bdcd1" u-s="{{['d']}}" u-i="{{p.g}}" bind:__l="__l"><uni-swipe-action-item class="data-v-1a2bdcd1" u-s="{{['right','d']}}" u-i="{{p.f}}" bind:__l="__l"><view class="content-box data-v-1a2bdcd1"><text class="content-z data-v-1a2bdcd1">{{p.b}}</text><text class="content-j data-v-1a2bdcd1">{{p.c}}{{p.d}}</text></view><view class="slot-button data-v-1a2bdcd1" bindtap="{{p.e}}" slot="right"><text class="slot-button-text data-v-1a2bdcd1">删除</text></view></uni-swipe-action-item></uni-swipe-action></view><view wx:if="{{c}}" class="nodata data-v-1a2bdcd1"><image class="data-v-1a2bdcd1" mode="aspectFit" src="/static/nodata.png"></image><text class="data-v-1a2bdcd1">点击选择参赛项目参加赛事</text></view><view class="fixedBottom data-v-1a2bdcd1"><button class="btn btnKx data-v-1a2bdcd1" bindtap="{{d}}" type="default">上一步</button><button class="btn btn1 data-v-1a2bdcd1" bindtap="{{e}}" type="default">下一步</button></view><uni-popup wx:if="{{l}}" class="r data-v-1a2bdcd1" u-s="{{['d']}}" u-r="popup" u-i="1a2bdcd1-2" bind:__l="__l" u-p="{{l}}"><view class="t data-v-1a2bdcd1">可报项目</view><view class="vh65 data-v-1a2bdcd1"><uni-collapse wx:if="{{j}}" class="data-v-1a2bdcd1" u-s="{{['d']}}" u-i="1a2bdcd1-3,1a2bdcd1-2" bind:__l="__l" u-p="{{j}}"><uni-collapse-item wx:for="{{f}}" wx:for-item="p" wx:key="e" class="data-v-1a2bdcd1" u-s="{{['title','d']}}" u-i="{{p.f}}" bind:__l="__l" u-p="{{i}}"><view class="levelTitle data-v-1a2bdcd1" bindtap="{{p.b}}" slot="title">{{p.a}} <text class="data-v-1a2bdcd1">查看组别</text></view><uni-list wx:if="{{g}}" class="data-v-1a2bdcd1" u-s="{{['d']}}" u-i="{{p.d}}" bind:__l="__l" u-p="{{g}}"><uni-list-item wx:for="{{p.c}}" wx:for-item="group" wx:key="a" class="data-v-1a2bdcd1" bindclick="{{group.b}}" u-i="{{group.c}}" bind:__l="__l" u-p="{{group.d}}"></uni-list-item></uni-list><view wx:if="{{h}}" class="nodata data-v-1a2bdcd1"><image class="data-v-1a2bdcd1" mode="aspectFit" src="/static/nodata.png"></image><text class="data-v-1a2bdcd1">暂无可选组别</text></view></uni-collapse-item></uni-collapse></view></uni-popup><uni-popup class="r data-v-1a2bdcd1" u-s="{{['d']}}" u-r="signlevelListPopup" bindmaskClick="{{D}}" u-i="1a2bdcd1-7" bind:__l="__l"><view class="levelList data-v-1a2bdcd1"><view class="t data-v-1a2bdcd1">可报级别</view><view wx:if="{{m}}" class="data-v-1a2bdcd1"><uni-data-checkbox wx:if="{{p}}" class="data-v-1a2bdcd1" bindchange="{{n}}" u-i="1a2bdcd1-8,1a2bdcd1-7" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"></uni-data-checkbox></view><uni-section wx:if="{{q}}" class="data-v-1a2bdcd1" u-s="{{['d']}}" u-i="1a2bdcd1-9,1a2bdcd1-7" bind:__l="__l" u-p="{{v}}"><uni-data-checkbox wx:if="{{t}}" class="data-v-1a2bdcd1" bindchange="{{r}}" u-i="1a2bdcd1-10,1a2bdcd1-9" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"></uni-data-checkbox></uni-section><uni-section wx:if="{{w}}" class="data-v-1a2bdcd1" u-s="{{['d']}}" u-i="1a2bdcd1-11,1a2bdcd1-7" bind:__l="__l" u-p="{{A}}"><uni-data-checkbox wx:if="{{z}}" class="data-v-1a2bdcd1" bindchange="{{x}}" u-i="1a2bdcd1-12,1a2bdcd1-11" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"></uni-data-checkbox></uni-section><button class="btn btn1 data-v-1a2bdcd1" bindtap="{{B}}">确定</button></view></uni-popup></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .addBtn.data-v-1a2bdcd1 { | ||
| 27 | width: 700rpx; | ||
| 28 | height: 90rpx; | ||
| 29 | background: #ffffff; | ||
| 30 | border: 1rpx solid #1ec886; | ||
| 31 | color: #1ec886; | ||
| 32 | font-size: 30rpx; | ||
| 33 | border-radius: 15rpx; | ||
| 34 | } | ||
| 35 | .content-box.data-v-1a2bdcd1 { | ||
| 36 | flex: 1; | ||
| 37 | padding: 20rpx 30rpx; | ||
| 38 | position: relative; | ||
| 39 | background-color: #fff; | ||
| 40 | border-bottom: 1rpx solid #f5f5f5; | ||
| 41 | } | ||
| 42 | .content-z.data-v-1a2bdcd1 { | ||
| 43 | color: #4C5359; | ||
| 44 | font-size: 30rpx; | ||
| 45 | display: block; | ||
| 46 | } | ||
| 47 | .content-j.data-v-1a2bdcd1 { | ||
| 48 | color: #000000; | ||
| 49 | font-size: 26rpx; | ||
| 50 | } | ||
| 51 | .slot-button.data-v-1a2bdcd1 { | ||
| 52 | flex: 1; | ||
| 53 | flex-direction: row; | ||
| 54 | justify-content: center; | ||
| 55 | align-items: center; | ||
| 56 | padding: 20rpx 40rpx; | ||
| 57 | background-color: #ff5a5f; | ||
| 58 | text-align: center; | ||
| 59 | } | ||
| 60 | .slot-button-text.data-v-1a2bdcd1 { | ||
| 61 | color: #ffffff; | ||
| 62 | font-size: 28rpx; | ||
| 63 | display: block; | ||
| 64 | } | ||
| 65 | .uni-popup .t.data-v-1a2bdcd1 { | ||
| 66 | text-align: center; | ||
| 67 | font-size: 30rpx; | ||
| 68 | padding: 30rpx 0; | ||
| 69 | } | ||
| 70 | .data-v-1a2bdcd1 .uni-collapse-item { | ||
| 71 | margin: 0 !important; | ||
| 72 | border-bottom: 1px solid #e1e1e1; | ||
| 73 | border-radius: 0; | ||
| 74 | } | ||
| 75 | .levelTitle text.data-v-1a2bdcd1 { | ||
| 76 | float: right; | ||
| 77 | font-size: 28rpx; | ||
| 78 | color: #999; | ||
| 79 | } | ||
| 80 | .levelItem.data-v-1a2bdcd1 { | ||
| 81 | background: #eee; | ||
| 82 | padding: 10rpx 20rpx; | ||
| 83 | margin: 20rpx 20rpx 0 0; | ||
| 84 | display: inline-block; | ||
| 85 | border-radius: 6rpx; | ||
| 86 | } | ||
| 87 | .levelList.data-v-1a2bdcd1 { | ||
| 88 | padding: 20rpx 40rpx 40rpx; | ||
| 89 | background: #fff; | ||
| 90 | border-radius: 20rpx; | ||
| 91 | width: 80vw; | ||
| 92 | max-height: 70vh; | ||
| 93 | overflow: auto; | ||
| 94 | box-sizing: border-box; | ||
| 95 | } | ||
| 96 | .vh65.data-v-1a2bdcd1 { | ||
| 97 | height: 65vh; | ||
| 98 | overflow: auto; | ||
| 99 | } | ||
| 100 | .vh65.data-v-1a2bdcd1 .uni-list-item__container { | ||
| 101 | padding: 10px 0; | ||
| 102 | } | ||
| 103 | .vh65.data-v-1a2bdcd1 .uni-list-item__content-title { | ||
| 104 | font-size: 17px; | ||
| 105 | color: #888; | ||
| 106 | } | ||
| 107 | .data-v-1a2bdcd1 .uni-section .uni-section-header { | ||
| 108 | padding: 12px 0 0 !important; | ||
| 109 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
| 1 | { | ||
| 2 | "navigationBarTitleText": "选择运动员", | ||
| 3 | "navigationBarBackgroundColor": "#F7F8FA", | ||
| 4 | "navigationBarTextStyle": "black", | ||
| 5 | "backgroundColor": "#ffffff", | ||
| 6 | "usingComponents": { | ||
| 7 | "uni-icons": "../uni_modules/uni-icons/components/uni-icons/uni-icons", | ||
| 8 | "uni-list-item": "../uni_modules/uni-list/components/uni-list-item/uni-list-item", | ||
| 9 | "uni-list": "../uni_modules/uni-list/components/uni-list/uni-list", | ||
| 10 | "uni-popup": "../uni_modules/uni-popup/components/uni-popup/uni-popup" | ||
| 11 | } | ||
| 12 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <view class="data-v-e4e928f3" style="padding:25rpx 25rpx 190rpx"><view class="addBtn data-v-e4e928f3"><view class="data-v-e4e928f3" bindtap="{{a}}">+新建运动员</view>| <view class="data-v-e4e928f3" bindtap="{{b}}">+选择运动员</view></view><view class="block data-v-e4e928f3"><view class="t data-v-e4e928f3">运动员列表</view><view wx:for="{{c}}" wx:for-item="s" wx:key="m" class="mb30 data-v-e4e928f3"><uni-list wx:if="{{h}}" class="data-v-e4e928f3" u-s="{{['d']}}" u-i="{{s.l}}" bind:__l="__l" u-p="{{h}}"><uni-list-item wx:if="{{s.j}}" class="data-v-e4e928f3" u-s="{{['body']}}" u-i="{{s.i}}" bind:__l="__l" u-p="{{s.j}}"><view class="flexSoltbody data-v-e4e928f3" slot="body"><view class="data-v-e4e928f3"><view class="data-v-e4e928f3">{{s.a}} <text wx:if="{{s.b}}" class="data-v-e4e928f3">(女)</text><text wx:else class="data-v-e4e928f3">(男)</text></view></view><view wx:if="{{d}}" class="red data-v-e4e928f3"><uni-icons wx:if="{{s.c}}" class="data-v-e4e928f3" u-i="{{s.d}}" bind:__l="__l" u-p="{{s.e}}"></uni-icons><text wx:if="{{s.f}}" class="data-v-e4e928f3" bindtap="{{s.g}}"> 完善补充信息 </text><text wx:else class="data-v-e4e928f3" bindtap="{{s.h}}" style="font-size:28rpx;color:#1ec886">修改</text></view></view></uni-list-item><uni-list-item wx:for="{{s.k}}" wx:for-item="p" wx:key="j" class="data-v-e4e928f3" u-s="{{['body']}}" u-i="{{p.k}}" bind:__l="__l" u-p="{{g}}"><view class="flexSoltbody data-v-e4e928f3" slot="body"><view class="p data-v-e4e928f3">{{p.a}} {{p.b}}{{p.c}}{{p.d}} <text class="data-v-e4e928f3" style="color:#999">{{p.e}}</text></view><view class="list-item-btn data-v-e4e928f3"><uni-icons wx:if="{{e}}" class="editBtn data-v-e4e928f3" bindclick="{{p.f}}" u-i="{{p.g}}" bind:__l="__l" u-p="{{e}}"></uni-icons><uni-icons wx:if="{{f}}" class="delBtn data-v-e4e928f3" bindclick="{{p.h}}" u-i="{{p.i}}" bind:__l="__l" u-p="{{f}}"></uni-icons></view></view></uni-list-item></uni-list></view><view wx:if="{{i}}" class="nodata data-v-e4e928f3"><image class="data-v-e4e928f3" mode="aspectFit" src="/static/nodata.png"></image><text class="data-v-e4e928f3">点击选择运动员参加赛事</text></view></view><view class="fixedBottom data-v-e4e928f3"><button class="btn btnKx data-v-e4e928f3" bindtap="{{j}}" type="default">上一步</button><button class="btn btn1 data-v-e4e928f3" bindtap="{{k}}" type="default">下一步</button></view><uni-popup wx:if="{{o}}" class="r data-v-e4e928f3" u-s="{{['d']}}" u-r="popup" u-i="e4e928f3-6" bind:__l="__l" u-p="{{o}}"><view class="vh70 data-v-e4e928f3"><uni-list u-s="{{['d']}}" class="pb60 data-v-e4e928f3" u-i="e4e928f3-7,e4e928f3-6" bind:__l="__l"><uni-list-item wx:for="{{l}}" wx:for-item="a" wx:key="e" class="data-v-e4e928f3" u-s="{{['body']}}" bindclick="{{a.d}}" u-i="{{a.f}}" bind:__l="__l" u-p="{{a.g}}"><view class="flexSoltbody data-v-e4e928f3" slot="body"><view class="slot-box athleteslist-slot data-v-e4e928f3"><view class="slot-text data-v-e4e928f3">{{a.a}}</view><text wx:if="{{a.b}}" class="slot-text data-v-e4e928f3">女</text><text wx:else class="slot-text data-v-e4e928f3">男</text></view><view class="data-v-e4e928f3"><text wx:if="{{a.c}}" class="data-v-e4e928f3" style="font-size:24rpx;color:#d40000">上传照片</text><text wx:else class="data-v-e4e928f3" style="font-size:28rpx;color:#1ec886">选择</text></view></view></uni-list-item></uni-list><view wx:if="{{m}}" class="nodata data-v-e4e928f3"><image class="data-v-e4e928f3" mode="aspectFit" src="/static/nodata.png"></image><text class="data-v-e4e928f3">暂无可选运动员</text></view></view></uni-popup></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .red.data-v-e4e928f3 { | ||
| 27 | color: #ec3535; | ||
| 28 | } | ||
| 29 | .uni-popup .t.data-v-e4e928f3 { | ||
| 30 | text-align: center; | ||
| 31 | font-size: 30rpx; | ||
| 32 | padding: 30rpx 0; | ||
| 33 | } | ||
| 34 | .uni-popup .tj.data-v-e4e928f3 { | ||
| 35 | font-size: 30rpx; | ||
| 36 | padding: 30rpx 30rpx 0; | ||
| 37 | } | ||
| 38 | .tj button.data-v-e4e928f3 { | ||
| 39 | display: inline; | ||
| 40 | font-size: 24rpx; | ||
| 41 | border: none !important; | ||
| 42 | } | ||
| 43 | .addBtn.data-v-e4e928f3 { | ||
| 44 | width: 700rpx; | ||
| 45 | display: flex; | ||
| 46 | height: 90rpx; | ||
| 47 | line-height: 90rpx; | ||
| 48 | background: #ffffff; | ||
| 49 | color: #1ec886; | ||
| 50 | border: 1rpx solid #1ec886; | ||
| 51 | font-size: 30rpx; | ||
| 52 | border-radius: 15rpx; | ||
| 53 | } | ||
| 54 | .addBtn view.data-v-e4e928f3 { | ||
| 55 | color: #1ec886; | ||
| 56 | line-height: 90rpx; | ||
| 57 | width: 50%; | ||
| 58 | text-align: center; | ||
| 59 | } | ||
| 60 | .block .list.data-v-e4e928f3 { | ||
| 61 | background: #ffffff; | ||
| 62 | padding: 30rpx 0; | ||
| 63 | display: flex; | ||
| 64 | border-radius: 15px; | ||
| 65 | flex-wrap: wrap; | ||
| 66 | } | ||
| 67 | .block .list view.data-v-e4e928f3 { | ||
| 68 | position: relative; | ||
| 69 | text-align: center; | ||
| 70 | margin: 0 20rpx 20rpx 50rpx; | ||
| 71 | } | ||
| 72 | .block .list .photo.data-v-e4e928f3 { | ||
| 73 | width: 100rpx; | ||
| 74 | border-radius: 50%; | ||
| 75 | display: block; | ||
| 76 | height: 100rpx; | ||
| 77 | object-fit: cover; | ||
| 78 | background: #eee; | ||
| 79 | margin: 0 0 17rpx; | ||
| 80 | } | ||
| 81 | .block .list .name.data-v-e4e928f3 { | ||
| 82 | color: #000000; | ||
| 83 | text-align: center; | ||
| 84 | font-size: 30rpx; | ||
| 85 | } | ||
| 86 | .block .list > view uni-icons.data-v-e4e928f3 { | ||
| 87 | position: absolute; | ||
| 88 | right: -24rpx; | ||
| 89 | top: 0; | ||
| 90 | background: #fff; | ||
| 91 | border-radius: 50%; | ||
| 92 | } | ||
| 93 | .teamTab.data-v-e4e928f3 { | ||
| 94 | display: flex; | ||
| 95 | margin: 20rpx 0; | ||
| 96 | border-bottom: 1rpx solid #1ec886; | ||
| 97 | } | ||
| 98 | .teamTab view.data-v-e4e928f3 { | ||
| 99 | font-size: 32rpx; | ||
| 100 | padding: 16rpx 20rpx; | ||
| 101 | border-radius: 10rpx 10rpx 0 0; | ||
| 102 | } | ||
| 103 | .teamTab .active.data-v-e4e928f3 { | ||
| 104 | background: #1ec886; | ||
| 105 | position: relative; | ||
| 106 | color: #fff; | ||
| 107 | } | ||
| 108 | .mb40.data-v-e4e928f3 { | ||
| 109 | margin-bottom: 40rpx; | ||
| 110 | display: block; | ||
| 111 | } | ||
| 112 | .mb30.data-v-e4e928f3 { | ||
| 113 | margin-bottom: 30rpx; | ||
| 114 | } | ||
| 115 | .mb30.data-v-e4e928f3 .uni-collapse-item { | ||
| 116 | padding: 0; | ||
| 117 | margin: 0; | ||
| 118 | } | ||
| 119 | .pb60.data-v-e4e928f3 { | ||
| 120 | padding-bottom: 60rpx; | ||
| 121 | } | ||
| 122 | .rankBody .name.data-v-e4e928f3 { | ||
| 123 | margin: 0 0 14rpx; | ||
| 124 | } | ||
| 125 | .rankBody text.data-v-e4e928f3 { | ||
| 126 | color: #999; | ||
| 127 | font-size: 26rpx; | ||
| 128 | margin: 0 20rpx 0 0; | ||
| 129 | } | ||
| 130 | .content.data-v-e4e928f3 { | ||
| 131 | padding: 0 30rpx; | ||
| 132 | } | ||
| 133 | .data-v-e4e928f3 .uni-collapse-item { | ||
| 134 | margin: 0 !important; | ||
| 135 | border-bottom: 1px solid #e1e1e1; | ||
| 136 | border-radius: 0; | ||
| 137 | } | ||
| 138 | .data-v-e4e928f3 .uni-list-item__extra { | ||
| 139 | max-width: 60%; | ||
| 140 | } | ||
| 141 | .levelTitle.data-v-e4e928f3 { | ||
| 142 | display: flex; | ||
| 143 | justify-content: space-between; | ||
| 144 | } | ||
| 145 | .levelTitle text.data-v-e4e928f3 { | ||
| 146 | float: right; | ||
| 147 | font-size: 28rpx; | ||
| 148 | color: #999; | ||
| 149 | } | ||
| 150 | .levelTitle.data-v-e4e928f3 .uni-icons { | ||
| 151 | float: right; | ||
| 152 | } | ||
| 153 | .levelList.data-v-e4e928f3 { | ||
| 154 | padding: 20rpx 40rpx 40rpx; | ||
| 155 | background: #fff; | ||
| 156 | border-radius: 20rpx; | ||
| 157 | width: 80vw; | ||
| 158 | max-height: 70vh; | ||
| 159 | overflow: auto; | ||
| 160 | box-sizing: border-box; | ||
| 161 | } | ||
| 162 | .vh65.data-v-e4e928f3 { | ||
| 163 | height: 65vh; | ||
| 164 | overflow: auto; | ||
| 165 | } | ||
| 166 | .vh65.data-v-e4e928f3 .uni-list-item__container { | ||
| 167 | padding: 10px 0; | ||
| 168 | } | ||
| 169 | .vh65.data-v-e4e928f3 .uni-list-item__content-title { | ||
| 170 | font-size: 17px; | ||
| 171 | color: #888; | ||
| 172 | } | ||
| 173 | .data-v-e4e928f3 .uni-section .uni-section-header { | ||
| 174 | padding: 12px 0 0 !important; | ||
| 175 | } | ||
| 176 | .teammateBox.data-v-e4e928f3 { | ||
| 177 | background: #fff; | ||
| 178 | height: 70vh; | ||
| 179 | overflow: auto; | ||
| 180 | position: relative; | ||
| 181 | } | ||
| 182 | .teammateBox .btn1.data-v-e4e928f3 { | ||
| 183 | position: absolute; | ||
| 184 | bottom: 30px; | ||
| 185 | margin: auto; | ||
| 186 | left: 0; | ||
| 187 | right: 0; | ||
| 188 | } | ||
| 189 | .headimg.data-v-e4e928f3 { | ||
| 190 | width: 100rpx; | ||
| 191 | height: 100rpx; | ||
| 192 | border-radius: 50%; | ||
| 193 | margin: 0 40rpx; | ||
| 194 | } | ||
| 195 | .flexLabel.data-v-e4e928f3 { | ||
| 196 | align-items: center; | ||
| 197 | padding: 22rpx 30rpx; | ||
| 198 | display: flex; | ||
| 199 | justify-content: flex-start; | ||
| 200 | } | ||
| 201 | .mateinfo.data-v-e4e928f3 { | ||
| 202 | font-size: 30rpx; | ||
| 203 | } | ||
| 204 | .mateinfo text.data-v-e4e928f3 { | ||
| 205 | color: #4C5359; | ||
| 206 | } | ||
| 207 | .vh70.data-v-e4e928f3 { | ||
| 208 | height: 70vh; | ||
| 209 | overflow: auto; | ||
| 210 | } | ||
| 211 | .teamListArea.data-v-e4e928f3 { | ||
| 212 | height: 65%; | ||
| 213 | overflow: auto; | ||
| 214 | } | ||
| 215 | .athleteslist-slot.data-v-e4e928f3 { | ||
| 216 | color: #666; | ||
| 217 | font-size: 26rpx; | ||
| 218 | } | ||
| 219 | .slot-button.data-v-e4e928f3 { | ||
| 220 | flex: 1; | ||
| 221 | display: flex; | ||
| 222 | flex-direction: row; | ||
| 223 | justify-content: center; | ||
| 224 | align-items: center; | ||
| 225 | text-align: center; | ||
| 226 | } | ||
| 227 | .slot-button-edit.data-v-e4e928f3 { | ||
| 228 | background-color: #1ec886; | ||
| 229 | padding: 20rpx 40rpx; | ||
| 230 | color: #ffffff; | ||
| 231 | } | ||
| 232 | .slot-button-del.data-v-e4e928f3 { | ||
| 233 | background-color: #ff5a5f; | ||
| 234 | padding: 20rpx 40rpx; | ||
| 235 | color: #ffffff; | ||
| 236 | } | ||
| 237 | .slot-button-text.data-v-e4e928f3 { | ||
| 238 | padding: 20rpx 40rpx; | ||
| 239 | color: #ffffff; | ||
| 240 | background-color: #ff5a5f; | ||
| 241 | font-size: 28rpx; | ||
| 242 | display: block; | ||
| 243 | } | ||
| 244 | .list-item-btn text.data-v-e4e928f3 { | ||
| 245 | font-size: 28rpx; | ||
| 246 | } | ||
| 247 | .list-item-btn .editBtn.data-v-e4e928f3 { | ||
| 248 | padding: 10rpx; | ||
| 249 | } | ||
| 250 | .list-item-btn .delBtn.data-v-e4e928f3 { | ||
| 251 | padding: 10rpx; | ||
| 252 | } | ||
| 253 | .flexSoltbody.data-v-e4e928f3 { | ||
| 254 | display: flex; | ||
| 255 | justify-content: space-between; | ||
| 256 | width: 100%; | ||
| 257 | align-items: center; | ||
| 258 | } | ||
| 259 | .flexSoltbody .label.data-v-e4e928f3 { | ||
| 260 | color: #999; | ||
| 261 | font-size: 28rpx; | ||
| 262 | } | ||
| 263 | .flexSoltbody .p.data-v-e4e928f3 { | ||
| 264 | font-size: 28rpx; | ||
| 265 | color: #333; | ||
| 266 | max-width: 60vw; | ||
| 267 | word-break: break-all; | ||
| 268 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | "use strict"; | ||
| 2 | const common_vendor = require("../common/vendor.js"); | ||
| 3 | const match_js_match = require("./js/match.js"); | ||
| 4 | require("../common/request.js"); | ||
| 5 | require("../common/login.js"); | ||
| 6 | require("../config.js"); | ||
| 7 | require("../common/aes.js"); | ||
| 8 | if (!Array) { | ||
| 9 | const _easycom_uni_search_bar2 = common_vendor.resolveComponent("uni-search-bar"); | ||
| 10 | const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); | ||
| 11 | const _easycom_uni_segmented_control2 = common_vendor.resolveComponent("uni-segmented-control"); | ||
| 12 | (_easycom_uni_search_bar2 + _easycom_uni_icons2 + _easycom_uni_segmented_control2)(); | ||
| 13 | } | ||
| 14 | const _easycom_uni_search_bar = () => "../uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar.js"; | ||
| 15 | const _easycom_uni_icons = () => "../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; | ||
| 16 | const _easycom_uni_segmented_control = () => "../uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control.js"; | ||
| 17 | if (!Math) { | ||
| 18 | (_easycom_uni_search_bar + _easycom_uni_icons + _easycom_uni_segmented_control)(); | ||
| 19 | } | ||
| 20 | const _sfc_main = { | ||
| 21 | __name: "index", | ||
| 22 | setup(__props) { | ||
| 23 | const app = getApp(); | ||
| 24 | const data = common_vendor.reactive({ | ||
| 25 | // 1 报名未开始 2 报名进行中 3 即将开始 4 进行中 5已经结束 | ||
| 26 | items: ["全部", "报名中", "进行中", "即将开始", "已结束"], | ||
| 27 | activeColor: "#00CAA6", | ||
| 28 | queryParam: { | ||
| 29 | projectId: "", | ||
| 30 | progressStatusCode: "", | ||
| 31 | name: "" | ||
| 32 | }, | ||
| 33 | current: 0, | ||
| 34 | index: 0, | ||
| 35 | list: [], | ||
| 36 | projectList: [], | ||
| 37 | projectName: "" | ||
| 38 | }); | ||
| 39 | const { items, activeColor, queryParam, current, index, list, projectList, projectName } = common_vendor.toRefs(data); | ||
| 40 | common_vendor.onShow((option) => { | ||
| 41 | projectList.value = []; | ||
| 42 | if (app.globalData.isLogin) { | ||
| 43 | getProjectList(); | ||
| 44 | getList(); | ||
| 45 | } else { | ||
| 46 | app.firstLoadCallback = () => { | ||
| 47 | getProjectList(); | ||
| 48 | getList(); | ||
| 49 | }; | ||
| 50 | } | ||
| 51 | }); | ||
| 52 | function getProjectList() { | ||
| 53 | match_js_match.getBaseProject().then((res) => { | ||
| 54 | projectList.value = res.rows; | ||
| 55 | let obj = { | ||
| 56 | id: "", | ||
| 57 | name: "全部" | ||
| 58 | }; | ||
| 59 | projectList.value.unshift(obj); | ||
| 60 | }); | ||
| 61 | } | ||
| 62 | function getList() { | ||
| 63 | match_js_match.getMaList(queryParam.value).then((res) => { | ||
| 64 | list.value = res.rows; | ||
| 65 | }); | ||
| 66 | } | ||
| 67 | function changeProject(e) { | ||
| 68 | console.log(e.detail.value); | ||
| 69 | index.value = e.detail.value; | ||
| 70 | projectName.value = projectList.value[index.value].name; | ||
| 71 | queryParam.value.projectId = projectList.value[index.value].id; | ||
| 72 | getList(); | ||
| 73 | } | ||
| 74 | function onclear() { | ||
| 75 | queryParam.value.name = ""; | ||
| 76 | getList(); | ||
| 77 | } | ||
| 78 | function onconfirm() { | ||
| 79 | console.log(queryParam.value.name); | ||
| 80 | getList(); | ||
| 81 | } | ||
| 82 | function onClickItem(e) { | ||
| 83 | current.value = e.currentIndex; | ||
| 84 | if (current.value == 1) { | ||
| 85 | queryParam.value.progressStatusCode = "2"; | ||
| 86 | } else if (current.value == 2) { | ||
| 87 | queryParam.value.progressStatusCode = "4"; | ||
| 88 | } else if (current.value == 3) { | ||
| 89 | queryParam.value.progressStatusCode = "3"; | ||
| 90 | } else if (current.value == 4) { | ||
| 91 | queryParam.value.progressStatusCode = "5"; | ||
| 92 | } else { | ||
| 93 | queryParam.value.progressStatusCode = ""; | ||
| 94 | } | ||
| 95 | getList(); | ||
| 96 | } | ||
| 97 | function goSingle(item) { | ||
| 98 | if (item.type == 0) { | ||
| 99 | let path = `/pages_match/match/single?id=${item.id}`; | ||
| 100 | common_vendor.index.navigateTo({ | ||
| 101 | url: path | ||
| 102 | }); | ||
| 103 | } else { | ||
| 104 | let path = `/pages_match/match/singleLs?id=${item.id}`; | ||
| 105 | common_vendor.index.navigateTo({ | ||
| 106 | url: path | ||
| 107 | }); | ||
| 108 | } | ||
| 109 | } | ||
| 110 | return (_ctx, _cache) => { | ||
| 111 | return common_vendor.e({ | ||
| 112 | a: common_vendor.o(($event) => onclear()), | ||
| 113 | b: common_vendor.o(($event) => onconfirm()), | ||
| 114 | c: common_vendor.o(($event) => common_vendor.unref(queryParam).name = $event), | ||
| 115 | d: common_vendor.p({ | ||
| 116 | clearButton: "auto", | ||
| 117 | cancelButton: "none", | ||
| 118 | modelValue: common_vendor.unref(queryParam).name | ||
| 119 | }), | ||
| 120 | e: common_vendor.t(common_vendor.unref(projectName) ? common_vendor.unref(projectName) : "全部"), | ||
| 121 | f: common_vendor.p({ | ||
| 122 | type: "bottom", | ||
| 123 | size: "16" | ||
| 124 | }), | ||
| 125 | g: common_vendor.o(changeProject), | ||
| 126 | h: common_vendor.unref(index), | ||
| 127 | i: common_vendor.unref(projectList), | ||
| 128 | j: common_vendor.o(onClickItem), | ||
| 129 | k: common_vendor.p({ | ||
| 130 | current: common_vendor.unref(current), | ||
| 131 | values: common_vendor.unref(items), | ||
| 132 | ["style-type"]: "text", | ||
| 133 | ["active-color"]: common_vendor.unref(activeColor) | ||
| 134 | }), | ||
| 135 | l: common_vendor.f(common_vendor.unref(list), (item, index2, i0) => { | ||
| 136 | return common_vendor.e({ | ||
| 137 | a: item.type == 0 | ||
| 138 | }, item.type == 0 ? {} : {}, { | ||
| 139 | b: item.type == 1 | ||
| 140 | }, item.type == 1 ? {} : {}, { | ||
| 141 | c: item.coverUrl, | ||
| 142 | d: common_vendor.t(item.name), | ||
| 143 | e: item.progressStatusCode == 3 | ||
| 144 | }, item.progressStatusCode == 3 ? {} : {}, { | ||
| 145 | f: item.progressStatusCode == 2 | ||
| 146 | }, item.progressStatusCode == 2 ? {} : {}, { | ||
| 147 | g: item.progressStatusCode == 4 | ||
| 148 | }, item.progressStatusCode == 4 ? {} : {}, { | ||
| 149 | h: item.progressStatusCode == 5 | ||
| 150 | }, item.progressStatusCode == 5 ? {} : {}, { | ||
| 151 | i: item.progressStatusCode == 1 | ||
| 152 | }, item.progressStatusCode == 1 ? {} : {}, { | ||
| 153 | j: item.type == 0 | ||
| 154 | }, item.type == 0 ? { | ||
| 155 | k: common_vendor.t(item.signEndTime.substring(0, 10)) | ||
| 156 | } : { | ||
| 157 | l: common_vendor.t(item.beginTime.substring(0, 10)) | ||
| 158 | }, { | ||
| 159 | m: item.type == 1 | ||
| 160 | }, item.type == 1 ? { | ||
| 161 | n: common_vendor.t(item.endTime.substring(0, 10)) | ||
| 162 | } : {}, { | ||
| 163 | o: common_vendor.o(($event) => goSingle(item), index2), | ||
| 164 | p: index2 | ||
| 165 | }); | ||
| 166 | }), | ||
| 167 | m: common_vendor.unref(list).length == 0 | ||
| 168 | }, common_vendor.unref(list).length == 0 ? {} : {}); | ||
| 169 | }; | ||
| 170 | } | ||
| 171 | }; | ||
| 172 | const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-c3d7d03c"], ["__file", "/Users/yangyang/ztx_wx_minapp/match/index.vue"]]); | ||
| 173 | _sfc_main.__runtimeHooks = 6; | ||
| 174 | wx.createPage(MiniProgramPage); |
| 1 | { | ||
| 2 | "navigationStyle": "default", | ||
| 3 | "navigationBarBackgroundColor": "#F7F8FA", | ||
| 4 | "navigationBarTextStyle": "black", | ||
| 5 | "navigationBarTitleText": "赛事报名", | ||
| 6 | "enablePullDownRefresh": false, | ||
| 7 | "usingComponents": { | ||
| 8 | "uni-search-bar": "../uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar", | ||
| 9 | "uni-icons": "../uni_modules/uni-icons/components/uni-icons/uni-icons", | ||
| 10 | "uni-segmented-control": "../uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control" | ||
| 11 | } | ||
| 12 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <view class="bgWhite data-v-c3d7d03c"><view class="topSearch data-v-c3d7d03c"><uni-search-bar wx:if="{{d}}" class="data-v-c3d7d03c" style="width:550rpx" bindclear="{{a}}" bindconfirm="{{b}}" u-i="c3d7d03c-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"></uni-search-bar><picker class="data-v-c3d7d03c" style="width:180rpx" bindchange="{{g}}" value="{{h}}" range="{{i}}" range-key="name"><view class="uni-input data-v-c3d7d03c">{{e}} <uni-icons wx:if="{{f}}" class="data-v-c3d7d03c" u-i="c3d7d03c-1" bind:__l="__l" u-p="{{f}}"></uni-icons></view></picker></view><view class="uni-common-mt data-v-c3d7d03c"><uni-segmented-control wx:if="{{k}}" class="data-v-c3d7d03c" bindclickItem="{{j}}" u-i="c3d7d03c-2" bind:__l="__l" u-p="{{k}}"/></view><view class="content data-v-c3d7d03c"><view class="data-v-c3d7d03c"><view class="matchList data-v-c3d7d03c"><view wx:for="{{l}}" wx:for-item="item" wx:key="p" class="matchItem data-v-c3d7d03c" bindtap="{{item.o}}"><view class="leftImg data-v-c3d7d03c"><text wx:if="{{item.a}}" class="matchType type2 data-v-c3d7d03c">独立赛</text><text wx:if="{{item.b}}" class="matchType type1 data-v-c3d7d03c">联赛</text><image class="data-v-c3d7d03c" mode="aspectFit" src="{{item.c}}"></image></view><view class="rightWen data-v-c3d7d03c"><view class="name data-v-c3d7d03c">{{item.d}}</view><text wx:if="{{item.e}}" class="status s01 data-v-c3d7d03c">即将开始</text><text wx:if="{{item.f}}" class="status s02 data-v-c3d7d03c">报名中</text><text wx:if="{{item.g}}" class="status s03 data-v-c3d7d03c">进行中</text><text wx:if="{{item.h}}" class="status s04 data-v-c3d7d03c">已结束</text><text wx:if="{{item.i}}" class="status s04 data-v-c3d7d03c">报名未开始</text><view wx:if="{{item.j}}" class="time data-v-c3d7d03c">报名截止:{{item.k}}</view><view wx:else class="time data-v-c3d7d03c">比赛开始时间:{{item.l}}</view><view wx:if="{{item.m}}" class="time data-v-c3d7d03c">比赛结束时间:{{item.n}}</view></view></view><view wx:if="{{m}}" class="nodata data-v-c3d7d03c"><image class="data-v-c3d7d03c" mode="aspectFit" src="/static/nodata.png"></image></view></view></view></view></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .bgWhite.data-v-c3d7d03c { | ||
| 27 | background: #fff; | ||
| 28 | } | ||
| 29 | .topSearch.data-v-c3d7d03c { | ||
| 30 | display: flex; | ||
| 31 | align-items: center; | ||
| 32 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | "use strict"; | ||
| 2 | const nationList = [ | ||
| 3 | { | ||
| 4 | text: "汉族", | ||
| 5 | value: "汉族" | ||
| 6 | }, | ||
| 7 | { | ||
| 8 | text: "蒙古族", | ||
| 9 | value: "蒙古族" | ||
| 10 | }, | ||
| 11 | { | ||
| 12 | text: "回族", | ||
| 13 | value: "回族" | ||
| 14 | }, | ||
| 15 | { | ||
| 16 | text: "藏族", | ||
| 17 | value: "藏族" | ||
| 18 | }, | ||
| 19 | { | ||
| 20 | text: "维吾尔族", | ||
| 21 | value: "维吾尔族" | ||
| 22 | }, | ||
| 23 | { | ||
| 24 | text: "苗族", | ||
| 25 | value: "苗族" | ||
| 26 | }, | ||
| 27 | { | ||
| 28 | text: "彝族", | ||
| 29 | value: "彝族" | ||
| 30 | }, | ||
| 31 | { | ||
| 32 | text: "壮族", | ||
| 33 | value: "壮族" | ||
| 34 | }, | ||
| 35 | { | ||
| 36 | text: "布依族", | ||
| 37 | value: "布依族" | ||
| 38 | }, | ||
| 39 | { | ||
| 40 | text: "朝鲜族", | ||
| 41 | value: "朝鲜族" | ||
| 42 | }, | ||
| 43 | { | ||
| 44 | text: "满族", | ||
| 45 | value: "满族" | ||
| 46 | }, | ||
| 47 | { | ||
| 48 | text: "侗族", | ||
| 49 | value: "侗族" | ||
| 50 | }, | ||
| 51 | { | ||
| 52 | text: "瑶族", | ||
| 53 | value: "瑶族" | ||
| 54 | }, | ||
| 55 | { | ||
| 56 | text: "白族", | ||
| 57 | value: "白族" | ||
| 58 | }, | ||
| 59 | { | ||
| 60 | text: "土家族", | ||
| 61 | value: "土家族" | ||
| 62 | }, | ||
| 63 | { | ||
| 64 | text: "哈尼族", | ||
| 65 | value: "哈尼族" | ||
| 66 | }, | ||
| 67 | { | ||
| 68 | text: "哈萨克族", | ||
| 69 | value: "哈萨克族" | ||
| 70 | }, | ||
| 71 | { | ||
| 72 | text: "傣族", | ||
| 73 | value: "傣族" | ||
| 74 | }, | ||
| 75 | { | ||
| 76 | text: "黎族", | ||
| 77 | value: "黎族" | ||
| 78 | }, | ||
| 79 | { | ||
| 80 | text: "傈僳族", | ||
| 81 | value: "傈僳族" | ||
| 82 | }, | ||
| 83 | { | ||
| 84 | text: "佤族", | ||
| 85 | value: "佤族" | ||
| 86 | }, | ||
| 87 | { | ||
| 88 | text: "畲族", | ||
| 89 | value: "畲族" | ||
| 90 | }, | ||
| 91 | { | ||
| 92 | text: "高山族", | ||
| 93 | value: "高山族" | ||
| 94 | }, | ||
| 95 | { | ||
| 96 | text: "拉祜族", | ||
| 97 | value: "拉祜族" | ||
| 98 | }, | ||
| 99 | { | ||
| 100 | text: "水族", | ||
| 101 | value: "水族" | ||
| 102 | }, | ||
| 103 | { | ||
| 104 | text: "东乡族", | ||
| 105 | value: "东乡族" | ||
| 106 | }, | ||
| 107 | { | ||
| 108 | text: "纳西族", | ||
| 109 | value: "纳西族" | ||
| 110 | }, | ||
| 111 | { | ||
| 112 | text: "景颇族", | ||
| 113 | value: "景颇族" | ||
| 114 | }, | ||
| 115 | { | ||
| 116 | text: "柯尔克孜族", | ||
| 117 | value: "柯尔克孜族" | ||
| 118 | }, | ||
| 119 | { | ||
| 120 | text: "土族", | ||
| 121 | value: "土族" | ||
| 122 | }, | ||
| 123 | { | ||
| 124 | text: "达斡尔族", | ||
| 125 | value: "达斡尔族" | ||
| 126 | }, | ||
| 127 | { | ||
| 128 | text: "仫佬族", | ||
| 129 | value: "仫佬族" | ||
| 130 | }, | ||
| 131 | { | ||
| 132 | text: "羌族", | ||
| 133 | value: "羌族" | ||
| 134 | }, | ||
| 135 | { | ||
| 136 | text: "布朗族", | ||
| 137 | value: "布朗族" | ||
| 138 | }, | ||
| 139 | { | ||
| 140 | text: "撒拉族", | ||
| 141 | value: "撒拉族" | ||
| 142 | }, | ||
| 143 | { | ||
| 144 | text: "毛难族", | ||
| 145 | value: "毛难族" | ||
| 146 | }, | ||
| 147 | { | ||
| 148 | text: "仡佬族", | ||
| 149 | value: "仡佬族" | ||
| 150 | }, | ||
| 151 | { | ||
| 152 | text: "锡伯族", | ||
| 153 | value: "锡伯族" | ||
| 154 | }, | ||
| 155 | { | ||
| 156 | text: "阿昌族", | ||
| 157 | value: "阿昌族" | ||
| 158 | }, | ||
| 159 | { | ||
| 160 | text: "普米族", | ||
| 161 | value: "普米族" | ||
| 162 | }, | ||
| 163 | { | ||
| 164 | text: "塔吉克族", | ||
| 165 | value: "塔吉克族" | ||
| 166 | }, | ||
| 167 | { | ||
| 168 | text: "怒族", | ||
| 169 | value: "怒族" | ||
| 170 | }, | ||
| 171 | { | ||
| 172 | text: "乌孜别克族", | ||
| 173 | value: "乌孜别克族" | ||
| 174 | }, | ||
| 175 | { | ||
| 176 | text: "俄罗斯族", | ||
| 177 | value: "俄罗斯族" | ||
| 178 | }, | ||
| 179 | { | ||
| 180 | text: "鄂温克族", | ||
| 181 | value: "鄂温克族" | ||
| 182 | }, | ||
| 183 | { | ||
| 184 | text: "崩龙族", | ||
| 185 | value: "崩龙族" | ||
| 186 | }, | ||
| 187 | { | ||
| 188 | text: "保安族", | ||
| 189 | value: "保安族" | ||
| 190 | }, | ||
| 191 | { | ||
| 192 | text: "裕固族", | ||
| 193 | value: "裕固族" | ||
| 194 | }, | ||
| 195 | { | ||
| 196 | text: "京族", | ||
| 197 | value: "京族" | ||
| 198 | }, | ||
| 199 | { | ||
| 200 | text: "塔塔尔族", | ||
| 201 | value: "塔塔尔族" | ||
| 202 | }, | ||
| 203 | { | ||
| 204 | text: "独龙族", | ||
| 205 | value: "独龙族" | ||
| 206 | }, | ||
| 207 | { | ||
| 208 | text: "鄂伦春族", | ||
| 209 | value: "鄂伦春族" | ||
| 210 | }, | ||
| 211 | { | ||
| 212 | text: "赫哲族", | ||
| 213 | value: "赫哲族" | ||
| 214 | }, | ||
| 215 | { | ||
| 216 | text: "门巴族", | ||
| 217 | value: "门巴族" | ||
| 218 | }, | ||
| 219 | { | ||
| 220 | text: "珞巴族", | ||
| 221 | value: "珞巴族" | ||
| 222 | }, | ||
| 223 | { | ||
| 224 | text: "基诺族", | ||
| 225 | value: "基诺族" | ||
| 226 | }, | ||
| 227 | { | ||
| 228 | text: "其他", | ||
| 229 | value: "其他" | ||
| 230 | }, | ||
| 231 | { | ||
| 232 | text: "外国血统中国人士", | ||
| 233 | value: "外国血统中国人士" | ||
| 234 | } | ||
| 235 | ]; | ||
| 236 | const sexs = [{ text: "女", value: "0" }, { text: "男", value: "1" }]; | ||
| 237 | const idcTypeList = [ | ||
| 238 | { value: "0", text: "身份证" }, | ||
| 239 | { value: "1", text: "护照" }, | ||
| 240 | { value: "2", text: "其他" } | ||
| 241 | ]; | ||
| 242 | exports.idcTypeList = idcTypeList; | ||
| 243 | exports.nationList = nationList; | ||
| 244 | exports.sexs = sexs; |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
| 1 | { | ||
| 2 | "navigationStyle": "default", | ||
| 3 | "navigationBarBackgroundColor": "#F7F8FA", | ||
| 4 | "navigationBarTextStyle": "black", | ||
| 5 | "navigationBarTitleText": "费用明细", | ||
| 6 | "enablePullDownRefresh": true, | ||
| 7 | "backgroundColor": "#ffffff", | ||
| 8 | "usingComponents": { | ||
| 9 | "uni-list-item": "../uni_modules/uni-list/components/uni-list-item/uni-list-item", | ||
| 10 | "uni-list": "../uni_modules/uni-list/components/uni-list/uni-list", | ||
| 11 | "uni-collapse-item": "../uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item", | ||
| 12 | "uni-collapse": "../uni_modules/uni-collapse/components/uni-collapse/uni-collapse", | ||
| 13 | "uni-popup": "../uni_modules/uni-popup/components/uni-popup/uni-popup", | ||
| 14 | "uni-icons": "../uni_modules/uni-icons/components/uni-icons/uni-icons", | ||
| 15 | "uni-popup-dialog": "../uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog" | ||
| 16 | } | ||
| 17 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .whitebg.data-v-e44d4bea { | ||
| 27 | background: #fff; | ||
| 28 | margin-top: 15rpx; | ||
| 29 | border-radius: 20rpx; | ||
| 30 | margin-bottom: 180rpx; | ||
| 31 | } | ||
| 32 | .rrcard.data-v-e44d4bea { | ||
| 33 | margin-top: 30rpx; | ||
| 34 | } | ||
| 35 | .rrcard .box.data-v-e44d4bea { | ||
| 36 | padding: 0 0 1px; | ||
| 37 | margin: 20rpx 0 0; | ||
| 38 | } | ||
| 39 | .littleimgBox.data-v-e44d4bea { | ||
| 40 | display: flex; | ||
| 41 | align-items: center; | ||
| 42 | } | ||
| 43 | .littleimg.data-v-e44d4bea { | ||
| 44 | width: 50rpx; | ||
| 45 | height: 50rpx; | ||
| 46 | margin-right: 15rpx; | ||
| 47 | } | ||
| 48 | .data-v-e44d4bea .uni-collapse { | ||
| 49 | border-radius: 30rpx; | ||
| 50 | } | ||
| 51 | .data-v-e44d4bea .uni-collapse-item { | ||
| 52 | margin: 0 0 10rpx; | ||
| 53 | } | ||
| 54 | .uni-list-cell.data-v-e44d4bea::after { | ||
| 55 | display: none; | ||
| 56 | } | ||
| 57 | .payMationPopBody.data-v-e44d4bea { | ||
| 58 | background: #FFFFFF; | ||
| 59 | width: 550rpx; | ||
| 60 | border-radius: 15px; | ||
| 61 | padding: 50rpx; | ||
| 62 | box-sizing: border-box; | ||
| 63 | } | ||
| 64 | .payMationPopBody .t.data-v-e44d4bea { | ||
| 65 | text-align: center; | ||
| 66 | color: #7B7F83; | ||
| 67 | font-size: 34rpx; | ||
| 68 | margin: 0 0 50rpx; | ||
| 69 | } | ||
| 70 | .payMationPopBody .p.data-v-e44d4bea { | ||
| 71 | color: #7B7F83; | ||
| 72 | font-size: 30rpx; | ||
| 73 | } | ||
| 74 | .payMationPopBody .p text.data-v-e44d4bea { | ||
| 75 | color: #1A1A1A; | ||
| 76 | } | ||
| 77 | .payMationPopBody .btn.data-v-e44d4bea { | ||
| 78 | margin-top: 60rpx; | ||
| 79 | } | ||
| 80 | .payBtnBox.data-v-e44d4bea { | ||
| 81 | width: 750rpx; | ||
| 82 | background: #fff; | ||
| 83 | line-height: 90rpx; | ||
| 84 | position: fixed; | ||
| 85 | bottom: 0; | ||
| 86 | display: flex; | ||
| 87 | justify-content: space-between; | ||
| 88 | height: 120rpx; | ||
| 89 | } | ||
| 90 | .totalPrice.data-v-e44d4bea { | ||
| 91 | color: #7B7F83; | ||
| 92 | font-size: 24rpx; | ||
| 93 | padding: 0 0 0 20rpx; | ||
| 94 | } | ||
| 95 | .totalPrice .orange.data-v-e44d4bea { | ||
| 96 | font-size: 45rpx; | ||
| 97 | } | ||
| 98 | .h1.data-v-e44d4bea { | ||
| 99 | font-size: 30rpx; | ||
| 100 | margin: 0 0 20rpx; | ||
| 101 | } | ||
| 102 | .h2.data-v-e44d4bea { | ||
| 103 | color: #7B7F83; | ||
| 104 | font-size: 28rpx; | ||
| 105 | } | ||
| 106 | .h2 text.data-v-e44d4bea { | ||
| 107 | margin-right: 20rpx; | ||
| 108 | } | ||
| 109 | .data-v-e44d4bea .uni-list-item__container { | ||
| 110 | padding-left: 0; | ||
| 111 | } | ||
| 112 | .slot-box image.data-v-e44d4bea { | ||
| 113 | height: 40px; | ||
| 114 | width: 40px; | ||
| 115 | border-radius: 50%; | ||
| 116 | margin: 0 10px 0 0; | ||
| 117 | } | ||
| 118 | .slotbody.data-v-e44d4bea { | ||
| 119 | width: 100%; | ||
| 120 | } | ||
| 121 | .slotbody .name.data-v-e44d4bea { | ||
| 122 | font-size: 14px; | ||
| 123 | color: #3b4144; | ||
| 124 | overflow: hidden; | ||
| 125 | } | ||
| 126 | .slotbody text.data-v-e44d4bea { | ||
| 127 | font-size: 24rpx; | ||
| 128 | } | ||
| 129 | .slotfooter.data-v-e44d4bea { | ||
| 130 | display: flex; | ||
| 131 | align-items: center; | ||
| 132 | color: #FF8124; | ||
| 133 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | "use strict"; | ||
| 2 | const common_vendor = require("../common/vendor.js"); | ||
| 3 | const match_js_match = require("./js/match.js"); | ||
| 4 | require("../common/request.js"); | ||
| 5 | require("../common/login.js"); | ||
| 6 | require("../config.js"); | ||
| 7 | require("../common/aes.js"); | ||
| 8 | if (!Array) { | ||
| 9 | const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); | ||
| 10 | _easycom_uni_icons2(); | ||
| 11 | } | ||
| 12 | const _easycom_uni_icons = () => "../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; | ||
| 13 | if (!Math) { | ||
| 14 | _easycom_uni_icons(); | ||
| 15 | } | ||
| 16 | const _sfc_main = { | ||
| 17 | __name: "matchPayDone", | ||
| 18 | setup(__props) { | ||
| 19 | const data = common_vendor.reactive({ | ||
| 20 | chargeFlag: "", | ||
| 21 | amount: "", | ||
| 22 | payType: "" | ||
| 23 | }); | ||
| 24 | const { chargeFlag, payType, amount } = common_vendor.toRefs(data); | ||
| 25 | getApp(); | ||
| 26 | let cptId; | ||
| 27 | let groupId; | ||
| 28 | common_vendor.onLoad((option) => { | ||
| 29 | console.log(option); | ||
| 30 | cptId = option.cptId; | ||
| 31 | groupId = option.groupId; | ||
| 32 | chargeFlag.value = option.chargeFlag; | ||
| 33 | option.orderId; | ||
| 34 | if (option.amount) { | ||
| 35 | amount.value = option.amount; | ||
| 36 | } | ||
| 37 | if (option.payType) { | ||
| 38 | payType.value = option.payType; | ||
| 39 | } | ||
| 40 | }); | ||
| 41 | function goDetail() { | ||
| 42 | common_vendor.index.redirectTo({ | ||
| 43 | url: `/pages/usercenter/matchSignDetail?id=${cptId}&groupId=${groupId}&auditStatus=1}` | ||
| 44 | }); | ||
| 45 | } | ||
| 46 | function download() { | ||
| 47 | match_js_match.downloadpz(cptId, groupId).then((res) => { | ||
| 48 | goWebView(res.data); | ||
| 49 | }); | ||
| 50 | } | ||
| 51 | function goWebView(url) { | ||
| 52 | console.log(url); | ||
| 53 | url = url.replace("http://", "https://"); | ||
| 54 | common_vendor.index.showLoading({ | ||
| 55 | title: "下载中" | ||
| 56 | }); | ||
| 57 | common_vendor.index.downloadFile({ | ||
| 58 | url, | ||
| 59 | success: function(res) { | ||
| 60 | common_vendor.index.hideLoading(); | ||
| 61 | var filePath = res.tempFilePath; | ||
| 62 | common_vendor.index.showLoading({ | ||
| 63 | title: "正在打开" | ||
| 64 | }); | ||
| 65 | common_vendor.index.openDocument({ | ||
| 66 | filePath, | ||
| 67 | showMenu: true, | ||
| 68 | success: function(res2) { | ||
| 69 | common_vendor.index.hideLoading(); | ||
| 70 | }, | ||
| 71 | fail: function(err) { | ||
| 72 | common_vendor.index.hideLoading(); | ||
| 73 | common_vendor.index.showToast({ | ||
| 74 | title: err, | ||
| 75 | icon: "none", | ||
| 76 | duration: 2e3 | ||
| 77 | }); | ||
| 78 | } | ||
| 79 | }); | ||
| 80 | }, | ||
| 81 | fail: function(error) { | ||
| 82 | common_vendor.index.hideLoading(); | ||
| 83 | common_vendor.index.showToast({ | ||
| 84 | title: `下载失败`, | ||
| 85 | icon: "none", | ||
| 86 | duration: 2e3 | ||
| 87 | }); | ||
| 88 | } | ||
| 89 | }); | ||
| 90 | } | ||
| 91 | return (_ctx, _cache) => { | ||
| 92 | return common_vendor.e({ | ||
| 93 | a: common_vendor.p({ | ||
| 94 | type: "checkbox-filled", | ||
| 95 | size: "100", | ||
| 96 | color: "#1EC886" | ||
| 97 | }), | ||
| 98 | b: common_vendor.unref(chargeFlag) == "0" | ||
| 99 | }, common_vendor.unref(chargeFlag) == "0" ? {} : common_vendor.e({ | ||
| 100 | c: common_vendor.t(common_vendor.unref(amount)), | ||
| 101 | d: common_vendor.unref(payType) == "0" | ||
| 102 | }, common_vendor.unref(payType) == "0" ? {} : common_vendor.unref(payType) == "1" ? {} : common_vendor.unref(payType) == "2" ? {} : {}, { | ||
| 103 | e: common_vendor.unref(payType) == "1", | ||
| 104 | f: common_vendor.unref(payType) == "2" | ||
| 105 | }), { | ||
| 106 | g: common_vendor.o(download), | ||
| 107 | h: common_vendor.o(goDetail) | ||
| 108 | }); | ||
| 109 | }; | ||
| 110 | } | ||
| 111 | }; | ||
| 112 | const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-c603eb69"], ["__file", "/Users/yangyang/ztx_wx_minapp/match/matchPayDone.vue"]]); | ||
| 113 | wx.createPage(MiniProgramPage); |
| 1 | { | ||
| 2 | "navigationStyle": "default", | ||
| 3 | "navigationBarBackgroundColor": "#F7F8FA", | ||
| 4 | "navigationBarTextStyle": "black", | ||
| 5 | "navigationBarTitleText": "报名完成", | ||
| 6 | "enablePullDownRefresh": true, | ||
| 7 | "backgroundColor": "#ffffff", | ||
| 8 | "usingComponents": { | ||
| 9 | "uni-icons": "../uni_modules/uni-icons/components/uni-icons/uni-icons" | ||
| 10 | } | ||
| 11 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <view class="fixedbody data-v-c603eb69"><view class="successBox data-v-c603eb69"><view class="doneIcon data-v-c603eb69"><uni-icons wx:if="{{a}}" class="data-v-c603eb69" u-i="c603eb69-0" bind:__l="__l" u-p="{{a}}"></uni-icons></view><view wx:if="{{b}}" class="data-v-c603eb69" style="margin:0 0 80rpx">报名成功</view><view wx:else class="data-v-c603eb69" style="margin:0 0 80rpx"><view class="data-v-c603eb69">支付成功</view><view class="ppp data-v-c603eb69">订单金额<text class="orange data-v-c603eb69">¥{{c}}</text></view><view class="ppp data-v-c603eb69">交易方式 <text wx:if="{{d}}" class="data-v-c603eb69">会员卡支付</text><text wx:elif="{{e}}" class="data-v-c603eb69">微信支付</text><text wx:elif="{{f}}" class="data-v-c603eb69">线下支付</text></view></view><view class="data-v-c603eb69" style="display:flex;justify-content:center"><button class="btn btn1 data-v-c603eb69" style="margin:0 10px" bindtap="{{g}}">下载凭证</button><button class="btn btn1 data-v-c603eb69" style="margin:0 10px" bindtap="{{h}}">查看报项</button></view></view></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .successBox.data-v-c603eb69 { | ||
| 27 | text-align: center; | ||
| 28 | } | ||
| 29 | .doneIcon.data-v-c603eb69 { | ||
| 30 | margin: 5vh auto; | ||
| 31 | } | ||
| 32 | .ppp.data-v-c603eb69 { | ||
| 33 | text-align: left; | ||
| 34 | font-size: 30rpx; | ||
| 35 | padding: 0 30rpx; | ||
| 36 | color: #a0a0a0; | ||
| 37 | margin: 20rpx 0; | ||
| 38 | } | ||
| 39 | .ppp text.data-v-c603eb69 { | ||
| 40 | float: right; | ||
| 41 | color: #000; | ||
| 42 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
| 1 | { | ||
| 2 | "navigationBarTitleText": "选择参赛项目", | ||
| 3 | "navigationBarBackgroundColor": "#F7F8FA", | ||
| 4 | "navigationBarTextStyle": "black", | ||
| 5 | "backgroundColor": "#ffffff", | ||
| 6 | "usingComponents": { | ||
| 7 | "uni-list-item": "../uni_modules/uni-list/components/uni-list-item/uni-list-item", | ||
| 8 | "uni-collapse-item": "../uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item", | ||
| 9 | "uni-collapse": "../uni_modules/uni-collapse/components/uni-collapse/uni-collapse", | ||
| 10 | "uni-data-select": "../uni_modules/uni-data-select/components/uni-data-select/uni-data-select", | ||
| 11 | "uni-popup": "../uni_modules/uni-popup/components/uni-popup/uni-popup" | ||
| 12 | } | ||
| 13 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <view class="data-v-4e6cb9fd" style="padding:0 25rpx 200rpx"><view class="uni-list data-v-4e6cb9fd" style="margin-bottom:30rpx"><uni-list-item wx:if="{{a}}" class="data-v-4e6cb9fd" u-i="4e6cb9fd-0" bind:__l="__l" u-p="{{a}}"></uni-list-item></view><view wx:for="{{b}}" wx:for-item="item" wx:key="m" class="data-v-4e6cb9fd"><uni-collapse u-s="{{['d']}}" class="projectlist data-v-4e6cb9fd" u-i="{{item.l}}" bind:__l="__l"><uni-collapse-item wx:if="{{c}}" class="data-v-4e6cb9fd" u-s="{{['title','d']}}" u-i="{{item.k}}" bind:__l="__l" u-p="{{c}}"><view class="uni-list data-v-4e6cb9fd" slot="title"><checkbox-group class="data-v-4e6cb9fd" bindchange="{{item.f}}" data-signId="{{item.g}}"><view class="uni-list-cell uni-list-cell-pd data-v-4e6cb9fd"><checkbox wx:if="{{item.a}}" class="data-v-4e6cb9fd" value="{{item.b}}" disabled="{{item.c}}" checked="{{item.d}}"/><text class="projectName data-v-4e6cb9fd">{{item.e}}</text></view></checkbox-group></view><view wx:if="{{item.h}}" class="content data-v-4e6cb9fd"><view wx:for="{{item.i}}" wx:for-item="g" wx:key="j" class="uni-list data-v-4e6cb9fd"><checkbox-group wx:if="{{g.a}}" class="data-v-4e6cb9fd" bindchange="{{g.i}}" data-signId="{{g.j}}"><view wx:if="{{g.b}}" class="uni-list-cell uni-list-cell-pd data-v-4e6cb9fd"><view class="data-v-4e6cb9fd"><checkbox class="data-v-4e6cb9fd" disabled="{{g.c}}" value="{{g.d}}" checked="{{g.e}}"/></view><view class="groupName data-v-4e6cb9fd">{{g.f}}</view></view><view wx:if="{{g.g}}" class="uni-list-cell uni-list-cell-pd data-v-4e6cb9fd"><view class="groupName data-v-4e6cb9fd">{{g.h}}</view></view></checkbox-group><view wx:for="{{g.k}}" wx:for-item="l" wx:key="i" class="data-v-4e6cb9fd" hidden="{{!l.j}}"><checkbox-group class="data-v-4e6cb9fd" bindchange="{{l.g}}" data-signId="{{l.h}}"><view class="uni-list-cell uni-list-cell-pd data-v-4e6cb9fd"><view class="data-v-4e6cb9fd"><checkbox class="data-v-4e6cb9fd" value="{{l.a}}" disabled="{{l.b}}" checked="{{l.c}}"/></view><view class="levelName data-v-4e6cb9fd">{{g.l}}{{l.d}} <text wx:if="{{l.e}}" class="data-v-4e6cb9fd">(女)</text><text wx:if="{{l.f}}" class="data-v-4e6cb9fd">(男)</text></view></view></checkbox-group></view></view></view></uni-collapse-item></uni-collapse></view><view class="fixedBottom data-v-4e6cb9fd"><button class="btn btn1 data-v-4e6cb9fd" bindtap="{{d}}" type="default">确定</button></view><uni-popup wx:if="{{R}}" class="r data-v-4e6cb9fd" u-s="{{['d']}}" u-r="popTeammates" bindmaskClick="{{Q}}" u-i="4e6cb9fd-3" bind:__l="__l" u-p="{{R}}"><view class="teammateBox data-v-4e6cb9fd"><view class="tj data-v-4e6cb9fd">可选队友 <text wx:if="{{e}}" class="data-v-4e6cb9fd">(请选择{{f}}~{{g}}个队友)</text><text wx:elif="{{h}}" class="data-v-4e6cb9fd">(请至少选择1个队友)</text><text wx:else class="data-v-4e6cb9fd">(请选择{{i}}个队友)</text><view class="data-v-4e6cb9fd" style="font-size:24rpx;color:#999"><text wx:if="{{j}}" class="data-v-4e6cb9fd" style="margin-right:20px">男队: <text wx:if="{{k}}" class="data-v-4e6cb9fd"> 最少{{l}}人 </text><text wx:if="{{m}}" class="data-v-4e6cb9fd"> 最多{{n}}人</text><text wx:if="{{o}}" class="data-v-4e6cb9fd">{{p}}人</text></text><text wx:if="{{q}}" class="data-v-4e6cb9fd">女队: <text wx:if="{{r}}" class="data-v-4e6cb9fd"> 最少{{s}}人 </text><text wx:if="{{t}}" class="data-v-4e6cb9fd"> 最多{{v}}人</text><text wx:if="{{w}}" class="data-v-4e6cb9fd">{{x}}人</text></text></view><button wx:if="{{y}}" class="data-v-4e6cb9fd" type="primary" plain="true" bindtap="{{z}}">去创建</button></view><view class="teamListArea data-v-4e6cb9fd"><checkbox-group class="data-v-4e6cb9fd" bindchange="{{K}}"><view class="flexLabel data-v-4e6cb9fd"><view class="data-v-4e6cb9fd"><checkbox class="data-v-4e6cb9fd" disabled value="{{A}}" checked/></view><image mode="aspectFill" class="headimg data-v-4e6cb9fd" src="{{B}}"></image><view class="mateinfo data-v-4e6cb9fd">{{C}} <text wx:if="{{D}}" class="data-v-4e6cb9fd">(女)</text><text wx:else class="data-v-4e6cb9fd">(男)</text></view><uni-data-select wx:if="{{E}}" class="data-v-4e6cb9fd" bindchange="{{F}}" u-i="4e6cb9fd-4,4e6cb9fd-3" bind:__l="__l" bindupdateModelValue="{{G}}" u-p="{{H}}"></uni-data-select></view><view wx:for="{{I}}" wx:for-item="item" wx:key="k" class="flexLabel data-v-4e6cb9fd"><view class="data-v-4e6cb9fd"><checkbox class="data-v-4e6cb9fd" disabled="{{item.a}}" value="{{item.b}}" checked="{{item.c}}"/></view><image mode="aspectFill" class="headimg data-v-4e6cb9fd" src="{{item.d}}"></image><view class="mateinfo data-v-4e6cb9fd">{{item.e}} <text wx:if="{{item.f}}" class="data-v-4e6cb9fd">(女)</text><text wx:else class="data-v-4e6cb9fd">(男)</text></view><uni-data-select wx:if="{{J}}" class="data-v-4e6cb9fd" bindchange="{{item.g}}" u-i="{{item.h}}" bind:__l="__l" bindupdateModelValue="{{item.i}}" u-p="{{item.j}}"></uni-data-select></view></checkbox-group><view wx:if="{{L}}" class="nodata data-v-4e6cb9fd"><image class="data-v-4e6cb9fd" mode="aspectFit" src="/static/nodata.png"></image><text class="data-v-4e6cb9fd">暂无可选队友</text><button class="data-v-4e6cb9fd" type="primary" plain="true" bindtap="{{M}}">去创建</button></view></view><button wx:if="{{N}}" class="btn btn1 data-v-4e6cb9fd" bindtap="{{O}}">确定</button></view></uni-popup></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .tj.data-v-4e6cb9fd { | ||
| 27 | padding: 30rpx 30rpx 10rpx; | ||
| 28 | } | ||
| 29 | .addBtn.data-v-4e6cb9fd { | ||
| 30 | width: 700rpx; | ||
| 31 | height: 90rpx; | ||
| 32 | background: #ffffff; | ||
| 33 | border: 1rpx solid #1ec886; | ||
| 34 | color: #1ec886; | ||
| 35 | font-size: 30rpx; | ||
| 36 | border-radius: 15rpx; | ||
| 37 | } | ||
| 38 | .teammateBox.data-v-4e6cb9fd { | ||
| 39 | background: #fff; | ||
| 40 | height: 90vh; | ||
| 41 | overflow: auto; | ||
| 42 | position: relative; | ||
| 43 | } | ||
| 44 | .teammateBox .btn1.data-v-4e6cb9fd { | ||
| 45 | position: absolute; | ||
| 46 | bottom: 30px; | ||
| 47 | margin: auto; | ||
| 48 | left: 0; | ||
| 49 | right: 0; | ||
| 50 | } | ||
| 51 | .projectlist.data-v-4e6cb9fd .uni-collapse { | ||
| 52 | border-radius: 30rpx; | ||
| 53 | margin: 0 0 40rpx; | ||
| 54 | } | ||
| 55 | .projectlist .uni-list-cell.data-v-4e6cb9fd { | ||
| 56 | justify-content: start; | ||
| 57 | } | ||
| 58 | .projectlist .uni-list-cell checkbox.data-v-4e6cb9fd { | ||
| 59 | margin-right: 30rpx; | ||
| 60 | } | ||
| 61 | .data-v-4e6cb9fd .uni-collapse-item { | ||
| 62 | padding: 10rpx; | ||
| 63 | margin: 0; | ||
| 64 | } | ||
| 65 | .projectName.data-v-4e6cb9fd { | ||
| 66 | font-size: 30rpx; | ||
| 67 | color: #4C5359; | ||
| 68 | } | ||
| 69 | .groupName.data-v-4e6cb9fd { | ||
| 70 | font-size: 30rpx; | ||
| 71 | color: #000000; | ||
| 72 | } | ||
| 73 | .levelName.data-v-4e6cb9fd { | ||
| 74 | font-size: 30rpx; | ||
| 75 | } | ||
| 76 | .teammateBox.data-v-4e6cb9fd { | ||
| 77 | background: #fff; | ||
| 78 | height: 70vh; | ||
| 79 | overflow: auto; | ||
| 80 | position: relative; | ||
| 81 | } | ||
| 82 | .teammateBox .btn1.data-v-4e6cb9fd { | ||
| 83 | position: absolute; | ||
| 84 | bottom: 30px; | ||
| 85 | margin: auto; | ||
| 86 | left: 0; | ||
| 87 | right: 0; | ||
| 88 | } | ||
| 89 | .headimg.data-v-4e6cb9fd { | ||
| 90 | width: 100rpx; | ||
| 91 | height: 100rpx; | ||
| 92 | border-radius: 50%; | ||
| 93 | margin: 0 40rpx; | ||
| 94 | } | ||
| 95 | .flexLabel.data-v-4e6cb9fd { | ||
| 96 | align-items: center; | ||
| 97 | padding: 22rpx 30rpx; | ||
| 98 | display: flex; | ||
| 99 | justify-content: flex-start; | ||
| 100 | } | ||
| 101 | .flexLabel.data-v-4e6cb9fd .uni-stat__select { | ||
| 102 | width: 20vw; | ||
| 103 | } | ||
| 104 | .mateinfo.data-v-4e6cb9fd { | ||
| 105 | font-size: 30rpx; | ||
| 106 | width: 8em; | ||
| 107 | } | ||
| 108 | .mateinfo text.data-v-4e6cb9fd { | ||
| 109 | color: #4C5359; | ||
| 110 | } | ||
| 111 | .teamListArea.data-v-4e6cb9fd { | ||
| 112 | height: 76%; | ||
| 113 | overflow: auto; | ||
| 114 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
| 1 | { | ||
| 2 | "navigationBarTitleText": "个人报名", | ||
| 3 | "navigationBarBackgroundColor": "#F7F8FA", | ||
| 4 | "navigationBarTextStyle": "black", | ||
| 5 | "backgroundColor": "#ffffff", | ||
| 6 | "usingComponents": { | ||
| 7 | "uni-forms-item": "../uni_modules/uni-forms/components/uni-forms-item/uni-forms-item", | ||
| 8 | "uni-easyinput": "../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput", | ||
| 9 | "uni-data-checkbox": "../uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox", | ||
| 10 | "uni-data-select": "../uni_modules/uni-data-select/components/uni-data-select/uni-data-select", | ||
| 11 | "uni-datetime-picker": "../uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker", | ||
| 12 | "uni-forms": "../uni_modules/uni-forms/components/uni-forms/uni-forms", | ||
| 13 | "uni-file-picker": "../uni_modules/uni-file-picker/components/uni-file-picker/uni-file-picker" | ||
| 14 | } | ||
| 15 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <view class="fixedbody"><view><view class="wBox"><uni-forms wx:if="{{D}}" class="r" u-s="{{['d']}}" u-r="baseForm" u-i="73041eb0-0" bind:__l="__l" u-p="{{D}}"><uni-forms-item wx:if="{{e}}" u-s="{{['d']}}" u-i="73041eb0-1,73041eb0-0" bind:__l="__l" u-p="{{e}}"><view class="avatarUrl"><button wx:if="{{a}}" type="balanced" open-type="chooseAvatar" bindchooseavatar="{{c}}"><image mode="aspectFill" src="{{b}}" class="refreshIcon"></image></button><image wx:else mode="aspectFill" src="{{d}}" class="refreshIcon"></image></view></uni-forms-item><uni-forms-item wx:if="{{h}}" u-s="{{['d']}}" u-i="73041eb0-2,73041eb0-0" bind:__l="__l" u-p="{{h}}"><uni-easyinput wx:if="{{g}}" u-i="73041eb0-3,73041eb0-2" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"/></uni-forms-item><uni-forms-item wx:if="{{k}}" u-s="{{['d']}}" u-i="73041eb0-4,73041eb0-0" bind:__l="__l" u-p="{{k}}"><uni-data-checkbox wx:if="{{j}}" u-i="73041eb0-5,73041eb0-4" bind:__l="__l" bindupdateModelValue="{{i}}" u-p="{{j}}"/></uni-forms-item><uni-forms-item wx:if="{{n}}" u-s="{{['d']}}" u-i="73041eb0-6,73041eb0-0" bind:__l="__l" u-p="{{n}}"><uni-data-select wx:if="{{m}}" u-i="73041eb0-7,73041eb0-6" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"></uni-data-select></uni-forms-item><uni-forms-item wx:if="{{r}}" u-s="{{['d']}}" u-i="73041eb0-8,73041eb0-0" bind:__l="__l" u-p="{{r}}"><uni-easyinput wx:if="{{q}}" bindblur="{{o}}" u-i="73041eb0-9,73041eb0-8" bind:__l="__l" bindupdateModelValue="{{p}}" u-p="{{q}}"/></uni-forms-item><uni-forms-item wx:if="{{v}}" u-s="{{['d']}}" u-i="73041eb0-10,73041eb0-0" bind:__l="__l" u-p="{{v}}"><uni-datetime-picker wx:if="{{t}}" u-i="73041eb0-11,73041eb0-10" bind:__l="__l" bindupdateModelValue="{{s}}" u-p="{{t}}"/></uni-forms-item><uni-forms-item wx:if="{{y}}" u-s="{{['d']}}" u-i="73041eb0-12,73041eb0-0" bind:__l="__l" u-p="{{y}}"><uni-easyinput wx:if="{{x}}" u-i="73041eb0-13,73041eb0-12" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"/></uni-forms-item><uni-forms-item wx:if="{{B}}" u-s="{{['d']}}" u-i="73041eb0-14,73041eb0-0" bind:__l="__l" u-p="{{B}}"><uni-data-select wx:if="{{A}}" u-i="73041eb0-15,73041eb0-14" bind:__l="__l" bindupdateModelValue="{{z}}" u-p="{{A}}"></uni-data-select></uni-forms-item></uni-forms></view><view wx:if="{{E}}" class="wBox" style="margin:30rpx auto 200px"><uni-forms wx:if="{{H}}" class="r" u-s="{{['d']}}" u-r="supplementForm" u-i="73041eb0-16" bind:__l="__l" u-p="{{H}}"><uni-forms-item wx:for="{{F}}" wx:for-item="s" wx:key="C" u-s="{{['d']}}" u-i="{{s.D}}" bind:__l="__l" u-p="{{s.E}}"><uni-easyinput wx:if="{{s.a}}" u-i="{{s.b}}" bind:__l="__l" bindupdateModelValue="{{s.c}}" u-p="{{s.d}}"/><uni-easyinput wx:if="{{s.e}}" u-i="{{s.f}}" bind:__l="__l" bindupdateModelValue="{{s.g}}" u-p="{{s.h}}"/><uni-data-select wx:if="{{s.i}}" u-i="{{s.j}}" bind:__l="__l" bindupdateModelValue="{{s.k}}" u-p="{{s.l}}"></uni-data-select><view bindtap="{{s.B}}"><uni-file-picker wx:if="{{s.m}}" bindselect="{{s.n}}" bindprogress="{{s.o}}" binddelete="{{s.p}}" u-i="{{s.q}}" bind:__l="__l" bindupdateModelValue="{{s.r}}" u-p="{{s.s}}"/><text wx:if="{{s.t}}" style="font-size:24rpx;color:#999">仅支持上传doc,docx,pdf,txt</text><uni-file-picker wx:if="{{s.v}}" bindselect="{{s.w}}" binddelete="{{s.x}}" u-i="{{s.y}}" bind:__l="__l" bindupdateModelValue="{{s.z}}" u-p="{{s.A}}"/></view></uni-forms-item></uni-forms></view></view><view wx:if="{{I}}" class="fixedBottom"><button class="btn btn1" bindtap="{{J}}" type="default">完成</button></view><view wx:else class="fixedBottom"><button class="btn btnKx" type="default" bindtap="{{K}}">上一步</button><button class="btn btn1" bindtap="{{L}}" type="default">下一步</button></view></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .wBox { | ||
| 27 | background: #ffffff; | ||
| 28 | width: 700rpx; | ||
| 29 | margin: 30rpx auto 0; | ||
| 30 | border-radius: 15px; | ||
| 31 | padding: 30rpx 30rpx 0; | ||
| 32 | box-sizing: border-box; | ||
| 33 | } | ||
| 34 | .avatarUrl { | ||
| 35 | width: 200rpx; | ||
| 36 | height: 200rpx; | ||
| 37 | } | ||
| 38 | .avatarUrl button { | ||
| 39 | padding: 0; | ||
| 40 | display: block; | ||
| 41 | line-height: 1; | ||
| 42 | } | ||
| 43 | .refreshIcon { | ||
| 44 | width: 200rpx; | ||
| 45 | height: 200rpx; | ||
| 46 | } | ||
| 47 | .ttt { | ||
| 48 | color: #2B3133; | ||
| 49 | font-size: 30rpx; | ||
| 50 | margin: 0 0 10rpx; | ||
| 51 | } | ||
| 52 | .ttt text { | ||
| 53 | font-size: 24rpx; | ||
| 54 | color: #DC0032; | ||
| 55 | margin-left: 10rpx; | ||
| 56 | } | ||
| 57 | .idImgUrl { | ||
| 58 | width: 500rpx; | ||
| 59 | height: 300rpx; | ||
| 60 | margin: 20rpx auto 40rpx; | ||
| 61 | } | ||
| 62 | .idImgUrl button { | ||
| 63 | padding: 0; | ||
| 64 | display: block; | ||
| 65 | line-height: 1; | ||
| 66 | } | ||
| 67 | .idImgUrl .idImg { | ||
| 68 | width: 500rpx; | ||
| 69 | height: 300rpx; | ||
| 70 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
| 1 | { | ||
| 2 | "navigationStyle": "default", | ||
| 3 | "navigationBarBackgroundColor": "#F7F8FA", | ||
| 4 | "navigationBarTextStyle": "black", | ||
| 5 | "navigationBarTitleText": "赛事详情", | ||
| 6 | "enablePullDownRefresh": false, | ||
| 7 | "usingComponents": { | ||
| 8 | "uni-segmented-control": "../uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control", | ||
| 9 | "uni-icons": "../uni_modules/uni-icons/components/uni-icons/uni-icons", | ||
| 10 | "uni-card": "../uni_modules/uni-card/components/uni-card/uni-card", | ||
| 11 | "uni-list-item": "../uni_modules/uni-list/components/uni-list-item/uni-list-item", | ||
| 12 | "uni-list": "../uni_modules/uni-list/components/uni-list/uni-list", | ||
| 13 | "uni-section": "../uni_modules/uni-section/components/uni-section/uni-section", | ||
| 14 | "uni-collapse-item": "../uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item", | ||
| 15 | "uni-collapse": "../uni_modules/uni-collapse/components/uni-collapse/uni-collapse", | ||
| 16 | "uni-popup": "../uni_modules/uni-popup/components/uni-popup/uni-popup" | ||
| 17 | } | ||
| 18 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .topInfo.data-v-fe3f6bc2 { | ||
| 27 | background: #fff; | ||
| 28 | position: relative; | ||
| 29 | padding: 25rpx; | ||
| 30 | } | ||
| 31 | .topInfo > image.data-v-fe3f6bc2 { | ||
| 32 | filter: brightness(0.6); | ||
| 33 | width: 700rpx; | ||
| 34 | height: 394rpx; | ||
| 35 | background: #fff; | ||
| 36 | border-radius: 15rpx; | ||
| 37 | display: block; | ||
| 38 | margin: 0 auto 30rpx; | ||
| 39 | } | ||
| 40 | .topInfo .typeTag.data-v-fe3f6bc2 { | ||
| 41 | position: absolute; | ||
| 42 | top: 25rpx; | ||
| 43 | left: 25rpx; | ||
| 44 | color: #FFFFFF; | ||
| 45 | background: #FF8124; | ||
| 46 | font-size: 24rpx; | ||
| 47 | color: #FFFFFF; | ||
| 48 | border-radius: 15rpx 0rpx 15rpx 0rpx; | ||
| 49 | padding: 6rpx 14rpx; | ||
| 50 | } | ||
| 51 | .name.data-v-fe3f6bc2 { | ||
| 52 | font-size: 32rpx; | ||
| 53 | color: #000000; | ||
| 54 | margin: 36rpx 0 18rpx; | ||
| 55 | } | ||
| 56 | .statusBox .status.data-v-fe3f6bc2 { | ||
| 57 | border-radius: 16rpx 16rpx 16rpx 0rpx; | ||
| 58 | font-size: 20rpx; | ||
| 59 | color: #FFFFFF; | ||
| 60 | padding: 4rpx 15rpx; | ||
| 61 | margin: 0 15rpx 0; | ||
| 62 | } | ||
| 63 | .statusBox .status01.data-v-fe3f6bc2 { | ||
| 64 | background: linear-gradient(270deg, #fea449, #ffb95f); | ||
| 65 | } | ||
| 66 | .statusBox .status02.data-v-fe3f6bc2 { | ||
| 67 | background: linear-gradient(270deg, #54E1B9, #00CAA6); | ||
| 68 | } | ||
| 69 | .statusBox .status03.data-v-fe3f6bc2 { | ||
| 70 | background: linear-gradient(270deg, #be8efb, #a76df4); | ||
| 71 | } | ||
| 72 | .statusBox .status04.data-v-fe3f6bc2 { | ||
| 73 | background: linear-gradient(270deg, #D9D9D9, #BCBCBC); | ||
| 74 | } | ||
| 75 | .statusBox .time.data-v-fe3f6bc2 { | ||
| 76 | color: #7B7F83; | ||
| 77 | font-size: 26rpx; | ||
| 78 | } | ||
| 79 | .team.data-v-fe3f6bc2 { | ||
| 80 | width: 700rpx; | ||
| 81 | background: #FFFFFF; | ||
| 82 | border-radius: 15rpx; | ||
| 83 | height: 130rpx; | ||
| 84 | margin: 20px auto 0; | ||
| 85 | display: flex; | ||
| 86 | align-items: center; | ||
| 87 | } | ||
| 88 | .nowteamItem.data-v-fe3f6bc2 { | ||
| 89 | width: 700rpx; | ||
| 90 | background: #FFFFFF; | ||
| 91 | border-radius: 15rpx; | ||
| 92 | height: 130rpx; | ||
| 93 | padding: 0 15px; | ||
| 94 | box-sizing: border-box; | ||
| 95 | margin: 20px auto 0; | ||
| 96 | display: flex; | ||
| 97 | align-items: center; | ||
| 98 | } | ||
| 99 | .nowteamItem image.data-v-fe3f6bc2 { | ||
| 100 | width: 100rpx; | ||
| 101 | height: 100rpx; | ||
| 102 | margin: 10rpx 30rpx; | ||
| 103 | } | ||
| 104 | .nowteamItem .rr.data-v-fe3f6bc2 { | ||
| 105 | text-align: right; | ||
| 106 | flex: 1; | ||
| 107 | font-size: 28rpx; | ||
| 108 | } | ||
| 109 | .nowteamItem .rr text.data-v-fe3f6bc2 { | ||
| 110 | color: #1ab394; | ||
| 111 | } | ||
| 112 | .nowteamItem .info .name.data-v-fe3f6bc2 { | ||
| 113 | color: #000000; | ||
| 114 | font-size: 30rpx; | ||
| 115 | width: 40vw; | ||
| 116 | overflow: hidden; | ||
| 117 | white-space: nowrap; | ||
| 118 | text-overflow: ellipsis; | ||
| 119 | display: block; | ||
| 120 | margin: 0; | ||
| 121 | } | ||
| 122 | .nowteamItem .info view.data-v-fe3f6bc2 { | ||
| 123 | font-size: 28rpx; | ||
| 124 | color: #1ab394; | ||
| 125 | margin: 10rpx 0 0; | ||
| 126 | } | ||
| 127 | .team image.data-v-fe3f6bc2 { | ||
| 128 | width: 100rpx; | ||
| 129 | height: 100rpx; | ||
| 130 | margin: 10rpx 30rpx; | ||
| 131 | border-radius: 50%; | ||
| 132 | } | ||
| 133 | .team .name.data-v-fe3f6bc2 { | ||
| 134 | color: #000000; | ||
| 135 | font-size: 30rpx; | ||
| 136 | margin: 0; | ||
| 137 | } | ||
| 138 | .schedule.data-v-fe3f6bc2 { | ||
| 139 | width: 700rpx; | ||
| 140 | background: #fff; | ||
| 141 | padding: 25rpx; | ||
| 142 | border-radius: 15rpx; | ||
| 143 | margin: 30rpx 20rpx 0; | ||
| 144 | box-sizing: border-box; | ||
| 145 | } | ||
| 146 | .schedule .time.data-v-fe3f6bc2 { | ||
| 147 | font-size: 28rpx; | ||
| 148 | color: #1EC886; | ||
| 149 | } | ||
| 150 | .schedule .time image.data-v-fe3f6bc2 { | ||
| 151 | width: 28rpx; | ||
| 152 | height: 28rpx; | ||
| 153 | } | ||
| 154 | .schedule .title.data-v-fe3f6bc2 { | ||
| 155 | color: #2B3133; | ||
| 156 | font-size: 30rpx; | ||
| 157 | margin: 8rpx 0; | ||
| 158 | } | ||
| 159 | .schedule .place.data-v-fe3f6bc2 { | ||
| 160 | font-size: 28rpx; | ||
| 161 | color: #7B7F83; | ||
| 162 | } | ||
| 163 | .pd20.data-v-fe3f6bc2 { | ||
| 164 | padding: 20px; | ||
| 165 | } | ||
| 166 | .chooseGroup.data-v-fe3f6bc2 { | ||
| 167 | padding: 40rpx; | ||
| 168 | } | ||
| 169 | .chooseGroup .t.data-v-fe3f6bc2 { | ||
| 170 | text-align: center; | ||
| 171 | margin: 0 0 30rpx; | ||
| 172 | font-size: 34rpx; | ||
| 173 | color: #999; | ||
| 174 | } | ||
| 175 | .chooseGroup .list view.data-v-fe3f6bc2 { | ||
| 176 | margin: 20rpx 0 0; | ||
| 177 | color: #1EC886; | ||
| 178 | text-align: center; | ||
| 179 | border: 1px solid #1EC886; | ||
| 180 | border-radius: 41rpx; | ||
| 181 | padding: 16rpx 30rpx; | ||
| 182 | } | ||
| 183 | .data-v-fe3f6bc2 .uni-list-item__container { | ||
| 184 | padding-left: 0 !important; | ||
| 185 | } | ||
| 186 | .data-v-fe3f6bc2 .uni-icon-wrapper { | ||
| 187 | padding-left: 0 !important; | ||
| 188 | } | ||
| 189 | .data-v-fe3f6bc2 .uni-collapse-item { | ||
| 190 | margin: 0 !important; | ||
| 191 | border-bottom: 1px solid #e1e1e1; | ||
| 192 | border-radius: 0; | ||
| 193 | } | ||
| 194 | .levelTitle text.data-v-fe3f6bc2 { | ||
| 195 | float: right; | ||
| 196 | font-size: 28rpx; | ||
| 197 | color: #999; | ||
| 198 | } | ||
| 199 | .levelItem.data-v-fe3f6bc2 { | ||
| 200 | background: #eee; | ||
| 201 | padding: 10rpx 20rpx; | ||
| 202 | margin: 20rpx 20rpx 0 0; | ||
| 203 | display: inline-block; | ||
| 204 | border-radius: 6rpx; | ||
| 205 | } | ||
| 206 | .vh50.data-v-fe3f6bc2 { | ||
| 207 | height: 50vh; | ||
| 208 | overflow: auto; | ||
| 209 | } | ||
| 210 | .vh80.data-v-fe3f6bc2 { | ||
| 211 | height: 80vh; | ||
| 212 | overflow: auto; | ||
| 213 | } | ||
| 214 | .mt-30.data-v-fe3f6bc2 { | ||
| 215 | margin-top: 30rpx; | ||
| 216 | } | ||
| 217 | .data-v-fe3f6bc2 .uni-section .uni-section-header { | ||
| 218 | padding: 12px 0 0 !important; | ||
| 219 | } | ||
| 220 | .richContent.data-v-fe3f6bc2 { | ||
| 221 | line-height: 1.6; | ||
| 222 | overflow: auto; | ||
| 223 | } | ||
| 224 | .richContent img.data-v-fe3f6bc2 { | ||
| 225 | max-width: 100%; | ||
| 226 | } | ||
| 227 | .fixedBottom button.data-v-fe3f6bc2 { | ||
| 228 | margin: auto; | ||
| 229 | } | ||
| 230 | .poMaskBox.data-v-fe3f6bc2 { | ||
| 231 | width: 100%; | ||
| 232 | height: 394rpx; | ||
| 233 | position: absolute; | ||
| 234 | top: 25rpx; | ||
| 235 | left: 0; | ||
| 236 | color: #fff; | ||
| 237 | display: table; | ||
| 238 | } | ||
| 239 | .poMaskBox .poMask.data-v-fe3f6bc2 { | ||
| 240 | text-align: center; | ||
| 241 | display: table-cell; | ||
| 242 | vertical-align: middle; | ||
| 243 | } | ||
| 244 | .poMaskBox .name.data-v-fe3f6bc2 { | ||
| 245 | font-size: 32rpx; | ||
| 246 | color: #fff; | ||
| 247 | margin: 10rpx; | ||
| 248 | } | ||
| 249 | .poMaskBox .logo.data-v-fe3f6bc2 { | ||
| 250 | width: 50px; | ||
| 251 | height: 50px; | ||
| 252 | border-radius: 50%; | ||
| 253 | background-color: #FFF; | ||
| 254 | } | ||
| 255 | .poMaskBox .p.data-v-fe3f6bc2 { | ||
| 256 | font-size: 24rpx; | ||
| 257 | } | ||
| 258 | .primary.data-v-fe3f6bc2 { | ||
| 259 | color: #54E1B9; | ||
| 260 | } | ||
| 261 | .underLine.data-v-fe3f6bc2 { | ||
| 262 | text-decoration: underline; | ||
| 263 | color: #54E1B9; | ||
| 264 | } | ||
| 265 | .flexss.data-v-fe3f6bc2 { | ||
| 266 | display: flex; | ||
| 267 | } | ||
| 268 | .popYanZhengBox.data-v-fe3f6bc2 { | ||
| 269 | text-align: center; | ||
| 270 | } | ||
| 271 | .popYanZhengBox .popup-content.data-v-fe3f6bc2 { | ||
| 272 | width: 550rpx; | ||
| 273 | height: 450rpx; | ||
| 274 | box-sizing: border-box; | ||
| 275 | background: #FFFFFF; | ||
| 276 | border-radius: 15rpx; | ||
| 277 | } | ||
| 278 | .popYanZhengBox .t.data-v-fe3f6bc2 { | ||
| 279 | font-weight: 500; | ||
| 280 | font-size: 34rpx; | ||
| 281 | color: #7B7F83; | ||
| 282 | } | ||
| 283 | .popYanZhengBox .p.data-v-fe3f6bc2 { | ||
| 284 | line-height: 1.8; | ||
| 285 | font-size: 30rpx; | ||
| 286 | color: #1A1A1A; | ||
| 287 | margin-top: 50rpx; | ||
| 288 | } | ||
| 289 | .popYanZhengBox button.data-v-fe3f6bc2 { | ||
| 290 | width: 268rpx; | ||
| 291 | height: 80rpx; | ||
| 292 | color: #FFFFFF; | ||
| 293 | font-size: 32rpx; | ||
| 294 | border: none; | ||
| 295 | background: linear-gradient(270deg, #54E1B9, #00CAA6); | ||
| 296 | border-radius: 40rpx; | ||
| 297 | margin-top: 60rpx; | ||
| 298 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
| 1 | { | ||
| 2 | "navigationStyle": "default", | ||
| 3 | "navigationBarBackgroundColor": "#F7F8FA", | ||
| 4 | "navigationBarTextStyle": "black", | ||
| 5 | "navigationBarTitleText": "联赛详情", | ||
| 6 | "enablePullDownRefresh": false, | ||
| 7 | "usingComponents": { | ||
| 8 | "uni-segmented-control": "../uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control", | ||
| 9 | "uni-icons": "../uni_modules/uni-icons/components/uni-icons/uni-icons", | ||
| 10 | "uni-card": "../uni_modules/uni-card/components/uni-card/uni-card" | ||
| 11 | } | ||
| 12 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <view class="fixedbody data-v-abb039d1"><view class="topInfo data-v-abb039d1"><image class="data-v-abb039d1" src="{{a}}" mode="aspectFill"></image><view class="poMaskBox data-v-abb039d1"><view class="poMask data-v-abb039d1"><image class="logo data-v-abb039d1" src="{{b}}"></image><view class="name data-v-abb039d1">{{c}}</view><view class="p data-v-abb039d1">比赛日期:{{d}}至{{e}}</view></view></view><text wx:if="{{f}}" class="typeTag data-v-abb039d1">联赛</text><view class="statusBox data-v-abb039d1"><text wx:if="{{g}}" class="status status01 data-v-abb039d1">即将开始</text><text wx:if="{{h}}" class="status status02 data-v-abb039d1">报名中</text><text wx:if="{{i}}" class="status status03 data-v-abb039d1">进行中</text><text wx:if="{{j}}" class="status status04 data-v-abb039d1">已结束</text><text wx:if="{{k}}" class="status status04 data-v-abb039d1">报名未开始</text></view><view wx:if="{{l}}" class="statusBox data-v-abb039d1" bindtap="{{n}}"><text class="time data-v-abb039d1">联系电话: {{m}}</text></view></view><view class="uni-padding-wrap uni-common-mt data-v-abb039d1"><uni-segmented-control wx:if="{{p}}" class="data-v-abb039d1" bindclickItem="{{o}}" u-i="abb039d1-0" bind:__l="__l" u-p="{{p}}"/></view><view class="content data-v-abb039d1"><view wx:if="{{q}}" class="data-v-abb039d1"><uni-card wx:if="{{F}}" class="data-v-abb039d1" u-s="{{['d']}}" u-i="abb039d1-1" bind:__l="__l" u-p="{{F}}"><view class="data-v-abb039d1"><view class="data-v-abb039d1"><rich-text class="data-v-abb039d1" nodes="{{r}}"/></view></view><view wx:if="{{s}}" class="underLine data-v-abb039d1" bindtap="{{w}}"><uni-icons wx:if="{{t}}" class="data-v-abb039d1" u-i="abb039d1-2,abb039d1-1" bind:__l="__l" u-p="{{t}}"></uni-icons> {{v}}</view><view wx:if="{{x}}" class="underLine data-v-abb039d1" bindtap="{{A}}"><uni-icons wx:if="{{y}}" class="data-v-abb039d1" u-i="abb039d1-3,abb039d1-1" bind:__l="__l" u-p="{{y}}"></uni-icons> {{z}}</view><view wx:if="{{B}}" class="underLine data-v-abb039d1" bindtap="{{E}}"><uni-icons wx:if="{{C}}" class="data-v-abb039d1" u-i="abb039d1-4,abb039d1-1" bind:__l="__l" u-p="{{C}}"></uni-icons> {{D}}</view></uni-card><uni-card wx:if="{{S}}" class="data-v-abb039d1" u-s="{{['d']}}" u-i="abb039d1-5" bind:__l="__l" u-p="{{S}}"><view wx:if="{{G}}" class="flexss data-v-abb039d1"><text class="data-v-abb039d1">主办单位: </text><view class="data-v-abb039d1"><view wx:for="{{H}}" wx:for-item="s" wx:key="b" class="data-v-abb039d1">{{s.a}}</view></view></view><view wx:if="{{I}}" class="flexss data-v-abb039d1"><text class="data-v-abb039d1">承办单位: </text><view class="data-v-abb039d1"><view wx:for="{{J}}" wx:for-item="s" wx:key="b" class="data-v-abb039d1">{{s.a}}</view></view></view><view wx:if="{{K}}" class="flexss data-v-abb039d1"><text class="data-v-abb039d1">支持单位: </text><view class="data-v-abb039d1"><view wx:for="{{L}}" wx:for-item="s" wx:key="b" class="data-v-abb039d1">{{s.a}}</view></view></view><view wx:if="{{M}}" class="flexss data-v-abb039d1"><text class="data-v-abb039d1">协办单位: </text><view class="data-v-abb039d1"><view wx:for="{{N}}" wx:for-item="s" wx:key="b" class="data-v-abb039d1">{{s.a}}</view></view></view><view wx:if="{{O}}" class="flexss data-v-abb039d1"><text class="data-v-abb039d1">运营单位: </text><view class="data-v-abb039d1"><view wx:for="{{P}}" wx:for-item="s" wx:key="b" class="data-v-abb039d1">{{s.a}}</view></view></view><view wx:if="{{Q}}" class="data-v-abb039d1"><text class="data-v-abb039d1">组委会电话: </text>{{R}}</view></uni-card><view wx:for="{{T}}" wx:for-item="item" wx:key="l" class="matchItem data-v-abb039d1" bindtap="{{item.j}}" hidden="{{!item.k}}"><view class="leftImg data-v-abb039d1"><image class="data-v-abb039d1" mode="aspectFit" src="{{item.a}}"></image></view><view class="rightWen data-v-abb039d1"><view class="name data-v-abb039d1">{{item.b}}</view><text wx:if="{{item.c}}" class="status s01 data-v-abb039d1">即将开始</text><text wx:if="{{item.d}}" class="status s02 data-v-abb039d1">报名中</text><text wx:if="{{item.e}}" class="status s03 data-v-abb039d1">进行中</text><text wx:if="{{item.f}}" class="status s04 data-v-abb039d1">已结束</text><text wx:if="{{item.g}}" class="status s04 data-v-abb039d1">报名未开始</text><view wx:if="{{item.h}}" class="time data-v-abb039d1">报名截止:{{item.i}}</view></view></view></view><view wx:if="{{U}}" class="data-v-abb039d1"><view wx:for="{{V}}" wx:for-item="item" wx:key="k" class="matchItem data-v-abb039d1" bindtap="{{item.j}}"><view class="leftImg data-v-abb039d1"><image class="data-v-abb039d1" mode="aspectFit" src="{{item.a}}"></image></view><view class="rightWen data-v-abb039d1"><view class="name data-v-abb039d1">{{item.b}}</view><text wx:if="{{item.c}}" class="status s01 data-v-abb039d1">即将开始</text><text wx:if="{{item.d}}" class="status s02 data-v-abb039d1">报名中</text><text wx:if="{{item.e}}" class="status s03 data-v-abb039d1">进行中</text><text wx:if="{{item.f}}" class="status s04 data-v-abb039d1">已结束</text><text wx:if="{{item.g}}" class="status s04 data-v-abb039d1">报名未开始</text><view wx:if="{{item.h}}" class="time data-v-abb039d1">报名截止:{{item.i}}</view></view></view><view wx:if="{{W}}" class="nodata data-v-abb039d1"><image class="data-v-abb039d1" mode="aspectFit" src="/static/nodata.png"></image><text class="data-v-abb039d1">没有下属的独立赛</text></view></view><view wx:if="{{X}}" class="data-v-abb039d1"><view wx:for="{{Y}}" wx:for-item="s" wx:key="h" class="schedule data-v-abb039d1"><view class="time data-v-abb039d1"><uni-icons wx:if="{{Z}}" class="data-v-abb039d1" u-i="{{s.a}}" bind:__l="__l" u-p="{{Z}}"></uni-icons> {{s.b}} ~ {{s.c}}</view><view class="data-v-abb039d1">{{s.d}}</view><view class="title data-v-abb039d1" style="width:670rpx;overflow:auto"><rich-text class="data-v-abb039d1" nodes="{{s.e}}"/></view><view class="place data-v-abb039d1"><uni-icons wx:if="{{aa}}" class="data-v-abb039d1" u-i="{{s.f}}" bind:__l="__l" u-p="{{aa}}"></uni-icons> {{s.g}}</view></view><view wx:if="{{ab}}" class="nodata data-v-abb039d1"><image class="data-v-abb039d1" mode="aspectFit" src="/static/nodata.png"></image><text class="data-v-abb039d1">还没有日程</text></view></view><view wx:if="{{ac}}" class="data-v-abb039d1"><uni-card class="data-v-abb039d1" u-s="{{['d']}}" u-i="abb039d1-8" bind:__l="__l"><view class="richContent data-v-abb039d1"><rich-text class="data-v-abb039d1" nodes="{{ad}}"/></view><view wx:if="{{ae}}" class="underLine data-v-abb039d1" bindtap="{{ah}}"><uni-icons wx:if="{{af}}" class="data-v-abb039d1" u-i="abb039d1-9,abb039d1-8" bind:__l="__l" u-p="{{af}}"></uni-icons> {{ag}}</view></uni-card></view><view wx:if="{{ai}}" class="data-v-abb039d1"><uni-card class="data-v-abb039d1" u-s="{{['d']}}" u-i="abb039d1-10" bind:__l="__l"><view class="richContent data-v-abb039d1"><rich-text class="data-v-abb039d1" nodes="{{aj}}"/></view><view wx:if="{{ak}}" class="underLine data-v-abb039d1" bindtap="{{an}}"><uni-icons wx:if="{{al}}" class="data-v-abb039d1" u-i="abb039d1-11,abb039d1-10" bind:__l="__l" u-p="{{al}}"></uni-icons> {{am}}</view></uni-card></view></view></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .topInfo.data-v-abb039d1 { | ||
| 27 | background: #fff; | ||
| 28 | position: relative; | ||
| 29 | padding: 25rpx; | ||
| 30 | } | ||
| 31 | .topInfo > image.data-v-abb039d1 { | ||
| 32 | width: 700rpx; | ||
| 33 | height: 394rpx; | ||
| 34 | background: #fff; | ||
| 35 | border-radius: 15rpx; | ||
| 36 | display: block; | ||
| 37 | margin: auto; | ||
| 38 | filter: brightness(0.6); | ||
| 39 | } | ||
| 40 | .topInfo .typeTag.data-v-abb039d1 { | ||
| 41 | position: absolute; | ||
| 42 | top: 25rpx; | ||
| 43 | left: 25rpx; | ||
| 44 | color: #FFFFFF; | ||
| 45 | background: #FF8124; | ||
| 46 | font-size: 24rpx; | ||
| 47 | color: #FFFFFF; | ||
| 48 | border-radius: 15rpx 0rpx 15rpx 0rpx; | ||
| 49 | padding: 6rpx 14rpx; | ||
| 50 | } | ||
| 51 | .name.data-v-abb039d1 { | ||
| 52 | font-size: 32rpx; | ||
| 53 | color: #000000; | ||
| 54 | margin: 36rpx 0 18rpx; | ||
| 55 | } | ||
| 56 | .statusBox .status.data-v-abb039d1 { | ||
| 57 | border-radius: 16rpx 16rpx 16rpx 0rpx; | ||
| 58 | font-size: 20rpx; | ||
| 59 | color: #FFFFFF; | ||
| 60 | padding: 4rpx 15rpx; | ||
| 61 | margin: 0 15rpx 0 0; | ||
| 62 | } | ||
| 63 | .statusBox .status01.data-v-abb039d1 { | ||
| 64 | background: linear-gradient(270deg, #fea449, #ffb95f); | ||
| 65 | } | ||
| 66 | .statusBox .status02.data-v-abb039d1 { | ||
| 67 | background: linear-gradient(270deg, #54E1B9, #00CAA6); | ||
| 68 | } | ||
| 69 | .statusBox .status03.data-v-abb039d1 { | ||
| 70 | background: linear-gradient(270deg, #be8efb, #a76df4); | ||
| 71 | } | ||
| 72 | .statusBox .status04.data-v-abb039d1 { | ||
| 73 | background: linear-gradient(270deg, #D9D9D9, #BCBCBC); | ||
| 74 | } | ||
| 75 | .statusBox .time.data-v-abb039d1 { | ||
| 76 | color: #7B7F83; | ||
| 77 | font-size: 26rpx; | ||
| 78 | } | ||
| 79 | .team.data-v-abb039d1 { | ||
| 80 | width: 700rpx; | ||
| 81 | background: #FFFFFF; | ||
| 82 | border-radius: 15rpx; | ||
| 83 | height: 130rpx; | ||
| 84 | margin: 20px auto 0; | ||
| 85 | display: flex; | ||
| 86 | align-items: center; | ||
| 87 | } | ||
| 88 | .team image.data-v-abb039d1 { | ||
| 89 | width: 100rpx; | ||
| 90 | height: 100rpx; | ||
| 91 | margin: 10rpx 30rpx; | ||
| 92 | border-radius: 50%; | ||
| 93 | } | ||
| 94 | .team .name.data-v-abb039d1 { | ||
| 95 | color: #000000; | ||
| 96 | font-size: 30rpx; | ||
| 97 | margin: 0; | ||
| 98 | } | ||
| 99 | .schedule.data-v-abb039d1 { | ||
| 100 | width: 700rpx; | ||
| 101 | background: #fff; | ||
| 102 | padding: 25rpx; | ||
| 103 | border-radius: 15rpx; | ||
| 104 | margin: 30rpx 20rpx 0; | ||
| 105 | box-sizing: border-box; | ||
| 106 | } | ||
| 107 | .schedule .time.data-v-abb039d1 { | ||
| 108 | font-size: 28rpx; | ||
| 109 | color: #1EC886; | ||
| 110 | margin: 0 0 10rpx; | ||
| 111 | } | ||
| 112 | .schedule .time image.data-v-abb039d1 { | ||
| 113 | width: 28rpx; | ||
| 114 | height: 28rpx; | ||
| 115 | } | ||
| 116 | .schedule .title.data-v-abb039d1 { | ||
| 117 | color: #2B3133; | ||
| 118 | font-size: 30rpx; | ||
| 119 | } | ||
| 120 | .schedule img.data-v-abb039d1 { | ||
| 121 | max-width: 100%; | ||
| 122 | } | ||
| 123 | .schedule .place.data-v-abb039d1 { | ||
| 124 | font-size: 28rpx; | ||
| 125 | color: #7B7F83; | ||
| 126 | } | ||
| 127 | .pd20.data-v-abb039d1 { | ||
| 128 | padding: 20px; | ||
| 129 | } | ||
| 130 | .chooseGroup.data-v-abb039d1 { | ||
| 131 | padding: 40rpx; | ||
| 132 | } | ||
| 133 | .chooseGroup .t.data-v-abb039d1 { | ||
| 134 | text-align: center; | ||
| 135 | margin: 0 0 30rpx; | ||
| 136 | font-size: 34rpx; | ||
| 137 | color: #999; | ||
| 138 | } | ||
| 139 | .chooseGroup .list view.data-v-abb039d1 { | ||
| 140 | margin: 20rpx 0 0; | ||
| 141 | color: #1EC886; | ||
| 142 | text-align: center; | ||
| 143 | border: 1px solid #1EC886; | ||
| 144 | border-radius: 41rpx; | ||
| 145 | padding: 16rpx 30rpx; | ||
| 146 | } | ||
| 147 | .data-v-abb039d1 .uni-list-item__container { | ||
| 148 | padding-left: 0 !important; | ||
| 149 | } | ||
| 150 | .data-v-abb039d1 .uni-icon-wrapper { | ||
| 151 | padding-left: 0 !important; | ||
| 152 | } | ||
| 153 | .data-v-abb039d1 .uni-collapse-item { | ||
| 154 | margin: 0 !important; | ||
| 155 | border-bottom: 1px solid #e1e1e1; | ||
| 156 | border-radius: 0; | ||
| 157 | } | ||
| 158 | .levelTitle text.data-v-abb039d1 { | ||
| 159 | float: right; | ||
| 160 | font-size: 28rpx; | ||
| 161 | color: #999; | ||
| 162 | } | ||
| 163 | .levelItem.data-v-abb039d1 { | ||
| 164 | background: #eee; | ||
| 165 | padding: 10rpx 20rpx; | ||
| 166 | margin: 20rpx 20rpx 0 0; | ||
| 167 | display: inline-block; | ||
| 168 | border-radius: 6rpx; | ||
| 169 | } | ||
| 170 | .vh50.data-v-abb039d1 { | ||
| 171 | height: 50vh; | ||
| 172 | overflow: auto; | ||
| 173 | } | ||
| 174 | .mt-30.data-v-abb039d1 { | ||
| 175 | margin-top: 30rpx; | ||
| 176 | } | ||
| 177 | .data-v-abb039d1 .uni-section .uni-section-header { | ||
| 178 | padding: 12px 0 0 !important; | ||
| 179 | } | ||
| 180 | .richContent.data-v-abb039d1 { | ||
| 181 | line-height: 1.6; | ||
| 182 | overflow: auto; | ||
| 183 | } | ||
| 184 | .richContent img.data-v-abb039d1 { | ||
| 185 | max-width: 100%; | ||
| 186 | } | ||
| 187 | .fixedBottom button.data-v-abb039d1 { | ||
| 188 | margin: auto; | ||
| 189 | } | ||
| 190 | .matchItem.data-v-abb039d1 { | ||
| 191 | background: #fff; | ||
| 192 | } | ||
| 193 | .poMaskBox.data-v-abb039d1 { | ||
| 194 | width: 100%; | ||
| 195 | height: 394rpx; | ||
| 196 | position: absolute; | ||
| 197 | top: 0; | ||
| 198 | left: 0; | ||
| 199 | color: #fff; | ||
| 200 | display: table; | ||
| 201 | } | ||
| 202 | .poMaskBox .poMask.data-v-abb039d1 { | ||
| 203 | text-align: center; | ||
| 204 | display: table-cell; | ||
| 205 | vertical-align: middle; | ||
| 206 | } | ||
| 207 | .poMaskBox .name.data-v-abb039d1 { | ||
| 208 | font-size: 32rpx; | ||
| 209 | color: #fff; | ||
| 210 | margin: 10rpx; | ||
| 211 | } | ||
| 212 | .poMaskBox .logo.data-v-abb039d1 { | ||
| 213 | width: 50px; | ||
| 214 | height: 50px; | ||
| 215 | border-radius: 50%; | ||
| 216 | background-color: #FFF; | ||
| 217 | } | ||
| 218 | .poMaskBox .p.data-v-abb039d1 { | ||
| 219 | font-size: 24rpx; | ||
| 220 | } | ||
| 221 | .flexss.data-v-abb039d1 { | ||
| 222 | display: flex; | ||
| 223 | } | ||
| 224 | .uni-padding-wrap.data-v-abb039d1 { | ||
| 225 | padding: 0; | ||
| 226 | } | ||
| 227 | .underLine.data-v-abb039d1 { | ||
| 228 | text-decoration: underline; | ||
| 229 | color: #54E1B9; | ||
| 230 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
| 1 | { | ||
| 2 | "navigationBarTitleText": "配置运动员", | ||
| 3 | "navigationBarBackgroundColor": "#F7F8FA", | ||
| 4 | "navigationBarTextStyle": "black", | ||
| 5 | "backgroundColor": "#ffffff", | ||
| 6 | "usingComponents": { | ||
| 7 | "uni-icons": "../uni_modules/uni-icons/components/uni-icons/uni-icons", | ||
| 8 | "uni-list-item": "../uni_modules/uni-list/components/uni-list-item/uni-list-item", | ||
| 9 | "uni-list": "../uni_modules/uni-list/components/uni-list/uni-list", | ||
| 10 | "uni-popup": "../uni_modules/uni-popup/components/uni-popup/uni-popup" | ||
| 11 | } | ||
| 12 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <view class="data-v-250dc7f4" style="padding:25rpx 25rpx 190rpx"><view class="addBtn data-v-250dc7f4"><view class="data-v-250dc7f4" bindtap="{{a}}">+新建运动员</view>| <view class="data-v-250dc7f4" bindtap="{{b}}">+选择运动员</view></view><view class="block data-v-250dc7f4"><view class="t data-v-250dc7f4">运动员列表(当前队伍:{{c}})</view><view wx:for="{{d}}" wx:for-item="s" wx:key="m" class="mb30 data-v-250dc7f4"><uni-list wx:if="{{i}}" class="data-v-250dc7f4" u-s="{{['d']}}" u-i="{{s.l}}" bind:__l="__l" u-p="{{i}}"><uni-list-item wx:if="{{s.j}}" class="data-v-250dc7f4" u-s="{{['body']}}" u-i="{{s.i}}" bind:__l="__l" u-p="{{s.j}}"><view class="flexSoltbody data-v-250dc7f4" slot="body"><view class="data-v-250dc7f4"><view class="data-v-250dc7f4">{{s.a}} <text wx:if="{{s.b}}" class="data-v-250dc7f4">(女)</text><text wx:else class="data-v-250dc7f4">(男)</text></view></view><view wx:if="{{e}}" class="red data-v-250dc7f4"><uni-icons wx:if="{{s.c}}" class="data-v-250dc7f4" u-i="{{s.d}}" bind:__l="__l" u-p="{{s.e}}"></uni-icons><text wx:if="{{s.f}}" class="data-v-250dc7f4" bindtap="{{s.g}}"> 完善补充信息 </text><text wx:else class="data-v-250dc7f4" bindtap="{{s.h}}" style="font-size:28rpx;color:#1ec886">修改</text></view></view></uni-list-item><uni-list-item wx:for="{{s.k}}" wx:for-item="p" wx:key="j" class="data-v-250dc7f4" u-s="{{['body']}}" u-i="{{p.k}}" bind:__l="__l" u-p="{{h}}"><view class="flexSoltbody data-v-250dc7f4" slot="body"><view class="p data-v-250dc7f4">{{p.a}} {{p.b}}{{p.c}}{{p.d}} <text class="data-v-250dc7f4" style="color:#999">{{p.e}}</text></view><view class="list-item-btn data-v-250dc7f4"><uni-icons wx:if="{{f}}" class="editBtn data-v-250dc7f4" bindclick="{{p.f}}" u-i="{{p.g}}" bind:__l="__l" u-p="{{f}}"></uni-icons><uni-icons wx:if="{{g}}" class="delBtn data-v-250dc7f4" bindclick="{{p.h}}" u-i="{{p.i}}" bind:__l="__l" u-p="{{g}}"></uni-icons></view></view></uni-list-item></uni-list></view><view wx:if="{{j}}" class="nodata data-v-250dc7f4"><image class="data-v-250dc7f4" mode="aspectFit" src="/static/nodata.png"></image><text class="data-v-250dc7f4">点击选择运动员参加赛事</text></view></view><view class="fixedBottom data-v-250dc7f4"><button class="btn btn1 data-v-250dc7f4" bindtap="{{k}}" type="default">完成</button></view><uni-popup wx:if="{{o}}" class="r data-v-250dc7f4" u-s="{{['d']}}" u-r="popup" u-i="250dc7f4-6" bind:__l="__l" u-p="{{o}}"><view class="vh70 data-v-250dc7f4"><uni-list u-s="{{['d']}}" class="pb60 data-v-250dc7f4" u-i="250dc7f4-7,250dc7f4-6" bind:__l="__l"><uni-list-item wx:for="{{l}}" wx:for-item="a" wx:key="e" class="data-v-250dc7f4" u-s="{{['body']}}" bindclick="{{a.d}}" u-i="{{a.f}}" bind:__l="__l" u-p="{{a.g}}"><view class="flexSoltbody data-v-250dc7f4" slot="body"><view class="slot-box athleteslist-slot data-v-250dc7f4"><view class="slot-text data-v-250dc7f4">{{a.a}}</view><text wx:if="{{a.b}}" class="slot-text data-v-250dc7f4">女</text><text wx:else class="slot-text data-v-250dc7f4">男</text></view><view class="data-v-250dc7f4"><text wx:if="{{a.c}}" class="data-v-250dc7f4" style="font-size:24rpx;color:#d40000">上传照片</text><text wx:else class="data-v-250dc7f4" style="font-size:28rpx;color:#1ec886">选择</text></view></view></uni-list-item></uni-list><view wx:if="{{m}}" class="nodata data-v-250dc7f4"><image class="data-v-250dc7f4" mode="aspectFit" src="/static/nodata.png"></image><text class="data-v-250dc7f4">暂无可选运动员</text></view></view></uni-popup></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .red.data-v-250dc7f4 { | ||
| 27 | color: #ec3535; | ||
| 28 | } | ||
| 29 | .uni-popup .t.data-v-250dc7f4 { | ||
| 30 | text-align: center; | ||
| 31 | font-size: 30rpx; | ||
| 32 | padding: 30rpx 0; | ||
| 33 | } | ||
| 34 | .uni-popup .tj.data-v-250dc7f4 { | ||
| 35 | font-size: 30rpx; | ||
| 36 | padding: 30rpx 30rpx 0; | ||
| 37 | } | ||
| 38 | .tj button.data-v-250dc7f4 { | ||
| 39 | display: inline; | ||
| 40 | font-size: 24rpx; | ||
| 41 | border: none !important; | ||
| 42 | } | ||
| 43 | .addBtn.data-v-250dc7f4 { | ||
| 44 | width: 700rpx; | ||
| 45 | display: flex; | ||
| 46 | height: 90rpx; | ||
| 47 | line-height: 90rpx; | ||
| 48 | background: #ffffff; | ||
| 49 | color: #1ec886; | ||
| 50 | border: 1rpx solid #1ec886; | ||
| 51 | font-size: 30rpx; | ||
| 52 | border-radius: 15rpx; | ||
| 53 | } | ||
| 54 | .addBtn view.data-v-250dc7f4 { | ||
| 55 | color: #1ec886; | ||
| 56 | line-height: 90rpx; | ||
| 57 | width: 50%; | ||
| 58 | text-align: center; | ||
| 59 | } | ||
| 60 | .block .list.data-v-250dc7f4 { | ||
| 61 | background: #ffffff; | ||
| 62 | padding: 30rpx 0; | ||
| 63 | display: flex; | ||
| 64 | border-radius: 15px; | ||
| 65 | flex-wrap: wrap; | ||
| 66 | } | ||
| 67 | .block .list view.data-v-250dc7f4 { | ||
| 68 | position: relative; | ||
| 69 | text-align: center; | ||
| 70 | margin: 0 20rpx 20rpx 50rpx; | ||
| 71 | } | ||
| 72 | .block .list .photo.data-v-250dc7f4 { | ||
| 73 | width: 100rpx; | ||
| 74 | border-radius: 50%; | ||
| 75 | display: block; | ||
| 76 | height: 100rpx; | ||
| 77 | object-fit: cover; | ||
| 78 | background: #eee; | ||
| 79 | margin: 0 0 17rpx; | ||
| 80 | } | ||
| 81 | .block .list .name.data-v-250dc7f4 { | ||
| 82 | color: #000000; | ||
| 83 | text-align: center; | ||
| 84 | font-size: 30rpx; | ||
| 85 | } | ||
| 86 | .block .list > view uni-icons.data-v-250dc7f4 { | ||
| 87 | position: absolute; | ||
| 88 | right: -24rpx; | ||
| 89 | top: 0; | ||
| 90 | background: #fff; | ||
| 91 | border-radius: 50%; | ||
| 92 | } | ||
| 93 | .teamTab.data-v-250dc7f4 { | ||
| 94 | display: flex; | ||
| 95 | margin: 20rpx 0; | ||
| 96 | border-bottom: 1rpx solid #1ec886; | ||
| 97 | } | ||
| 98 | .teamTab view.data-v-250dc7f4 { | ||
| 99 | font-size: 32rpx; | ||
| 100 | padding: 16rpx 20rpx; | ||
| 101 | border-radius: 10rpx 10rpx 0 0; | ||
| 102 | } | ||
| 103 | .teamTab .active.data-v-250dc7f4 { | ||
| 104 | background: #1ec886; | ||
| 105 | position: relative; | ||
| 106 | color: #fff; | ||
| 107 | } | ||
| 108 | .mb40.data-v-250dc7f4 { | ||
| 109 | margin-bottom: 40rpx; | ||
| 110 | display: block; | ||
| 111 | } | ||
| 112 | .mb30.data-v-250dc7f4 { | ||
| 113 | margin-bottom: 30rpx; | ||
| 114 | } | ||
| 115 | .mb30.data-v-250dc7f4 .uni-collapse-item { | ||
| 116 | padding: 0; | ||
| 117 | margin: 0; | ||
| 118 | } | ||
| 119 | .pb60.data-v-250dc7f4 { | ||
| 120 | padding-bottom: 60rpx; | ||
| 121 | } | ||
| 122 | .rankBody .name.data-v-250dc7f4 { | ||
| 123 | margin: 0 0 14rpx; | ||
| 124 | } | ||
| 125 | .rankBody text.data-v-250dc7f4 { | ||
| 126 | color: #999; | ||
| 127 | font-size: 26rpx; | ||
| 128 | margin: 0 20rpx 0 0; | ||
| 129 | } | ||
| 130 | .content.data-v-250dc7f4 { | ||
| 131 | padding: 0 30rpx; | ||
| 132 | } | ||
| 133 | .data-v-250dc7f4 .uni-collapse-item { | ||
| 134 | margin: 0 !important; | ||
| 135 | border-bottom: 1px solid #e1e1e1; | ||
| 136 | border-radius: 0; | ||
| 137 | } | ||
| 138 | .data-v-250dc7f4 .uni-list-item__extra { | ||
| 139 | max-width: 60%; | ||
| 140 | } | ||
| 141 | .levelTitle.data-v-250dc7f4 { | ||
| 142 | display: flex; | ||
| 143 | justify-content: space-between; | ||
| 144 | } | ||
| 145 | .levelTitle text.data-v-250dc7f4 { | ||
| 146 | float: right; | ||
| 147 | font-size: 28rpx; | ||
| 148 | color: #999; | ||
| 149 | } | ||
| 150 | .levelTitle.data-v-250dc7f4 .uni-icons { | ||
| 151 | float: right; | ||
| 152 | } | ||
| 153 | .levelList.data-v-250dc7f4 { | ||
| 154 | padding: 20rpx 40rpx 40rpx; | ||
| 155 | background: #fff; | ||
| 156 | border-radius: 20rpx; | ||
| 157 | width: 80vw; | ||
| 158 | max-height: 70vh; | ||
| 159 | overflow: auto; | ||
| 160 | box-sizing: border-box; | ||
| 161 | } | ||
| 162 | .vh65.data-v-250dc7f4 { | ||
| 163 | height: 65vh; | ||
| 164 | overflow: auto; | ||
| 165 | } | ||
| 166 | .vh65.data-v-250dc7f4 .uni-list-item__container { | ||
| 167 | padding: 10px 0; | ||
| 168 | } | ||
| 169 | .vh65.data-v-250dc7f4 .uni-list-item__content-title { | ||
| 170 | font-size: 17px; | ||
| 171 | color: #888; | ||
| 172 | } | ||
| 173 | .data-v-250dc7f4 .uni-section .uni-section-header { | ||
| 174 | padding: 12px 0 0 !important; | ||
| 175 | } | ||
| 176 | .teammateBox.data-v-250dc7f4 { | ||
| 177 | background: #fff; | ||
| 178 | height: 70vh; | ||
| 179 | overflow: auto; | ||
| 180 | position: relative; | ||
| 181 | } | ||
| 182 | .teammateBox .btn1.data-v-250dc7f4 { | ||
| 183 | position: absolute; | ||
| 184 | bottom: 30px; | ||
| 185 | margin: auto; | ||
| 186 | left: 0; | ||
| 187 | right: 0; | ||
| 188 | } | ||
| 189 | .headimg.data-v-250dc7f4 { | ||
| 190 | width: 100rpx; | ||
| 191 | height: 100rpx; | ||
| 192 | border-radius: 50%; | ||
| 193 | margin: 0 40rpx; | ||
| 194 | } | ||
| 195 | .flexLabel.data-v-250dc7f4 { | ||
| 196 | align-items: center; | ||
| 197 | padding: 22rpx 30rpx; | ||
| 198 | display: flex; | ||
| 199 | justify-content: flex-start; | ||
| 200 | } | ||
| 201 | .mateinfo.data-v-250dc7f4 { | ||
| 202 | font-size: 30rpx; | ||
| 203 | } | ||
| 204 | .mateinfo text.data-v-250dc7f4 { | ||
| 205 | color: #4C5359; | ||
| 206 | } | ||
| 207 | .slot-button.data-v-250dc7f4 { | ||
| 208 | flex: 1; | ||
| 209 | display: flex; | ||
| 210 | flex-direction: row; | ||
| 211 | justify-content: center; | ||
| 212 | align-items: center; | ||
| 213 | text-align: center; | ||
| 214 | } | ||
| 215 | .slot-button-edit.data-v-250dc7f4 { | ||
| 216 | background-color: #1ec886; | ||
| 217 | padding: 20rpx 40rpx; | ||
| 218 | color: #ffffff; | ||
| 219 | } | ||
| 220 | .slot-button-del.data-v-250dc7f4 { | ||
| 221 | background-color: #ff5a5f; | ||
| 222 | padding: 20rpx 40rpx; | ||
| 223 | color: #ffffff; | ||
| 224 | } | ||
| 225 | .slot-button-text.data-v-250dc7f4 { | ||
| 226 | padding: 20rpx 40rpx; | ||
| 227 | color: #ffffff; | ||
| 228 | background-color: #ff5a5f; | ||
| 229 | font-size: 28rpx; | ||
| 230 | display: block; | ||
| 231 | } | ||
| 232 | .vh70.data-v-250dc7f4 { | ||
| 233 | height: 70vh; | ||
| 234 | overflow: auto; | ||
| 235 | } | ||
| 236 | .teamListArea.data-v-250dc7f4 { | ||
| 237 | height: 65%; | ||
| 238 | overflow: auto; | ||
| 239 | } | ||
| 240 | .athleteslist-slot.data-v-250dc7f4 { | ||
| 241 | color: #666; | ||
| 242 | font-size: 26rpx; | ||
| 243 | } | ||
| 244 | .flexSoltbody.data-v-250dc7f4 { | ||
| 245 | display: flex; | ||
| 246 | justify-content: space-between; | ||
| 247 | width: 100%; | ||
| 248 | align-items: center; | ||
| 249 | } | ||
| 250 | .flexSoltbody .label.data-v-250dc7f4 { | ||
| 251 | color: #999; | ||
| 252 | font-size: 28rpx; | ||
| 253 | } | ||
| 254 | .flexSoltbody .p.data-v-250dc7f4 { | ||
| 255 | font-size: 30rpx; | ||
| 256 | color: #000; | ||
| 257 | max-width: 60vw; | ||
| 258 | word-break: break-all; | ||
| 259 | } | ||
| 260 | .list-item-btn text.data-v-250dc7f4 { | ||
| 261 | font-size: 28rpx; | ||
| 262 | } | ||
| 263 | .list-item-btn .editBtn.data-v-250dc7f4 { | ||
| 264 | padding: 10rpx; | ||
| 265 | } | ||
| 266 | .list-item-btn .delBtn.data-v-250dc7f4 { | ||
| 267 | padding: 10rpx; | ||
| 268 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | "use strict"; | ||
| 2 | const common_request = require("../common/request.js"); | ||
| 3 | const config = require("../config.js"); | ||
| 4 | function getMyTrain() { | ||
| 5 | return common_request.request({ | ||
| 6 | url: `${config.config.trainUrl_api}/webPc/mySubjects`, | ||
| 7 | method: "get" | ||
| 8 | }); | ||
| 9 | } | ||
| 10 | function getMyOrder() { | ||
| 11 | return common_request.request({ | ||
| 12 | url: `${config.config.trainUrl_api}/webPc/myOrders`, | ||
| 13 | method: "get" | ||
| 14 | }); | ||
| 15 | } | ||
| 16 | function getSignInfo(params) { | ||
| 17 | return common_request.request({ | ||
| 18 | url: `${config.config.trainUrl_api}/webPc/details`, | ||
| 19 | method: "get", | ||
| 20 | params | ||
| 21 | }); | ||
| 22 | } | ||
| 23 | exports.getMyOrder = getMyOrder; | ||
| 24 | exports.getMyTrain = getMyTrain; | ||
| 25 | exports.getSignInfo = getSignInfo; |
| 1 | "use strict"; | ||
| 2 | const common_vendor = require("../common/vendor.js"); | ||
| 3 | const common_login = require("../common/login.js"); | ||
| 4 | require("../common/request.js"); | ||
| 5 | require("../config.js"); | ||
| 6 | require("../common/aes.js"); | ||
| 7 | if (!Array) { | ||
| 8 | const _easycom_uni_list_item2 = common_vendor.resolveComponent("uni-list-item"); | ||
| 9 | const _easycom_uni_list2 = common_vendor.resolveComponent("uni-list"); | ||
| 10 | (_easycom_uni_list_item2 + _easycom_uni_list2)(); | ||
| 11 | } | ||
| 12 | const _easycom_uni_list_item = () => "../uni_modules/uni-list/components/uni-list-item/uni-list-item.js"; | ||
| 13 | const _easycom_uni_list = () => "../uni_modules/uni-list/components/uni-list/uni-list.js"; | ||
| 14 | if (!Math) { | ||
| 15 | (_easycom_uni_list_item + _easycom_uni_list)(); | ||
| 16 | } | ||
| 17 | const _sfc_main = { | ||
| 18 | __name: "index", | ||
| 19 | setup(__props) { | ||
| 20 | const user = common_vendor.ref({}); | ||
| 21 | const app = getApp(); | ||
| 22 | common_vendor.onShow(() => { | ||
| 23 | if (app.globalData.isLogin) { | ||
| 24 | init(); | ||
| 25 | } else { | ||
| 26 | app.firstLoadCallback = () => { | ||
| 27 | init(); | ||
| 28 | }; | ||
| 29 | } | ||
| 30 | }); | ||
| 31 | function init() { | ||
| 32 | console.log(app.globalData.isLogin); | ||
| 33 | if (app.globalData.userInfo) { | ||
| 34 | const currUser = app.globalData.userInfo; | ||
| 35 | user.value = currUser; | ||
| 36 | } else { | ||
| 37 | common_login.getInfo().then((res) => { | ||
| 38 | const currUser = app.globalData.userInfo; | ||
| 39 | user.value = currUser; | ||
| 40 | }); | ||
| 41 | } | ||
| 42 | } | ||
| 43 | function goPath(path) { | ||
| 44 | if (path) | ||
| 45 | common_vendor.index.navigateTo({ | ||
| 46 | url: path | ||
| 47 | }); | ||
| 48 | } | ||
| 49 | return (_ctx, _cache) => { | ||
| 50 | return { | ||
| 51 | a: _ctx.avatarUrl, | ||
| 52 | b: common_vendor.t(user.value.nickName), | ||
| 53 | c: common_vendor.t(user.value.phonenumber), | ||
| 54 | d: common_vendor.o(($event) => goPath("/myCenter/mytrain/mytrain")), | ||
| 55 | e: common_vendor.p({ | ||
| 56 | border: false, | ||
| 57 | title: "我的培训", | ||
| 58 | showArrow: true, | ||
| 59 | clickable: true | ||
| 60 | }), | ||
| 61 | f: common_vendor.p({ | ||
| 62 | border: false | ||
| 63 | }) | ||
| 64 | }; | ||
| 65 | }; | ||
| 66 | } | ||
| 67 | }; | ||
| 68 | const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1cf55954"], ["__file", "/Users/yangyang/ztx_wx_minapp/myCenter/index.vue"]]); | ||
| 69 | wx.createPage(MiniProgramPage); |
| 1 | { | ||
| 2 | "navigationBarTitleText": "个人中心", | ||
| 3 | "enablePullDownRefresh": false, | ||
| 4 | "usingComponents": { | ||
| 5 | "uni-list-item": "../uni_modules/uni-list/components/uni-list-item/uni-list-item", | ||
| 6 | "uni-list": "../uni_modules/uni-list/components/uni-list/uni-list" | ||
| 7 | } | ||
| 8 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <view class="box data-v-1cf55954"><view class="topBg data-v-1cf55954"><view class="userInfoBox data-v-1cf55954"><view class="headImg data-v-1cf55954"><image class="data-v-1cf55954" mode="aspectFill" src="{{a}}"></image></view><view class="nameBox data-v-1cf55954">{{b}} <view class="data-v-1cf55954">{{c}}</view></view></view></view><view class="rMainBox data-v-1cf55954"><uni-list wx:if="{{f}}" u-s="{{['d']}}" class="myList data-v-1cf55954" u-i="1cf55954-0" bind:__l="__l" u-p="{{f}}"><uni-list-item wx:if="{{e}}" class="data-v-1cf55954" u-s="{{['header']}}" bindclick="{{d}}" u-i="1cf55954-1,1cf55954-0" bind:__l="__l" u-p="{{e}}"><view class="slot-box data-v-1cf55954" slot="header"><image class="slot-image data-v-1cf55954" mode="widthFix"></image></view></uni-list-item></uni-list></view></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .box.data-v-1cf55954 { | ||
| 27 | width: 100vw; | ||
| 28 | overflow: hidden; | ||
| 29 | } | ||
| 30 | .rMainBox.data-v-1cf55954 { | ||
| 31 | box-sizing: border-box; | ||
| 32 | padding: 20rpx 25rpx 0; | ||
| 33 | margin: 25rpx; | ||
| 34 | } | ||
| 35 | .userInfoBox.data-v-1cf55954 { | ||
| 36 | height: 200rpx; | ||
| 37 | } | ||
| 38 | .nameBox.data-v-1cf55954 { | ||
| 39 | position: absolute; | ||
| 40 | left: 180rpx; | ||
| 41 | top: 70rpx; | ||
| 42 | font-size: 30rpx; | ||
| 43 | } | ||
| 44 | .nameBox view.data-v-1cf55954 { | ||
| 45 | color: #7b7f83; | ||
| 46 | font-size: 26rpx; | ||
| 47 | margin-top: 10rpx; | ||
| 48 | } | ||
| 49 | .goback.data-v-1cf55954 { | ||
| 50 | position: absolute; | ||
| 51 | color: #fff; | ||
| 52 | top: 100rpx; | ||
| 53 | left: 35rpx; | ||
| 54 | } | ||
| 55 | .forAdmin.data-v-1cf55954 { | ||
| 56 | padding: 25rpx; | ||
| 57 | box-sizing: border-box; | ||
| 58 | } | ||
| 59 | .onlyCardBottom.data-v-1cf55954 { | ||
| 60 | position: relative; | ||
| 61 | width: 660rpx; | ||
| 62 | margin: auto; | ||
| 63 | height: 90rpx; | ||
| 64 | } | ||
| 65 | .onlyCardBottom .bbg.data-v-1cf55954 { | ||
| 66 | height: 90rpx; | ||
| 67 | width: 660rpx; | ||
| 68 | } | ||
| 69 | .onlyCardBottom .cardBottom.data-v-1cf55954 { | ||
| 70 | width: 660rpx; | ||
| 71 | background: transparent; | ||
| 72 | height: 90rpx; | ||
| 73 | } | ||
| 74 | .onlyCardBottom .cardBottom text.data-v-1cf55954 { | ||
| 75 | font-size: 28rpx; | ||
| 76 | color: #925921; | ||
| 77 | } | ||
| 78 | .onlyCardBottom .cardBottom .renewBtn.data-v-1cf55954 { | ||
| 79 | background: #874f02; | ||
| 80 | color: #fff; | ||
| 81 | } | ||
| 82 | .headImg.data-v-1cf55954 { | ||
| 83 | border-radius: 50%; | ||
| 84 | position: relative; | ||
| 85 | top: 50rpx; | ||
| 86 | overflow: hidden; | ||
| 87 | width: 100rpx; | ||
| 88 | height: 100rpx; | ||
| 89 | border: 4px solid #ffffff; | ||
| 90 | background: #c4f9cb; | ||
| 91 | left: 40rpx; | ||
| 92 | } | ||
| 93 | .headImg button.data-v-1cf55954 { | ||
| 94 | display: block; | ||
| 95 | padding: 0; | ||
| 96 | } | ||
| 97 | .headImg image.data-v-1cf55954 { | ||
| 98 | width: 100rpx; | ||
| 99 | height: 100rpx; | ||
| 100 | display: block; | ||
| 101 | } | ||
| 102 | .slot-image.data-v-1cf55954 { | ||
| 103 | width: 50rpx; | ||
| 104 | position: relative; | ||
| 105 | top: -8rpx; | ||
| 106 | height: 50rpx; | ||
| 107 | margin-right: 30rpx; | ||
| 108 | } | ||
| 109 | .funcBar.data-v-1cf55954 { | ||
| 110 | display: flex; | ||
| 111 | background: #fff; | ||
| 112 | width: 700rpx; | ||
| 113 | height: 140rpx; | ||
| 114 | justify-content: space-around; | ||
| 115 | } | ||
| 116 | .funcBar view.data-v-1cf55954 { | ||
| 117 | display: flex; | ||
| 118 | align-items: center; | ||
| 119 | font-size: 36rpx; | ||
| 120 | } | ||
| 121 | .funcBar image.data-v-1cf55954 { | ||
| 122 | width: 80rpx; | ||
| 123 | height: 80rpx; | ||
| 124 | } | ||
| 125 | .topbgimg.data-v-1cf55954 { | ||
| 126 | width: 100vw; | ||
| 127 | position: absolute; | ||
| 128 | z-index: -1; | ||
| 129 | } | ||
| 130 | .reportItembox.data-v-1cf55954 { | ||
| 131 | overflow: hidden; | ||
| 132 | display: flex; | ||
| 133 | flex-wrap: wrap; | ||
| 134 | justify-content: space-between; | ||
| 135 | } | ||
| 136 | .reportItem.data-v-1cf55954 { | ||
| 137 | background: #fff; | ||
| 138 | border-radius: 15rpx; | ||
| 139 | width: 340rpx; | ||
| 140 | margin-top: 25rpx; | ||
| 141 | } | ||
| 142 | .reportItem .t.data-v-1cf55954 { | ||
| 143 | border-bottom: 1px solid #e5e5e5; | ||
| 144 | height: 70rpx; | ||
| 145 | line-height: 70rpx; | ||
| 146 | color: #2b3133; | ||
| 147 | font-size: 30rpx; | ||
| 148 | padding-left: 36rpx; | ||
| 149 | } | ||
| 150 | .reportItem .rbody.data-v-1cf55954 { | ||
| 151 | display: flex; | ||
| 152 | padding: 36rpx; | ||
| 153 | box-sizing: border-box; | ||
| 154 | } | ||
| 155 | .reportItem .rbody view.data-v-1cf55954 { | ||
| 156 | font-size: 26rpx; | ||
| 157 | color: #888; | ||
| 158 | width: 40%; | ||
| 159 | } | ||
| 160 | .reportItem .rbody text.data-v-1cf55954 { | ||
| 161 | color: #00c176; | ||
| 162 | font-weight: bold; | ||
| 163 | font-size: 36rpx; | ||
| 164 | display: block; | ||
| 165 | margin-bottom: 20rpx; | ||
| 166 | } | ||
| 167 | .changephonepop.data-v-1cf55954 { | ||
| 168 | width: 100%; | ||
| 169 | } | ||
| 170 | .changephonepop view.data-v-1cf55954 { | ||
| 171 | width: 100%; | ||
| 172 | margin: 0 0 30rpx; | ||
| 173 | } | ||
| 174 | .changephonepop view input.data-v-1cf55954 { | ||
| 175 | width: 100%; | ||
| 176 | background: #f4f4f4; | ||
| 177 | font-size: 30rpx; | ||
| 178 | height: 80rpx; | ||
| 179 | padding: 0 15rpx; | ||
| 180 | box-sizing: border-box; | ||
| 181 | line-height: 80rpx; | ||
| 182 | } | ||
| 183 | .changephonepop view.ffff.data-v-1cf55954 { | ||
| 184 | display: flex; | ||
| 185 | } | ||
| 186 | .changephonepop view button.data-v-1cf55954 { | ||
| 187 | font-size: 24rpx; | ||
| 188 | margin-left: 10rpx; | ||
| 189 | white-space: nowrap; | ||
| 190 | width: 260rpx; | ||
| 191 | line-height: 80rpx; | ||
| 192 | background: linear-gradient(90deg, #00c176, #3ed89b); | ||
| 193 | color: #fff; | ||
| 194 | padding: 0; | ||
| 195 | border: none; | ||
| 196 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | "use strict"; | ||
| 2 | const common_vendor = require("../../common/vendor.js"); | ||
| 3 | if (!Array) { | ||
| 4 | const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons"); | ||
| 5 | _easycom_uni_icons2(); | ||
| 6 | } | ||
| 7 | const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js"; | ||
| 8 | if (!Math) { | ||
| 9 | _easycom_uni_icons(); | ||
| 10 | } | ||
| 11 | const _sfc_main = { | ||
| 12 | __name: "fold", | ||
| 13 | props: { | ||
| 14 | title: String, | ||
| 15 | text: String, | ||
| 16 | cost: String | ||
| 17 | }, | ||
| 18 | setup(__props) { | ||
| 19 | const porps = __props; | ||
| 20 | const show = common_vendor.ref(false); | ||
| 21 | function changFN() { | ||
| 22 | show.value = !show.value; | ||
| 23 | } | ||
| 24 | return (_ctx, _cache) => { | ||
| 25 | return common_vendor.e({ | ||
| 26 | a: common_vendor.t(porps.title), | ||
| 27 | b: show.value | ||
| 28 | }, show.value ? { | ||
| 29 | c: common_vendor.p({ | ||
| 30 | type: "top", | ||
| 31 | color: "#95a1a6" | ||
| 32 | }) | ||
| 33 | } : { | ||
| 34 | d: common_vendor.p({ | ||
| 35 | type: "bottom", | ||
| 36 | color: "#95a1a6" | ||
| 37 | }) | ||
| 38 | }, { | ||
| 39 | e: common_vendor.o(changFN), | ||
| 40 | f: common_vendor.t(porps.text), | ||
| 41 | g: common_vendor.t(porps.cost), | ||
| 42 | h: show.value | ||
| 43 | }); | ||
| 44 | }; | ||
| 45 | } | ||
| 46 | }; | ||
| 47 | const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-0bc09f39"], ["__file", "/Users/yangyang/ztx_wx_minapp/myCenter/mytrain/fold.vue"]]); | ||
| 48 | wx.createComponent(Component); |
| 1 | <view class="box data-v-0bc09f39"><view class="box1 data-v-0bc09f39"><view class="title data-v-0bc09f39"><view class="title-left data-v-0bc09f39">{{a}}</view><view class="title-icon data-v-0bc09f39" bindtap="{{e}}"><uni-icons wx:if="{{b}}" class="data-v-0bc09f39" u-i="0bc09f39-0" bind:__l="__l" u-p="{{c}}"></uni-icons><uni-icons wx:else class="data-v-0bc09f39" u-i="0bc09f39-1" bind:__l="__l" u-p="{{d||''}}"></uni-icons></view></view><view class="conter-liner-cost data-v-0bc09f39"><view class="liner-left data-v-0bc09f39">{{f}} 合计:</view><view class="liner-right data-v-0bc09f39">{{g}}元</view></view></view><view class="box2 data-v-0bc09f39" hidden="{{!h}}"><slot></slot></view></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .box.data-v-0bc09f39 { | ||
| 27 | margin: 0; | ||
| 28 | padding: 0 25rpx; | ||
| 29 | } | ||
| 30 | .box .box1.data-v-0bc09f39 { | ||
| 31 | margin-bottom: 20rpx; | ||
| 32 | margin-top: 20rpx; | ||
| 33 | } | ||
| 34 | .box .box1 .title.data-v-0bc09f39 { | ||
| 35 | display: flex; | ||
| 36 | justify-content: space-between; | ||
| 37 | margin-bottom: 10rpx; | ||
| 38 | } | ||
| 39 | .box .box1 .title .title-left.data-v-0bc09f39 { | ||
| 40 | font-size: 30rpx; | ||
| 41 | font-family: PingFang SC; | ||
| 42 | font-weight: 500; | ||
| 43 | color: #2b3133; | ||
| 44 | } | ||
| 45 | .box .box1 .conter-liner-cost.data-v-0bc09f39 { | ||
| 46 | display: flex; | ||
| 47 | } | ||
| 48 | .box .box1 .conter-liner-cost .liner-left.data-v-0bc09f39 { | ||
| 49 | font-size: 28rpx; | ||
| 50 | font-family: PingFang SC; | ||
| 51 | font-weight: 400; | ||
| 52 | color: #7b7f83; | ||
| 53 | } | ||
| 54 | .box .box1 .conter-liner-cost .liner-right.data-v-0bc09f39 { | ||
| 55 | font-size: 28rpx; | ||
| 56 | font-family: PingFang SC; | ||
| 57 | font-weight: 400; | ||
| 58 | color: #ff8124; | ||
| 59 | } | ||
| 60 | .box .box2.data-v-0bc09f39 { | ||
| 61 | border-top: 1rpx dashed #e6e6e6; | ||
| 62 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | "use strict"; | ||
| 2 | const common_vendor = require("../../common/vendor.js"); | ||
| 3 | const myCenter_center_api = require("../center_api.js"); | ||
| 4 | require("../../common/request.js"); | ||
| 5 | require("../../common/login.js"); | ||
| 6 | require("../../config.js"); | ||
| 7 | require("../../common/aes.js"); | ||
| 8 | if (!Array) { | ||
| 9 | const _easycom_uni_segmented_control2 = common_vendor.resolveComponent("uni-segmented-control"); | ||
| 10 | const _easycom_uni_tag2 = common_vendor.resolveComponent("uni-tag"); | ||
| 11 | const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup"); | ||
| 12 | (_easycom_uni_segmented_control2 + _easycom_uni_tag2 + _easycom_uni_popup2)(); | ||
| 13 | } | ||
| 14 | const _easycom_uni_segmented_control = () => "../../uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control.js"; | ||
| 15 | const _easycom_uni_tag = () => "../../uni_modules/uni-tag/components/uni-tag/uni-tag.js"; | ||
| 16 | const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"; | ||
| 17 | if (!Math) { | ||
| 18 | (_easycom_uni_segmented_control + _easycom_uni_tag + _easycom_uni_popup)(); | ||
| 19 | } | ||
| 20 | const _sfc_main = { | ||
| 21 | __name: "myBill", | ||
| 22 | setup(__props) { | ||
| 23 | const app = getApp(); | ||
| 24 | const items = common_vendor.ref([ | ||
| 25 | "培训", | ||
| 26 | "订单" | ||
| 27 | ]); | ||
| 28 | const current = common_vendor.ref(1); | ||
| 29 | const bankShow = common_vendor.ref(null); | ||
| 30 | const bankInfo = common_vendor.ref({}); | ||
| 31 | const list = common_vendor.ref([]); | ||
| 32 | common_vendor.onShow(() => { | ||
| 33 | if (app.globalData.isLogin) { | ||
| 34 | init(); | ||
| 35 | } else { | ||
| 36 | app.firstLoadCallback = () => { | ||
| 37 | init(); | ||
| 38 | }; | ||
| 39 | } | ||
| 40 | }); | ||
| 41 | function init() { | ||
| 42 | myCenter_center_api.getMyOrder().then((res) => { | ||
| 43 | list.value = res.rows; | ||
| 44 | }); | ||
| 45 | } | ||
| 46 | function onClickItem(e) { | ||
| 47 | console.log(e); | ||
| 48 | if (e.currentIndex == 0) { | ||
| 49 | common_vendor.index.navigateTo({ | ||
| 50 | url: `/myCenter/mytrain/mytrain` | ||
| 51 | }); | ||
| 52 | } | ||
| 53 | } | ||
| 54 | function goTrainDetail(id) { | ||
| 55 | common_vendor.index.navigateTo({ | ||
| 56 | url: `/myCenter/mytrain/orderDetail?id=${id}` | ||
| 57 | }); | ||
| 58 | } | ||
| 59 | function showFeeInfo(item) { | ||
| 60 | bankInfo.value = JSON.parse(item.receivingInfo); | ||
| 61 | bankShow.value.open(); | ||
| 62 | } | ||
| 63 | function copyPlat() { | ||
| 64 | let str = `单位名称:${bankInfo.value.name};开户行:${bankInfo.value.bank};账户:${bankInfo.value.account};`; | ||
| 65 | common_vendor.index.setClipboardData({ | ||
| 66 | data: str, | ||
| 67 | success: function() { | ||
| 68 | common_vendor.index.showToast({ | ||
| 69 | title: "已复制", | ||
| 70 | icon: "none" | ||
| 71 | }); | ||
| 72 | } | ||
| 73 | }); | ||
| 74 | } | ||
| 75 | return (_ctx, _cache) => { | ||
| 76 | return common_vendor.e({ | ||
| 77 | a: common_vendor.o(onClickItem), | ||
| 78 | b: common_vendor.p({ | ||
| 79 | current: current.value, | ||
| 80 | styleType: "text", | ||
| 81 | values: items.value, | ||
| 82 | activeColor: "#AD181F" | ||
| 83 | }), | ||
| 84 | c: common_vendor.f(list.value, (n, k0, i0) => { | ||
| 85 | var _a; | ||
| 86 | return { | ||
| 87 | a: common_vendor.t(n.name), | ||
| 88 | b: common_vendor.f((_a = n.projectsStr) == null ? void 0 : _a.split(","), (p, k1, i1) => { | ||
| 89 | return { | ||
| 90 | a: p, | ||
| 91 | b: "d125aa21-1-" + i0 + "-" + i1, | ||
| 92 | c: common_vendor.p({ | ||
| 93 | type: "warning", | ||
| 94 | inverted: true, | ||
| 95 | size: "small", | ||
| 96 | text: p | ||
| 97 | }) | ||
| 98 | }; | ||
| 99 | }), | ||
| 100 | c: common_vendor.t(n.signTimeRange), | ||
| 101 | d: common_vendor.t(n.trainTimeRange), | ||
| 102 | e: common_vendor.t(n.address), | ||
| 103 | f: common_vendor.o(($event) => showFeeInfo(n), n.id), | ||
| 104 | g: common_vendor.o(($event) => goTrainDetail(n.id), n.id), | ||
| 105 | h: n.id | ||
| 106 | }; | ||
| 107 | }), | ||
| 108 | d: list.value.length == 0 | ||
| 109 | }, list.value.length == 0 ? {} : {}, { | ||
| 110 | e: common_vendor.t(bankInfo.value.name), | ||
| 111 | f: common_vendor.t(bankInfo.value.bank), | ||
| 112 | g: common_vendor.t(bankInfo.value.account), | ||
| 113 | h: common_vendor.o(copyPlat), | ||
| 114 | i: common_vendor.o((...args) => _ctx.sure && _ctx.sure(...args)), | ||
| 115 | j: common_vendor.sr(bankShow, "d125aa21-2", { | ||
| 116 | "k": "bankShow" | ||
| 117 | }), | ||
| 118 | k: common_vendor.p({ | ||
| 119 | type: "bottom", | ||
| 120 | ["background-color"]: "#fff" | ||
| 121 | }) | ||
| 122 | }); | ||
| 123 | }; | ||
| 124 | } | ||
| 125 | }; | ||
| 126 | const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-d125aa21"], ["__file", "/Users/yangyang/ztx_wx_minapp/myCenter/mytrain/myBill.vue"]]); | ||
| 127 | wx.createPage(MiniProgramPage); |
| 1 | { | ||
| 2 | "navigationBarTitleText": "培训订单", | ||
| 3 | "enablePullDownRefresh": false, | ||
| 4 | "usingComponents": { | ||
| 5 | "uni-segmented-control": "../../uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control", | ||
| 6 | "uni-tag": "../../uni_modules/uni-tag/components/uni-tag/uni-tag", | ||
| 7 | "uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup" | ||
| 8 | } | ||
| 9 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <uni-segmented-control wx:if="{{b}}" class="data-v-d125aa21" bindclickItem="{{a}}" u-i="d125aa21-0" bind:__l="__l" u-p="{{b}}"></uni-segmented-control><view class="data-v-d125aa21"><view wx:for="{{c}}" wx:for-item="n" wx:key="h" class="tItem data-v-d125aa21"><view class="data-v-d125aa21">{{n.a}}</view><view class="tagbox data-v-d125aa21"><uni-tag wx:for="{{n.b}}" wx:for-item="p" wx:key="a" class="data-v-d125aa21" u-i="{{p.b}}" bind:__l="__l" u-p="{{p.c}}"></uni-tag></view><view class="pp esp data-v-d125aa21">报名时间:{{n.c}}</view><view class="pp esp data-v-d125aa21">培训时间:{{n.d}}</view><view class="pp esp data-v-d125aa21">培训地点:{{n.e}}</view><view class="func data-v-d125aa21"><button class="data-v-d125aa21" bindtap="{{n.f}}">去缴费</button><button class="data-v-d125aa21" bindtap="{{n.g}}">报名信息</button></view></view><view wx:if="{{d}}" class="nodata data-v-d125aa21"><image class="data-v-d125aa21" mode="aspectFit" src="/static/nodata.png"></image><text class="data-v-d125aa21">暂无数据</text></view></view><uni-popup wx:if="{{k}}" class="r data-v-d125aa21" u-s="{{['d']}}" u-r="bankShow" u-i="d125aa21-2" bind:__l="__l" u-p="{{k}}"><view class="popupBody data-v-d125aa21"><view class="title data-v-d125aa21">线下支付</view><view class="data-v-d125aa21" bindtap="{{h}}"><view class="flexRow data-v-d125aa21"><label class="data-v-d125aa21">单位名称</label><view class="data-v-d125aa21">{{e}}</view></view><view class="flexRow data-v-d125aa21"><label class="data-v-d125aa21">开户行</label><view class="data-v-d125aa21">{{f}}</view></view><view class="flexRow data-v-d125aa21"><label class="data-v-d125aa21">账户</label><view class="data-v-d125aa21">{{g}}</view></view></view><button class="btn btn-red-kx data-v-d125aa21" bindtap="{{i}}">确定</button></view></uni-popup> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .tItem.data-v-d125aa21 { | ||
| 27 | background: #fff; | ||
| 28 | border-radius: 10rpx; | ||
| 29 | padding: 20rpx; | ||
| 30 | width: 700rpx; | ||
| 31 | box-sizing: border-box; | ||
| 32 | box-shadow: 0rpx 12rpx 116rpx 0rpx rgba(196, 203, 214, 0.1); | ||
| 33 | margin: 30rpx auto 0; | ||
| 34 | } | ||
| 35 | .tItem .pp.data-v-d125aa21 { | ||
| 36 | font-size: 26rpx; | ||
| 37 | color: #929AA0; | ||
| 38 | margin-bottom: 10rpx; | ||
| 39 | } | ||
| 40 | .tagbox.data-v-d125aa21 { | ||
| 41 | margin: 20rpx 0; | ||
| 42 | } | ||
| 43 | .tagbox.data-v-d125aa21 .uni-tag { | ||
| 44 | margin-right: 10rpx; | ||
| 45 | } | ||
| 46 | .func.data-v-d125aa21 { | ||
| 47 | display: flex; | ||
| 48 | justify-content: flex-end; | ||
| 49 | box-sizing: border-box; | ||
| 50 | border-top: 1px dashed #e5e5e5; | ||
| 51 | padding-top: 20rpx; | ||
| 52 | margin: 20rpx 0 0; | ||
| 53 | } | ||
| 54 | .func button.data-v-d125aa21 { | ||
| 55 | border: 1px solid #AD181F; | ||
| 56 | border-radius: 30rpx; | ||
| 57 | height: 60rpx; | ||
| 58 | line-height: 60rpx; | ||
| 59 | font-size: 30rpx; | ||
| 60 | color: #AD181F; | ||
| 61 | background: #fff; | ||
| 62 | margin: 0 0 0 30rpx; | ||
| 63 | padding: 0 40rpx; | ||
| 64 | box-sizing: border-box; | ||
| 65 | } | ||
| 66 | .func text.data-v-d125aa21 { | ||
| 67 | font-size: 30rpx; | ||
| 68 | padding: 30rpx 0 0; | ||
| 69 | } | ||
| 70 | .flexRow.data-v-d125aa21 { | ||
| 71 | margin: 20rpx 0 0; | ||
| 72 | align-items: center; | ||
| 73 | display: flex; | ||
| 74 | font-size: 28rpx; | ||
| 75 | } | ||
| 76 | .flexRow label.data-v-d125aa21 { | ||
| 77 | color: #999; | ||
| 78 | width: 5em; | ||
| 79 | flex: 0 0 auto; | ||
| 80 | } | ||
| 81 | .flexRow view.data-v-d125aa21 { | ||
| 82 | margin-left: 20rpx; | ||
| 83 | } | ||
| 84 | .popupBody.data-v-d125aa21 { | ||
| 85 | background-color: #fff; | ||
| 86 | padding: 30rpx; | ||
| 87 | } | ||
| 88 | .popupBody .title.data-v-d125aa21 { | ||
| 89 | text-align: center; | ||
| 90 | font-size: 32rpx; | ||
| 91 | margin: 0 0 30rpx; | ||
| 92 | } | ||
| 93 | .popupBody button.data-v-d125aa21 { | ||
| 94 | margin: 30rpx 0 0; | ||
| 95 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | "use strict"; | ||
| 2 | const common_vendor = require("../../common/vendor.js"); | ||
| 3 | const myCenter_center_api = require("../center_api.js"); | ||
| 4 | require("../../common/request.js"); | ||
| 5 | require("../../common/login.js"); | ||
| 6 | require("../../config.js"); | ||
| 7 | require("../../common/aes.js"); | ||
| 8 | if (!Array) { | ||
| 9 | const _easycom_uni_segmented_control2 = common_vendor.resolveComponent("uni-segmented-control"); | ||
| 10 | _easycom_uni_segmented_control2(); | ||
| 11 | } | ||
| 12 | const _easycom_uni_segmented_control = () => "../../uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control.js"; | ||
| 13 | if (!Math) { | ||
| 14 | _easycom_uni_segmented_control(); | ||
| 15 | } | ||
| 16 | const _sfc_main = { | ||
| 17 | __name: "mytrain", | ||
| 18 | setup(__props) { | ||
| 19 | const app = getApp(); | ||
| 20 | const items = common_vendor.ref([ | ||
| 21 | "培训", | ||
| 22 | "订单" | ||
| 23 | ]); | ||
| 24 | const current = common_vendor.ref(0); | ||
| 25 | const list = common_vendor.ref([]); | ||
| 26 | common_vendor.onShow(() => { | ||
| 27 | if (app.globalData.isLogin) { | ||
| 28 | init(); | ||
| 29 | } else { | ||
| 30 | app.firstLoadCallback = () => { | ||
| 31 | init(); | ||
| 32 | }; | ||
| 33 | } | ||
| 34 | }); | ||
| 35 | function init() { | ||
| 36 | myCenter_center_api.getMyTrain().then((res) => { | ||
| 37 | list.value = res.rows; | ||
| 38 | }); | ||
| 39 | } | ||
| 40 | function onClickItem(e) { | ||
| 41 | console.log(e); | ||
| 42 | if (e.currentIndex == 1) { | ||
| 43 | common_vendor.index.navigateTo({ | ||
| 44 | url: `/myCenter/mytrain/myBill` | ||
| 45 | }); | ||
| 46 | } | ||
| 47 | } | ||
| 48 | return (_ctx, _cache) => { | ||
| 49 | return common_vendor.e({ | ||
| 50 | a: common_vendor.o(onClickItem), | ||
| 51 | b: common_vendor.p({ | ||
| 52 | current: current.value, | ||
| 53 | styleType: "text", | ||
| 54 | values: items.value, | ||
| 55 | activeColor: "#AD181F" | ||
| 56 | }), | ||
| 57 | c: list.value.length == 0 | ||
| 58 | }, list.value.length == 0 ? {} : {}); | ||
| 59 | }; | ||
| 60 | } | ||
| 61 | }; | ||
| 62 | const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/yangyang/ztx_wx_minapp/myCenter/mytrain/mytrain.vue"]]); | ||
| 63 | wx.createPage(MiniProgramPage); |
| 1 | <uni-segmented-control wx:if="{{b}}" bindclickItem="{{a}}" u-i="4dc25efa-0" bind:__l="__l" u-p="{{b}}"></uni-segmented-control><view><view wx:if="{{c}}" class="nodata"><image mode="aspectFit" src="/static/nodata.png"></image><text>暂无数据</text></view></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
File mode changed
| 1 | "use strict"; | ||
| 2 | const common_vendor = require("../../common/vendor.js"); | ||
| 3 | const myCenter_center_api = require("../center_api.js"); | ||
| 4 | require("../../common/request.js"); | ||
| 5 | require("../../common/login.js"); | ||
| 6 | require("../../config.js"); | ||
| 7 | require("../../common/aes.js"); | ||
| 8 | if (!Math) { | ||
| 9 | trainFold(); | ||
| 10 | } | ||
| 11 | const trainFold = () => "./fold.js"; | ||
| 12 | const _sfc_main = { | ||
| 13 | __name: "orderDetail", | ||
| 14 | setup(__props) { | ||
| 15 | const data = common_vendor.reactive({ | ||
| 16 | id: "", | ||
| 17 | signInfo: {} | ||
| 18 | }); | ||
| 19 | const { id, signInfo } = common_vendor.toRefs(data); | ||
| 20 | common_vendor.onLoad((option) => { | ||
| 21 | id.value = option.id; | ||
| 22 | initData(); | ||
| 23 | }); | ||
| 24 | function initData() { | ||
| 25 | myCenter_center_api.getSignInfo({ | ||
| 26 | activityId: id.value | ||
| 27 | }).then((res) => { | ||
| 28 | signInfo.value = res.data; | ||
| 29 | signInfo.value.receivingInfo = params.receivingInfo; | ||
| 30 | }); | ||
| 31 | } | ||
| 32 | return (_ctx, _cache) => { | ||
| 33 | return { | ||
| 34 | a: common_vendor.f(common_vendor.unref(signInfo).trainList, (item, k0, i0) => { | ||
| 35 | return { | ||
| 36 | a: common_vendor.t(item.name), | ||
| 37 | b: common_vendor.t(item.price), | ||
| 38 | c: item.id | ||
| 39 | }; | ||
| 40 | }), | ||
| 41 | b: common_vendor.p({ | ||
| 42 | title: "培训费", | ||
| 43 | cost: common_vendor.unref(signInfo).trainFee, | ||
| 44 | text: common_vendor.unref(signInfo).trainCount + "项" | ||
| 45 | }), | ||
| 46 | c: common_vendor.f(common_vendor.unref(signInfo).examList, (item, k0, i0) => { | ||
| 47 | return { | ||
| 48 | a: common_vendor.t(item.name), | ||
| 49 | b: common_vendor.t(item.price), | ||
| 50 | c: item.id | ||
| 51 | }; | ||
| 52 | }), | ||
| 53 | d: common_vendor.p({ | ||
| 54 | title: "考试费", | ||
| 55 | cost: common_vendor.unref(signInfo).examFee, | ||
| 56 | text: common_vendor.unref(signInfo).examCount + "项" | ||
| 57 | }), | ||
| 58 | e: common_vendor.t(common_vendor.unref(signInfo).totalFee) | ||
| 59 | }; | ||
| 60 | }; | ||
| 61 | } | ||
| 62 | }; | ||
| 63 | const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-e387c2e9"], ["__file", "/Users/yangyang/ztx_wx_minapp/myCenter/mytrain/orderDetail.vue"]]); | ||
| 64 | _sfc_main.__runtimeHooks = 6; | ||
| 65 | wx.createPage(MiniProgramPage); |
| 1 | <view class="box hasfixedbottom data-v-e387c2e9"><view class="box1 data-v-e387c2e9"><train-fold wx:if="{{b}}" class="data-v-e387c2e9" u-s="{{['d']}}" u-i="e387c2e9-0" bind:__l="__l" u-p="{{b}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="c" class="conter-liner data-v-e387c2e9"><view class="liner-left data-v-e387c2e9">{{item.a}}</view><view class="liner-right data-v-e387c2e9">{{item.b}}元</view></view></train-fold></view><view class="box1 data-v-e387c2e9"><train-fold wx:if="{{d}}" class="data-v-e387c2e9" u-s="{{['d']}}" u-i="e387c2e9-1" bind:__l="__l" u-p="{{d}}"><view wx:for="{{c}}" wx:for-item="item" wx:key="c" class="conter-liner data-v-e387c2e9"><view class="liner-left data-v-e387c2e9">{{item.a}}</view><view class="liner-right data-v-e387c2e9">{{item.b}}元</view></view></train-fold></view><view class="fixedBottom data-v-e387c2e9"><view class="big-right data-v-e387c2e9"> 合计: <text class="text-warning data-v-e387c2e9">{{e}}</text> 元 </view></view></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .fixedBottom.data-v-e387c2e9 { | ||
| 27 | justify-content: end; | ||
| 28 | padding: 30rpx; | ||
| 29 | align-items: baseline; | ||
| 30 | } | ||
| 31 | .fixedBottom .small-left.data-v-e387c2e9 { | ||
| 32 | font-size: 28rpx; | ||
| 33 | color: #999; | ||
| 34 | display: flex; | ||
| 35 | } | ||
| 36 | .fixedBottom .small-left view.data-v-e387c2e9 { | ||
| 37 | margin-right: 20rpx; | ||
| 38 | } | ||
| 39 | .fixedBottom .big-right.data-v-e387c2e9 { | ||
| 40 | text-align: right; | ||
| 41 | } | ||
| 42 | .box.data-v-e387c2e9 { | ||
| 43 | padding: 35rpx 25rpx; | ||
| 44 | padding-bottom: 100rpx; | ||
| 45 | } | ||
| 46 | .box .box1.data-v-e387c2e9 { | ||
| 47 | background-color: #fff; | ||
| 48 | margin-bottom: 40rpx; | ||
| 49 | padding: 10rpx; | ||
| 50 | border-radius: 15rpx; | ||
| 51 | } | ||
| 52 | .box .box1 .text.data-v-e387c2e9 { | ||
| 53 | font-size: 32rpx; | ||
| 54 | font-family: PingFang SC; | ||
| 55 | font-weight: 500; | ||
| 56 | color: #2b3133; | ||
| 57 | } | ||
| 58 | .box .box1 .conter-liner.data-v-e387c2e9 { | ||
| 59 | display: flex; | ||
| 60 | justify-content: space-between; | ||
| 61 | margin-top: 32rpx; | ||
| 62 | padding-bottom: 30rpx; | ||
| 63 | } | ||
| 64 | .box .box1 .conter-liner .liner-left.data-v-e387c2e9 { | ||
| 65 | font-size: 28rpx; | ||
| 66 | font-family: PingFang SC; | ||
| 67 | font-weight: 400; | ||
| 68 | color: #7b7f83; | ||
| 69 | } | ||
| 70 | .box .box1 .conter-liner .liner-right.data-v-e387c2e9 { | ||
| 71 | font-size: 28rpx; | ||
| 72 | font-family: PingFang SC; | ||
| 73 | font-weight: 400; | ||
| 74 | color: #ff8124; | ||
| 75 | } | ||
| 76 | .box .box2.data-v-e387c2e9 { | ||
| 77 | padding: 10rpx; | ||
| 78 | } | ||
| 79 | .box .box2 .text.data-v-e387c2e9 { | ||
| 80 | font-size: 32rpx; | ||
| 81 | font-family: PingFang SC; | ||
| 82 | font-weight: 500; | ||
| 83 | color: #2b3133; | ||
| 84 | margin-bottom: 40rpx; | ||
| 85 | } | ||
| 86 | .box .box2 .conter.data-v-e387c2e9 { | ||
| 87 | background-color: #fff; | ||
| 88 | border-radius: 15rpx; | ||
| 89 | padding: 25rpx 10rpx; | ||
| 90 | } | ||
| 91 | .box .box2 .radio.data-v-e387c2e9 { | ||
| 92 | display: flex; | ||
| 93 | justify-content: space-between; | ||
| 94 | margin-bottom: 30rpx; | ||
| 95 | } | ||
| 96 | .box .box2 .radio .radio-cost.data-v-e387c2e9 { | ||
| 97 | display: flex; | ||
| 98 | } | ||
| 99 | .box .box2 .radio .radio-cost .left.data-v-e387c2e9 { | ||
| 100 | width: 50rpx; | ||
| 101 | height: 50rpx; | ||
| 102 | } | ||
| 103 | .box .box2 .radio .radio-cost .left .image.data-v-e387c2e9 { | ||
| 104 | width: 50rpx; | ||
| 105 | height: 50rpx; | ||
| 106 | } | ||
| 107 | .box .box2 .radio .radio-cost .radio-right.data-v-e387c2e9 { | ||
| 108 | font-size: 28rpx; | ||
| 109 | font-family: PingFang SC; | ||
| 110 | font-weight: 400; | ||
| 111 | color: #000000; | ||
| 112 | margin-left: 10rpx; | ||
| 113 | } | ||
| 114 | .box .box2 .radio .radio-cost .vip.data-v-e387c2e9 { | ||
| 115 | font-size: 28rpx; | ||
| 116 | font-family: PingFang SC; | ||
| 117 | font-weight: 400; | ||
| 118 | color: #4c5359; | ||
| 119 | } | ||
| 120 | .box .box3.data-v-e387c2e9 { | ||
| 121 | display: flex; | ||
| 122 | justify-content: space-between; | ||
| 123 | border: 1rpx solid #dcdcdc; | ||
| 124 | bottom: 0; | ||
| 125 | left: 0; | ||
| 126 | width: 100%; | ||
| 127 | background-color: #fff; | ||
| 128 | } | ||
| 129 | .box .box3 .left.data-v-e387c2e9 { | ||
| 130 | display: flex; | ||
| 131 | line-height: 100rpx; | ||
| 132 | font-size: 24rpx; | ||
| 133 | font-family: PingFang SC; | ||
| 134 | font-weight: 400; | ||
| 135 | color: #7b7f83; | ||
| 136 | padding-left: 30rpx; | ||
| 137 | } | ||
| 138 | .box .box3 .left .cost.data-v-e387c2e9 { | ||
| 139 | font-size: 45rpx; | ||
| 140 | font-family: DIN Alternate; | ||
| 141 | font-weight: bold; | ||
| 142 | color: #ff8124; | ||
| 143 | padding-left: 10rpx; | ||
| 144 | } | ||
| 145 | .box .box3 .ToPay.data-v-e387c2e9 { | ||
| 146 | background: #ff8124; | ||
| 147 | border: 1px solid #dcdcdc; | ||
| 148 | color: #fff; | ||
| 149 | width: 214rpx; | ||
| 150 | height: 100rpx; | ||
| 151 | text-align: center; | ||
| 152 | line-height: 100rpx; | ||
| 153 | } | ||
| 154 | .dialog.data-v-e387c2e9 { | ||
| 155 | width: 95%; | ||
| 156 | background-color: #000; | ||
| 157 | border-radius: 30rpx; | ||
| 158 | padding: 50rpx 0; | ||
| 159 | margin: 0 auto; | ||
| 160 | opacity: 0.8; | ||
| 161 | position: absolute; | ||
| 162 | left: 50%; | ||
| 163 | top: 50%; | ||
| 164 | transform: translate(-50%, -50%); | ||
| 165 | } | ||
| 166 | .dialog .size.data-v-e387c2e9 { | ||
| 167 | color: #fff; | ||
| 168 | text-align: center; | ||
| 169 | } | ||
| 170 | .dialog .butotn.data-v-e387c2e9 { | ||
| 171 | margin: 0 auto; | ||
| 172 | margin-top: 63rpx; | ||
| 173 | width: 268rpx; | ||
| 174 | height: 80rpx; | ||
| 175 | background: linear-gradient(270deg, #54e1b9, #00caa6); | ||
| 176 | border-radius: 40rpx; | ||
| 177 | text-align: center; | ||
| 178 | line-height: 80rpx; | ||
| 179 | color: #fff; | ||
| 180 | font-size: 32rpx; | ||
| 181 | font-family: PingFang SC; | ||
| 182 | font-weight: 500; | ||
| 183 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | "use strict"; | ||
| 2 | const common_vendor = require("../../common/vendor.js"); | ||
| 3 | const config = require("../../config.js"); | ||
| 4 | const common_login = require("../../common/login.js"); | ||
| 5 | require("../../common/request.js"); | ||
| 6 | require("../../common/aes.js"); | ||
| 7 | if (!Array) { | ||
| 8 | const _easycom_uni_easyinput2 = common_vendor.resolveComponent("uni-easyinput"); | ||
| 9 | const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup"); | ||
| 10 | (_easycom_uni_easyinput2 + _easycom_uni_popup2)(); | ||
| 11 | } | ||
| 12 | const _easycom_uni_easyinput = () => "../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js"; | ||
| 13 | const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"; | ||
| 14 | if (!Math) { | ||
| 15 | (_easycom_uni_easyinput + _easycom_uni_popup)(); | ||
| 16 | } | ||
| 17 | const _sfc_main = { | ||
| 18 | __name: "binding", | ||
| 19 | setup(__props) { | ||
| 20 | const popup = common_vendor.ref(null); | ||
| 21 | common_vendor.ref(true); | ||
| 22 | common_vendor.ref(false); | ||
| 23 | const showAgree = common_vendor.ref(false); | ||
| 24 | const form = common_vendor.ref({}); | ||
| 25 | const codeUrl = common_vendor.ref(""); | ||
| 26 | const inputstyle = common_vendor.ref({ | ||
| 27 | borderColor: "transparent", | ||
| 28 | fontSize: "30rpx" | ||
| 29 | }); | ||
| 30 | const app = getApp(); | ||
| 31 | let path = "/pages/index/index"; | ||
| 32 | common_vendor.onLoad((option) => { | ||
| 33 | if (option.path) { | ||
| 34 | path = decodeURIComponent(option.path); | ||
| 35 | } | ||
| 36 | getCode(); | ||
| 37 | }); | ||
| 38 | function getCode() { | ||
| 39 | common_login.getCodeImg().then((res) => { | ||
| 40 | codeUrl.value = "data:image/gif;base64," + res.data.img; | ||
| 41 | form.value.uuid = res.data.uuid; | ||
| 42 | }); | ||
| 43 | } | ||
| 44 | function handleLogin() { | ||
| 45 | if (!form.value.username) { | ||
| 46 | common_vendor.index.showToast({ | ||
| 47 | title: "账号不能为空", | ||
| 48 | icon: "none" | ||
| 49 | }); | ||
| 50 | return; | ||
| 51 | } | ||
| 52 | if (!form.value.password) { | ||
| 53 | common_vendor.index.showToast({ | ||
| 54 | title: "密码不能为空", | ||
| 55 | icon: "none" | ||
| 56 | }); | ||
| 57 | return; | ||
| 58 | } | ||
| 59 | if (!form.value.code) { | ||
| 60 | common_vendor.index.showToast({ | ||
| 61 | title: "验证码不能为空", | ||
| 62 | icon: "none" | ||
| 63 | }); | ||
| 64 | return; | ||
| 65 | } | ||
| 66 | common_login.pcLogin(form.value).then((res) => { | ||
| 67 | app.globalData.isLogin = true; | ||
| 68 | common_vendor.index.redirectTo({ | ||
| 69 | url: path | ||
| 70 | }); | ||
| 71 | }); | ||
| 72 | } | ||
| 73 | return (_ctx, _cache) => { | ||
| 74 | return common_vendor.e({ | ||
| 75 | a: common_vendor.unref(config.config).baseUrl_api + "/fs/static/login/logo@2x.png", | ||
| 76 | b: common_vendor.unref(config.config).baseUrl_api + "/fs/static/login/tag01@2x.png", | ||
| 77 | c: common_vendor.o(($event) => form.value.username = $event), | ||
| 78 | d: common_vendor.p({ | ||
| 79 | styles: inputstyle.value, | ||
| 80 | placeholder: "会员号", | ||
| 81 | modelValue: form.value.username | ||
| 82 | }), | ||
| 83 | e: common_vendor.unref(config.config).baseUrl_api + "/fs/static/login/tag02@2x.png", | ||
| 84 | f: common_vendor.o(($event) => form.value.password = $event), | ||
| 85 | g: common_vendor.p({ | ||
| 86 | styles: inputstyle.value, | ||
| 87 | placeholder: "密码", | ||
| 88 | type: "password", | ||
| 89 | modelValue: form.value.password | ||
| 90 | }), | ||
| 91 | h: common_vendor.unref(config.config).baseUrl_api + "/fs/static/login/tag03@2x.png", | ||
| 92 | i: common_vendor.o(($event) => form.value.code = $event), | ||
| 93 | j: common_vendor.p({ | ||
| 94 | styles: inputstyle.value, | ||
| 95 | placeholder: "图形验证码", | ||
| 96 | modelValue: form.value.code | ||
| 97 | }), | ||
| 98 | k: codeUrl.value, | ||
| 99 | l: common_vendor.o(getCode), | ||
| 100 | m: common_vendor.o(handleLogin), | ||
| 101 | n: showAgree.value | ||
| 102 | }, showAgree.value ? { | ||
| 103 | o: common_vendor.sr(popup, "ad0ee6b7-3", { | ||
| 104 | "k": "popup" | ||
| 105 | }), | ||
| 106 | p: common_vendor.p({ | ||
| 107 | ["background-color"]: "#fff" | ||
| 108 | }) | ||
| 109 | } : {}); | ||
| 110 | }; | ||
| 111 | } | ||
| 112 | }; | ||
| 113 | const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-ad0ee6b7"], ["__file", "/Users/yangyang/ztx_wx_minapp/pages/index/binding.vue"]]); | ||
| 114 | wx.createPage(MiniProgramPage); |
| 1 | { | ||
| 2 | "navigationBarTitleText": "账号绑定", | ||
| 3 | "enablePullDownRefresh": false, | ||
| 4 | "usingComponents": { | ||
| 5 | "uni-easyinput": "../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput", | ||
| 6 | "uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup" | ||
| 7 | } | ||
| 8 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <view class="bg data-v-ad0ee6b7"><view class="logoView data-v-ad0ee6b7"><image class="logo data-v-ad0ee6b7" src="{{a}}"></image></view><view class="data-v-ad0ee6b7"><view class="formbox data-v-ad0ee6b7"><view class="data-v-ad0ee6b7"><view class="round-input-item data-v-ad0ee6b7"><image class="icon data-v-ad0ee6b7" src="{{b}}"></image><uni-easyinput wx:if="{{d}}" class="data-v-ad0ee6b7" u-i="ad0ee6b7-0" bind:__l="__l" bindupdateModelValue="{{c}}" u-p="{{d}}"/></view><view class="round-input-item data-v-ad0ee6b7"><image class="icon data-v-ad0ee6b7" src="{{e}}"></image><uni-easyinput wx:if="{{g}}" class="data-v-ad0ee6b7" u-i="ad0ee6b7-1" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"/></view><view class="round-input-item data-v-ad0ee6b7"><image class="icon data-v-ad0ee6b7" src="{{h}}"></image><uni-easyinput wx:if="{{j}}" class="data-v-ad0ee6b7" u-i="ad0ee6b7-2" bind:__l="__l" bindupdateModelValue="{{i}}" u-p="{{j}}"/><image class="data-v-ad0ee6b7" src="{{k}}" bindtap="{{l}}"/></view></view><view class="flex-item data-v-ad0ee6b7"></view><view class="center-item data-v-ad0ee6b7"><button bindtap="{{m}}" class="btn-red data-v-ad0ee6b7">绑定账号</button></view><view class="tip data-v-ad0ee6b7">*会员号+证件号后四位+ )*%</view></view></view><view class="agreeArea data-v-ad0ee6b7"></view><uni-popup wx:if="{{n}}" class="r data-v-ad0ee6b7" u-s="{{['d']}}" u-r="popup" u-i="ad0ee6b7-3" bind:__l="__l" u-p="{{p}}"><view class="popup-content data-v-ad0ee6b7"> 本应用严格遵守法律法规,为用户提供安全、可靠的服务。若您对于我们感兴趣,希望咨询、预约、申请使用我们的服务,我们需要收集、使用您的个人信息以便为您安排专人提供服务。本公司非常重视用户(以下或简称“您”)的隐私和个人信息安全,希望您仔细阅读《隐私保护声明》(以下简称“本声明”),详细了解我们对信息的收集、使用方式,以便您更好地了解我们的服务并做出适当的选择。 一、您提供的个人信息 1、在注册帐户时填写或上传的信息 例如,您在参与问卷时所填写的姓名、所在地、行业、手机号码等。 2、在奖励兑换时填写或上传的信息 例如,您在奖励兑换时所填写的姓名、所在地、手机号码等。 我们为您的信息提供相应的安全保障,以防止信息的丢失、不当使用、未经授权访问或披露。 二、我们如何使用您的个人信息 根据您留下的信息,我们后续会自行或委托合作方与您取得联系,向您介绍我们的服务。 我们可能会向您发送推广信息,如您不希望继续接收推广可选择退订。 三、您享有的权利 1、我们保障您撤回个人信息使用的同意的权利; 2、我们保障您复制、查阅本人个人信息的权利。 若您需要行使上述权利,您可通过本声明列明的联系方式与我们联系,在您请求撤回同意或者复制、查阅本人个人信息时,我们可能会要求您进行身份验证,以保障信息安全。 请您理解,由于技术所限或法律监管要求,我们可能无法完全满足您的要求。我们将尽快处理所涉问题,并在通过验证您的用户身份后的十五天内予以回复。 四、变更 我们可能适时修订本声明内容。 我们将在内容更新时,通过在页面显著位置提示、公告或直接与您联系等方式通知您,如果您继续使用本服务,即视为您已接受修改后的相关内容;如果您不接受修改后的相关内容,您可以联系我们或者通过信息退订等方式选择停止使用服务。 五、联系我们 如您对本声明或个人信息相关事宜有疑问,可以通过公众号与我们取得联系。 </view></uni-popup></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .bg.data-v-ad0ee6b7 { | ||
| 27 | background: linear-gradient(60deg, #ad1820 50%, #044a9f 50%); | ||
| 28 | padding: 1px; | ||
| 29 | height: 100vh; | ||
| 30 | overflow: hidden; | ||
| 31 | } | ||
| 32 | .formbox.data-v-ad0ee6b7 { | ||
| 33 | background: #fff; | ||
| 34 | width: 700rpx; | ||
| 35 | padding: 50rpx; | ||
| 36 | box-sizing: border-box; | ||
| 37 | margin: auto; | ||
| 38 | border-radius: 20rpx; | ||
| 39 | } | ||
| 40 | .logoView.data-v-ad0ee6b7 { | ||
| 41 | /* margin: 20vh 0; */ | ||
| 42 | } | ||
| 43 | .logo.data-v-ad0ee6b7 { | ||
| 44 | width: 420rpx; | ||
| 45 | height: 179rpx; | ||
| 46 | margin: 60rpx auto 60rpx; | ||
| 47 | display: block; | ||
| 48 | } | ||
| 49 | .h1.data-v-ad0ee6b7 { | ||
| 50 | font-size: 36rpx; | ||
| 51 | color: #000000; | ||
| 52 | text-align: center; | ||
| 53 | } | ||
| 54 | .start.data-v-ad0ee6b7 { | ||
| 55 | margin: 0 auto 80rpx; | ||
| 56 | font-size: 30rpx; | ||
| 57 | color: #fff; | ||
| 58 | height: 80rpx; | ||
| 59 | width: 480rpx; | ||
| 60 | border-radius: 40rpx; | ||
| 61 | background: #44A92F; | ||
| 62 | } | ||
| 63 | .agreeArea.data-v-ad0ee6b7 { | ||
| 64 | text-align: center; | ||
| 65 | } | ||
| 66 | .agreeArea label.data-v-ad0ee6b7 { | ||
| 67 | font-size: 26rpx; | ||
| 68 | } | ||
| 69 | .agreeArea label text.data-v-ad0ee6b7 { | ||
| 70 | color: #00C176; | ||
| 71 | } | ||
| 72 | .tip.data-v-ad0ee6b7 { | ||
| 73 | margin: 30rpx 0 0; | ||
| 74 | font-size: 20rpx; | ||
| 75 | color: #181818; | ||
| 76 | } | ||
| 77 | .round-input-item.data-v-ad0ee6b7 { | ||
| 78 | overflow: hidden; | ||
| 79 | background: RGBA(247, 247, 248, 1); | ||
| 80 | border-radius: 40rpx; | ||
| 81 | padding: 0 0 0 30rpx; | ||
| 82 | height: 80rpx; | ||
| 83 | margin-bottom: 30rpx; | ||
| 84 | display: flex; | ||
| 85 | align-items: center; | ||
| 86 | } | ||
| 87 | .round-input-item image.data-v-ad0ee6b7 { | ||
| 88 | width: 180rpx; | ||
| 89 | height: 80rpx; | ||
| 90 | } | ||
| 91 | .round-input-item image.icon.data-v-ad0ee6b7 { | ||
| 92 | width: 30rpx; | ||
| 93 | height: 30rpx; | ||
| 94 | margin-right: 16rpx; | ||
| 95 | } | ||
| 96 | .round-input-item input.data-v-ad0ee6b7 { | ||
| 97 | border-left: 1rpx solid RGBA(214, 216, 219, 1); | ||
| 98 | padding: 0 0 0 20rpx; | ||
| 99 | font-size: 30rpx; | ||
| 100 | } | ||
| 101 | .round-input-item input.data-v-ad0ee6b7::-webkit-input-placeholder { | ||
| 102 | color: RGBA(158, 166, 174, 1); | ||
| 103 | font-size: 30rpx; | ||
| 104 | } | ||
| 105 | .round-input-item input.data-v-ad0ee6b7::placeholder { | ||
| 106 | color: RGBA(158, 166, 174, 1); | ||
| 107 | font-size: 30rpx; | ||
| 108 | } | ||
| 109 | .round-input-item input.data-v-ad0ee6b7::-moz-placeholder { | ||
| 110 | color: RGBA(158, 166, 174, 1); | ||
| 111 | font-size: 30rpx; | ||
| 112 | } | ||
| 113 | .round-input-item text.data-v-ad0ee6b7 { | ||
| 114 | font-size: 28rpx; | ||
| 115 | color: #014A9F; | ||
| 116 | padding: 0 20rpx; | ||
| 117 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | "use strict"; | ||
| 2 | const common_vendor = require("../../common/vendor.js"); | ||
| 3 | const _sfc_main = { | ||
| 4 | __name: "index", | ||
| 5 | setup(__props) { | ||
| 6 | const app = getApp(); | ||
| 7 | common_vendor.ref(null); | ||
| 8 | common_vendor.ref([]); | ||
| 9 | common_vendor.onShow(() => { | ||
| 10 | if (app.globalData.isLogin) { | ||
| 11 | init(); | ||
| 12 | } else { | ||
| 13 | app.firstLoadCallback = () => { | ||
| 14 | init(); | ||
| 15 | }; | ||
| 16 | } | ||
| 17 | }); | ||
| 18 | common_vendor.onLoad((option) => { | ||
| 19 | }); | ||
| 20 | function goPath(path) { | ||
| 21 | if (path) | ||
| 22 | common_vendor.index.navigateTo({ | ||
| 23 | url: path | ||
| 24 | }); | ||
| 25 | } | ||
| 26 | function init() { | ||
| 27 | common_vendor.index.showLoading({ | ||
| 28 | title: "加载中" | ||
| 29 | }); | ||
| 30 | common_vendor.index.hideLoading(); | ||
| 31 | } | ||
| 32 | return (_ctx, _cache) => { | ||
| 33 | return { | ||
| 34 | a: common_vendor.o(($event) => goPath("/training/trainList")), | ||
| 35 | b: common_vendor.o(($event) => goPath("/match/index")), | ||
| 36 | c: common_vendor.o(($event) => goPath("/training/trainList")), | ||
| 37 | d: common_vendor.o(($event) => goPath()), | ||
| 38 | e: common_vendor.o(($event) => goPath()), | ||
| 39 | f: common_vendor.o(($event) => goPath()), | ||
| 40 | g: common_vendor.o(($event) => goPath()), | ||
| 41 | h: common_vendor.o(($event) => goPath("/myCenter/index")) | ||
| 42 | }; | ||
| 43 | }; | ||
| 44 | } | ||
| 45 | }; | ||
| 46 | const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/yangyang/ztx_wx_minapp/pages/index/index.vue"]]); | ||
| 47 | wx.createPage(MiniProgramPage); |
| 1 | <view class="page"><swiper><swiper-item>1</swiper-item><swiper-item>2</swiper-item><swiper-item>3</swiper-item></swiper><view class="girdBox"><view bindtap="{{a}}"><image/>新闻资讯 </view><view bindtap="{{b}}"><image/>赛事报名 </view><view bindtap="{{c}}"><image/>培训报名 </view><view bindtap="{{d}}"><image/>团体会员 </view><view bindtap="{{e}}"><image/>地方协会 </view><view bindtap="{{f}}"><image/>考点查询 </view><view bindtap="{{g}}"><image/>会员系统 </view><view bindtap="{{h}}"><image/>我的 </view></view></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | /** | ||
| 2 | * 这里是uni-app内置的常用样式变量 | ||
| 3 | * | ||
| 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 | ||
| 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | /** | ||
| 9 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 | ||
| 10 | * | ||
| 11 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 | ||
| 12 | */ | ||
| 13 | /* 颜色变量 */ | ||
| 14 | /* 行为相关颜色 */ | ||
| 15 | /* 文字基本颜色 */ | ||
| 16 | /* 背景颜色 */ | ||
| 17 | /* 边框颜色 */ | ||
| 18 | /* 尺寸变量 */ | ||
| 19 | /* 文字尺寸 */ | ||
| 20 | /* 图片尺寸 */ | ||
| 21 | /* Border Radius */ | ||
| 22 | /* 水平间距 */ | ||
| 23 | /* 垂直间距 */ | ||
| 24 | /* 透明度 */ | ||
| 25 | /* 文章场景相关 */ | ||
| 26 | .page { | ||
| 27 | width: 100vw; | ||
| 28 | overflow: hidden; | ||
| 29 | } | ||
| 30 | .loginOutIcon { | ||
| 31 | position: relative; | ||
| 32 | left: 60rpx; | ||
| 33 | } | ||
| 34 | .loginOutIcon image { | ||
| 35 | width: 50rpx; | ||
| 36 | height: 50rpx; | ||
| 37 | } | ||
| 38 | .welcome { | ||
| 39 | padding: 30rpx 55rpx; | ||
| 40 | line-height: 55rpx; | ||
| 41 | font-size: 36rpx; | ||
| 42 | } | ||
| 43 | .flexbox { | ||
| 44 | display: flex; | ||
| 45 | justify-content: space-around; | ||
| 46 | text-align: center; | ||
| 47 | } | ||
| 48 | .flexbox image { | ||
| 49 | width: 90rpx; | ||
| 50 | height: 90rpx; | ||
| 51 | display: block; | ||
| 52 | margin: auto; | ||
| 53 | } | ||
| 54 | .image { | ||
| 55 | width: 25px; | ||
| 56 | height: 25px; | ||
| 57 | } | ||
| 58 | .grid-item-box { | ||
| 59 | flex: 1; | ||
| 60 | display: flex; | ||
| 61 | flex-direction: column; | ||
| 62 | align-items: center; | ||
| 63 | justify-content: center; | ||
| 64 | padding: 15px 0; | ||
| 65 | } | ||
| 66 | .grid-item-box-row { | ||
| 67 | flex: 1; | ||
| 68 | display: flex; | ||
| 69 | flex-direction: row; | ||
| 70 | align-items: center; | ||
| 71 | justify-content: center; | ||
| 72 | padding: 15px 0; | ||
| 73 | } | ||
| 74 | .grid-dot { | ||
| 75 | position: absolute; | ||
| 76 | top: 5px; | ||
| 77 | right: 15px; | ||
| 78 | } | ||
| 79 | .uni-section { | ||
| 80 | background-color: transparent; | ||
| 81 | } | ||
| 82 | .uni-section .uni-section-header__content { | ||
| 83 | font-size: 44rpx; | ||
| 84 | font-weight: bold; | ||
| 85 | color: #29343C; | ||
| 86 | } | ||
| 87 | .uni-section .uni-section-header { | ||
| 88 | padding: 0 30rpx; | ||
| 89 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | "use strict"; | ||
| 2 | const common_vendor = require("../../common/vendor.js"); | ||
| 3 | const config = require("../../config.js"); | ||
| 4 | const common_login = require("../../common/login.js"); | ||
| 5 | require("../../common/request.js"); | ||
| 6 | require("../../common/aes.js"); | ||
| 7 | if (!Array) { | ||
| 8 | const _easycom_uni_easyinput2 = common_vendor.resolveComponent("uni-easyinput"); | ||
| 9 | const _easycom_uni_countdown2 = common_vendor.resolveComponent("uni-countdown"); | ||
| 10 | (_easycom_uni_easyinput2 + _easycom_uni_countdown2)(); | ||
| 11 | } | ||
| 12 | const _easycom_uni_easyinput = () => "../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js"; | ||
| 13 | const _easycom_uni_countdown = () => "../../uni_modules/uni-countdown/components/uni-countdown/uni-countdown.js"; | ||
| 14 | if (!Math) { | ||
| 15 | (_easycom_uni_easyinput + _easycom_uni_countdown)(); | ||
| 16 | } | ||
| 17 | const _sfc_main = { | ||
| 18 | __name: "login", | ||
| 19 | setup(__props) { | ||
| 20 | const isActive = common_vendor.ref(0); | ||
| 21 | common_vendor.ref(false); | ||
| 22 | common_vendor.ref(true); | ||
| 23 | const codeUrl = common_vendor.ref(null); | ||
| 24 | const inputstyle = common_vendor.ref({ | ||
| 25 | borderColor: "transparent", | ||
| 26 | fontSize: "30rpx" | ||
| 27 | }); | ||
| 28 | const form = common_vendor.ref({ | ||
| 29 | username: null, | ||
| 30 | password: null, | ||
| 31 | code: null, | ||
| 32 | uuid: null | ||
| 33 | }); | ||
| 34 | const form2 = common_vendor.ref({ | ||
| 35 | telNo: null, | ||
| 36 | captcha: null, | ||
| 37 | code: null, | ||
| 38 | uuid: null | ||
| 39 | }); | ||
| 40 | const countDown = common_vendor.ref({ | ||
| 41 | start: false, | ||
| 42 | second: 60 | ||
| 43 | }); | ||
| 44 | const app = getApp(); | ||
| 45 | common_vendor.onMounted(() => { | ||
| 46 | getCode(); | ||
| 47 | }); | ||
| 48 | function changeActive(n) { | ||
| 49 | isActive.value = n; | ||
| 50 | } | ||
| 51 | function login() { | ||
| 52 | if (isActive.value == 0) { | ||
| 53 | if (!form.value.username) { | ||
| 54 | common_vendor.index.showToast({ | ||
| 55 | title: "账号不能为空", | ||
| 56 | icon: "none" | ||
| 57 | }); | ||
| 58 | return; | ||
| 59 | } | ||
| 60 | if (!form.value.password) { | ||
| 61 | common_vendor.index.showToast({ | ||
| 62 | title: "密码不能为空", | ||
| 63 | icon: "none" | ||
| 64 | }); | ||
| 65 | return; | ||
| 66 | } | ||
| 67 | if (!form.value.code) { | ||
| 68 | common_vendor.index.showToast({ | ||
| 69 | title: "验证码不能为空", | ||
| 70 | icon: "none" | ||
| 71 | }); | ||
| 72 | return; | ||
| 73 | } | ||
| 74 | common_login.pcLogin(form.value).then((res) => { | ||
| 75 | app.globalData.isLogin = true; | ||
| 76 | common_vendor.index.redirectTo({ | ||
| 77 | url: "/pages/index/index" | ||
| 78 | }); | ||
| 79 | }); | ||
| 80 | } else if (isActive.value == 1) { | ||
| 81 | if (!form2.value.telNo) { | ||
| 82 | common_vendor.index.showToast({ | ||
| 83 | title: "手机号不能为空", | ||
| 84 | icon: "none" | ||
| 85 | }); | ||
| 86 | return; | ||
| 87 | } | ||
| 88 | if (!form2.value.code) { | ||
| 89 | common_vendor.index.showToast({ | ||
| 90 | title: "短信验证码不能为空", | ||
| 91 | icon: "none" | ||
| 92 | }); | ||
| 93 | return; | ||
| 94 | } | ||
| 95 | common_login.loginByPhone(form2.value.telNo, form2.value.code).then(() => { | ||
| 96 | app.globalData.isLogin = true; | ||
| 97 | common_vendor.index.redirectTo({ | ||
| 98 | url: "/pages/index/index" | ||
| 99 | }); | ||
| 100 | }); | ||
| 101 | } | ||
| 102 | } | ||
| 103 | function goRegister() { | ||
| 104 | const path = "/pages/index/register"; | ||
| 105 | common_vendor.index.navigateTo({ | ||
| 106 | url: path | ||
| 107 | }); | ||
| 108 | } | ||
| 109 | function getCode() { | ||
| 110 | common_login.getCodeImg().then((res) => { | ||
| 111 | codeUrl.value = "data:image/gif;base64," + res.data.img; | ||
| 112 | form.value.uuid = res.data.uuid; | ||
| 113 | form2.value.uuid = res.data.uuid; | ||
| 114 | }); | ||
| 115 | } | ||
| 116 | function getCaptchaSms() { | ||
| 117 | if (!form2.value.telNo) { | ||
| 118 | common_vendor.index.showToast({ | ||
| 119 | title: "手机号不能为空", | ||
| 120 | icon: "none" | ||
| 121 | }); | ||
| 122 | return; | ||
| 123 | } | ||
| 124 | if (!form2.value.captcha) { | ||
| 125 | common_vendor.index.showToast({ | ||
| 126 | title: "图形验证码不能为空", | ||
| 127 | icon: "none" | ||
| 128 | }); | ||
| 129 | return; | ||
| 130 | } | ||
| 131 | common_login.getSmsCode({ | ||
| 132 | uuid: form2.value.uuid, | ||
| 133 | telNo: form2.value.telNo, | ||
| 134 | code: form2.value.captcha | ||
| 135 | }).then((res) => { | ||
| 136 | common_vendor.index.showToast({ | ||
| 137 | title: "短信验证码下发成功", | ||
| 138 | icon: "none" | ||
| 139 | }); | ||
| 140 | countDown.value.start = true; | ||
| 141 | }).catch(getCode); | ||
| 142 | } | ||
| 143 | function timeup() { | ||
| 144 | countDown.value.start = false; | ||
| 145 | countDown.value.second = 60; | ||
| 146 | getCode(); | ||
| 147 | } | ||
| 148 | return (_ctx, _cache) => { | ||
| 149 | return common_vendor.e({ | ||
| 150 | a: common_vendor.unref(config.config).baseUrl_api + "/fs/static/login/ren1.png", | ||
| 151 | b: common_vendor.unref(config.config).baseUrl_api + "/fs/static/login/logo@2x.png", | ||
| 152 | c: common_vendor.n(isActive.value == 0 ? "active" : ""), | ||
| 153 | d: common_vendor.o(($event) => changeActive(0)), | ||
| 154 | e: common_vendor.n(isActive.value == 1 ? "active" : ""), | ||
| 155 | f: common_vendor.o(($event) => changeActive(1)), | ||
| 156 | g: isActive.value == 0 | ||
| 157 | }, isActive.value == 0 ? { | ||
| 158 | h: common_vendor.unref(config.config).baseUrl_api + "/fs/static/login/tag01@2x.png", | ||
| 159 | i: common_vendor.o(($event) => form.value.username = $event), | ||
| 160 | j: common_vendor.p({ | ||
| 161 | styles: inputstyle.value, | ||
| 162 | placeholder: "账号", | ||
| 163 | modelValue: form.value.username | ||
| 164 | }), | ||
| 165 | k: common_vendor.unref(config.config).baseUrl_api + "/fs/static/login/tag02@2x.png", | ||
| 166 | l: common_vendor.o(($event) => form.value.password = $event), | ||
| 167 | m: common_vendor.p({ | ||
| 168 | styles: inputstyle.value, | ||
| 169 | placeholder: "密码", | ||
| 170 | type: "password", | ||
| 171 | modelValue: form.value.password | ||
| 172 | }), | ||
| 173 | n: common_vendor.unref(config.config).baseUrl_api + "/fs/static/login/tag03@2x.png", | ||
| 174 | o: common_vendor.o(($event) => form.value.code = $event), | ||
| 175 | p: common_vendor.p({ | ||
| 176 | styles: inputstyle.value, | ||
| 177 | placeholder: "图形验证码", | ||
| 178 | modelValue: form.value.code | ||
| 179 | }), | ||
| 180 | q: codeUrl.value, | ||
| 181 | r: common_vendor.o(getCode) | ||
| 182 | } : {}, { | ||
| 183 | s: isActive.value == 1 | ||
| 184 | }, isActive.value == 1 ? common_vendor.e({ | ||
| 185 | t: common_vendor.unref(config.config).baseUrl_api + "/fs/static/login/tag01@2x.png", | ||
| 186 | v: common_vendor.o(($event) => form2.value.telNo = $event), | ||
| 187 | w: common_vendor.p({ | ||
| 188 | styles: inputstyle.value, | ||
| 189 | placeholder: "请输入手机号", | ||
| 190 | modelValue: form2.value.telNo | ||
| 191 | }), | ||
| 192 | x: common_vendor.unref(config.config).baseUrl_api + "/fs/static/login/tag02@2x.png", | ||
| 193 | y: common_vendor.o(($event) => form2.value.captcha = $event), | ||
| 194 | z: common_vendor.p({ | ||
| 195 | styles: inputstyle.value, | ||
| 196 | placeholder: "图形验证码", | ||
| 197 | modelValue: form2.value.captcha | ||
| 198 | }), | ||
| 199 | A: codeUrl.value, | ||
| 200 | B: common_vendor.o(getCode), | ||
| 201 | C: common_vendor.unref(config.config).baseUrl_api + "/fs/static/login/tag04@2x.png", | ||
| 202 | D: common_vendor.o(($event) => form2.value.code = $event), | ||
| 203 | E: common_vendor.p({ | ||
| 204 | styles: inputstyle.value, | ||
| 205 | placeholder: "短信验证码", | ||
| 206 | modelValue: form2.value.code | ||
| 207 | }), | ||
| 208 | F: !countDown.value.start | ||
| 209 | }, !countDown.value.start ? { | ||
| 210 | G: common_vendor.o(getCaptchaSms) | ||
| 211 | } : {}, { | ||
| 212 | H: countDown.value.start | ||
| 213 | }, countDown.value.start ? { | ||
| 214 | I: common_vendor.o(timeup), | ||
| 215 | J: common_vendor.p({ | ||
| 216 | color: "#014A9F", | ||
| 217 | ["show-day"]: false, | ||
| 218 | ["show-hour"]: false, | ||
| 219 | ["show-min"]: false, | ||
| 220 | start: countDown.value.start, | ||
| 221 | second: countDown.value.second | ||
| 222 | }) | ||
| 223 | } : {}) : {}, { | ||
| 224 | K: common_vendor.o(login), | ||
| 225 | L: common_vendor.o(goRegister), | ||
| 226 | M: common_vendor.unref(config.config).baseUrl_api + "/fs/static/login/ren2.png" | ||
| 227 | }); | ||
| 228 | }; | ||
| 229 | } | ||
| 230 | }; | ||
| 231 | const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-fa14255b"], ["__file", "/Users/yangyang/ztx_wx_minapp/pages/index/login.vue"]]); | ||
| 232 | wx.createPage(MiniProgramPage); |
| 1 | { | ||
| 2 | "navigationBarTitleText": "登录", | ||
| 3 | "enablePullDownRefresh": false, | ||
| 4 | "navigationStyle": "custom", | ||
| 5 | "usingComponents": { | ||
| 6 | "uni-easyinput": "../../uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput", | ||
| 7 | "uni-countdown": "../../uni_modules/uni-countdown/components/uni-countdown/uni-countdown" | ||
| 8 | } | ||
| 9 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | <view class="page-bg data-v-fa14255b"><image class="ren1 data-v-fa14255b" src="{{a}}"/><view class="retop data-v-fa14255b"><image class="logotop data-v-fa14255b" src="{{b}}"></image><view class="loginbox data-v-fa14255b"><view class="loginNav data-v-fa14255b"><view class="{{['n1', 'data-v-fa14255b', c]}}" bindtap="{{d}}">密码登录</view><view class="{{['n2', 'data-v-fa14255b', e]}}" bindtap="{{f}}">短信登录</view></view><view class="formbox data-v-fa14255b"><form wx:if="{{g}}" class="data-v-fa14255b"><view class="round-input-item data-v-fa14255b"><image class="icon data-v-fa14255b" src="{{h}}"></image><uni-easyinput wx:if="{{j}}" class="data-v-fa14255b" u-i="fa14255b-0" bind:__l="__l" bindupdateModelValue="{{i}}" u-p="{{j}}"/></view><view class="round-input-item data-v-fa14255b"><image class="icon data-v-fa14255b" src="{{k}}"></image><uni-easyinput wx:if="{{m}}" class="data-v-fa14255b" u-i="fa14255b-1" bind:__l="__l" bindupdateModelValue="{{l}}" u-p="{{m}}"/></view><view class="round-input-item data-v-fa14255b"><image class="icon data-v-fa14255b" src="{{n}}"></image><uni-easyinput wx:if="{{p}}" class="data-v-fa14255b" u-i="fa14255b-2" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"/><image class="data-v-fa14255b" src="{{q}}" bindtap="{{r}}"/></view></form><form wx:if="{{s}}" class="data-v-fa14255b"><view class="round-input-item data-v-fa14255b"><image class="icon data-v-fa14255b" src="{{t}}"></image><uni-easyinput wx:if="{{w}}" class="data-v-fa14255b" u-i="fa14255b-3" bind:__l="__l" bindupdateModelValue="{{v}}" u-p="{{w}}"/></view><view class="round-input-item data-v-fa14255b"><image class="icon data-v-fa14255b" src="{{x}}"></image><uni-easyinput wx:if="{{z}}" class="data-v-fa14255b" u-i="fa14255b-4" bind:__l="__l" bindupdateModelValue="{{y}}" u-p="{{z}}"/><image class="data-v-fa14255b" src="{{A}}" bindtap="{{B}}"/></view><view class="round-input-item data-v-fa14255b"><image class="icon data-v-fa14255b" src="{{C}}"></image><uni-easyinput wx:if="{{E}}" class="data-v-fa14255b" u-i="fa14255b-5" bind:__l="__l" bindupdateModelValue="{{D}}" u-p="{{E}}"/><text wx:if="{{F}}" class="data-v-fa14255b" bindtap="{{G}}">获取验证码</text><uni-countdown wx:if="{{H}}" class="data-v-fa14255b" bindtimeup="{{I}}" u-i="fa14255b-6" bind:__l="__l" u-p="{{J}}"></uni-countdown></view></form><view class="flex-item data-v-fa14255b"></view><view class="center-item data-v-fa14255b"><button bindtap="{{K}}" class="btn-red data-v-fa14255b">登录</button></view><view class="center-item data-v-fa14255b"><text class="text-red data-v-fa14255b" bindtap="{{L}}">没有账号,去注册</text></view></view></view></view><image class="ren2 data-v-fa14255b" src="{{M}}"/><view class="fixedagree data-v-fa14255b"></view></view> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
No preview for this file type
12 KB
No preview for this file type
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-badge/components/uni-badge/uni-badge.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-badge/components/uni-badge/uni-badge.json
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-badge/components/uni-badge/uni-badge.wxml
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-badge/components/uni-badge/uni-badge.wxss
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-card/components/uni-card/uni-card.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-card/components/uni-card/uni-card.json
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-card/components/uni-card/uni-card.wxml
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-card/components/uni-card/uni-card.wxss
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-file-picker/components/uni-file-picker/utils.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-forms/components/uni-forms/uni-forms.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-forms/components/uni-forms/uni-forms.json
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-forms/components/uni-forms/uni-forms.wxml
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-forms/components/uni-forms/uni-forms.wxss
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-forms/components/uni-forms/validate.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-group/components/uni-group/uni-group.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-group/components/uni-group/uni-group.json
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-group/components/uni-group/uni-group.wxml
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-group/components/uni-group/uni-group.wxss
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.json
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.wxml
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.wxss
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-list/components/uni-list-item/uni-list-item.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-list/components/uni-list/uni-list.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-list/components/uni-list/uni-list.json
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-list/components/uni-list/uni-list.wxml
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-list/components/uni-list/uni-list.wxss
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/i18n/index.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.json
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxml
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.wxss
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-section/components/uni-section/uni-section.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-section/components/uni-section/uni-section.json
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-section/components/uni-section/uni-section.wxml
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-section/components/uni-section/uni-section.wxss
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-steps/components/uni-steps/uni-steps.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-steps/components/uni-steps/uni-steps.json
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-steps/components/uni-steps/uni-steps.wxml
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/mp-weixin/uni_modules/uni-steps/components/uni-steps/uni-steps.wxss
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment