first commit
This commit is contained in:
121
unpackage/dist/dev/mp-alipay/api/api.js
vendored
Normal file
121
unpackage/dist/dev/mp-alipay/api/api.js
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
"use strict";
|
||||
const request_index = require("../request/index.js");
|
||||
const loginApi = (params, config = {}) => request_index.http("/api/auth/login", params);
|
||||
const saveOpenIdByZfbCode = (params, config = {}) => request_index.http("/api/auth/saveOpenIdByZfbCode", params);
|
||||
const registerApi = (params, config = {}) => request_index.http("/api/auth/register", params);
|
||||
const forgotPassword = (params, config = {}) => request_index.http("/api/auth/forgotPassword", params);
|
||||
const smsCode = (params, config = {}) => request_index.http("/api/auth/sendSmsCode", params);
|
||||
const userInfo = (params, config = {}) => request_index.http("/api/v0/user/info", params, "GET");
|
||||
const shopPage = (params, config = {}) => request_index.http("/api/v0/goods/selectListByPage", params);
|
||||
const shopInfo = (params, config = {}) => request_index.http("/api/v0/goods/selectGoodsInfo", params);
|
||||
const orderPage = (params, config = {}) => request_index.http("/api/v0/orders/selectListByPage", params);
|
||||
const orderInfo = (params, config = {}) => request_index.http("/api/v0/orders/info", params, "GET");
|
||||
const addGoodsOrders = (params, config = {}) => request_index.http("/api/v0/orders/addGoodsOrders", params);
|
||||
const selectListByPage = (params, config = {}) => request_index.http("/api/v0/goodsPackages/selectListByPage", params);
|
||||
const selectGoodsInfo = (params, config = {}) => request_index.http("/api/v0/goodsPackages/selectGoodsInfo", params);
|
||||
const addGoodsPackageOrders = (params, config = {}) => request_index.http("/api/v0/orders/addGoodsPackageOrders", params);
|
||||
const walletPaymentGoods = (params, config = {}) => request_index.http("/api/v0/payment/walletPaymentGoods", params, "POST", {
|
||||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
});
|
||||
const walletPaymentPackages = (params, config = {}) => request_index.http(
|
||||
"/api/v0/payment/walletPaymentPackages",
|
||||
params,
|
||||
"POST",
|
||||
{
|
||||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
}
|
||||
);
|
||||
const getUsersPoint2Info = (params, config = {}) => request_index.http("/api/v0/user/getUsersPoint2Info", params);
|
||||
const getUsersPoint1Info = (params, config = {}) => request_index.http("/api/v0/user/getUsersPoint1Info", params);
|
||||
const getUsersPointRecord = (params, config = {}) => request_index.http("/api/v0/user/getUsersPointRecord", params);
|
||||
const addUsersAccountInfo = (params, config = {}) => request_index.http("/api/v0/user/addUsersAccountInfo", params);
|
||||
const getUsersAccountInfo = (params, config = {}) => request_index.http("/api/v0/user/getUsersAccountInfo", params);
|
||||
const getDeviceInfo = (params, config = {}) => request_index.http("/api/v0/user/getDeviceInfo", params);
|
||||
const selectProtocolInfo = (params, config = {}) => request_index.http("/api/v0/protocol/selectProtocolInfo", params, "GET");
|
||||
const bannerInfo = (params, config = {}) => request_index.http("/api/v0/banner/bannerInfo", params, "GET");
|
||||
const userRechargeByLkl = (params, config = {}) => request_index.http("/api/v0/recharge/userRechargeByLkl", params);
|
||||
const getAppConfig = (params, config = {}) => request_index.http("/api/v0/config/getAppConfig", params);
|
||||
const userExtract = (params, config = {}) => request_index.http("/api/v0/extract/userExtract", params);
|
||||
const getDeviceCount = (params, config = {}) => request_index.http("/api/v0/user/getDeviceCount", params, "GET");
|
||||
const userPointRecharge = (params, config = {}) => request_index.http("/api/v0/recharge/userPointRecharge", params);
|
||||
const getContentCategoryList = (params, config = {}) => request_index.http("/api/v0/banner/getContentCategoryList", params);
|
||||
const getContentList = (params, config = {}) => request_index.http("/api/v0/banner/getContentList", params);
|
||||
const getContentInfo = (params, config = {}) => request_index.http("/api/v0/banner/getContentInfo", params);
|
||||
const updateUserInfo = (params, config = {}) => request_index.http("/api/v0/user/updateUserInfo", params);
|
||||
const updatePhone = (params, config = {}) => request_index.http("/api/v0/user/updatePhone", params);
|
||||
const getOssUploadParams = (params, config = {}) => request_index.http("/api/v0/files/getOssUploadParams", params, "GET");
|
||||
const userExtractList = (params, config = {}) => request_index.http("/api/v0/extract/userExtractList", params);
|
||||
const shareList = (params, config = {}) => request_index.http("/api/v0/user/shareList", params);
|
||||
const userStat = (params, config = {}) => request_index.http("/api/v0/stat/userStat", params, "GET");
|
||||
const activityUserList = (params, config = {}) => request_index.http("/api/v0/activity/user/list", params, "GET");
|
||||
const activityList = (params, config = {}) => request_index.http("/api/v0/activity/list", params, "GET");
|
||||
const activityInfo = (params, config = {}) => request_index.http("/api/v0/activity/info", params, "GET");
|
||||
const activityUserInfo = (params, config = {}) => request_index.http("/api/v0/activity/user/info", params, "GET");
|
||||
const activityUserConfirm = (params, config = {}) => request_index.http("/api/v0/activity/user/confirm", params);
|
||||
const lklPaymentPackages = (params, config = {}) => request_index.http("/api/v0/payment/lklPaymentPackages", params, "POST", {
|
||||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
});
|
||||
const lklPaymentGoods = (params, config = {}) => request_index.http("/api/v0/payment/lklPaymentGoods", params, "POST", {
|
||||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
});
|
||||
const giveWallet = (params, config = {}) => request_index.http("/api/v0/recharge/giveWallet", params);
|
||||
const giveWallet2 = (params, config = {}) => request_index.http("/api/v0/recharge/giveWallet2", params);
|
||||
const freezeTotal = (params, config = {}) => request_index.http("/api/v0/user/freezeTotal", params);
|
||||
const freezeWalletRecord = (params, config = {}) => request_index.http("/api/v0/user/freezeWalletRecord", params);
|
||||
const freezeIncomeRecord = (params, config = {}) => request_index.http("/api/v0/user/freezeIncomeRecord", params);
|
||||
const shareUserInfo = (params, config = {}) => request_index.http("/api/v0/user/shareUserInfo", params);
|
||||
const shareUserInfoStats = (params, config = {}) => request_index.http("/api/v0/user/shareUserInfoStats", params);
|
||||
const forgotUserName = (params, config = {}) => request_index.http("/api/auth/forgotUserName", params);
|
||||
exports.activityInfo = activityInfo;
|
||||
exports.activityList = activityList;
|
||||
exports.activityUserConfirm = activityUserConfirm;
|
||||
exports.activityUserInfo = activityUserInfo;
|
||||
exports.activityUserList = activityUserList;
|
||||
exports.addGoodsOrders = addGoodsOrders;
|
||||
exports.addGoodsPackageOrders = addGoodsPackageOrders;
|
||||
exports.addUsersAccountInfo = addUsersAccountInfo;
|
||||
exports.bannerInfo = bannerInfo;
|
||||
exports.forgotPassword = forgotPassword;
|
||||
exports.forgotUserName = forgotUserName;
|
||||
exports.freezeIncomeRecord = freezeIncomeRecord;
|
||||
exports.freezeTotal = freezeTotal;
|
||||
exports.freezeWalletRecord = freezeWalletRecord;
|
||||
exports.getAppConfig = getAppConfig;
|
||||
exports.getContentCategoryList = getContentCategoryList;
|
||||
exports.getContentInfo = getContentInfo;
|
||||
exports.getContentList = getContentList;
|
||||
exports.getDeviceCount = getDeviceCount;
|
||||
exports.getDeviceInfo = getDeviceInfo;
|
||||
exports.getOssUploadParams = getOssUploadParams;
|
||||
exports.getUsersAccountInfo = getUsersAccountInfo;
|
||||
exports.getUsersPoint1Info = getUsersPoint1Info;
|
||||
exports.getUsersPoint2Info = getUsersPoint2Info;
|
||||
exports.getUsersPointRecord = getUsersPointRecord;
|
||||
exports.giveWallet = giveWallet;
|
||||
exports.giveWallet2 = giveWallet2;
|
||||
exports.lklPaymentGoods = lklPaymentGoods;
|
||||
exports.lklPaymentPackages = lklPaymentPackages;
|
||||
exports.loginApi = loginApi;
|
||||
exports.orderInfo = orderInfo;
|
||||
exports.orderPage = orderPage;
|
||||
exports.registerApi = registerApi;
|
||||
exports.saveOpenIdByZfbCode = saveOpenIdByZfbCode;
|
||||
exports.selectGoodsInfo = selectGoodsInfo;
|
||||
exports.selectListByPage = selectListByPage;
|
||||
exports.selectProtocolInfo = selectProtocolInfo;
|
||||
exports.shareList = shareList;
|
||||
exports.shareUserInfo = shareUserInfo;
|
||||
exports.shareUserInfoStats = shareUserInfoStats;
|
||||
exports.shopInfo = shopInfo;
|
||||
exports.shopPage = shopPage;
|
||||
exports.smsCode = smsCode;
|
||||
exports.updatePhone = updatePhone;
|
||||
exports.updateUserInfo = updateUserInfo;
|
||||
exports.userExtract = userExtract;
|
||||
exports.userExtractList = userExtractList;
|
||||
exports.userInfo = userInfo;
|
||||
exports.userPointRecharge = userPointRecharge;
|
||||
exports.userRechargeByLkl = userRechargeByLkl;
|
||||
exports.userStat = userStat;
|
||||
exports.walletPaymentGoods = walletPaymentGoods;
|
||||
exports.walletPaymentPackages = walletPaymentPackages;
|
||||
3064
unpackage/dist/dev/mp-alipay/app.acss
vendored
Normal file
3064
unpackage/dist/dev/mp-alipay/app.acss
vendored
Normal file
File diff suppressed because it is too large
Load Diff
95
unpackage/dist/dev/mp-alipay/app.js
vendored
Normal file
95
unpackage/dist/dev/mp-alipay/app.js
vendored
Normal file
@@ -0,0 +1,95 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const common_vendor = require("./common/vendor.js");
|
||||
const store_index = require("./store/index.js");
|
||||
const uni_modules_uviewPlus_index = require("./uni_modules/uview-plus/index.js");
|
||||
const uni_modules_uviewPlus_libs_mixin_mpShare = require("./uni_modules/uview-plus/libs/mixin/mpShare.js");
|
||||
if (!Math) {
|
||||
"./pages/index/index.js";
|
||||
"./pages/market/market.js";
|
||||
"./pages/mine/mine.js";
|
||||
"./pages/piles/piles.js";
|
||||
"./pages/wallet/wallet.js";
|
||||
"./pages/login/login.js";
|
||||
"./pages/shop/shop.js";
|
||||
"./pages/mine/earnings.js";
|
||||
"./pages/wallet/withdraw.js";
|
||||
"./pages/wallet/bankCard.js";
|
||||
"./pages/wallet/addBankCard.js";
|
||||
"./pages/login/register.js";
|
||||
"./pages/order/order.js";
|
||||
"./pages/shop/affirm.js";
|
||||
"./pages/order/pay.js";
|
||||
"./pages/setMeal/setMeal.js";
|
||||
"./pages/setMeal/affirm.js";
|
||||
"./pages/setMealList/setMealList.js";
|
||||
"./pages/order/success.js";
|
||||
"./pages/agreement/agreement.js";
|
||||
"./pages/login/getBack.js";
|
||||
"./pages/mine/topUp.js";
|
||||
"./pages/mine/transferBalance.js";
|
||||
"./pages/market/detail.js";
|
||||
"./pages/mine/setting.js";
|
||||
"./pages/mine/phone.js";
|
||||
"./pages/wallet/withdrawList.js";
|
||||
"./pages/wallet/incomeList.js";
|
||||
"./pages/mine/balanceIncome.js";
|
||||
"./pages/shareList/shareList.js";
|
||||
"./pages/mine/share.js";
|
||||
"./pages/protocol/buy.js";
|
||||
"./pages/protocol/trusteeship.js";
|
||||
"./pages/activity/index.js";
|
||||
"./pages/activity/detail813.js";
|
||||
"./pages/activity/detail513.js";
|
||||
"./pages/activity/shop/index.js";
|
||||
"./pages/order/details.js";
|
||||
"./pages/mine/toUser.js";
|
||||
"./pages/mine/toUser2.js";
|
||||
"./pages/wallet/freezeMoney.js";
|
||||
"./pages/wallet/freezeEarnings.js";
|
||||
"./pages/shareList/detail.js";
|
||||
"./pages/login/getBackAccout.js";
|
||||
"./pages/webView/webView.js";
|
||||
}
|
||||
const _sfc_main = {
|
||||
onLaunch: function(options) {
|
||||
let token = common_vendor.index.getStorageSync("token");
|
||||
if (token) {
|
||||
store_index.store.commit("setToken", token);
|
||||
}
|
||||
if (options.query) {
|
||||
let search = options.query.qrCode;
|
||||
search = search.split("?")[1];
|
||||
const pairs = search ? search.split("&") : [];
|
||||
const query = {};
|
||||
for (let i = 0; i < pairs.length; ++i) {
|
||||
const [key, value] = pairs[i].split("=");
|
||||
query[key] = query[key] || decodeURIComponent(value);
|
||||
}
|
||||
if (query.num) {
|
||||
common_vendor.index.setStorageSync("invite_code", query.num);
|
||||
}
|
||||
}
|
||||
},
|
||||
onShow: function(e) {
|
||||
console.log(e);
|
||||
if (e.path == "pages/order/pay" && e.query.amount) {
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/order/success?amount=${e.query.amount}&id=${e.query.id}&type=2`
|
||||
});
|
||||
}
|
||||
},
|
||||
onHide: function() {
|
||||
}
|
||||
};
|
||||
function createApp() {
|
||||
const app = common_vendor.createSSRApp(_sfc_main);
|
||||
app.mixin(uni_modules_uviewPlus_libs_mixin_mpShare.mpShare);
|
||||
app.use(uni_modules_uviewPlus_index.uviewPlus);
|
||||
app.use(store_index.store);
|
||||
return {
|
||||
app
|
||||
};
|
||||
}
|
||||
createApp().app.mount("#app");
|
||||
exports.createApp = createApp;
|
||||
75
unpackage/dist/dev/mp-alipay/app.json
vendored
Normal file
75
unpackage/dist/dev/mp-alipay/app.json
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/market/market",
|
||||
"pages/mine/mine",
|
||||
"pages/piles/piles",
|
||||
"pages/wallet/wallet",
|
||||
"pages/login/login",
|
||||
"pages/shop/shop",
|
||||
"pages/mine/earnings",
|
||||
"pages/wallet/withdraw",
|
||||
"pages/wallet/bankCard",
|
||||
"pages/wallet/addBankCard",
|
||||
"pages/login/register",
|
||||
"pages/order/order",
|
||||
"pages/shop/affirm",
|
||||
"pages/order/pay",
|
||||
"pages/setMeal/setMeal",
|
||||
"pages/setMeal/affirm",
|
||||
"pages/setMealList/setMealList",
|
||||
"pages/order/success",
|
||||
"pages/agreement/agreement",
|
||||
"pages/login/getBack",
|
||||
"pages/mine/topUp",
|
||||
"pages/mine/transferBalance",
|
||||
"pages/market/detail",
|
||||
"pages/mine/setting",
|
||||
"pages/mine/phone",
|
||||
"pages/wallet/withdrawList",
|
||||
"pages/wallet/incomeList",
|
||||
"pages/mine/balanceIncome",
|
||||
"pages/shareList/shareList",
|
||||
"pages/mine/share",
|
||||
"pages/protocol/buy",
|
||||
"pages/protocol/trusteeship",
|
||||
"pages/activity/index",
|
||||
"pages/activity/detail813",
|
||||
"pages/activity/detail513",
|
||||
"pages/activity/shop/index",
|
||||
"pages/order/details",
|
||||
"pages/mine/toUser",
|
||||
"pages/mine/toUser2",
|
||||
"pages/wallet/freezeMoney",
|
||||
"pages/wallet/freezeEarnings",
|
||||
"pages/shareList/detail",
|
||||
"pages/login/getBackAccout",
|
||||
"pages/webView/webView"
|
||||
],
|
||||
"window": {
|
||||
"defaultTitle": "uni-app",
|
||||
"titleBarColor": "#fff",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
},
|
||||
"tabBar": {
|
||||
"textColor": "#999999",
|
||||
"selectedColor": "#999999",
|
||||
"backgroundColor": "#ffffff",
|
||||
"items": [
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"name": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/market/market",
|
||||
"name": "公告"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/mine/mine",
|
||||
"name": "我的"
|
||||
}
|
||||
]
|
||||
},
|
||||
"subPackageBuildType": "shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
BIN
unpackage/dist/dev/mp-alipay/assets/uniicons.32e978a5.ttf
vendored
Normal file
BIN
unpackage/dist/dev/mp-alipay/assets/uniicons.32e978a5.ttf
vendored
Normal file
Binary file not shown.
25
unpackage/dist/dev/mp-alipay/common/assets.js
vendored
Normal file
25
unpackage/dist/dev/mp-alipay/common/assets.js
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
"use strict";
|
||||
const _imports_0$5 = "/static/jthn.png";
|
||||
const _imports_1$2 = "/static/jp.png";
|
||||
const _imports_0$4 = "/static/icon/sz.png";
|
||||
const _imports_0$3 = "/static/logoB.png";
|
||||
const _imports_1$1 = "/static/logo.png";
|
||||
const _imports_0$2 = "/static/icon/mx.png";
|
||||
const _imports_2$1 = "/static/icon/txs.png";
|
||||
const _imports_2 = "/static/icon/tx.png";
|
||||
const _imports_3 = "/static/icon/yhk.png";
|
||||
const _imports_0$1 = "/static/icon/xia.png";
|
||||
const _imports_0 = "/static/icon/avatar.png";
|
||||
const _imports_1 = "/static/icon/zhuan.png";
|
||||
exports._imports_0 = _imports_0$5;
|
||||
exports._imports_0$1 = _imports_0$4;
|
||||
exports._imports_0$2 = _imports_0$3;
|
||||
exports._imports_0$3 = _imports_0$2;
|
||||
exports._imports_0$4 = _imports_0$1;
|
||||
exports._imports_0$5 = _imports_0;
|
||||
exports._imports_1 = _imports_1$2;
|
||||
exports._imports_1$1 = _imports_1$1;
|
||||
exports._imports_1$2 = _imports_1;
|
||||
exports._imports_2 = _imports_2$1;
|
||||
exports._imports_2$1 = _imports_2;
|
||||
exports._imports_3 = _imports_3;
|
||||
34
unpackage/dist/dev/mp-alipay/common/js/user.js
vendored
Normal file
34
unpackage/dist/dev/mp-alipay/common/js/user.js
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../vendor.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
const uploadFiles = (urls) => {
|
||||
return new Promise(async (resolve, reject) => {
|
||||
let res = await api_api.getOssUploadParams();
|
||||
const fd = {
|
||||
policy: res.policy,
|
||||
OSSAccessKeyId: res.accessId,
|
||||
success_action_status: 200,
|
||||
signature: res.signature,
|
||||
key: res.dir + Date.now() + Math.floor(1e5 + Math.random() * 9e5) + "." + urls.substring(urls.lastIndexOf(".") + 1)
|
||||
};
|
||||
common_vendor.index.uploadFile({
|
||||
url: res.host,
|
||||
// Example, not a real endpoint
|
||||
filePath: urls,
|
||||
header: {
|
||||
"content-type": "multipart/form-data"
|
||||
},
|
||||
name: "file",
|
||||
formData: fd,
|
||||
success: (_res) => {
|
||||
resolve(fd.key);
|
||||
},
|
||||
fail: (err) => {
|
||||
console.log(err);
|
||||
reject(err);
|
||||
}
|
||||
});
|
||||
console.log();
|
||||
});
|
||||
};
|
||||
exports.uploadFiles = uploadFiles;
|
||||
12291
unpackage/dist/dev/mp-alipay/common/vendor.js
vendored
Normal file
12291
unpackage/dist/dev/mp-alipay/common/vendor.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
11
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.acss
vendored
Normal file
11
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.acss
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
.statusBar_blur {
|
||||
width: 100%;
|
||||
height: 185rpx;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: linear-gradient(180deg, #DBE5FF 0%, #FFFFFF 15%, #FFFFFF 81%, #F7F7F7 100%);
|
||||
opacity: 0.8;
|
||||
filter: blur(50px);
|
||||
z-index: 0;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view style="position:relative"><view style="{{'height:' + a}}"></view><view style="height:44px;display:flex;align-items:center"><slot/></view></view>
|
||||
14
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.js
vendored
Normal file
14
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
__name: "statusBar",
|
||||
setup(__props) {
|
||||
const statusBarHeight = common_vendor.index.getSystemInfoSync().statusBarHeight + "px";
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: statusBarHeight
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
my.createComponent(_sfc_main);
|
||||
5
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.json
vendored
Normal file
5
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
38
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.acss
vendored
Normal file
38
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.acss
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
.tabbar_pages {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 750rpx;
|
||||
height: 120rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
background-color: #fff;
|
||||
box-shadow: 0rpx -6rpx 12rpx 2rpx rgba(88, 140, 255, 0.1);
|
||||
border-radius: 15rpx 15rpx 0rpx 0rpx;
|
||||
z-index: 99;
|
||||
padding: 20rpx 115rpx;
|
||||
}
|
||||
.tabbar_pages_view {
|
||||
width: 100%;
|
||||
}
|
||||
.tabbar_pages_view view {
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.tabbar_pages_view view image {
|
||||
width: 44rpx;
|
||||
height: 44rpx;
|
||||
margin-bottom: 15rpx;
|
||||
}
|
||||
.tabbar_pages_view:nth-child(1) view {
|
||||
align-items: flex-start;
|
||||
}
|
||||
.tabbar_pages_view:nth-child(3) view {
|
||||
align-items: flex-end;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="tabbar_pages p30"><view a:for="{{a}}" a:for-item="item" a:key="d" class="tabbar_pages_view" onTap="{{item.e}}"><view><view><image mode="widthFix" src="{{item.a}}"></image></view><view style="{{'color:' + item.c}}">{{item.b}}</view></view></view></view>
|
||||
59
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.js
vendored
Normal file
59
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.js
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
__name: "tabbar",
|
||||
props: {
|
||||
path: {
|
||||
type: String,
|
||||
default: ""
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
const data = __props;
|
||||
let list = common_vendor.ref([
|
||||
{
|
||||
pagePath: "/pages/index/index",
|
||||
text: "首页",
|
||||
icon_select: "/static/tabbar/home.png",
|
||||
icon: "/static/tabbar/homes.png",
|
||||
type: 0
|
||||
},
|
||||
{
|
||||
pagePath: "/pages/market/market",
|
||||
text: "公告",
|
||||
icon_select: "/static/tabbar/market.png",
|
||||
icon: "/static/tabbar/markets.png",
|
||||
type: 0
|
||||
},
|
||||
{
|
||||
pagePath: "/pages/mine/mine",
|
||||
text: "我的",
|
||||
icon_select: "/static/tabbar/mine.png",
|
||||
icon: "/static/tabbar/mines.png",
|
||||
type: 0
|
||||
}
|
||||
]);
|
||||
const toLink = (e) => {
|
||||
common_vendor.index.vibrateShort();
|
||||
if (data.path == e)
|
||||
return true;
|
||||
common_vendor.index.switchTab({
|
||||
url: e
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(common_vendor.unref(list), (item, index, i0) => {
|
||||
return {
|
||||
a: __props.path == item.pagePath ? item.icon : item.icon_select,
|
||||
b: common_vendor.t(item.text),
|
||||
c: __props.path == item.pagePath ? "#4874E5" : "",
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => toLink(item.pagePath))
|
||||
};
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
my.createComponent(_sfc_main);
|
||||
5
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.json
vendored
Normal file
5
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
11
unpackage/dist/dev/mp-alipay/config.js
vendored
Normal file
11
unpackage/dist/dev/mp-alipay/config.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
const ENV_API_URL = {
|
||||
// development: 'http://192.168.1.63:1001', //开发环境
|
||||
development: "https://iuser.zhongshuai2023.com",
|
||||
//开发环境
|
||||
// production: 'https://iuser.zhongshuai2023.com', //开发环境
|
||||
production: "https://guangdongapp.zhongshuai2023.com"
|
||||
//生产环境
|
||||
};
|
||||
const API_URL = ENV_API_URL["development"];
|
||||
exports.API_URL = API_URL;
|
||||
44
unpackage/dist/dev/mp-alipay/hooks/useNav.js
vendored
Normal file
44
unpackage/dist/dev/mp-alipay/hooks/useNav.js
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../common/vendor.js");
|
||||
const store_index = require("../store/index.js");
|
||||
function useNav() {
|
||||
const navTo = (path, token, call) => {
|
||||
if (call) {
|
||||
common_vendor.index.makePhoneCall({
|
||||
phoneNumber: "17707569278"
|
||||
});
|
||||
return;
|
||||
}
|
||||
console.log(token, "token");
|
||||
console.log(store_index.store.state.token, "store.state.token");
|
||||
if (token && !store_index.store.state.token) {
|
||||
return common_vendor.index.showModal({
|
||||
title: "提示",
|
||||
content: "你还未登录,是否前往登录?",
|
||||
success: function(res) {
|
||||
if (res.confirm) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/login/login"
|
||||
});
|
||||
} else if (res.cancel) {
|
||||
console.log("用户点击取消");
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.navigateTo({
|
||||
url: path
|
||||
});
|
||||
}
|
||||
};
|
||||
const nav = (e) => {
|
||||
common_vendor.index[e.type == "nav" || !e.type ? "navigateTo" : e.type == "switchTab" ? "switchTab" : "navigateTo"]({
|
||||
url: e.path
|
||||
});
|
||||
};
|
||||
return {
|
||||
nav,
|
||||
navTo
|
||||
};
|
||||
}
|
||||
exports.useNav = useNav;
|
||||
11
unpackage/dist/dev/mp-alipay/mini.project.json
vendored
Normal file
11
unpackage/dist/dev/mp-alipay/mini.project.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"format": 2,
|
||||
"compileOptions": {
|
||||
"component2": true,
|
||||
"enableNodeModuleBabelTransform": true
|
||||
},
|
||||
"unknownConfig": {
|
||||
"appid": "2021004175674010",
|
||||
"projectname": "星动能源"
|
||||
}
|
||||
}
|
||||
104
unpackage/dist/dev/mp-alipay/money.js
vendored
Normal file
104
unpackage/dist/dev/mp-alipay/money.js
vendored
Normal file
@@ -0,0 +1,104 @@
|
||||
"use strict";
|
||||
const moneyJson = [
|
||||
{
|
||||
name: "充值",
|
||||
id: 1100
|
||||
},
|
||||
{
|
||||
name: "后台充值",
|
||||
id: 1200
|
||||
},
|
||||
{
|
||||
name: "后台划扣",
|
||||
id: 1201
|
||||
},
|
||||
{
|
||||
name: "购买商品",
|
||||
id: 2100
|
||||
},
|
||||
{
|
||||
name: "商品推广",
|
||||
id: 2110
|
||||
},
|
||||
{
|
||||
name: "商品培育津贴",
|
||||
id: 2120
|
||||
},
|
||||
{
|
||||
name: "商品服务津贴",
|
||||
id: 2130
|
||||
},
|
||||
{
|
||||
name: "购买商品-退单",
|
||||
id: 2200
|
||||
},
|
||||
{
|
||||
name: "商品推广-退单",
|
||||
id: 2210
|
||||
},
|
||||
{
|
||||
name: "商品培育津贴-退单",
|
||||
id: 2220
|
||||
},
|
||||
{
|
||||
name: "商品服务津贴-退单",
|
||||
id: 2230
|
||||
},
|
||||
{
|
||||
name: "充电桩收益",
|
||||
id: 3100
|
||||
},
|
||||
{
|
||||
name: "充电桩推广",
|
||||
id: 3110
|
||||
},
|
||||
{
|
||||
name: "充电桩培育津贴",
|
||||
id: 3120
|
||||
},
|
||||
{
|
||||
name: "充电桩服务津贴",
|
||||
id: 3130
|
||||
},
|
||||
{
|
||||
name: "充电桩收益-退单",
|
||||
id: 3200
|
||||
},
|
||||
{
|
||||
name: "充电桩推广-退单",
|
||||
id: 3210
|
||||
},
|
||||
{
|
||||
name: "充电桩培育津贴-退单",
|
||||
id: 3220
|
||||
},
|
||||
{
|
||||
name: "充电桩服务津贴-退单",
|
||||
id: 3230
|
||||
},
|
||||
{
|
||||
name: "提现",
|
||||
id: 4100
|
||||
},
|
||||
{
|
||||
name: "提现失败",
|
||||
id: 4200
|
||||
},
|
||||
{
|
||||
name: "转赠付款",
|
||||
id: 5100
|
||||
},
|
||||
{
|
||||
name: "转赠收款",
|
||||
id: 5200
|
||||
},
|
||||
{
|
||||
name: "转换减少",
|
||||
id: 6100
|
||||
},
|
||||
{
|
||||
name: "转换增加",
|
||||
id: 6200
|
||||
}
|
||||
];
|
||||
exports.moneyJson = moneyJson;
|
||||
33
unpackage/dist/dev/mp-alipay/pages/activity/detail513.acss
vendored
Normal file
33
unpackage/dist/dev/mp-alipay/pages/activity/detail513.acss
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
view.data-v-c0c3deb4 {
|
||||
line-height: 60rpx;
|
||||
}
|
||||
.uni-list.data-v-c0c3deb4 {
|
||||
background-color: #ffffff;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.uni-list-cell.data-v-c0c3deb4 {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.uni-list-cell-left.data-v-c0c3deb4 {
|
||||
white-space: nowrap;
|
||||
font-size: 28rpx;
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.uni-list-cell-db.data-v-c0c3deb4,
|
||||
.uni-list-cell-right.data-v-c0c3deb4 {
|
||||
flex: 1;
|
||||
}
|
||||
.uni-input-group.data-v-c0c3deb4 {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background-color: #fff;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/activity/detail513.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/activity/detail513.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30 data-v-c0c3deb4"><view class="data-v-c0c3deb4"><view class="data-v-c0c3deb4" style="background-color:#ffffff;border-radius:12rpx;padding:30rpx"><mp-html class="data-v-c0c3deb4" u-i="c0c3deb4-0" onVI="__l" u-p="{{a}}"></mp-html></view><view a:if="{{b}}" class="data-v-c0c3deb4"><view class="data-v-c0c3deb4" style="background-color:#ffffff;border-radius:12rpx;padding:30rpx;margin-top:30rpx"><view class="data-v-c0c3deb4">锁定中充电桩</view><view class="data-v-c0c3deb4" style="height:20rpx"></view><view a:if="{{c}}" class="data-v-c0c3deb4"><view a:for="{{d}}" a:for-item="item" a:key="d" class="data-v-c0c3deb4"><view class="data-v-c0c3deb4" style="color:#909399;font-size:28rpx;display:flex;align-items:center;justify-content:space-between"><view class="data-v-c0c3deb4">设备ID:{{item.a}}</view><view class="data-v-c0c3deb4">{{item.b}}</view></view><view class="data-v-c0c3deb4" style="height:10rpx"></view><u-line class="data-v-c0c3deb4" u-i="{{item.c}}" onVI="__l"></u-line><view class="data-v-c0c3deb4" style="height:10rpx"></view></view></view><view class="data-v-c0c3deb4" style="height:20rpx"></view><view a:if="{{e}}" class="data-v-c0c3deb4"><view class="data-v-c0c3deb4" style="color:#909399">当前数量{{f}}</view></view></view><view class="data-v-c0c3deb4" style="height:20rpx"></view><view class="data-v-c0c3deb4" style="background-color:#ffffff;padding:30rpx;border-radius:10rpx"><view class="data-v-c0c3deb4">当前状态</view><view class="data-v-c0c3deb4" style="height:10rpx"></view><view class="data-v-c0c3deb4">参与时间:{{g}}个月</view><view class="data-v-c0c3deb4" style="height:10rpx"></view><view class="data-v-c0c3deb4">有效期:{{h}}-{{i}}</view></view></view><view class="data-v-c0c3deb4" style="height:100rpx"></view></view></view>
|
||||
62
unpackage/dist/dev/mp-alipay/pages/activity/detail513.js
vendored
Normal file
62
unpackage/dist/dev/mp-alipay/pages/activity/detail513.js
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_mp_html2 = common_vendor.resolveComponent("mp-html");
|
||||
const _easycom_u_line2 = common_vendor.resolveComponent("u-line");
|
||||
(_easycom_mp_html2 + _easycom_u_line2)();
|
||||
}
|
||||
const _easycom_mp_html = () => "../../uni_modules/mp-html/components/mp-html/mp-html.js";
|
||||
const _easycom_u_line = () => "../../uni_modules/uview-plus/components/u-line/u-line.js";
|
||||
if (!Math) {
|
||||
(_easycom_mp_html + _easycom_u_line)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "detail513",
|
||||
setup(__props) {
|
||||
let info = common_vendor.ref({});
|
||||
let type = common_vendor.ref("");
|
||||
common_vendor.onLoad(async (options) => {
|
||||
type.value = options.type;
|
||||
var _res;
|
||||
if (options.type == 2) {
|
||||
_res = await api_api.activityUserInfo({ id: options.id });
|
||||
} else {
|
||||
_res = await api_api.activityInfo({ id: options.id });
|
||||
}
|
||||
if (_res.information) {
|
||||
_res.information = JSON.parse(_res.information);
|
||||
}
|
||||
info.value = _res;
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
content: common_vendor.unref(info).detail
|
||||
}),
|
||||
b: common_vendor.unref(type) == 2
|
||||
}, common_vendor.unref(type) == 2 ? common_vendor.e({
|
||||
c: common_vendor.unref(info).deviceList
|
||||
}, common_vendor.unref(info).deviceList ? {
|
||||
d: common_vendor.f(common_vendor.unref(info).deviceList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.id),
|
||||
b: common_vendor.t(item.createTime),
|
||||
c: "c0c3deb4-1-" + i0,
|
||||
d: index
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
e: common_vendor.unref(info).deviceList
|
||||
}, common_vendor.unref(info).deviceList ? {
|
||||
f: common_vendor.t(common_vendor.unref(info).deviceList.length)
|
||||
} : {}, {
|
||||
g: common_vendor.t(common_vendor.unref(info).freezeDate),
|
||||
h: common_vendor.t(common_vendor.unref(info).confirmDate),
|
||||
i: common_vendor.t(common_vendor.unref(info).expirationDate)
|
||||
}) : {});
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-c0c3deb4"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
7
unpackage/dist/dev/mp-alipay/pages/activity/detail513.json
vendored
Normal file
7
unpackage/dist/dev/mp-alipay/pages/activity/detail513.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"defaultTitle": "活动",
|
||||
"usingComponents": {
|
||||
"mp-html": "../../uni_modules/mp-html/components/mp-html/mp-html",
|
||||
"u-line": "../../uni_modules/uview-plus/components/u-line/u-line"
|
||||
}
|
||||
}
|
||||
33
unpackage/dist/dev/mp-alipay/pages/activity/detail813.acss
vendored
Normal file
33
unpackage/dist/dev/mp-alipay/pages/activity/detail813.acss
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
view.data-v-393d6d4d {
|
||||
line-height: 60rpx;
|
||||
}
|
||||
.uni-list.data-v-393d6d4d {
|
||||
background-color: #ffffff;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.uni-list-cell.data-v-393d6d4d {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.uni-list-cell-left.data-v-393d6d4d {
|
||||
white-space: nowrap;
|
||||
font-size: 28rpx;
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.uni-list-cell-db.data-v-393d6d4d,
|
||||
.uni-list-cell-right.data-v-393d6d4d {
|
||||
flex: 1;
|
||||
}
|
||||
.uni-input-group.data-v-393d6d4d {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background-color: #fff;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/activity/detail813.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/activity/detail813.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30 data-v-393d6d4d"><view class="data-v-393d6d4d"><view class="data-v-393d6d4d" style="background-color:#ffffff;border-radius:12rpx;padding:30rpx"><mp-html class="data-v-393d6d4d" u-i="393d6d4d-0" onVI="__l" u-p="{{a}}"></mp-html></view><view a:if="{{b}}" class="data-v-393d6d4d" style="background-color:#ffffff;border-radius:12rpx;padding:30rpx;margin-top:30rpx"><view class="data-v-393d6d4d">赠送充电桩</view><view class="data-v-393d6d4d" style="height:20rpx"></view><view class="data-v-393d6d4d" style="color:#909399;font-size:28rpx;display:flex;align-items:center;justify-content:space-between"><view class="data-v-393d6d4d">设备ID:{{c}}</view><view class="data-v-393d6d4d">{{d}}</view></view></view><view a:if="{{e}}" class="data-v-393d6d4d"><view a:if="{{f}}" class="data-v-393d6d4d" style="background-color:#ffffff;border-radius:12rpx;padding:30rpx;display:flex;align-items:center;margin-top:30rpx"><view class="data-v-393d6d4d" style="margin-right:25rpx">下单日期</view><view class="data-v-393d6d4d" style="flex:1"><picker class="data-v-393d6d4d" mode="date" start="{{h}}" end="{{i}}" value="{{j}}" onChange="{{k}}"><view class="uni-input data-v-393d6d4d">{{g}}</view></picker></view></view><view class="data-v-393d6d4d" style="margin-top:30rpx"><up-button class="data-v-393d6d4d" u-s="{{['d']}}" onClick="{{l}}" u-i="393d6d4d-1" onVI="__l" u-p="{{m}}">认领</up-button></view></view><view class="data-v-393d6d4d" style="height:100rpx"></view></view></view>
|
||||
94
unpackage/dist/dev/mp-alipay/pages/activity/detail813.js
vendored
Normal file
94
unpackage/dist/dev/mp-alipay/pages/activity/detail813.js
vendored
Normal file
@@ -0,0 +1,94 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_mp_html2 = common_vendor.resolveComponent("mp-html");
|
||||
const _easycom_up_button2 = common_vendor.resolveComponent("up-button");
|
||||
(_easycom_mp_html2 + _easycom_up_button2)();
|
||||
}
|
||||
const _easycom_mp_html = () => "../../uni_modules/mp-html/components/mp-html/mp-html.js";
|
||||
const _easycom_up_button = () => "../../uni_modules/uview-plus/components/u-button/u-button.js";
|
||||
if (!Math) {
|
||||
(_easycom_mp_html + _easycom_up_button)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "detail813",
|
||||
setup(__props) {
|
||||
let info = common_vendor.ref({});
|
||||
let type = common_vendor.ref("");
|
||||
common_vendor.onLoad(async (options) => {
|
||||
type.value = options.type;
|
||||
var _res;
|
||||
if (options.type == 2) {
|
||||
_res = await api_api.activityUserInfo({ id: options.id });
|
||||
} else {
|
||||
_res = await api_api.activityInfo({ id: options.id });
|
||||
}
|
||||
info.value = _res;
|
||||
});
|
||||
const getDate = (type2) => {
|
||||
const date2 = /* @__PURE__ */ new Date();
|
||||
let year = date2.getFullYear();
|
||||
let month = date2.getMonth() + 1;
|
||||
let day = date2.getDate();
|
||||
if (type2 === "start") {
|
||||
year = year - 60;
|
||||
} else if (type2 === "end") {
|
||||
year = year + 2;
|
||||
}
|
||||
month = month > 9 ? month : "0" + month;
|
||||
day = day > 9 ? day : "0" + day;
|
||||
return `${year}-${month}-${day}`;
|
||||
};
|
||||
const bindDateChange = (e) => {
|
||||
date.value = e.detail.value;
|
||||
};
|
||||
let startDate = common_vendor.computed(() => {
|
||||
return getDate("start");
|
||||
});
|
||||
let endDate = common_vendor.computed(() => {
|
||||
return getDate("end");
|
||||
});
|
||||
const currentDate = getDate({
|
||||
format: true
|
||||
});
|
||||
let date = common_vendor.ref(currentDate);
|
||||
let getActCreate = () => {
|
||||
api_api.activityUserConfirm({
|
||||
id: info.value.id,
|
||||
orderDate: date.value
|
||||
}).then((res) => {
|
||||
common_vendor.index.showToast({ title: "认领成功", icon: "none" });
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
content: common_vendor.unref(info).detail
|
||||
}),
|
||||
b: common_vendor.unref(type) == 2
|
||||
}, common_vendor.unref(type) == 2 ? {
|
||||
c: common_vendor.t(common_vendor.unref(info).deviceId),
|
||||
d: common_vendor.t(common_vendor.unref(info).createTime)
|
||||
} : {}, {
|
||||
e: common_vendor.unref(type) != 2
|
||||
}, common_vendor.unref(type) != 2 ? common_vendor.e({
|
||||
f: !_ctx.ac
|
||||
}, !_ctx.ac ? {
|
||||
g: common_vendor.t(common_vendor.unref(date)),
|
||||
h: common_vendor.unref(startDate),
|
||||
i: common_vendor.unref(endDate),
|
||||
j: common_vendor.unref(date),
|
||||
k: common_vendor.o(bindDateChange)
|
||||
} : {}, {
|
||||
l: common_vendor.o(common_vendor.unref(getActCreate)),
|
||||
m: common_vendor.p({
|
||||
color: "#4874e5",
|
||||
type: "primary"
|
||||
})
|
||||
}) : {});
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-393d6d4d"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
7
unpackage/dist/dev/mp-alipay/pages/activity/detail813.json
vendored
Normal file
7
unpackage/dist/dev/mp-alipay/pages/activity/detail813.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"defaultTitle": "活动",
|
||||
"usingComponents": {
|
||||
"mp-html": "../../uni_modules/mp-html/components/mp-html/mp-html",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
3
unpackage/dist/dev/mp-alipay/pages/activity/index.acss
vendored
Normal file
3
unpackage/dist/dev/mp-alipay/pages/activity/index.acss
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.xkl-com-bg.data-v-2c61ebca {
|
||||
min-height: 100vh;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/activity/index.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/activity/index.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30 data-v-2c61ebca"><view class="data-v-2c61ebca" style="background-color:#ffffff;border-radius:12rpx;padding:20rpx;display:flex;align-items:center;justify-content:space-between"><view class="data-v-2c61ebca">活动列表</view><navigator class="data-v-2c61ebca" url="/pages/activity/shop/index" style="color:#2b85e4">我的参与</navigator></view><view class="data-v-2c61ebca" style="height:20rpx"></view><navigator a:for="{{a}}" a:for-item="i" a:key="e" class="data-v-2c61ebca" url="{{i.f}}" style="background-color:#ffffff;border-radius:12rpx;padding:20rpx;margin-bottom:20rpx"><view class="data-v-2c61ebca"><view class="data-v-2c61ebca">{{i.a}}</view></view><up-divider class="data-v-2c61ebca" u-i="{{i.b}}" onVI="__l"></up-divider><view class="data-v-2c61ebca">活动时间:{{i.c}}-{{i.d}}</view></navigator></view>
|
||||
39
unpackage/dist/dev/mp-alipay/pages/activity/index.js
vendored
Normal file
39
unpackage/dist/dev/mp-alipay/pages/activity/index.js
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
require("../../uni_modules/uview-plus/index.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
const uni_modules_uviewPlus_libs_function_index = require("../../uni_modules/uview-plus/libs/function/index.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_divider2 = common_vendor.resolveComponent("up-divider");
|
||||
_easycom_up_divider2();
|
||||
}
|
||||
const _easycom_up_divider = () => "../../uni_modules/uview-plus/components/u-divider/u-divider.js";
|
||||
if (!Math) {
|
||||
_easycom_up_divider();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
let dataList = common_vendor.ref([]);
|
||||
common_vendor.onLoad(async () => {
|
||||
let _res = await api_api.activityList();
|
||||
dataList.value = _res;
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(common_vendor.unref(dataList), (i, k0, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(i.title),
|
||||
b: "2c61ebca-0-" + i0,
|
||||
c: common_vendor.t(common_vendor.unref(uni_modules_uviewPlus_libs_function_index.timeFormat)(new Date(i.startTime).getTime(), "yyyy-mm-dd")),
|
||||
d: common_vendor.t(common_vendor.unref(uni_modules_uviewPlus_libs_function_index.timeFormat)(new Date(i.endTime).getTime(), "yyyy-mm-dd")),
|
||||
e: i,
|
||||
f: `/pages/activity/detail${i.type == 1 ? "8" : "5"}13?id=${i.id}`
|
||||
};
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-2c61ebca"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
6
unpackage/dist/dev/mp-alipay/pages/activity/index.json
vendored
Normal file
6
unpackage/dist/dev/mp-alipay/pages/activity/index.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"defaultTitle": "活动中心",
|
||||
"usingComponents": {
|
||||
"up-divider": "../../uni_modules/uview-plus/components/u-divider/u-divider"
|
||||
}
|
||||
}
|
||||
0
unpackage/dist/dev/mp-alipay/pages/activity/shop/index.acss
vendored
Normal file
0
unpackage/dist/dev/mp-alipay/pages/activity/shop/index.acss
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/activity/shop/index.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/activity/shop/index.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30"><view><view a:for="{{a}}" a:for-item="item" a:key="c" onTap="{{item.d}}" style="background-color:#ffffff;border-radius:12rpx;padding:20rpx;margin-bottom:20rpx"><view>{{item.a}}</view><view style="height:10rpx"></view><view>活动参与时间:{{item.b}}</view></view></view></view>
|
||||
33
unpackage/dist/dev/mp-alipay/pages/activity/shop/index.js
vendored
Normal file
33
unpackage/dist/dev/mp-alipay/pages/activity/shop/index.js
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const api_api = require("../../../api/api.js");
|
||||
require("../../../uni_modules/uview-plus/index.js");
|
||||
const uni_modules_uviewPlus_libs_function_index = require("../../../uni_modules/uview-plus/libs/function/index.js");
|
||||
const _sfc_main = {
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
let dataList = common_vendor.ref([]);
|
||||
common_vendor.onLoad(async () => {
|
||||
let _res = await api_api.activityUserList();
|
||||
dataList.value = _res;
|
||||
});
|
||||
const toUrl = (e) => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: e
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(common_vendor.unref(dataList), (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.t(common_vendor.unref(uni_modules_uviewPlus_libs_function_index.timeFormat)(new Date(item.createTime).getTime(), "yyyy-mm-dd")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => toUrl(`/pages/activity/detail${item.type == 1 ? "8" : "5"}13?id=${item.id}&type=2`))
|
||||
};
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
my.createPage(_sfc_main);
|
||||
4
unpackage/dist/dev/mp-alipay/pages/activity/shop/index.json
vendored
Normal file
4
unpackage/dist/dev/mp-alipay/pages/activity/shop/index.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"defaultTitle": "参与记录",
|
||||
"usingComponents": {}
|
||||
}
|
||||
0
unpackage/dist/dev/mp-alipay/pages/agreement/agreement.acss
vendored
Normal file
0
unpackage/dist/dev/mp-alipay/pages/agreement/agreement.acss
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/agreement/agreement.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/agreement/agreement.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30"><mp-html u-i="47679100-0" onVI="__l" u-p="{{a}}"/><view style="height:100rpx"></view></view>
|
||||
29
unpackage/dist/dev/mp-alipay/pages/agreement/agreement.js
vendored
Normal file
29
unpackage/dist/dev/mp-alipay/pages/agreement/agreement.js
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_mp_html2 = common_vendor.resolveComponent("mp-html");
|
||||
_easycom_mp_html2();
|
||||
}
|
||||
const _easycom_mp_html = () => "../../uni_modules/mp-html/components/mp-html/mp-html.js";
|
||||
if (!Math) {
|
||||
_easycom_mp_html();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "agreement",
|
||||
setup(__props) {
|
||||
let info = common_vendor.ref({});
|
||||
common_vendor.onLoad(async (options) => {
|
||||
let _res = await api_api.selectProtocolInfo({ id: options.id });
|
||||
info.value = _res;
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
content: common_vendor.unref(info).protocolContent
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
my.createPage(_sfc_main);
|
||||
6
unpackage/dist/dev/mp-alipay/pages/agreement/agreement.json
vendored
Normal file
6
unpackage/dist/dev/mp-alipay/pages/agreement/agreement.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"usingComponents": {
|
||||
"mp-html": "../../uni_modules/mp-html/components/mp-html/mp-html"
|
||||
}
|
||||
}
|
||||
103
unpackage/dist/dev/mp-alipay/pages/index/index.acss
vendored
Normal file
103
unpackage/dist/dev/mp-alipay/pages/index/index.acss
vendored
Normal file
@@ -0,0 +1,103 @@
|
||||
.shopList.data-v-1cf27b2a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
justify-content: content;
|
||||
}
|
||||
.shopList_img.data-v-1cf27b2a {
|
||||
width: 308rpx;
|
||||
height: 44rpx;
|
||||
margin-bottom: 50rpx;
|
||||
}
|
||||
.shopList_list.data-v-1cf27b2a {
|
||||
width: 690rpx;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.shopList_list_view.data-v-1cf27b2a {
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
width: 334rpx;
|
||||
background-color: #fff;
|
||||
margin-bottom: 30rpx;
|
||||
padding-bottom: 20rpx;
|
||||
}
|
||||
.shopList_list_view_img.data-v-1cf27b2a {
|
||||
width: 334rpx;
|
||||
height: 334rpx;
|
||||
border-radius: 8rpx 8rpx 0rpx 0rpx;
|
||||
}
|
||||
.shopList_list_view_tit.data-v-1cf27b2a {
|
||||
padding: 10rpx 20rpx 0;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
/* 限制显示的行数 */
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
font-weight: bold;
|
||||
font-size: 30rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.shopList_list_view_mon.data-v-1cf27b2a {
|
||||
padding: 0rpx 20rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.shopList_list_view_mon_left.data-v-1cf27b2a {
|
||||
font-weight: bold;
|
||||
font-size: 30rpx;
|
||||
color: #4874e5;
|
||||
}
|
||||
.shopList_list_view_mon_right.data-v-1cf27b2a {
|
||||
width: 80rpx;
|
||||
height: 40rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
font-size: 26rpx;
|
||||
background-color: #4874e5;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
.home_notice.data-v-1cf27b2a {
|
||||
background-color: #fff;
|
||||
border-radius: 25rpx;
|
||||
padding: 30rpx 40rpx;
|
||||
}
|
||||
.home_notice_title.data-v-1cf27b2a {
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: #4874e5;
|
||||
text-align: center;
|
||||
margin-bottom: 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.home_notice_view.data-v-1cf27b2a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: 28rpx;
|
||||
padding-bottom: 20rpx;
|
||||
}
|
||||
.home_notice_view view.data-v-1cf27b2a {
|
||||
max-width: 600rpx;
|
||||
white-space: nowrap;
|
||||
/*超出的空白区域不换行*/
|
||||
overflow: hidden;
|
||||
/*超出隐藏*/
|
||||
text-overflow: ellipsis;
|
||||
/*文本超出显示省略号*/
|
||||
}
|
||||
.homeIndex ::deep .u-grid-item.data-v-1cf27b2a {
|
||||
margin-top: 0;
|
||||
}
|
||||
.homeIndex button.data-v-1cf27b2a::after {
|
||||
all: unset;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/index/index.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/index/index.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30 homeIndex data-v-1cf27b2a" style="padding-bottom:150rpx"><status-bar class="data-v-1cf27b2a" u-i="1cf27b2a-0" onVI="__l"/><up-swiper class="data-v-1cf27b2a" onClick="{{a}}" u-i="1cf27b2a-1" onVI="__l" u-p="{{b}}"></up-swiper><view class="mt30 data-v-1cf27b2a"><up-grid class="data-v-1cf27b2a" u-s="{{['d']}}" u-i="1cf27b2a-2" onVI="__l" u-p="{{e}}"><up-grid-item a:for="{{c}}" a:for-item="item" a:key="e" class="data-v-1cf27b2a" u-s="{{['d']}}" onClick="{{item.f}}" u-i="{{item.g}}" onVI="__l" u-p="{{d}}"><button class="data-v-1cf27b2a" open-type="{{item.d}}" style="all:unset;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column"><view class="data-v-1cf27b2a" style="height:35rpx"></view><up-icon class="data-v-1cf27b2a" u-i="{{item.a}}" onVI="__l" u-p="{{item.b}}"></up-icon><text class="data-v-1cf27b2a" style="font-size:24rpx;color:#333;margin-top:10rpx">{{item.c}}</text><view class="data-v-1cf27b2a" style="height:15rpx"></view></button></up-grid-item></up-grid></view><view class="mt30 data-v-1cf27b2a"><view class="home_notice data-v-1cf27b2a"><view class="home_notice_title data-v-1cf27b2a"><view class="data-v-1cf27b2a">系统公告</view><view style="font-size:28rpx" onTap="{{g}}" class="u-flex-y-center data-v-1cf27b2a"> 更多 <up-icon class="data-v-1cf27b2a" u-i="1cf27b2a-5" onVI="__l" u-p="{{f}}"></up-icon></view></view><view a:for="{{h}}" a:for-item="item" a:key="d" class="data-v-1cf27b2a"><navigator a:if="{{item.a}}" url="{{item.c}}" class="home_notice_view data-v-1cf27b2a"><view class="data-v-1cf27b2a">{{item.b}}</view></navigator></view></view></view><image class="data-v-1cf27b2a" onTap="{{i}}" src="{{j}}" style="width:690rpx;margin:30rpx 0" mode="widthFix"></image><view class="shopList data-v-1cf27b2a"><image class="shopList_img data-v-1cf27b2a" src="{{k}}" mode="widthFix"></image><view class="shopList_list data-v-1cf27b2a"><view a:for="{{l}}" a:for-item="i" a:key="d" class="shopList_list_view data-v-1cf27b2a" onTap="{{i.e}}"><image class="shopList_list_view_img data-v-1cf27b2a" src="{{i.a}}" mode="aspectFit"></image><view class="shopList_list_view_tit data-v-1cf27b2a">{{i.b}}</view><view class="shopList_list_view_mon data-v-1cf27b2a"><view class="shopList_list_view_mon_left data-v-1cf27b2a">¥{{i.c}} 元</view></view></view></view></view><tabbar class="data-v-1cf27b2a" u-i="1cf27b2a-6" onVI="__l" u-p="{{m}}"></tabbar></view>
|
||||
226
unpackage/dist/dev/mp-alipay/pages/index/index.js
vendored
Normal file
226
unpackage/dist/dev/mp-alipay/pages/index/index.js
vendored
Normal file
@@ -0,0 +1,226 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const hooks_useNav = require("../../hooks/useNav.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_statusBar2 = common_vendor.resolveComponent("statusBar");
|
||||
const _easycom_up_swiper2 = common_vendor.resolveComponent("up-swiper");
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_up_grid_item2 = common_vendor.resolveComponent("up-grid-item");
|
||||
const _easycom_up_grid2 = common_vendor.resolveComponent("up-grid");
|
||||
const _easycom_tabbar2 = common_vendor.resolveComponent("tabbar");
|
||||
(_easycom_statusBar2 + _easycom_up_swiper2 + _easycom_up_icon2 + _easycom_up_grid_item2 + _easycom_up_grid2 + _easycom_tabbar2)();
|
||||
}
|
||||
const _easycom_statusBar = () => "../../components/statusBar/statusBar.js";
|
||||
const _easycom_up_swiper = () => "../../uni_modules/uview-plus/components/u-swiper/u-swiper.js";
|
||||
const _easycom_up_icon = () => "../../uni_modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_up_grid_item = () => "../../uni_modules/uview-plus/components/u-grid-item/u-grid-item.js";
|
||||
const _easycom_up_grid = () => "../../uni_modules/uview-plus/components/u-grid/u-grid.js";
|
||||
const _easycom_tabbar = () => "../../components/tabbar/tabbar.js";
|
||||
if (!Math) {
|
||||
(_easycom_statusBar + _easycom_up_swiper + _easycom_up_icon + _easycom_up_grid_item + _easycom_up_grid + _easycom_tabbar)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
const { nav, navTo } = hooks_useNav.useNav();
|
||||
common_vendor.reactive([
|
||||
"https://cdn.uviewui.com/uview/swiper/swiper1.png",
|
||||
"https://cdn.uviewui.com/uview/swiper/swiper2.png",
|
||||
"https://cdn.uviewui.com/uview/swiper/swiper3.png"
|
||||
]);
|
||||
const paging = common_vendor.ref(null);
|
||||
let dataList = common_vendor.ref([]);
|
||||
common_vendor.ref([]);
|
||||
let banner = common_vendor.ref([]);
|
||||
let contentList = common_vendor.ref([]);
|
||||
common_vendor.onShow(async () => {
|
||||
common_vendor.index.hideTabBar();
|
||||
});
|
||||
common_vendor.onLoad(async (options) => {
|
||||
common_vendor.index.hideTabBar();
|
||||
if (options.q) {
|
||||
const q = decodeURIComponent(options.q);
|
||||
const query = getUrlParam(q);
|
||||
if (query.num) {
|
||||
common_vendor.index.setStorageSync("invite_code", query.num);
|
||||
}
|
||||
}
|
||||
bannerList();
|
||||
let _res = await api_api.getContentList({
|
||||
cid: 1
|
||||
});
|
||||
contentList.value = _res.records;
|
||||
getList();
|
||||
});
|
||||
function getList() {
|
||||
api_api.shopPage().then((res) => {
|
||||
dataList.value = res.records;
|
||||
});
|
||||
}
|
||||
function getUrlParam(url, paramName) {
|
||||
let pattern = /([^?&=]+)=([^&]+)/g;
|
||||
let params = {};
|
||||
let match;
|
||||
while ((match = pattern.exec(url)) !== null) {
|
||||
let key = decodeURIComponent(match[1]);
|
||||
let value = decodeURIComponent(match[2]);
|
||||
if (params[key]) {
|
||||
if (Array.isArray(params[key])) {
|
||||
params[key].push(value);
|
||||
} else {
|
||||
params[key] = [params[key], value];
|
||||
}
|
||||
} else {
|
||||
params[key] = value;
|
||||
}
|
||||
}
|
||||
if (!paramName) {
|
||||
return params;
|
||||
} else {
|
||||
if (params[paramName]) {
|
||||
return params[paramName];
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
let bannerList = async () => {
|
||||
let _res = await api_api.bannerInfo();
|
||||
banner.value = _res;
|
||||
};
|
||||
let isPagingRefNotFound = () => {
|
||||
return !paging.value;
|
||||
};
|
||||
common_vendor.onPullDownRefresh(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.reload().catch(() => {
|
||||
});
|
||||
});
|
||||
common_vendor.onPageScroll((e) => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.updatePageScrollTop(e.scrollTop);
|
||||
e.scrollTop < 10 && paging.value.doChatRecordLoadMore();
|
||||
});
|
||||
common_vendor.onReachBottom(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.pageReachBottom();
|
||||
});
|
||||
const baseList = common_vendor.reactive([
|
||||
{
|
||||
img: "/static/icon/dz.png",
|
||||
name: "我的电桩",
|
||||
path: "/pages/piles/piles",
|
||||
login: true
|
||||
},
|
||||
{
|
||||
img: "/static/icon/zd.png",
|
||||
name: "我的账单",
|
||||
path: "/pages/mine/balanceIncome",
|
||||
login: true
|
||||
},
|
||||
{
|
||||
img: "/static/icon/hd.png",
|
||||
name: "活动",
|
||||
path: "/pages/activity/index",
|
||||
login: false
|
||||
},
|
||||
{
|
||||
img: "/static/icon/kf.png",
|
||||
name: "联系客服",
|
||||
call: true
|
||||
}
|
||||
]);
|
||||
let toShop = (e) => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/shop/shop?id=" + e.id
|
||||
});
|
||||
};
|
||||
let bannerClick = (e) => {
|
||||
let data = banner.value[e];
|
||||
if (data.jumpUrl) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: data.jumpUrl
|
||||
});
|
||||
}
|
||||
};
|
||||
let changeTab = () => {
|
||||
common_vendor.index.switchTab({
|
||||
url: "/pages/market/market"
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(common_vendor.unref(bannerClick)),
|
||||
b: common_vendor.p({
|
||||
list: common_vendor.unref(banner),
|
||||
keyName: "imageUrl",
|
||||
height: "388rpx",
|
||||
indicator: true
|
||||
}),
|
||||
c: common_vendor.f(baseList, (item, index, i0) => {
|
||||
return {
|
||||
a: "1cf27b2a-4-" + i0 + "," + ("1cf27b2a-3-" + i0),
|
||||
b: common_vendor.p({
|
||||
imgMode: "widthFix",
|
||||
name: item.img,
|
||||
size: 27
|
||||
}),
|
||||
c: common_vendor.t(item.name),
|
||||
d: item.openType,
|
||||
e: index,
|
||||
f: common_vendor.o(($event) => common_vendor.unref(navTo)(item.path, item.login, item.call)),
|
||||
g: "1cf27b2a-3-" + i0 + ",1cf27b2a-2"
|
||||
};
|
||||
}),
|
||||
d: common_vendor.p({
|
||||
bgColor: "#fff"
|
||||
}),
|
||||
e: common_vendor.p({
|
||||
border: false,
|
||||
col: "4"
|
||||
}),
|
||||
f: common_vendor.p({
|
||||
name: "arrow-right",
|
||||
color: "#4874e5",
|
||||
size: "14"
|
||||
}),
|
||||
g: common_vendor.o((...args) => common_vendor.unref(changeTab) && common_vendor.unref(changeTab)(...args)),
|
||||
h: common_vendor.f(common_vendor.unref(contentList), (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: index <= 2
|
||||
}, index <= 2 ? {
|
||||
b: common_vendor.t(item.title),
|
||||
c: `/pages/market/detail?id=${item.id}`
|
||||
} : {}, {
|
||||
d: index
|
||||
});
|
||||
}),
|
||||
i: common_vendor.o(($event) => common_vendor.unref(nav)({
|
||||
path: "/pages/setMealList/setMealList"
|
||||
})),
|
||||
j: common_assets._imports_0,
|
||||
k: common_assets._imports_1,
|
||||
l: common_vendor.f(common_vendor.unref(dataList), (i, k0, i0) => {
|
||||
return {
|
||||
a: JSON.parse(i.picture)[0],
|
||||
b: common_vendor.t(i.goodsName),
|
||||
c: common_vendor.t(i.salePrice),
|
||||
d: i,
|
||||
e: common_vendor.o(($event) => common_vendor.unref(toShop)(i))
|
||||
};
|
||||
}),
|
||||
m: common_vendor.p({
|
||||
path: "/pages/index/index"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1cf27b2a"]]);
|
||||
_sfc_main.__runtimeHooks = 1;
|
||||
my.createPage(MiniProgramPage);
|
||||
13
unpackage/dist/dev/mp-alipay/pages/index/index.json
vendored
Normal file
13
unpackage/dist/dev/mp-alipay/pages/index/index.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"transparentTitle": "always",
|
||||
"titlePenetrate": "YES",
|
||||
"usingComponents": {
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"up-swiper": "../../uni_modules/uview-plus/components/u-swiper/u-swiper",
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"up-grid-item": "../../uni_modules/uview-plus/components/u-grid-item/u-grid-item",
|
||||
"up-grid": "../../uni_modules/uview-plus/components/u-grid/u-grid",
|
||||
"tabbar": "../../components/tabbar/tabbar"
|
||||
}
|
||||
}
|
||||
43
unpackage/dist/dev/mp-alipay/pages/login/getBack.acss
vendored
Normal file
43
unpackage/dist/dev/mp-alipay/pages/login/getBack.acss
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
.login.data-v-d23ab30f {
|
||||
padding: 0 60rpx;
|
||||
}
|
||||
.login_bei.data-v-d23ab30f {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 608rpx;
|
||||
height: 424rpx;
|
||||
}
|
||||
.login_logo.data-v-d23ab30f {
|
||||
margin-top: 150rpx;
|
||||
}
|
||||
.login_logo_img.data-v-d23ab30f {
|
||||
width: 152rpx;
|
||||
height: 106rpx;
|
||||
border-radius: 28rpx 28rpx 28rpx 28rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.login_logo_tit.data-v-d23ab30f {
|
||||
font-weight: bold;
|
||||
font-size: 44rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.login_btn.data-v-d23ab30f {
|
||||
width: 474rpx;
|
||||
height: 78rpx;
|
||||
background: #4874e5;
|
||||
border-radius: 54rpx 54rpx 54rpx 54rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: bold;
|
||||
font-size: 30rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
.orderdetail_header.data-v-d23ab30f {
|
||||
width: 750rpx;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 99;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/login/getBack.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/login/getBack.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="login data-v-d23ab30f"><view class="orderdetail_header p30 data-v-d23ab30f"><view class="data-v-d23ab30f" style="{{'height:' + a}}"></view><view class="data-v-d23ab30f" style="height:44px;display:flex;align-items:center"><up-icon class="data-v-d23ab30f" onClick="{{b}}" u-i="d23ab30f-0" onVI="__l" u-p="{{c}}"></up-icon></view></view><image class="login_bei data-v-d23ab30f" src="{{d}}"></image><status-bar class="data-v-d23ab30f" u-i="d23ab30f-1" onVI="__l"/><view class="login_logo data-v-d23ab30f"><image class="login_logo_img data-v-d23ab30f" src="{{e}}"></image><view class="login_logo_tit data-v-d23ab30f">欢迎来到星动能源</view></view><view class="data-v-d23ab30f" style="margin-top:150rpx"><view class="data-v-d23ab30f" style="margin-bottom:30rpx"><up-input class="data-v-d23ab30f" u-i="d23ab30f-2" onVI="__l" onUpdateModelValue="{{f}}" u-p="{{g}}"></up-input></view><view class="data-v-d23ab30f" style="margin-bottom:30rpx"><up-input class="data-v-d23ab30f" u-i="d23ab30f-3" onVI="__l" onUpdateModelValue="{{h}}" u-p="{{i}}"></up-input></view><view class="data-v-d23ab30f" style="margin-bottom:30rpx"><up-input class="data-v-d23ab30f" u-i="d23ab30f-4" onVI="__l" onUpdateModelValue="{{j}}" u-p="{{k}}"></up-input></view><view class="data-v-d23ab30f" style="margin-bottom:30rpx"><up-input class="data-v-d23ab30f" u-i="d23ab30f-5" onVI="__l" onUpdateModelValue="{{l}}" u-p="{{m}}"></up-input></view><view class="data-v-d23ab30f" style="margin-bottom:30rpx;display:flex;align-items:center"><up-input class="data-v-d23ab30f" u-i="d23ab30f-6" onVI="__l" onUpdateModelValue="{{n}}" u-p="{{o}}"></up-input><up-code class="data-v-d23ab30f" ref="__r" u-r="{{p}}" onChange="{{q}}" u-i="d23ab30f-7" onVI="__l" u-p="{{r}}"></up-code><text class="data-v-d23ab30f" onTap="{{t}}" text="{{v}}" style="font-size:28rpx;color:#4874e5">{{s}}</text></view></view><view class="data-v-d23ab30f" style="display:flex;justify-content:center;margin-top:80rpx"><view class="login_btn data-v-d23ab30f" onTap="{{w}}">确认</view></view></view>
|
||||
148
unpackage/dist/dev/mp-alipay/pages/login/getBack.js
vendored
Normal file
148
unpackage/dist/dev/mp-alipay/pages/login/getBack.js
vendored
Normal file
@@ -0,0 +1,148 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_statusBar2 = common_vendor.resolveComponent("statusBar");
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
const _easycom_up_code2 = common_vendor.resolveComponent("up-code");
|
||||
(_easycom_up_icon2 + _easycom_statusBar2 + _easycom_up_input2 + _easycom_up_code2)();
|
||||
}
|
||||
const _easycom_up_icon = () => "../../uni_modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_statusBar = () => "../../components/statusBar/statusBar.js";
|
||||
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
|
||||
const _easycom_up_code = () => "../../uni_modules/uview-plus/components/u-code/u-code.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_icon + _easycom_statusBar + _easycom_up_input + _easycom_up_code)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "getBack",
|
||||
setup(__props) {
|
||||
const statusBarHeight = common_vendor.index.getSystemInfoSync().statusBarHeight + "px";
|
||||
let tips = common_vendor.ref("");
|
||||
let uCode = common_vendor.ref(null);
|
||||
let dataFrom = common_vendor.reactive({
|
||||
userName: "",
|
||||
passwd: "",
|
||||
phone: "",
|
||||
smsCode: "",
|
||||
confirmPasswd: ""
|
||||
});
|
||||
let codeChange2 = (text) => {
|
||||
tips.value = text;
|
||||
};
|
||||
let getCode2 = () => {
|
||||
if (!dataFrom.phone)
|
||||
return common_vendor.index.showToast({ title: "请输入手机号", icon: "none" });
|
||||
if (uCode.value.canGetCode) {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在获取验证码"
|
||||
});
|
||||
api_api.smsCode({
|
||||
phone: dataFrom.phone
|
||||
}).then((res) => {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.$u.toast("验证码已发送");
|
||||
uCode.value.start();
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.$u.toast("倒计时结束后再发送");
|
||||
}
|
||||
};
|
||||
let submit = async () => {
|
||||
if (!dataFrom.userName)
|
||||
return common_vendor.index.showToast({ title: "请输入用户名", icon: "none" });
|
||||
if (!dataFrom.phone)
|
||||
return common_vendor.index.showToast({ title: "请输入手机号", icon: "none" });
|
||||
if (dataFrom.phone.length != 11)
|
||||
return common_vendor.index.showToast({ title: "请输入正确的手机号", icon: "none" });
|
||||
if (!dataFrom.smsCode)
|
||||
return common_vendor.index.showToast({ title: "请输入验证码", icon: "none" });
|
||||
if (!dataFrom.passwd)
|
||||
return common_vendor.index.showToast({ title: "请输入密码", icon: "none" });
|
||||
if (!dataFrom.confirmPasswd)
|
||||
return common_vendor.index.showToast({ title: "请再次输入密码", icon: "none" });
|
||||
if (dataFrom.passwd != dataFrom.confirmPasswd)
|
||||
return common_vendor.index.showToast({ title: "两次密码输入不一致", icon: "none" });
|
||||
await api_api.forgotPassword(dataFrom);
|
||||
common_vendor.index.showToast({ title: "修改成功", icon: "none" });
|
||||
setTimeout(() => {
|
||||
common_vendor.index.navigateBack();
|
||||
}, 200);
|
||||
};
|
||||
let back = () => {
|
||||
common_vendor.index.navigateBack();
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: statusBarHeight,
|
||||
b: common_vendor.o(common_vendor.unref(back)),
|
||||
c: common_vendor.p({
|
||||
name: "arrow-left",
|
||||
bold: true,
|
||||
color: "#000"
|
||||
}),
|
||||
d: common_assets._imports_0$2,
|
||||
e: common_assets._imports_1$1,
|
||||
f: common_vendor.o(($event) => common_vendor.unref(dataFrom).userName = $event),
|
||||
g: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
placeholder: "请输入您的用户名",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).userName
|
||||
}),
|
||||
h: common_vendor.o(($event) => common_vendor.unref(dataFrom).passwd = $event),
|
||||
i: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
type: "password",
|
||||
placeholder: "请输入您的密码",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).passwd
|
||||
}),
|
||||
j: common_vendor.o(($event) => common_vendor.unref(dataFrom).confirmPasswd = $event),
|
||||
k: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
type: "password",
|
||||
placeholder: "请再次输入您的密码",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).confirmPasswd
|
||||
}),
|
||||
l: common_vendor.o(($event) => common_vendor.unref(dataFrom).phone = $event),
|
||||
m: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
placeholder: "请输入您的手机号",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).phone
|
||||
}),
|
||||
n: common_vendor.o(($event) => common_vendor.unref(dataFrom).smsCode = $event),
|
||||
o: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
placeholder: "请输入验证码",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).smsCode
|
||||
}),
|
||||
p: () => ({
|
||||
r: uCode,
|
||||
k: "uCode"
|
||||
}),
|
||||
q: common_vendor.o(common_vendor.unref(codeChange2)),
|
||||
r: common_vendor.p({
|
||||
["keep-running"]: true,
|
||||
["start-text"]: "点我获取验证码"
|
||||
}),
|
||||
s: common_vendor.t(common_vendor.unref(tips)),
|
||||
t: common_vendor.o((...args) => common_vendor.unref(getCode2) && common_vendor.unref(getCode2)(...args)),
|
||||
v: common_vendor.unref(tips),
|
||||
w: common_vendor.o((...args) => common_vendor.unref(submit) && common_vendor.unref(submit)(...args))
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-d23ab30f"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
11
unpackage/dist/dev/mp-alipay/pages/login/getBack.json
vendored
Normal file
11
unpackage/dist/dev/mp-alipay/pages/login/getBack.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"transparentTitle": "always",
|
||||
"titlePenetrate": "YES",
|
||||
"usingComponents": {
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-code": "../../uni_modules/uview-plus/components/u-code/u-code"
|
||||
}
|
||||
}
|
||||
43
unpackage/dist/dev/mp-alipay/pages/login/getBackAccout.acss
vendored
Normal file
43
unpackage/dist/dev/mp-alipay/pages/login/getBackAccout.acss
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
.login.data-v-07a163b6 {
|
||||
padding: 0 60rpx;
|
||||
}
|
||||
.login_bei.data-v-07a163b6 {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 608rpx;
|
||||
height: 424rpx;
|
||||
}
|
||||
.login_logo.data-v-07a163b6 {
|
||||
margin-top: 150rpx;
|
||||
}
|
||||
.login_logo_img.data-v-07a163b6 {
|
||||
width: 152rpx;
|
||||
height: 106rpx;
|
||||
border-radius: 28rpx 28rpx 28rpx 28rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.login_logo_tit.data-v-07a163b6 {
|
||||
font-weight: bold;
|
||||
font-size: 44rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.login_btn.data-v-07a163b6 {
|
||||
width: 474rpx;
|
||||
height: 78rpx;
|
||||
background: #4874e5;
|
||||
border-radius: 54rpx 54rpx 54rpx 54rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: bold;
|
||||
font-size: 30rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
.orderdetail_header.data-v-07a163b6 {
|
||||
width: 750rpx;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 99;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/login/getBackAccout.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/login/getBackAccout.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="login data-v-07a163b6"><view class="orderdetail_header p30 data-v-07a163b6"><view class="data-v-07a163b6" style="{{'height:' + a}}"></view><view class="data-v-07a163b6" style="height:44px;display:flex;align-items:center"><up-icon class="data-v-07a163b6" onClick="{{b}}" u-i="07a163b6-0" onVI="__l" u-p="{{c}}"></up-icon></view></view><image class="login_bei data-v-07a163b6" src="{{d}}"></image><status-bar class="data-v-07a163b6" u-i="07a163b6-1" onVI="__l"/><view class="login_logo data-v-07a163b6"><image class="login_logo_img data-v-07a163b6" src="{{e}}"></image><view class="login_logo_tit data-v-07a163b6">欢迎来到星动能源</view></view><view class="data-v-07a163b6" style="margin-top:150rpx"><view class="data-v-07a163b6" style="margin-bottom:30rpx"><up-input class="data-v-07a163b6" u-i="07a163b6-2" onVI="__l" onUpdateModelValue="{{f}}" u-p="{{g}}"></up-input></view><view class="data-v-07a163b6" style="margin-bottom:30rpx;display:flex;align-items:center"><up-input class="data-v-07a163b6" u-i="07a163b6-3" onVI="__l" onUpdateModelValue="{{h}}" u-p="{{i}}"></up-input><up-code class="data-v-07a163b6" ref="__r" u-r="{{j}}" onChange="{{k}}" u-i="07a163b6-4" onVI="__l" u-p="{{l}}"></up-code><text class="data-v-07a163b6" onTap="{{n}}" text="{{o}}" style="font-size:28rpx;color:#4874e5">{{m}}</text></view></view><view class="data-v-07a163b6" style="display:flex;justify-content:center;margin-top:80rpx"><view class="login_btn data-v-07a163b6" onTap="{{p}}">确认</view></view></view>
|
||||
137
unpackage/dist/dev/mp-alipay/pages/login/getBackAccout.js
vendored
Normal file
137
unpackage/dist/dev/mp-alipay/pages/login/getBackAccout.js
vendored
Normal file
@@ -0,0 +1,137 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_statusBar2 = common_vendor.resolveComponent("statusBar");
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
const _easycom_up_code2 = common_vendor.resolveComponent("up-code");
|
||||
(_easycom_up_icon2 + _easycom_statusBar2 + _easycom_up_input2 + _easycom_up_code2)();
|
||||
}
|
||||
const _easycom_up_icon = () => "../../uni_modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_statusBar = () => "../../components/statusBar/statusBar.js";
|
||||
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
|
||||
const _easycom_up_code = () => "../../uni_modules/uview-plus/components/u-code/u-code.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_icon + _easycom_statusBar + _easycom_up_input + _easycom_up_code)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "getBackAccout",
|
||||
setup(__props) {
|
||||
const statusBarHeight = common_vendor.index.getSystemInfoSync().statusBarHeight + "px";
|
||||
let tips = common_vendor.ref("");
|
||||
let uCode = common_vendor.ref(null);
|
||||
let dataFrom = common_vendor.reactive({
|
||||
phone: "",
|
||||
smsCode: ""
|
||||
});
|
||||
let codeChange2 = (text) => {
|
||||
tips.value = text;
|
||||
};
|
||||
let getCode2 = () => {
|
||||
if (!dataFrom.phone)
|
||||
return common_vendor.index.showToast({ title: "请输入手机号", icon: "none" });
|
||||
if (uCode.value.canGetCode) {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在获取验证码"
|
||||
});
|
||||
api_api.smsCode({
|
||||
phone: dataFrom.phone
|
||||
}).then((res) => {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.$u.toast("验证码已发送");
|
||||
uCode.value.start();
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.$u.toast("倒计时结束后再发送");
|
||||
}
|
||||
};
|
||||
let submit = async () => {
|
||||
if (!dataFrom.phone)
|
||||
return common_vendor.index.showToast({ title: "请输入手机号", icon: "none" });
|
||||
if (dataFrom.phone.length != 11)
|
||||
return common_vendor.index.showToast({ title: "请输入正确的手机号", icon: "none" });
|
||||
if (!dataFrom.smsCode)
|
||||
return common_vendor.index.showToast({ title: "请输入验证码", icon: "none" });
|
||||
let _res = await api_api.forgotUserName(dataFrom);
|
||||
if (_res.userNames.length == 0) {
|
||||
common_vendor.index.showModal({
|
||||
title: "提示",
|
||||
content: "该手机号还未注册",
|
||||
showCancel: false,
|
||||
confirmText: "我知道了"
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.showModal({
|
||||
title: "已找回的用户名",
|
||||
content: _res.userNames.join(","),
|
||||
showCancel: false,
|
||||
confirmText: "确认",
|
||||
success: () => {
|
||||
common_vendor.index.setClipboardData({
|
||||
data: _res.userNames.join(","),
|
||||
//要被复制的内容
|
||||
success: () => {
|
||||
common_vendor.index.showToast({
|
||||
//提示
|
||||
title: "已复制用户名"
|
||||
});
|
||||
setTimeout(() => {
|
||||
common_vendor.index.navigateBack();
|
||||
}, 1500);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
let back = () => {
|
||||
common_vendor.index.navigateBack();
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: statusBarHeight,
|
||||
b: common_vendor.o(common_vendor.unref(back)),
|
||||
c: common_vendor.p({
|
||||
name: "arrow-left",
|
||||
bold: true,
|
||||
color: "#000"
|
||||
}),
|
||||
d: common_assets._imports_0$2,
|
||||
e: common_assets._imports_1$1,
|
||||
f: common_vendor.o(($event) => common_vendor.unref(dataFrom).phone = $event),
|
||||
g: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
placeholder: "请输入您的手机号",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).phone
|
||||
}),
|
||||
h: common_vendor.o(($event) => common_vendor.unref(dataFrom).smsCode = $event),
|
||||
i: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
placeholder: "请输入验证码",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).smsCode
|
||||
}),
|
||||
j: () => ({
|
||||
r: uCode,
|
||||
k: "uCode"
|
||||
}),
|
||||
k: common_vendor.o(common_vendor.unref(codeChange2)),
|
||||
l: common_vendor.p({
|
||||
["keep-running"]: true,
|
||||
["start-text"]: "点我获取验证码"
|
||||
}),
|
||||
m: common_vendor.t(common_vendor.unref(tips)),
|
||||
n: common_vendor.o((...args) => common_vendor.unref(getCode2) && common_vendor.unref(getCode2)(...args)),
|
||||
o: common_vendor.unref(tips),
|
||||
p: common_vendor.o((...args) => common_vendor.unref(submit) && common_vendor.unref(submit)(...args))
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-07a163b6"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
11
unpackage/dist/dev/mp-alipay/pages/login/getBackAccout.json
vendored
Normal file
11
unpackage/dist/dev/mp-alipay/pages/login/getBackAccout.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"transparentTitle": "always",
|
||||
"titlePenetrate": "YES",
|
||||
"usingComponents": {
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-code": "../../uni_modules/uview-plus/components/u-code/u-code"
|
||||
}
|
||||
}
|
||||
43
unpackage/dist/dev/mp-alipay/pages/login/login.acss
vendored
Normal file
43
unpackage/dist/dev/mp-alipay/pages/login/login.acss
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
.login.data-v-e4e4508d {
|
||||
padding: 0 60rpx;
|
||||
}
|
||||
.login_bei.data-v-e4e4508d {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 608rpx;
|
||||
height: 424rpx;
|
||||
}
|
||||
.login_logo.data-v-e4e4508d {
|
||||
margin-top: 150rpx;
|
||||
}
|
||||
.login_logo_img.data-v-e4e4508d {
|
||||
width: 152rpx;
|
||||
height: 106rpx;
|
||||
border-radius: 28rpx 28rpx 28rpx 28rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.login_logo_tit.data-v-e4e4508d {
|
||||
font-weight: bold;
|
||||
font-size: 44rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.login_btn.data-v-e4e4508d {
|
||||
width: 474rpx;
|
||||
height: 78rpx;
|
||||
background: #4874e5;
|
||||
border-radius: 54rpx 54rpx 54rpx 54rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: bold;
|
||||
font-size: 30rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
.orderdetail_header.data-v-e4e4508d {
|
||||
width: 750rpx;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 99;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/login/login.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/login/login.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="login data-v-e4e4508d"><view class="orderdetail_header p30 data-v-e4e4508d"><view class="data-v-e4e4508d" style="{{'height:' + a}}"></view><view class="data-v-e4e4508d" style="height:44px;display:flex;align-items:center"><up-icon class="data-v-e4e4508d" onClick="{{b}}" u-i="e4e4508d-0" onVI="__l" u-p="{{c}}"></up-icon></view></view><image class="login_bei data-v-e4e4508d" src="{{d}}"></image><status-bar class="data-v-e4e4508d" u-i="e4e4508d-1" onVI="__l"/><view class="login_logo data-v-e4e4508d"><image class="login_logo_img data-v-e4e4508d" src="{{e}}"></image><view class="login_logo_tit data-v-e4e4508d">欢迎来到星动能源</view></view><view class="data-v-e4e4508d" style="margin-top:150rpx"><view class="data-v-e4e4508d" style="margin-bottom:50rpx"><up-input class="data-v-e4e4508d" u-i="e4e4508d-2" onVI="__l" onUpdateModelValue="{{f}}" u-p="{{g}}"></up-input></view><view class="data-v-e4e4508d"><up-input class="data-v-e4e4508d" u-i="e4e4508d-3" onVI="__l" onUpdateModelValue="{{h}}" u-p="{{i}}"></up-input></view></view><view class="data-v-e4e4508d" style="font-size:28rpx;color:#666;margin-top:20rpx;display:flex;align-items:center;justify-content:space-between"><view class="data-v-e4e4508d"> 忘记账号? <text class="data-v-e4e4508d" style="color:#4874e5" onTap="{{j}}">找回用户名</text></view><view class="data-v-e4e4508d"><text class="data-v-e4e4508d" style="color:#4874e5" onTap="{{k}}">忘记密码</text></view></view><view class="data-v-e4e4508d" style="display:flex;justify-content:center;margin-top:80rpx"><view class="login_btn data-v-e4e4508d" onTap="{{l}}">登录</view></view><view class="data-v-e4e4508d" style="display:flex;justify-content:center;margin-top:40rpx;opacity:0.5"><view class="login_btn data-v-e4e4508d" onTap="{{m}}">还没有账号?立即注册</view></view></view>
|
||||
99
unpackage/dist/dev/mp-alipay/pages/login/login.js
vendored
Normal file
99
unpackage/dist/dev/mp-alipay/pages/login/login.js
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
const store_index = require("../../store/index.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_statusBar2 = common_vendor.resolveComponent("statusBar");
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
(_easycom_up_icon2 + _easycom_statusBar2 + _easycom_up_input2)();
|
||||
}
|
||||
const _easycom_up_icon = () => "../../uni_modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_statusBar = () => "../../components/statusBar/statusBar.js";
|
||||
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_icon + _easycom_statusBar + _easycom_up_input)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "login",
|
||||
setup(__props) {
|
||||
const statusBarHeight = common_vendor.index.getSystemInfoSync().statusBarHeight + "px";
|
||||
common_vendor.ref("");
|
||||
let dataFrom = common_vendor.reactive({
|
||||
userName: "",
|
||||
passwd: "",
|
||||
uuid: "",
|
||||
captcha: ""
|
||||
});
|
||||
let back = () => {
|
||||
common_vendor.index.navigateBack();
|
||||
};
|
||||
let toRegister = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/login/register"
|
||||
});
|
||||
};
|
||||
let getBackAccout = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "./getBackAccout"
|
||||
});
|
||||
};
|
||||
let toGetBack = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/login/getBack"
|
||||
});
|
||||
};
|
||||
let login = async () => {
|
||||
try {
|
||||
const { code } = await common_vendor.index.login();
|
||||
let _res = await api_api.loginApi(dataFrom);
|
||||
common_vendor.index.setStorageSync("token", _res.token);
|
||||
common_vendor.index.setStorageSync("user", _res);
|
||||
store_index.store.commit("setToken", _res.token);
|
||||
let saveOpenId = await api_api.saveOpenIdByZfbCode({ loginCode: code });
|
||||
common_vendor.index.showToast({ title: "登录成功", icon: "none" });
|
||||
setTimeout(() => {
|
||||
common_vendor.index.navigateBack();
|
||||
}, 200);
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: statusBarHeight,
|
||||
b: common_vendor.o(common_vendor.unref(back)),
|
||||
c: common_vendor.p({
|
||||
name: "arrow-left",
|
||||
bold: true,
|
||||
color: "#000"
|
||||
}),
|
||||
d: common_assets._imports_0$2,
|
||||
e: common_assets._imports_1$1,
|
||||
f: common_vendor.o(($event) => common_vendor.unref(dataFrom).userName = $event),
|
||||
g: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
placeholder: "请输入您的用户名",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).userName
|
||||
}),
|
||||
h: common_vendor.o(($event) => common_vendor.unref(dataFrom).passwd = $event),
|
||||
i: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
type: "password",
|
||||
placeholder: "请输入您的密码",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).passwd
|
||||
}),
|
||||
j: common_vendor.o((...args) => common_vendor.unref(getBackAccout) && common_vendor.unref(getBackAccout)(...args)),
|
||||
k: common_vendor.o((...args) => common_vendor.unref(toGetBack) && common_vendor.unref(toGetBack)(...args)),
|
||||
l: common_vendor.o((...args) => common_vendor.unref(login) && common_vendor.unref(login)(...args)),
|
||||
m: common_vendor.o((...args) => common_vendor.unref(toRegister) && common_vendor.unref(toRegister)(...args))
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-e4e4508d"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
10
unpackage/dist/dev/mp-alipay/pages/login/login.json
vendored
Normal file
10
unpackage/dist/dev/mp-alipay/pages/login/login.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"transparentTitle": "always",
|
||||
"titlePenetrate": "YES",
|
||||
"usingComponents": {
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input"
|
||||
}
|
||||
}
|
||||
40
unpackage/dist/dev/mp-alipay/pages/login/register.acss
vendored
Normal file
40
unpackage/dist/dev/mp-alipay/pages/login/register.acss
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
.login_bei.data-v-838b72c9 {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 608rpx;
|
||||
height: 424rpx;
|
||||
}
|
||||
.login_logo.data-v-838b72c9 {
|
||||
margin-top: 150rpx;
|
||||
}
|
||||
.login_logo_img.data-v-838b72c9 {
|
||||
width: 152rpx;
|
||||
height: 106rpx;
|
||||
border-radius: 28rpx 28rpx 28rpx 28rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.login_logo_tit.data-v-838b72c9 {
|
||||
font-weight: bold;
|
||||
font-size: 44rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.login_btn.data-v-838b72c9 {
|
||||
width: 474rpx;
|
||||
height: 78rpx;
|
||||
background: #4874e5;
|
||||
border-radius: 54rpx 54rpx 54rpx 54rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: bold;
|
||||
font-size: 30rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
.orderdetail_header.data-v-838b72c9 {
|
||||
width: 750rpx;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 99;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/login/register.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/login/register.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="login data-v-838b72c9"><view class="orderdetail_header p30 data-v-838b72c9"><view class="data-v-838b72c9" style="{{'height:' + a}}"></view><view class="data-v-838b72c9" style="height:44px;display:flex;align-items:center"><up-icon class="data-v-838b72c9" onClick="{{b}}" u-i="838b72c9-0" onVI="__l" u-p="{{c}}"></up-icon></view></view><image class="login_bei data-v-838b72c9" src="{{d}}"></image><view class="data-v-838b72c9" style="padding:0 60rpx"><status-bar class="data-v-838b72c9" u-i="838b72c9-1" onVI="__l"/><view class="login_logo data-v-838b72c9"><image class="login_logo_img data-v-838b72c9" src="{{e}}"></image><view class="login_logo_tit data-v-838b72c9">欢迎来到星动能源</view></view><view class="data-v-838b72c9" style="margin-top:100rpx"><view class="data-v-838b72c9"><up-input class="data-v-838b72c9" u-i="838b72c9-2" onVI="__l" onUpdateModelValue="{{f}}" u-p="{{g}}"></up-input></view><view class="data-v-838b72c9" style="font-size:26rpx;color:#ff9900;margin:10rpx 0 10rpx;padding-left:9px">用户名由字母或数字组成,长度6-32</view><view class="data-v-838b72c9" style="margin-bottom:30rpx"><up-input class="data-v-838b72c9" u-i="838b72c9-3" onVI="__l" onUpdateModelValue="{{h}}" u-p="{{i}}"></up-input></view><view class="data-v-838b72c9" style="margin-bottom:30rpx;display:flex;align-items:center"><up-input class="data-v-838b72c9" u-i="838b72c9-4" onVI="__l" onUpdateModelValue="{{j}}" u-p="{{k}}"></up-input><up-code class="data-v-838b72c9" ref="__r" u-r="{{l}}" onChange="{{m}}" u-i="838b72c9-5" onVI="__l" u-p="{{n}}"></up-code><text class="data-v-838b72c9" onTap="{{p}}" text="{{q}}" style="font-size:28rpx;color:#4874e5">{{o}}</text></view><view class="data-v-838b72c9" style="margin-bottom:30rpx"><up-input class="data-v-838b72c9" u-i="838b72c9-6" onVI="__l" onUpdateModelValue="{{r}}" u-p="{{s}}"></up-input></view><view class="data-v-838b72c9"><up-input class="data-v-838b72c9" u-i="838b72c9-7" onVI="__l" onUpdateModelValue="{{t}}" u-p="{{v}}"></up-input></view><view class="data-v-838b72c9" style="font-size:26rpx;color:#ff9900;margin:10rpx 0 10rpx;padding-left:9px">密码必须包含字母、数字长度8-32</view><view class="data-v-838b72c9" style="margin-bottom:30rpx"><up-input class="data-v-838b72c9" u-i="838b72c9-8" onVI="__l" onUpdateModelValue="{{w}}" u-p="{{x}}"></up-input></view></view><view class="data-v-838b72c9" style="font-size:28rpx;color:#666;margin-top:20rpx"> 已有账号? <text class="data-v-838b72c9" style="color:#4874e5" onTap="{{y}}">立即登录</text></view><view class="data-v-838b72c9" style="display:flex;justify-content:center;margin-top:80rpx"><view class="login_btn data-v-838b72c9" onTap="{{z}}">注册</view></view></view><view class="data-v-838b72c9" style="display:flex;flex-wrap:wrap;justify-content:center;margin-top:20rpx;font-size:26rpx;align-items:center"><up-checkbox class="data-v-838b72c9" onChange="{{A}}" u-i="838b72c9-9" onVI="__l" u-p="{{B}}"></up-checkbox> 已阅读并同意 <navigator class="data-v-838b72c9" url="/pages/agreement/agreement?id=9" style="color:#4874e5">《用户注册服务协议》</navigator> 和 <navigator class="data-v-838b72c9" url="/pages/agreement/agreement?id=10" style="color:#4874e5">《隐私政策》</navigator></view><view class="data-v-838b72c9" style="height:150rpx"></view></view>
|
||||
186
unpackage/dist/dev/mp-alipay/pages/login/register.js
vendored
Normal file
186
unpackage/dist/dev/mp-alipay/pages/login/register.js
vendored
Normal file
@@ -0,0 +1,186 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_statusBar2 = common_vendor.resolveComponent("statusBar");
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
const _easycom_up_code2 = common_vendor.resolveComponent("up-code");
|
||||
const _easycom_up_checkbox2 = common_vendor.resolveComponent("up-checkbox");
|
||||
(_easycom_up_icon2 + _easycom_statusBar2 + _easycom_up_input2 + _easycom_up_code2 + _easycom_up_checkbox2)();
|
||||
}
|
||||
const _easycom_up_icon = () => "../../uni_modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_statusBar = () => "../../components/statusBar/statusBar.js";
|
||||
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
|
||||
const _easycom_up_code = () => "../../uni_modules/uview-plus/components/u-code/u-code.js";
|
||||
const _easycom_up_checkbox = () => "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_icon + _easycom_statusBar + _easycom_up_input + _easycom_up_code + _easycom_up_checkbox)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "register",
|
||||
setup(__props) {
|
||||
const statusBarHeight = common_vendor.index.getSystemInfoSync().statusBarHeight + "px";
|
||||
let tips = common_vendor.ref("");
|
||||
let uCode = common_vendor.ref(null);
|
||||
common_vendor.ref("");
|
||||
let dataFrom = common_vendor.reactive({
|
||||
userName: "",
|
||||
passwd: "",
|
||||
shareCode: "",
|
||||
phone: "",
|
||||
platform: 1,
|
||||
smsCode: "",
|
||||
confirmPasswd: ""
|
||||
});
|
||||
let xieyi = common_vendor.ref(false);
|
||||
common_vendor.onLoad(() => {
|
||||
const invite_code = common_vendor.index.getStorageSync("invite_code");
|
||||
if (invite_code) {
|
||||
dataFrom.shareCode = invite_code;
|
||||
}
|
||||
});
|
||||
let changeChex = (e) => {
|
||||
xieyi.value = e;
|
||||
};
|
||||
let toLogin = () => {
|
||||
common_vendor.index.navigateBack();
|
||||
};
|
||||
let codeChange2 = (text) => {
|
||||
tips.value = text;
|
||||
};
|
||||
let getCode2 = () => {
|
||||
if (!dataFrom.phone)
|
||||
return common_vendor.index.showToast({ title: "请输入手机号", icon: "none" });
|
||||
if (uCode.value.canGetCode) {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在获取验证码"
|
||||
});
|
||||
api_api.smsCode({
|
||||
phone: dataFrom.phone
|
||||
}).then((res) => {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.$u.toast("验证码已发送");
|
||||
uCode.value.start();
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.$u.toast("倒计时结束后再发送");
|
||||
}
|
||||
};
|
||||
let submit = async () => {
|
||||
if (!xieyi.value)
|
||||
return common_vendor.index.showToast({ title: "请先阅读并勾选隐私政策和用户注册服务协议", icon: "none" });
|
||||
if (!dataFrom.userName)
|
||||
return common_vendor.index.showToast({ title: "请输入用户名", icon: "none" });
|
||||
if (!dataFrom.phone)
|
||||
return common_vendor.index.showToast({ title: "请输入手机号", icon: "none" });
|
||||
if (dataFrom.phone.length != 11)
|
||||
return common_vendor.index.showToast({ title: "请输入正确的手机号", icon: "none" });
|
||||
if (!dataFrom.smsCode)
|
||||
return common_vendor.index.showToast({ title: "请输入验证码", icon: "none" });
|
||||
if (!dataFrom.shareCode)
|
||||
return common_vendor.index.showToast({ title: "请输入邀请码", icon: "none" });
|
||||
if (!dataFrom.passwd)
|
||||
return common_vendor.index.showToast({ title: "请输入密码", icon: "none" });
|
||||
if (!dataFrom.confirmPasswd)
|
||||
return common_vendor.index.showToast({ title: "请再次输入密码", icon: "none" });
|
||||
if (dataFrom.passwd != dataFrom.confirmPasswd)
|
||||
return common_vendor.index.showToast({ title: "两次密码输入不一致", icon: "none" });
|
||||
await api_api.registerApi(dataFrom);
|
||||
common_vendor.index.showToast({ title: "注册成功", icon: "none" });
|
||||
setTimeout(() => {
|
||||
common_vendor.index.navigateBack();
|
||||
}, 200);
|
||||
};
|
||||
let back = () => {
|
||||
common_vendor.index.navigateBack();
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: statusBarHeight,
|
||||
b: common_vendor.o(common_vendor.unref(back)),
|
||||
c: common_vendor.p({
|
||||
name: "arrow-left",
|
||||
bold: true,
|
||||
color: "#000"
|
||||
}),
|
||||
d: common_assets._imports_0$2,
|
||||
e: common_assets._imports_1$1,
|
||||
f: common_vendor.o(($event) => common_vendor.unref(dataFrom).userName = $event),
|
||||
g: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
placeholder: "请输入您的用户名",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).userName
|
||||
}),
|
||||
h: common_vendor.o(($event) => common_vendor.unref(dataFrom).phone = $event),
|
||||
i: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
placeholder: "请输入您的手机号",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).phone
|
||||
}),
|
||||
j: common_vendor.o(($event) => common_vendor.unref(dataFrom).smsCode = $event),
|
||||
k: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
placeholder: "请输入验证码",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).smsCode
|
||||
}),
|
||||
l: () => ({
|
||||
r: uCode,
|
||||
k: "uCode"
|
||||
}),
|
||||
m: common_vendor.o(common_vendor.unref(codeChange2)),
|
||||
n: common_vendor.p({
|
||||
["keep-running"]: true,
|
||||
["start-text"]: "点我获取验证码"
|
||||
}),
|
||||
o: common_vendor.t(common_vendor.unref(tips)),
|
||||
p: common_vendor.o((...args) => common_vendor.unref(getCode2) && common_vendor.unref(getCode2)(...args)),
|
||||
q: common_vendor.unref(tips),
|
||||
r: common_vendor.o(($event) => common_vendor.unref(dataFrom).shareCode = $event),
|
||||
s: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
placeholder: "请输入您的邀请码",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).shareCode
|
||||
}),
|
||||
t: common_vendor.o(($event) => common_vendor.unref(dataFrom).passwd = $event),
|
||||
v: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
type: "password",
|
||||
placeholder: "请输入您的密码",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).passwd
|
||||
}),
|
||||
w: common_vendor.o(($event) => common_vendor.unref(dataFrom).confirmPasswd = $event),
|
||||
x: common_vendor.p({
|
||||
fontSize: "30rpx",
|
||||
type: "password",
|
||||
placeholder: "请再次输入您的密码",
|
||||
border: "bottom",
|
||||
clearable: true,
|
||||
modelValue: common_vendor.unref(dataFrom).confirmPasswd
|
||||
}),
|
||||
y: common_vendor.o((...args) => common_vendor.unref(toLogin) && common_vendor.unref(toLogin)(...args)),
|
||||
z: common_vendor.o((...args) => common_vendor.unref(submit) && common_vendor.unref(submit)(...args)),
|
||||
A: common_vendor.o(common_vendor.unref(changeChex)),
|
||||
B: common_vendor.p({
|
||||
customStyle: {
|
||||
marginRight: "15rpx",
|
||||
marginBotton: 0
|
||||
}
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-838b72c9"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
12
unpackage/dist/dev/mp-alipay/pages/login/register.json
vendored
Normal file
12
unpackage/dist/dev/mp-alipay/pages/login/register.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"transparentTitle": "always",
|
||||
"titlePenetrate": "YES",
|
||||
"usingComponents": {
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-code": "../../uni_modules/uview-plus/components/u-code/u-code",
|
||||
"up-checkbox": "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox"
|
||||
}
|
||||
}
|
||||
0
unpackage/dist/dev/mp-alipay/pages/market/detail.acss
vendored
Normal file
0
unpackage/dist/dev/mp-alipay/pages/market/detail.acss
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/market/detail.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/market/detail.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30"><view style="font-size:34rpx">{{a}}</view><view style="height:20rpx"></view><view style="color:#999;font-size:30rpx">发布时间:{{b}}</view><view style="height:20rpx"></view><video a:if="{{c}}" src="{{d}}" style="width:100%"></video><view style="height:20rpx"></view><mp-html u-i="006554ff-0" onVI="__l" u-p="{{e}}"/><view style=""></view></view>
|
||||
35
unpackage/dist/dev/mp-alipay/pages/market/detail.js
vendored
Normal file
35
unpackage/dist/dev/mp-alipay/pages/market/detail.js
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_mp_html2 = common_vendor.resolveComponent("mp-html");
|
||||
_easycom_mp_html2();
|
||||
}
|
||||
const _easycom_mp_html = () => "../../uni_modules/mp-html/components/mp-html/mp-html.js";
|
||||
if (!Math) {
|
||||
_easycom_mp_html();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "detail",
|
||||
setup(__props) {
|
||||
let info = common_vendor.ref({});
|
||||
common_vendor.onLoad(async (options) => {
|
||||
let _res = await api_api.getContentInfo({ id: options.id });
|
||||
info.value = _res;
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(common_vendor.unref(info).title),
|
||||
b: common_vendor.t(common_vendor.unref(info).createTime),
|
||||
c: common_vendor.unref(info).video
|
||||
}, common_vendor.unref(info).video ? {
|
||||
d: common_vendor.unref(info).video
|
||||
} : {}, {
|
||||
e: common_vendor.p({
|
||||
content: common_vendor.unref(info).detail
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
my.createPage(_sfc_main);
|
||||
6
unpackage/dist/dev/mp-alipay/pages/market/detail.json
vendored
Normal file
6
unpackage/dist/dev/mp-alipay/pages/market/detail.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"usingComponents": {
|
||||
"mp-html": "../../uni_modules/mp-html/components/mp-html/mp-html"
|
||||
}
|
||||
}
|
||||
29
unpackage/dist/dev/mp-alipay/pages/market/market.acss
vendored
Normal file
29
unpackage/dist/dev/mp-alipay/pages/market/market.acss
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
.order_list_header.data-v-8b43de22 {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: start;
|
||||
font-weight: bold;
|
||||
font-size: 36rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.order_list_header_view.data-v-8b43de22 {
|
||||
position: relative;
|
||||
margin-right: 50rpx;
|
||||
}
|
||||
.order_list_header_view view.data-v-8b43de22 {
|
||||
position: relative;
|
||||
z-index: 99;
|
||||
}
|
||||
.order_list_header_view_dian.data-v-8b43de22 {
|
||||
position: absolute !important;
|
||||
bottom: 0rpx;
|
||||
right: 20rpx;
|
||||
width: 66rpx;
|
||||
height: 20rpx;
|
||||
background-color: #4874e5;
|
||||
border-radius: 10rpx;
|
||||
z-index: 1 !important;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/market/market.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/market/market.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30 data-v-8b43de22" style="padding-bottom:150rpx"><z-paging class="data-v-8b43de22" u-s="{{['d']}}" ref="__r" u-r="{{d}}" onQuery="{{e}}" u-i="8b43de22-0" onVI="__l" onUpdateModelValue="{{f}}" u-p="{{g}}"><status-bar class="data-v-8b43de22" u-s="{{['d']}}" u-i="8b43de22-1,8b43de22-0" onVI="__l"><up-tabs class="data-v-8b43de22" onClick="{{a}}" u-i="8b43de22-2,8b43de22-1" onVI="__l" u-p="{{b}}"></up-tabs></status-bar><view a:for="{{c}}" a:for-item="i" a:key="d" class="order_view data-v-8b43de22" onTap="{{i.e}}"><image a:if="{{i.a}}" class="data-v-8b43de22" src="{{i.b}}" mode="aspectFill" style="width:690rpx;height:248rpx;margin-top:30rpx;border-radius:10rpx"></image><view a:else class="mt30 data-v-8b43de22" style="display:flex;align-items:center;height:80rpx;background-color:#fff;padding:0 30rpx;justify-content:space-between"><view class="data-v-8b43de22">{{i.c}}</view></view></view></z-paging><tabbar class="data-v-8b43de22" u-i="8b43de22-3" onVI="__l" u-p="{{h}}"></tabbar></view>
|
||||
117
unpackage/dist/dev/mp-alipay/pages/market/market.js
vendored
Normal file
117
unpackage/dist/dev/mp-alipay/pages/market/market.js
vendored
Normal file
@@ -0,0 +1,117 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_tabs2 = common_vendor.resolveComponent("up-tabs");
|
||||
const _easycom_statusBar2 = common_vendor.resolveComponent("statusBar");
|
||||
const _easycom_z_paging2 = common_vendor.resolveComponent("z-paging");
|
||||
const _easycom_tabbar2 = common_vendor.resolveComponent("tabbar");
|
||||
(_easycom_up_tabs2 + _easycom_statusBar2 + _easycom_z_paging2 + _easycom_tabbar2)();
|
||||
}
|
||||
const _easycom_up_tabs = () => "../../uni_modules/uview-plus/components/u-tabs/u-tabs.js";
|
||||
const _easycom_statusBar = () => "../../components/statusBar/statusBar.js";
|
||||
const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/z-paging.js";
|
||||
const _easycom_tabbar = () => "../../components/tabbar/tabbar.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_tabs + _easycom_statusBar + _easycom_z_paging + _easycom_tabbar)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "market",
|
||||
setup(__props) {
|
||||
const query = common_vendor.reactive({
|
||||
cid: 4
|
||||
//1-最近;2-空闲较多
|
||||
});
|
||||
let list = common_vendor.ref();
|
||||
common_vendor.onLoad(async () => {
|
||||
common_vendor.index.hideTabBar();
|
||||
let _res = await api_api.getContentCategoryList();
|
||||
list.value = _res.records;
|
||||
query.cid = list.value[0].id;
|
||||
paging.value.reload();
|
||||
});
|
||||
common_vendor.onShow(async () => {
|
||||
common_vendor.index.hideTabBar();
|
||||
});
|
||||
let tabChange = (e) => {
|
||||
console.log(e);
|
||||
query.cid = e.id;
|
||||
paging.value.reload();
|
||||
};
|
||||
const paging = common_vendor.ref(null);
|
||||
let dataList = common_vendor.ref([]);
|
||||
let isPagingRefNotFound = () => {
|
||||
return !paging.value;
|
||||
};
|
||||
common_vendor.onPullDownRefresh(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.reload().catch(() => {
|
||||
});
|
||||
});
|
||||
common_vendor.onPageScroll((e) => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.updatePageScrollTop(e.scrollTop);
|
||||
e.scrollTop < 10 && paging.value.doChatRecordLoadMore();
|
||||
});
|
||||
common_vendor.onReachBottom(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.pageReachBottom();
|
||||
});
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
const params = {
|
||||
current: pageNo,
|
||||
pageSize,
|
||||
...query
|
||||
};
|
||||
api_api.getContentList(params).then((res) => {
|
||||
paging.value.complete(res.records);
|
||||
}).catch((res) => {
|
||||
paging.value.complete(false);
|
||||
});
|
||||
};
|
||||
let nav = (e) => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: e
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(common_vendor.unref(tabChange)),
|
||||
b: common_vendor.p({
|
||||
list: common_vendor.unref(list)
|
||||
}),
|
||||
c: common_vendor.f(common_vendor.unref(dataList), (i, k0, i0) => {
|
||||
return common_vendor.e({
|
||||
a: i.cover
|
||||
}, i.cover ? {
|
||||
b: i.cover
|
||||
} : {
|
||||
c: common_vendor.t(i.title)
|
||||
}, {
|
||||
d: i,
|
||||
e: common_vendor.o(($event) => common_vendor.unref(nav)(`/pages/market/detail?id=${i.id}`))
|
||||
});
|
||||
}),
|
||||
d: () => ({
|
||||
r: paging,
|
||||
k: "paging"
|
||||
}),
|
||||
e: common_vendor.o(queryList),
|
||||
f: common_vendor.o(($event) => common_vendor.isRef(dataList) ? dataList.value = $event : dataList = $event),
|
||||
g: common_vendor.p({
|
||||
["use-page-scroll"]: true,
|
||||
modelValue: common_vendor.unref(dataList)
|
||||
}),
|
||||
h: common_vendor.p({
|
||||
path: "/pages/market/market"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-8b43de22"]]);
|
||||
_sfc_main.__runtimeHooks = 1;
|
||||
my.createPage(MiniProgramPage);
|
||||
11
unpackage/dist/dev/mp-alipay/pages/market/market.json
vendored
Normal file
11
unpackage/dist/dev/mp-alipay/pages/market/market.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"transparentTitle": "always",
|
||||
"titlePenetrate": "YES",
|
||||
"usingComponents": {
|
||||
"up-tabs": "../../uni_modules/uview-plus/components/u-tabs/u-tabs",
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
|
||||
"tabbar": "../../components/tabbar/tabbar"
|
||||
}
|
||||
}
|
||||
139
unpackage/dist/dev/mp-alipay/pages/mine/balanceIncome.acss
vendored
Normal file
139
unpackage/dist/dev/mp-alipay/pages/mine/balanceIncome.acss
vendored
Normal file
@@ -0,0 +1,139 @@
|
||||
.wallet_pall.data-v-2aa157bd {
|
||||
height: 200rpx;
|
||||
border-radius: 16rpx 16rpx 0rpx 0rpx;
|
||||
padding: 40rpx;
|
||||
background: linear-gradient(179deg, #5082ff 0%, #4278ff 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
border-bottom: 1rpx solid rgba(153, 153, 153, 0.6);
|
||||
}
|
||||
.wallet_pall_header.data-v-2aa157bd {
|
||||
font-weight: bold;
|
||||
font-size: 26rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_pall_ye.data-v-2aa157bd {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 70%;
|
||||
}
|
||||
.wallet_pall_ye view.data-v-2aa157bd:nth-child(1) {
|
||||
font-weight: bold;
|
||||
font-size: 68rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.wallet_pall_ye view.data-v-2aa157bd:nth-child(2) {
|
||||
width: 128rpx;
|
||||
height: 58rpx;
|
||||
background: rgba(0, 46, 164, 0.07);
|
||||
border-radius: 32rpx 32rpx 32rpx 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 26rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.wallet_pall_view.data-v-2aa157bd {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.wallet_pall_view view.data-v-2aa157bd:nth-child(1) {
|
||||
font-weight: bold;
|
||||
font-size: 45rpx;
|
||||
color: #fff;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.wallet_pall_view view.data-v-2aa157bd:nth-child(2) {
|
||||
font-size: 28rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.wallet_list.data-v-2aa157bd {
|
||||
width: 690rpx;
|
||||
height: 120rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
padding: 15rpx 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.wallet_list_left view.data-v-2aa157bd:nth-child(1) {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.wallet_list_left view.data-v-2aa157bd:nth-child(2) {
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.wallet_list_right.data-v-2aa157bd {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #ff2727;
|
||||
}
|
||||
.mine_block.data-v-2aa157bd {
|
||||
padding: 24rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 12rpx 12rpx 12rpx 12rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.mine_block_tit.data-v-2aa157bd {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.mine_block_tit_left.data-v-2aa157bd {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.mine_block_tit_right.data-v-2aa157bd {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 24rpx;
|
||||
color: #cbd73b;
|
||||
}
|
||||
.mine_block_tit_right image.data-v-2aa157bd {
|
||||
width: 13rpx;
|
||||
height: 22rpx;
|
||||
margin-left: 15rpx;
|
||||
margin-top: 6rpx;
|
||||
}
|
||||
.mine_block_view.data-v-2aa157bd {
|
||||
width: 100%;
|
||||
min-height: 120rpx;
|
||||
border-radius: 12rpx 12rpx 12rpx 12rpx;
|
||||
border: 2rpx solid rgba(55, 112, 174, 0.1);
|
||||
margin-top: 16rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 28rpx;
|
||||
color: #232323;
|
||||
padding: 20rpx 30rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.mine_block_view image.data-v-2aa157bd {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
margin-right: 25rpx;
|
||||
}
|
||||
.u-flex-y-center.data-v-2aa157bd {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: start;
|
||||
align-items: center;
|
||||
}
|
||||
.u-flex-between.data-v-2aa157bd {
|
||||
justify-content: space-between;
|
||||
}
|
||||
.u-flex-fill.data-v-2aa157bd {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/mine/balanceIncome.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/mine/balanceIncome.axml
vendored
Normal file
File diff suppressed because one or more lines are too long
161
unpackage/dist/dev/mp-alipay/pages/mine/balanceIncome.js
vendored
Normal file
161
unpackage/dist/dev/mp-alipay/pages/mine/balanceIncome.js
vendored
Normal file
@@ -0,0 +1,161 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
require("../../uni_modules/uview-plus/index.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
const hooks_useNav = require("../../hooks/useNav.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_grid_item2 = common_vendor.resolveComponent("up-grid-item");
|
||||
const _easycom_up_grid2 = common_vendor.resolveComponent("up-grid");
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
(_easycom_up_grid_item2 + _easycom_up_grid2 + _easycom_up_icon2)();
|
||||
}
|
||||
const _easycom_up_grid_item = () => "../../uni_modules/uview-plus/components/u-grid-item/u-grid-item.js";
|
||||
const _easycom_up_grid = () => "../../uni_modules/uview-plus/components/u-grid/u-grid.js";
|
||||
const _easycom_up_icon = () => "../../uni_modules/uview-plus/components/u-icon/u-icon.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_grid_item + _easycom_up_grid + _easycom_up_icon)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "balanceIncome",
|
||||
setup(__props) {
|
||||
const { nav, navTo } = hooks_useNav.useNav();
|
||||
let getInfo = common_vendor.ref({});
|
||||
common_vendor.ref({});
|
||||
let devices = common_vendor.ref(0);
|
||||
let wallet = common_vendor.ref(0);
|
||||
let income = common_vendor.ref(0);
|
||||
let money_list = common_vendor.ref([
|
||||
{
|
||||
name: "收益统计",
|
||||
type: "收益",
|
||||
data: {}
|
||||
},
|
||||
{
|
||||
name: "推广统计",
|
||||
type: "推广",
|
||||
data: {}
|
||||
},
|
||||
{
|
||||
name: "邀请统计",
|
||||
type: "邀请",
|
||||
data: {}
|
||||
}
|
||||
]);
|
||||
common_vendor.ref(1);
|
||||
common_vendor.onShow(async () => {
|
||||
let _res = await api_api.userInfo();
|
||||
getInfo.value = _res;
|
||||
userStatCou();
|
||||
let _data = await api_api.freezeTotal();
|
||||
income.value = _data.income;
|
||||
wallet.value = _data.wallet;
|
||||
});
|
||||
let userStatCou = async () => {
|
||||
let _res = await api_api.userStat();
|
||||
devices.value = _res.devices;
|
||||
money_list.value.map((item, index) => {
|
||||
if (item.type == "推广") {
|
||||
item.data = {
|
||||
day_money: _res.ordersToday,
|
||||
week_money1: _res.ordersLastWeek,
|
||||
week_money0: _res.ordersThisWeek,
|
||||
total_money: _res.orders30Days
|
||||
};
|
||||
}
|
||||
if (item.type == "收益") {
|
||||
item.data = {
|
||||
day_money: _res.pointDeviceToday,
|
||||
week_money1: _res.pointDeviceLastWeek,
|
||||
week_money0: _res.pointDeviceThisWeek,
|
||||
total_money: _res.pointDevice30Days
|
||||
};
|
||||
}
|
||||
if (item.type == "邀请") {
|
||||
item.data = {
|
||||
day_money: _res.usersDay,
|
||||
week_money1: _res.usersLastWeek,
|
||||
week_money0: _res.usersThisWeek,
|
||||
total_money: _res.users30Days
|
||||
};
|
||||
}
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(common_vendor.unref(getInfo).points2 || "0.00"),
|
||||
b: common_vendor.t(common_vendor.unref(getInfo).points1 || "0.00"),
|
||||
c: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/mine/topUp`, true)),
|
||||
d: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/wallet/withdraw`, true)),
|
||||
e: common_assets._imports_0$3,
|
||||
f: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/wallet/incomeList`, true)),
|
||||
g: common_vendor.p({
|
||||
bgColor: "#fff"
|
||||
}),
|
||||
h: common_assets._imports_1$2,
|
||||
i: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/mine/transferBalance`, true)),
|
||||
j: common_vendor.p({
|
||||
bgColor: "#fff"
|
||||
}),
|
||||
k: common_assets._imports_1$2,
|
||||
l: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/mine/toUser`, true)),
|
||||
m: common_vendor.p({
|
||||
bgColor: "#fff"
|
||||
}),
|
||||
n: common_assets._imports_2,
|
||||
o: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/wallet/withdrawList`, true)),
|
||||
p: common_vendor.p({
|
||||
bgColor: "#fff"
|
||||
}),
|
||||
q: common_vendor.p({
|
||||
border: false,
|
||||
col: "4"
|
||||
}),
|
||||
r: common_vendor.unref(getInfo).point2Give && common_vendor.unref(getInfo).point2Give == 1
|
||||
}, common_vendor.unref(getInfo).point2Give && common_vendor.unref(getInfo).point2Give == 1 ? {
|
||||
s: common_assets._imports_1$2,
|
||||
t: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/mine/toUser2`, true)),
|
||||
v: common_vendor.p({
|
||||
bgColor: "#fff"
|
||||
}),
|
||||
w: common_vendor.p({
|
||||
border: false,
|
||||
col: "4"
|
||||
})
|
||||
} : {}, {
|
||||
x: common_vendor.t(common_vendor.unref(wallet)),
|
||||
y: common_vendor.p({
|
||||
name: "arrow-right",
|
||||
color: "#2979ff",
|
||||
size: "16"
|
||||
}),
|
||||
z: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/wallet/freezeMoney`, true)),
|
||||
A: common_vendor.t(common_vendor.unref(income)),
|
||||
B: common_vendor.p({
|
||||
name: "arrow-right",
|
||||
color: "#2979ff",
|
||||
size: "16"
|
||||
}),
|
||||
C: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/wallet/freezeEarnings`, true)),
|
||||
D: common_vendor.t(common_vendor.unref(devices) || 0),
|
||||
E: common_vendor.f(common_vendor.unref(money_list), (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.name),
|
||||
b: common_vendor.t(item.data.day_money || 0),
|
||||
c: common_vendor.t(item.type),
|
||||
d: common_vendor.t(item.data.week_money1 || 0),
|
||||
e: common_vendor.t(item.type),
|
||||
f: common_vendor.t(item.data.week_money0 || 0),
|
||||
g: common_vendor.t(item.type),
|
||||
h: common_vendor.t(item.data.total_money || 0),
|
||||
i: common_vendor.t(item.type),
|
||||
j: index
|
||||
};
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-2aa157bd"]]);
|
||||
_sfc_main.__runtimeHooks = 1;
|
||||
my.createPage(MiniProgramPage);
|
||||
8
unpackage/dist/dev/mp-alipay/pages/mine/balanceIncome.json
vendored
Normal file
8
unpackage/dist/dev/mp-alipay/pages/mine/balanceIncome.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"usingComponents": {
|
||||
"up-grid-item": "../../uni_modules/uview-plus/components/u-grid-item/u-grid-item",
|
||||
"up-grid": "../../uni_modules/uview-plus/components/u-grid/u-grid",
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon"
|
||||
}
|
||||
}
|
||||
60
unpackage/dist/dev/mp-alipay/pages/mine/earnings.acss
vendored
Normal file
60
unpackage/dist/dev/mp-alipay/pages/mine/earnings.acss
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
.wallet_pall.data-v-77725727 {
|
||||
width: 690rpx;
|
||||
height: 272rpx;
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
padding: 40rpx;
|
||||
background: #ffffff;
|
||||
}
|
||||
.wallet_pall_header.data-v-77725727 {
|
||||
font-weight: bold;
|
||||
font-size: 26rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_pall_ye.data-v-77725727 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 70%;
|
||||
}
|
||||
.wallet_pall_ye view.data-v-77725727:nth-child(1) {
|
||||
font-weight: bold;
|
||||
font-size: 68rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_pall_ye view.data-v-77725727:nth-child(2) {
|
||||
width: 128rpx;
|
||||
height: 58rpx;
|
||||
background: rgba(0, 46, 164, 0.07);
|
||||
border-radius: 32rpx 32rpx 32rpx 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 26rpx;
|
||||
color: #002ea4;
|
||||
}
|
||||
.wallet_list.data-v-77725727 {
|
||||
width: 690rpx;
|
||||
height: 120rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
padding: 15rpx 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.wallet_list_left view.data-v-77725727:nth-child(1) {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.wallet_list_left view.data-v-77725727:nth-child(2) {
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.wallet_list_right.data-v-77725727 {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #ff2727;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/mine/earnings.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/mine/earnings.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="earnings p30 data-v-77725727"><z-paging class="data-v-77725727" u-s="{{['d']}}" ref="__r" u-r="{{n}}" onQuery="{{o}}" u-i="77725727-0" onVI="__l" onUpdateModelValue="{{p}}" u-p="{{q}}"><view class="wallet_pall data-v-77725727"><view class="wallet_pall_header data-v-77725727">当前收益(元)</view><view class="wallet_pall_ye data-v-77725727"><view class="data-v-77725727">{{a}}</view><view class="data-v-77725727" onTap="{{b}}">转入余额</view></view></view><view class="mt30 data-v-77725727"><up-grid class="data-v-77725727" u-s="{{['d']}}" u-i="77725727-1,77725727-0" onVI="__l" u-p="{{k}}"><up-grid-item class="data-v-77725727" u-s="{{['d']}}" onClick="{{d}}" u-i="77725727-2,77725727-1" onVI="__l"><image class="data-v-77725727" src="{{c}}" style="width:56rpx;height:56rpx" mode="widthFix"></image><text class="data-v-77725727" style="font-size:28rpx;color:#333;margin-top:10rpx">收支明细</text><view class="data-v-77725727" style="height:15rpx"></view></up-grid-item><up-grid-item class="data-v-77725727" u-s="{{['d']}}" onClick="{{f}}" u-i="77725727-3,77725727-1" onVI="__l"><image class="data-v-77725727" src="{{e}}" style="width:56rpx;height:56rpx" mode="widthFix"></image><text class="data-v-77725727" style="font-size:28rpx;color:#333;margin-top:10rpx">提现明细</text><view class="data-v-77725727" style="height:15rpx"></view></up-grid-item><up-grid-item class="data-v-77725727" u-s="{{['d']}}" onClick="{{h}}" u-i="77725727-4,77725727-1" onVI="__l"><image class="data-v-77725727" src="{{g}}" style="width:56rpx;height:56rpx" mode="widthFix"></image><text class="data-v-77725727" style="font-size:28rpx;color:#333;margin-top:10rpx">提现</text><view class="data-v-77725727" style="height:15rpx"></view></up-grid-item><up-grid-item class="data-v-77725727" u-s="{{['d']}}" onClick="{{j}}" u-i="77725727-5,77725727-1" onVI="__l"><image class="data-v-77725727" src="{{i}}" style="width:56rpx;height:56rpx" mode="widthFix"></image><text class="data-v-77725727" style="font-size:28rpx;color:#333;margin-top:10rpx">银行卡</text><view class="data-v-77725727" style="height:15rpx"></view></up-grid-item></up-grid></view><view class="mt30 data-v-77725727"><uni-section class="data-v-77725727" u-i="77725727-6,77725727-0" onVI="__l" u-p="{{l}}"></uni-section></view><view a:for="{{m}}" a:for-item="item" a:key="d" class="mt30 wallet_list data-v-77725727"><view class="wallet_list_left data-v-77725727"><view class="data-v-77725727">{{item.a}}</view><view class="data-v-77725727">{{item.b}}</view></view><view class="wallet_list_right data-v-77725727">{{item.c}}元</view></view></z-paging></view>
|
||||
117
unpackage/dist/dev/mp-alipay/pages/mine/earnings.js
vendored
Normal file
117
unpackage/dist/dev/mp-alipay/pages/mine/earnings.js
vendored
Normal file
@@ -0,0 +1,117 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
require("../../uni_modules/uview-plus/index.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
const hooks_useNav = require("../../hooks/useNav.js");
|
||||
const money = require("../../money.js");
|
||||
const uni_modules_uviewPlus_libs_function_index = require("../../uni_modules/uview-plus/libs/function/index.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_grid_item2 = common_vendor.resolveComponent("up-grid-item");
|
||||
const _easycom_up_grid2 = common_vendor.resolveComponent("up-grid");
|
||||
const _easycom_uni_section2 = common_vendor.resolveComponent("uni-section");
|
||||
const _easycom_z_paging2 = common_vendor.resolveComponent("z-paging");
|
||||
(_easycom_up_grid_item2 + _easycom_up_grid2 + _easycom_uni_section2 + _easycom_z_paging2)();
|
||||
}
|
||||
const _easycom_up_grid_item = () => "../../uni_modules/uview-plus/components/u-grid-item/u-grid-item.js";
|
||||
const _easycom_up_grid = () => "../../uni_modules/uview-plus/components/u-grid/u-grid.js";
|
||||
const _easycom_uni_section = () => "../../uni_modules/uni-section/components/uni-section/uni-section.js";
|
||||
const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/z-paging.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_grid_item + _easycom_up_grid + _easycom_uni_section + _easycom_z_paging)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "earnings",
|
||||
setup(__props) {
|
||||
const { nav, navTo } = hooks_useNav.useNav();
|
||||
let getInfo = common_vendor.ref({});
|
||||
const paging = common_vendor.ref(null);
|
||||
let dataList = common_vendor.ref([]);
|
||||
let num = common_vendor.ref(1);
|
||||
common_vendor.onShow(async () => {
|
||||
let _res = await api_api.userInfo();
|
||||
getInfo.value = _res;
|
||||
if (num.value != 1) {
|
||||
paging.value.reload();
|
||||
}
|
||||
num.value++;
|
||||
});
|
||||
let isPagingRefNotFound = () => {
|
||||
return !paging.value;
|
||||
};
|
||||
common_vendor.onPullDownRefresh(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.reload().catch(() => {
|
||||
});
|
||||
});
|
||||
common_vendor.onPageScroll((e) => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.updatePageScrollTop(e.scrollTop);
|
||||
e.scrollTop < 10 && paging.value.doChatRecordLoadMore();
|
||||
});
|
||||
common_vendor.onReachBottom(() => {
|
||||
if (isPagingRefNotFound())
|
||||
return;
|
||||
paging.value.pageReachBottom();
|
||||
});
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
let { id } = common_vendor.index.getStorageSync("user");
|
||||
const params = {
|
||||
current: pageNo,
|
||||
pageSize,
|
||||
userId: id
|
||||
};
|
||||
api_api.getUsersPoint1Info(params).then((res) => {
|
||||
paging.value.complete(res.records);
|
||||
}).catch((res) => {
|
||||
paging.value.complete(false);
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.t(common_vendor.unref(getInfo).points1 || "0.00"),
|
||||
b: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/mine/transferBalance`, true)),
|
||||
c: common_assets._imports_0$3,
|
||||
d: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/wallet/incomeList`, true)),
|
||||
e: common_assets._imports_2,
|
||||
f: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/wallet/withdrawList`, true)),
|
||||
g: common_assets._imports_2$1,
|
||||
h: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/wallet/withdraw`, true)),
|
||||
i: common_assets._imports_3,
|
||||
j: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/wallet/bankCard`, true)),
|
||||
k: common_vendor.p({
|
||||
border: false,
|
||||
col: "4"
|
||||
}),
|
||||
l: common_vendor.p({
|
||||
title: "最新记录",
|
||||
type: "line",
|
||||
titleFontSize: "32rpx"
|
||||
}),
|
||||
m: common_vendor.f(common_vendor.unref(dataList), (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(common_vendor.unref(money.moneyJson).find((val) => val.id == item.type).name),
|
||||
b: common_vendor.t(common_vendor.unref(uni_modules_uviewPlus_libs_function_index.timeFormat)(new Date(item.createTime).getTime(), "yyyy-mm-dd hh:MM")),
|
||||
c: common_vendor.t(item.points),
|
||||
d: index
|
||||
};
|
||||
}),
|
||||
n: () => ({
|
||||
r: paging,
|
||||
k: "paging"
|
||||
}),
|
||||
o: common_vendor.o(queryList),
|
||||
p: common_vendor.o(($event) => common_vendor.isRef(dataList) ? dataList.value = $event : dataList = $event),
|
||||
q: common_vendor.p({
|
||||
["use-page-scroll"]: true,
|
||||
modelValue: common_vendor.unref(dataList)
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-77725727"]]);
|
||||
_sfc_main.__runtimeHooks = 1;
|
||||
my.createPage(MiniProgramPage);
|
||||
9
unpackage/dist/dev/mp-alipay/pages/mine/earnings.json
vendored
Normal file
9
unpackage/dist/dev/mp-alipay/pages/mine/earnings.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"defaultTitle": "收益",
|
||||
"usingComponents": {
|
||||
"up-grid-item": "../../uni_modules/uview-plus/components/u-grid-item/u-grid-item",
|
||||
"up-grid": "../../uni_modules/uview-plus/components/u-grid/u-grid",
|
||||
"uni-section": "../../uni_modules/uni-section/components/uni-section/uni-section",
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
|
||||
}
|
||||
}
|
||||
45
unpackage/dist/dev/mp-alipay/pages/mine/mine.acss
vendored
Normal file
45
unpackage/dist/dev/mp-alipay/pages/mine/mine.acss
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
|
||||
page {
|
||||
background: linear-gradient(180deg, #dbe5ff 0%, #f7f7f7 15%, #f7f7f7 81%, #f7f7f7 100%);
|
||||
}
|
||||
|
||||
.mine_header.data-v-7c2ebfa5 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.mine_header_img.data-v-7c2ebfa5 {
|
||||
width: 152rpx;
|
||||
height: 152rpx;
|
||||
margin-right: 22rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.mine_header_text.data-v-7c2ebfa5 {
|
||||
flex: 1;
|
||||
}
|
||||
.mine_header_text_nick.data-v-7c2ebfa5 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: start;
|
||||
font-weight: bold;
|
||||
font-size: 40rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 15rpx;
|
||||
}
|
||||
.mine_header_text_acc.data-v-7c2ebfa5 {
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.mine_header_sz.data-v-7c2ebfa5 {
|
||||
width: 44rpx;
|
||||
height: 38rpx;
|
||||
}
|
||||
.mine ::deep .u-grid-item.data-v-7c2ebfa5 {
|
||||
margin-top: 0;
|
||||
}
|
||||
.mine button.data-v-7c2ebfa5::after {
|
||||
all: unset;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/mine/mine.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/mine/mine.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="mine p30 data-v-7c2ebfa5" style="padding-bottom:150rpx"><status-bar class="data-v-7c2ebfa5" u-i="7c2ebfa5-0" onVI="__l"/><view class="mine_header data-v-7c2ebfa5" onTap="{{n}}"><image class="mine_header_img data-v-7c2ebfa5" src="{{a}}"></image><view a:if="{{b}}" class="mine_header_text data-v-7c2ebfa5"><view class="mine_header_text_nick data-v-7c2ebfa5"><view a:if="{{c}}" class="data-v-7c2ebfa5" style="margin-right:15rpx">{{d}}</view><up-tag a:if="{{e}}" class="data-v-7c2ebfa5" u-i="7c2ebfa5-1" onVI="__l" u-p="{{f}}"></up-tag><up-tag a:if="{{g}}" class="data-v-7c2ebfa5" u-i="7c2ebfa5-2" onVI="__l" u-p="{{h}}"></up-tag><up-tag a:if="{{i}}" class="data-v-7c2ebfa5" u-i="7c2ebfa5-3" onVI="__l" u-p="{{j}}"></up-tag></view><view class="mine_header_text_acc data-v-7c2ebfa5">{{k}}</view></view><view a:else class="mine_header_text data-v-7c2ebfa5"><view class="mine_header_text_nick data-v-7c2ebfa5">点击登录</view></view><image a:if="{{l}}" class="mine_header_sz data-v-7c2ebfa5" src="{{m}}"></image></view><view class="mt30 data-v-7c2ebfa5"><up-grid class="data-v-7c2ebfa5" u-s="{{['d']}}" u-i="7c2ebfa5-4" onVI="__l" u-p="{{v}}"><up-grid-item class="data-v-7c2ebfa5" u-s="{{['d']}}" onClick="{{p}}" u-i="7c2ebfa5-5,7c2ebfa5-4" onVI="__l"><view class="data-v-7c2ebfa5" style="height:15rpx"></view><view class="data-v-7c2ebfa5" style="font-weight:bold">{{o}}</view><text class="data-v-7c2ebfa5" style="font-size:28rpx;color:#333;margin-top:10rpx">增值收益</text><view class="data-v-7c2ebfa5" style="height:15rpx"></view></up-grid-item><up-grid-item class="data-v-7c2ebfa5" u-s="{{['d']}}" onClick="{{r}}" u-i="7c2ebfa5-6,7c2ebfa5-4" onVI="__l"><view class="data-v-7c2ebfa5" style="height:15rpx"></view><view class="data-v-7c2ebfa5" style="font-weight:bold">{{q}}</view><text class="data-v-7c2ebfa5" style="font-size:28rpx;color:#333;margin-top:10rpx">基础收益</text><view class="data-v-7c2ebfa5" style="height:15rpx"></view></up-grid-item><up-grid-item class="data-v-7c2ebfa5" u-s="{{['d']}}" onClick="{{t}}" u-i="7c2ebfa5-7,7c2ebfa5-4" onVI="__l"><view class="data-v-7c2ebfa5" style="height:15rpx"></view><view class="data-v-7c2ebfa5" style="font-weight:bold">{{s}}</view><text class="data-v-7c2ebfa5" style="font-size:28rpx;color:#333;margin-top:10rpx">充电桩</text><view class="data-v-7c2ebfa5" style="height:15rpx"></view></up-grid-item></up-grid></view><view a:if="{{w}}" class="mt30 data-v-7c2ebfa5" style="width:100%;background-color:#fff;padding:25rpx;font-size:30rpx">邀请人:{{x}}</view><view class="data-v-7c2ebfa5" style="height:25rpx"></view><view class="data-v-7c2ebfa5" style="background-color:#fff"><up-grid class="data-v-7c2ebfa5" u-s="{{['d']}}" u-i="7c2ebfa5-8" onVI="__l" u-p="{{A}}"><up-grid-item a:for="{{y}}" a:for-item="item" a:key="e" class="data-v-7c2ebfa5" u-s="{{['d']}}" onClick="{{item.f}}" u-i="{{item.g}}" onVI="__l" u-p="{{z}}"><button class="data-v-7c2ebfa5" open-type="{{item.d}}" style="all:unset;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column"><view class="data-v-7c2ebfa5" style="height:35rpx"></view><up-icon class="data-v-7c2ebfa5" u-i="{{item.a}}" onVI="__l" u-p="{{item.b}}"></up-icon><text class="data-v-7c2ebfa5" style="font-size:28rpx;color:#333;margin-top:10rpx">{{item.c}}</text><view class="data-v-7c2ebfa5" style="height:20rpx"></view></button></up-grid-item></up-grid></view><view class="data-v-7c2ebfa5" style="height:50rpx"></view><view a:if="{{B}}" class="data-v-7c2ebfa5" style="background-color:#f6faff;padding:30rpx;border-radius:10rpx"><view a:if="{{C}}" class="data-v-7c2ebfa5" style="color:#999999"> 暂无推广权限 </view><view a:else class="data-v-7c2ebfa5"><view class="data-v-7c2ebfa5" style="font-size:30rpx;color:#999999;text-align:center;margin-bottom:20rpx"> 邀请码:{{D}} <text class="data-v-7c2ebfa5" style="text-decoration:underline;margin-left:30rpx" onTap="{{E}}">复制</text></view><view class="u-flex u-flex-xy-center data-v-7c2ebfa5"><up-image class="data-v-7c2ebfa5" u-i="7c2ebfa5-11" onVI="__l" u-p="{{F}}"></up-image></view><view class="data-v-7c2ebfa5" style="height:10rpx"></view><view class="data-v-7c2ebfa5" style="font-size:30rpx;color:#999999;text-align:center">长按保存或者转发</view></view></view><view class="data-v-7c2ebfa5" style="height:50rpx"></view><tabbar class="data-v-7c2ebfa5" u-i="7c2ebfa5-12" onVI="__l" u-p="{{G}}"></tabbar></view>
|
||||
218
unpackage/dist/dev/mp-alipay/pages/mine/mine.js
vendored
Normal file
218
unpackage/dist/dev/mp-alipay/pages/mine/mine.js
vendored
Normal file
@@ -0,0 +1,218 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const hooks_useNav = require("../../hooks/useNav.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_statusBar2 = common_vendor.resolveComponent("statusBar");
|
||||
const _easycom_up_tag2 = common_vendor.resolveComponent("up-tag");
|
||||
const _easycom_up_grid_item2 = common_vendor.resolveComponent("up-grid-item");
|
||||
const _easycom_up_grid2 = common_vendor.resolveComponent("up-grid");
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_up_image2 = common_vendor.resolveComponent("up-image");
|
||||
const _easycom_tabbar2 = common_vendor.resolveComponent("tabbar");
|
||||
(_easycom_statusBar2 + _easycom_up_tag2 + _easycom_up_grid_item2 + _easycom_up_grid2 + _easycom_up_icon2 + _easycom_up_image2 + _easycom_tabbar2)();
|
||||
}
|
||||
const _easycom_statusBar = () => "../../components/statusBar/statusBar.js";
|
||||
const _easycom_up_tag = () => "../../uni_modules/uview-plus/components/u-tag/u-tag.js";
|
||||
const _easycom_up_grid_item = () => "../../uni_modules/uview-plus/components/u-grid-item/u-grid-item.js";
|
||||
const _easycom_up_grid = () => "../../uni_modules/uview-plus/components/u-grid/u-grid.js";
|
||||
const _easycom_up_icon = () => "../../uni_modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_up_image = () => "../../uni_modules/uview-plus/components/u-image/u-image.js";
|
||||
const _easycom_tabbar = () => "../../components/tabbar/tabbar.js";
|
||||
if (!Math) {
|
||||
(_easycom_statusBar + _easycom_up_tag + _easycom_up_grid_item + _easycom_up_grid + _easycom_up_icon + _easycom_up_image + _easycom_tabbar)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "mine",
|
||||
setup(__props) {
|
||||
const { nav, navTo } = hooks_useNav.useNav();
|
||||
let getInfo = common_vendor.ref({});
|
||||
let loginTan = common_vendor.ref(true);
|
||||
common_vendor.onLoad(() => {
|
||||
common_vendor.index.hideTabBar();
|
||||
});
|
||||
const baseList = common_vendor.reactive([
|
||||
{
|
||||
img: "/static/icon/dd.png",
|
||||
name: "订单",
|
||||
path: "/pages/order/order",
|
||||
login: true
|
||||
},
|
||||
// {
|
||||
// img: '/static/icon/ye.png',
|
||||
// name: '余额',
|
||||
// path: '/pages/wallet/wallet',
|
||||
// login: true
|
||||
// },
|
||||
// {
|
||||
// img: '/static/icon/zd.png',
|
||||
// name: '账单',
|
||||
// path: '/pages/mine/balanceIncome',
|
||||
// login: true
|
||||
// },
|
||||
{
|
||||
img: "/static/icon/zb.png",
|
||||
name: "邀请记录",
|
||||
path: "/pages/shareList/shareList",
|
||||
login: true
|
||||
},
|
||||
{
|
||||
img: "/static/icon/dz.png",
|
||||
name: "充电桩",
|
||||
path: "/pages/piles/piles",
|
||||
login: true
|
||||
},
|
||||
{
|
||||
img: "/static/icon/kf.png",
|
||||
name: "联系客服",
|
||||
call: true
|
||||
// call: true
|
||||
}
|
||||
// {
|
||||
// img: '/static/icon/bz.png',
|
||||
// name: '帮助中心',
|
||||
// login: false
|
||||
// },
|
||||
// {
|
||||
// img: '/static/icon/share.png',
|
||||
// name: '分享海报',
|
||||
// login: true,
|
||||
// path: '/pages/mine/share'
|
||||
// }
|
||||
]);
|
||||
common_vendor.onShow(() => {
|
||||
common_vendor.index.hideTabBar();
|
||||
let Authorization = common_vendor.index.getStorageSync("token") || "";
|
||||
if (Authorization) {
|
||||
getUserInfo();
|
||||
loginTan.value = true;
|
||||
} else {
|
||||
getInfo.value = {};
|
||||
loginTan.value = false;
|
||||
}
|
||||
});
|
||||
let getUserInfo = async () => {
|
||||
try {
|
||||
let _res = await api_api.userInfo();
|
||||
getInfo.value = _res;
|
||||
common_vendor.index.setStorageSync("user", _res);
|
||||
} catch (err) {
|
||||
console.log(123456);
|
||||
getInfo.value = {};
|
||||
loginTan.value = false;
|
||||
}
|
||||
};
|
||||
let copy = (e) => {
|
||||
common_vendor.index.setClipboardData({
|
||||
data: e,
|
||||
success: function() {
|
||||
}
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
var _a, _b, _c, _d, _e, _f;
|
||||
return common_vendor.e({
|
||||
a: common_vendor.unref(getInfo).avatar || "/static/icon/avatar.png",
|
||||
b: common_vendor.unref(loginTan)
|
||||
}, common_vendor.unref(loginTan) ? common_vendor.e({
|
||||
c: common_vendor.unref(getInfo).nickName
|
||||
}, common_vendor.unref(getInfo).nickName ? {
|
||||
d: common_vendor.t(common_vendor.unref(getInfo).nickName || "")
|
||||
} : {}, {
|
||||
e: common_vendor.unref(getInfo).level == 1
|
||||
}, common_vendor.unref(getInfo).level == 1 ? {
|
||||
f: common_vendor.p({
|
||||
text: "运营中心",
|
||||
plain: true,
|
||||
size: "mini",
|
||||
borderColor: "#fa7d02",
|
||||
color: "#fa7d02"
|
||||
})
|
||||
} : {}, {
|
||||
g: common_vendor.unref(getInfo).level == 2
|
||||
}, common_vendor.unref(getInfo).level == 2 ? {
|
||||
h: common_vendor.p({
|
||||
text: "合伙人",
|
||||
plain: true,
|
||||
size: "mini",
|
||||
borderColor: "#fa7d02",
|
||||
color: "#fa7d02"
|
||||
})
|
||||
} : {}, {
|
||||
i: common_vendor.unref(getInfo).level == 3
|
||||
}, common_vendor.unref(getInfo).level == 3 ? {
|
||||
j: common_vendor.p({
|
||||
text: "省分公司",
|
||||
plain: true,
|
||||
size: "mini",
|
||||
borderColor: "#fa7d02",
|
||||
color: "#fa7d02"
|
||||
})
|
||||
} : {}, {
|
||||
k: common_vendor.t(common_vendor.unref(getInfo).userName || "")
|
||||
}) : {}, {
|
||||
l: common_vendor.unref(loginTan)
|
||||
}, common_vendor.unref(loginTan) ? {
|
||||
m: common_assets._imports_0$1
|
||||
} : {}, {
|
||||
n: common_vendor.o(($event) => common_vendor.unref(navTo)("/pages/mine/setting", true)),
|
||||
o: common_vendor.t(common_vendor.unref(getInfo).points2 || "0.00"),
|
||||
p: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/mine/balanceIncome`, true)),
|
||||
q: common_vendor.t(common_vendor.unref(getInfo).points1 || "0.00"),
|
||||
r: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/mine/balanceIncome`, true)),
|
||||
s: common_vendor.t(common_vendor.unref(getInfo).deviceNum || 0),
|
||||
t: common_vendor.o(($event) => common_vendor.unref(navTo)(`/pages/piles/piles`, true)),
|
||||
v: common_vendor.p({
|
||||
border: false,
|
||||
col: "3"
|
||||
}),
|
||||
w: (_b = (_a = common_vendor.unref(getInfo)) == null ? void 0 : _a.formUsersInfo) == null ? void 0 : _b.userName
|
||||
}, ((_d = (_c = common_vendor.unref(getInfo)) == null ? void 0 : _c.formUsersInfo) == null ? void 0 : _d.userName) ? {
|
||||
x: common_vendor.t((_f = (_e = common_vendor.unref(getInfo)) == null ? void 0 : _e.formUsersInfo) == null ? void 0 : _f.userName)
|
||||
} : {}, {
|
||||
y: common_vendor.f(baseList, (item, index, i0) => {
|
||||
return {
|
||||
a: "7c2ebfa5-10-" + i0 + "," + ("7c2ebfa5-9-" + i0),
|
||||
b: common_vendor.p({
|
||||
imgMode: "widthFix",
|
||||
name: item.img,
|
||||
size: 27
|
||||
}),
|
||||
c: common_vendor.t(item.name),
|
||||
d: item.openType,
|
||||
e: index,
|
||||
f: common_vendor.o(($event) => common_vendor.unref(navTo)(item.path, item.login, item.call)),
|
||||
g: "7c2ebfa5-9-" + i0 + ",7c2ebfa5-8"
|
||||
};
|
||||
}),
|
||||
z: common_vendor.p({
|
||||
bgColor: "#fff"
|
||||
}),
|
||||
A: common_vendor.p({
|
||||
border: false,
|
||||
col: "4"
|
||||
}),
|
||||
B: common_vendor.unref(getInfo).qrCode
|
||||
}, common_vendor.unref(getInfo).qrCode ? common_vendor.e({
|
||||
C: common_vendor.unref(getInfo).pemType == 0
|
||||
}, common_vendor.unref(getInfo).pemType == 0 ? {} : {
|
||||
D: common_vendor.t(common_vendor.unref(getInfo).shareCode),
|
||||
E: common_vendor.o(($event) => common_vendor.unref(copy)(common_vendor.unref(getInfo).shareCode)),
|
||||
F: common_vendor.p({
|
||||
src: common_vendor.unref(getInfo).qrCode,
|
||||
radius: "20rpx",
|
||||
width: "440rpx",
|
||||
height: "440rpx",
|
||||
mode: "widthFix"
|
||||
})
|
||||
}) : {}, {
|
||||
G: common_vendor.p({
|
||||
path: "/pages/mine/mine"
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-7c2ebfa5"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
14
unpackage/dist/dev/mp-alipay/pages/mine/mine.json
vendored
Normal file
14
unpackage/dist/dev/mp-alipay/pages/mine/mine.json
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"transparentTitle": "always",
|
||||
"titlePenetrate": "YES",
|
||||
"usingComponents": {
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"up-tag": "../../uni_modules/uview-plus/components/u-tag/u-tag",
|
||||
"up-grid-item": "../../uni_modules/uview-plus/components/u-grid-item/u-grid-item",
|
||||
"up-grid": "../../uni_modules/uview-plus/components/u-grid/u-grid",
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"up-image": "../../uni_modules/uview-plus/components/u-image/u-image",
|
||||
"tabbar": "../../components/tabbar/tabbar"
|
||||
}
|
||||
}
|
||||
32
unpackage/dist/dev/mp-alipay/pages/mine/phone.acss
vendored
Normal file
32
unpackage/dist/dev/mp-alipay/pages/mine/phone.acss
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
.addBankCard_input.data-v-bad7965c {
|
||||
width: 690rpx;
|
||||
height: 100rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: start;
|
||||
margin-bottom: 30rpx;
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.addBankCard_input_tit.data-v-bad7965c {
|
||||
width: 100%;
|
||||
font-weight: bold;
|
||||
font-size: 26rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.addBankCard_btn.data-v-bad7965c {
|
||||
width: 488rpx;
|
||||
height: 86rpx;
|
||||
background: #4874e5;
|
||||
border-radius: 44rpx 44rpx 44rpx 44rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/mine/phone.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/mine/phone.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="addBankCard p30 data-v-bad7965c"><view class="data-v-bad7965c" style="height:30rpx"></view><view class="data-v-bad7965c"><view class="data-v-bad7965c"><view class="addBankCard_input_tit data-v-bad7965c">请输入手机号:</view><view class="addBankCard_input data-v-bad7965c"><up-input class="data-v-bad7965c" u-i="bad7965c-0" onVI="__l" onUpdateModelValue="{{a}}" u-p="{{b}}"></up-input></view></view><view class="data-v-bad7965c"><view class="addBankCard_input_tit data-v-bad7965c">请输入验证码:</view><view class="addBankCard_input data-v-bad7965c"><up-input class="data-v-bad7965c" u-i="bad7965c-1" onVI="__l" onUpdateModelValue="{{c}}" u-p="{{d}}"></up-input><view class="data-v-bad7965c" style="width:250rpx"><up-code class="data-v-bad7965c" ref="__r" u-r="{{e}}" onChange="{{f}}" u-i="bad7965c-2" onVI="__l" u-p="{{g}}"></up-code><up-button class="data-v-bad7965c" u-s="{{['d']}}" onClick="{{i}}" u-i="bad7965c-3" onVI="__l" u-p="{{j}}">{{h}}</up-button></view></view></view><view class="data-v-bad7965c"><view class="addBankCard_input_tit data-v-bad7965c">请输入新手机号:</view><view class="addBankCard_input data-v-bad7965c"><up-input class="data-v-bad7965c" u-i="bad7965c-4" onVI="__l" onUpdateModelValue="{{k}}" u-p="{{l}}"></up-input></view></view><view class="data-v-bad7965c"><view class="addBankCard_input_tit data-v-bad7965c">请输入新手机号验证码:</view><view class="addBankCard_input data-v-bad7965c"><up-input class="data-v-bad7965c" u-i="bad7965c-5" onVI="__l" onUpdateModelValue="{{m}}" u-p="{{n}}"></up-input><view class="data-v-bad7965c" style="width:250rpx"><up-code class="data-v-bad7965c" ref="__r" u-r="{{o}}" onChange="{{p}}" u-i="bad7965c-6" onVI="__l" u-p="{{q}}"></up-code><up-button class="data-v-bad7965c" u-s="{{['d']}}" onClick="{{s}}" u-i="bad7965c-7" onVI="__l" u-p="{{t}}">{{r}}</up-button></view></view></view></view><view class="data-v-bad7965c" style="height:50rpx"></view><view class="data-v-bad7965c" style="display:flex;justify-content:center"><view class="addBankCard_btn data-v-bad7965c" onTap="{{v}}">确定</view></view></view>
|
||||
143
unpackage/dist/dev/mp-alipay/pages/mine/phone.js
vendored
Normal file
143
unpackage/dist/dev/mp-alipay/pages/mine/phone.js
vendored
Normal file
@@ -0,0 +1,143 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
const _easycom_up_code2 = common_vendor.resolveComponent("up-code");
|
||||
const _easycom_up_button2 = common_vendor.resolveComponent("up-button");
|
||||
(_easycom_up_input2 + _easycom_up_code2 + _easycom_up_button2)();
|
||||
}
|
||||
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
|
||||
const _easycom_up_code = () => "../../uni_modules/uview-plus/components/u-code/u-code.js";
|
||||
const _easycom_up_button = () => "../../uni_modules/uview-plus/components/u-button/u-button.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_input + _easycom_up_code + _easycom_up_button)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "phone",
|
||||
setup(__props) {
|
||||
let _getInfo = common_vendor.ref({});
|
||||
let tips1 = common_vendor.ref("");
|
||||
let tips2 = common_vendor.ref("");
|
||||
let uCode1 = common_vendor.ref(null);
|
||||
let uCode2 = common_vendor.ref(null);
|
||||
let enterprise = common_vendor.reactive({
|
||||
newPhone: "",
|
||||
newPhoneSmsCode: "",
|
||||
oldPhoneSmsCode: ""
|
||||
});
|
||||
common_vendor.onLoad(async (options) => {
|
||||
_getInfo.value = await api_api.userInfo();
|
||||
});
|
||||
let addBank = async () => {
|
||||
await api_api.updatePhone(enterprise);
|
||||
common_vendor.index.showToast({ title: "修改成功", icon: "none" });
|
||||
setTimeout(() => {
|
||||
common_vendor.index.navigateBack();
|
||||
}, 1500);
|
||||
};
|
||||
let codeChange1 = (text) => {
|
||||
tips1.value = text;
|
||||
};
|
||||
let codeChange2 = (text) => {
|
||||
tips2.value = text;
|
||||
};
|
||||
let getCode1 = (e) => {
|
||||
if (!e)
|
||||
return common_vendor.index.showToast({ title: "请输入手机号", icon: "none" });
|
||||
if (uCode1.value.canGetCode) {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在获取验证码"
|
||||
});
|
||||
api_api.smsCode({
|
||||
phone: e
|
||||
}).then((res) => {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.$u.toast("验证码已发送");
|
||||
uCode1.value.start();
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.$u.toast("倒计时结束后再发送");
|
||||
}
|
||||
};
|
||||
let getCode2 = (e) => {
|
||||
if (!e)
|
||||
return common_vendor.index.showToast({ title: "请输入手机号", icon: "none" });
|
||||
if (uCode2.value.canGetCode) {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在获取验证码"
|
||||
});
|
||||
api_api.smsCode({
|
||||
phone: e
|
||||
}).then((res) => {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.$u.toast("验证码已发送");
|
||||
uCode2.value.start();
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.$u.toast("倒计时结束后再发送");
|
||||
}
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(($event) => common_vendor.unref(_getInfo).phone = $event),
|
||||
b: common_vendor.p({
|
||||
border: false,
|
||||
disabledColor: "#fff",
|
||||
placeholder: "请输入",
|
||||
disabled: true,
|
||||
modelValue: common_vendor.unref(_getInfo).phone
|
||||
}),
|
||||
c: common_vendor.o(($event) => common_vendor.unref(enterprise).oldPhoneSmsCode = $event),
|
||||
d: common_vendor.p({
|
||||
border: false,
|
||||
placeholder: "请输入",
|
||||
modelValue: common_vendor.unref(enterprise).oldPhoneSmsCode
|
||||
}),
|
||||
e: () => ({
|
||||
r: uCode1,
|
||||
k: "uCode1"
|
||||
}),
|
||||
f: common_vendor.o(common_vendor.unref(codeChange1)),
|
||||
g: common_vendor.p({
|
||||
["keep-running"]: true,
|
||||
["start-text"]: "点我获取验证码"
|
||||
}),
|
||||
h: common_vendor.t(common_vendor.unref(tips1)),
|
||||
i: common_vendor.o(($event) => common_vendor.unref(getCode1)(common_vendor.unref(_getInfo).phone)),
|
||||
j: common_vendor.p({
|
||||
color: "#4874e5"
|
||||
}),
|
||||
k: common_vendor.o(($event) => common_vendor.unref(enterprise).newPhone = $event),
|
||||
l: common_vendor.p({
|
||||
border: false,
|
||||
placeholder: "请输入",
|
||||
modelValue: common_vendor.unref(enterprise).newPhone
|
||||
}),
|
||||
m: common_vendor.o(($event) => common_vendor.unref(enterprise).newPhoneSmsCode = $event),
|
||||
n: common_vendor.p({
|
||||
border: false,
|
||||
placeholder: "请输入",
|
||||
modelValue: common_vendor.unref(enterprise).newPhoneSmsCode
|
||||
}),
|
||||
o: () => ({
|
||||
r: uCode2,
|
||||
k: "uCode2"
|
||||
}),
|
||||
p: common_vendor.o(common_vendor.unref(codeChange2)),
|
||||
q: common_vendor.p({
|
||||
["keep-running"]: true,
|
||||
["start-text"]: "点我获取验证码"
|
||||
}),
|
||||
r: common_vendor.t(common_vendor.unref(tips2)),
|
||||
s: common_vendor.o(($event) => common_vendor.unref(getCode2)(common_vendor.unref(enterprise).newPhone)),
|
||||
t: common_vendor.p({
|
||||
color: "#4874e5"
|
||||
}),
|
||||
v: common_vendor.o((...args) => common_vendor.unref(addBank) && common_vendor.unref(addBank)(...args))
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-bad7965c"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
8
unpackage/dist/dev/mp-alipay/pages/mine/phone.json
vendored
Normal file
8
unpackage/dist/dev/mp-alipay/pages/mine/phone.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"usingComponents": {
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-code": "../../uni_modules/uview-plus/components/u-code/u-code",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
60
unpackage/dist/dev/mp-alipay/pages/mine/setting.acss
vendored
Normal file
60
unpackage/dist/dev/mp-alipay/pages/mine/setting.acss
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
view.data-v-0bb48146 {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.means-a.data-v-0bb48146 {
|
||||
width: 100%;
|
||||
background: #ffffff;
|
||||
border-radius: 15rpx;
|
||||
padding: 25rpx;
|
||||
}
|
||||
.means-a .means-a-list.data-v-0bb48146 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
min-height: 100rpx;
|
||||
background-color: #ffffff;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
.means-a .means-a-list .tit.data-v-0bb48146 {
|
||||
font-size: 30rpx;
|
||||
color: #999999;
|
||||
}
|
||||
.means-a .means-a-list .header.data-v-0bb48146 {
|
||||
width: 140rpx;
|
||||
height: 140rpx;
|
||||
margin-bottom: 20rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.means-a .means-a-list .nickname.data-v-0bb48146 {
|
||||
font-size: 30rpx;
|
||||
color: #222222;
|
||||
}
|
||||
.means-a .means-a-list .means-zhuomi.data-v-0bb48146 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.means-a .means-a-list .means-zhuomi .zuomi.data-v-0bb48146 {
|
||||
width: 189rpx;
|
||||
height: 36rpx;
|
||||
border: 1rpx solid #4d4590;
|
||||
border-radius: 5rpx;
|
||||
text-align: center;
|
||||
line-height: 36rpx;
|
||||
color: #4d4590;
|
||||
font-size: 22rpx;
|
||||
}
|
||||
.means-a .means-a-list .means-zhuomi .means-zhuomi-tit.data-v-0bb48146 {
|
||||
margin: 0 30rpx;
|
||||
font-size: 28rpx;
|
||||
color: #999999;
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
.means-a .means-a-list .means-zhuomi image.data-v-0bb48146 {
|
||||
width: 11rpx;
|
||||
height: 21rpx;
|
||||
}
|
||||
button.data-v-0bb48146::after {
|
||||
all: unset;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/mine/setting.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/mine/setting.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30 data-v-0bb48146"><view class="data-v-0bb48146" style="padding-top:30rpx"><view class="means-a data-v-0bb48146"><view class="means-a-list data-v-0bb48146" style="justify-content:center;padding-top:30rpx"><button class="data-v-0bb48146" style="all:unset" open-type="chooseAvatar" onChooseAvatar="{{e}}"><image a:if="{{a}}" src="{{b}}" class="header data-v-0bb48146" mode="widthFix" onTap="{{c}}"></image><image a:else class="header data-v-0bb48146" src="{{d}}" mode="widthFix"></image></button></view><view class="means-a-list data-v-0bb48146" style="justify-content:center" onTap="{{g}}"><view class="nickname data-v-0bb48146">{{f}}</view></view><view class="means-a-list data-v-0bb48146"><view class="tit data-v-0bb48146">用户名</view><view class="means-zhuomi data-v-0bb48146"><view a:if="{{h}}" class="means-zhuomi-tit data-v-0bb48146">{{i}}</view><up-icon class="data-v-0bb48146" u-i="0bb48146-0" onVI="__l" u-p="{{j}}"></up-icon></view></view><view class="means-a-list data-v-0bb48146" onTap="{{n}}"><view class="tit data-v-0bb48146">手机号</view><view class="means-zhuomi data-v-0bb48146"><view a:if="{{k}}" class="means-zhuomi-tit data-v-0bb48146">{{l}}</view><up-icon class="data-v-0bb48146" u-i="0bb48146-1" onVI="__l" u-p="{{m}}"></up-icon></view></view></view></view><view class="data-v-0bb48146" style="height:80rpx"></view><u-button class="data-v-0bb48146" onClick="{{o}}" u-i="0bb48146-2" onVI="__l" u-p="{{p}}"></u-button><uni-popup class="data-v-0bb48146" u-s="{{['d']}}" ref="__r" u-r="{{t}}" u-i="0bb48146-3" onVI="__l" u-p="{{v}}"><uni-popup-dialog class="data-v-0bb48146" ref="__r" u-r="{{q}}" onConfirm="{{r}}" u-i="0bb48146-4,0bb48146-3" onVI="__l" u-p="{{s}}"></uni-popup-dialog></uni-popup></view>
|
||||
121
unpackage/dist/dev/mp-alipay/pages/mine/setting.js
vendored
Normal file
121
unpackage/dist/dev/mp-alipay/pages/mine/setting.js
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
const hooks_useNav = require("../../hooks/useNav.js");
|
||||
const common_js_user = require("../../common/js/user.js");
|
||||
const store_index = require("../../store/index.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_u_button2 = common_vendor.resolveComponent("u-button");
|
||||
const _easycom_uni_popup_dialog2 = common_vendor.resolveComponent("uni-popup-dialog");
|
||||
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
||||
(_easycom_up_icon2 + _easycom_u_button2 + _easycom_uni_popup_dialog2 + _easycom_uni_popup2)();
|
||||
}
|
||||
const _easycom_up_icon = () => "../../uni_modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_u_button = () => "../../uni_modules/uview-plus/components/u-button/u-button.js";
|
||||
const _easycom_uni_popup_dialog = () => "../../uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.js";
|
||||
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_icon + _easycom_u_button + _easycom_uni_popup_dialog + _easycom_uni_popup)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "setting",
|
||||
setup(__props) {
|
||||
const { nav, navTo } = hooks_useNav.useNav();
|
||||
let getInfo = common_vendor.ref();
|
||||
common_vendor.ref(false);
|
||||
let inputDialog = common_vendor.ref(null);
|
||||
common_vendor.onShow(() => {
|
||||
getUserInfo();
|
||||
});
|
||||
let getUserInfo = async () => {
|
||||
let _res = await api_api.userInfo();
|
||||
getInfo.value = _res;
|
||||
};
|
||||
let dialogInputConfirm = async (e) => {
|
||||
await api_api.updateUserInfo({
|
||||
nickName: e
|
||||
});
|
||||
getUserInfo();
|
||||
console.log(e);
|
||||
};
|
||||
let chooseavatar = async (e) => {
|
||||
const { avatarUrl } = e.detail;
|
||||
let _url = await common_js_user.uploadFiles(avatarUrl);
|
||||
await api_api.updateUserInfo({
|
||||
avatar: _url
|
||||
});
|
||||
getUserInfo();
|
||||
};
|
||||
let logout = () => {
|
||||
common_vendor.index.clearStorageSync();
|
||||
store_index.store.commit("setToken", "");
|
||||
common_vendor.index.showToast({
|
||||
title: "退出登录成功",
|
||||
icon: "success"
|
||||
});
|
||||
common_vendor.index.switchTab({
|
||||
url: "/pages/index/index"
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.unref(getInfo).avatar
|
||||
}, common_vendor.unref(getInfo).avatar ? {
|
||||
b: common_vendor.unref(getInfo).avatar,
|
||||
c: common_vendor.o((...args) => _ctx.infoHeader && _ctx.infoHeader(...args))
|
||||
} : {
|
||||
d: common_assets._imports_0$5
|
||||
}, {
|
||||
e: common_vendor.o((...args) => common_vendor.unref(chooseavatar) && common_vendor.unref(chooseavatar)(...args)),
|
||||
f: common_vendor.t(common_vendor.unref(getInfo).nickName || "默认用户"),
|
||||
g: common_vendor.o(($event) => common_vendor.unref(inputDialog).open()),
|
||||
h: common_vendor.unref(getInfo).userName
|
||||
}, common_vendor.unref(getInfo).userName ? {
|
||||
i: common_vendor.t(common_vendor.unref(getInfo).userName)
|
||||
} : {}, {
|
||||
j: common_vendor.p({
|
||||
color: "#999999",
|
||||
name: "arrow-right",
|
||||
size: "35rpx"
|
||||
}),
|
||||
k: common_vendor.unref(getInfo).phone
|
||||
}, common_vendor.unref(getInfo).phone ? {
|
||||
l: common_vendor.t(common_vendor.unref(getInfo).phone)
|
||||
} : {}, {
|
||||
m: common_vendor.p({
|
||||
color: "#999999",
|
||||
name: "arrow-right",
|
||||
size: "35rpx"
|
||||
}),
|
||||
n: common_vendor.o(($event) => common_vendor.unref(navTo)("/pages/mine/phone", true)),
|
||||
o: common_vendor.o(($event) => common_vendor.unref(logout)()),
|
||||
p: common_vendor.p({
|
||||
text: "退出登录",
|
||||
size: "normal",
|
||||
type: "error"
|
||||
}),
|
||||
q: () => ({
|
||||
r: inputClose
|
||||
}),
|
||||
r: common_vendor.o(common_vendor.unref(dialogInputConfirm)),
|
||||
s: common_vendor.p({
|
||||
inputType: "text",
|
||||
mode: "input",
|
||||
title: "请输入昵称",
|
||||
placeholder: "请输入昵称"
|
||||
}),
|
||||
t: () => ({
|
||||
r: inputDialog,
|
||||
k: "inputDialog"
|
||||
}),
|
||||
v: common_vendor.p({
|
||||
type: "dialog"
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-0bb48146"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
9
unpackage/dist/dev/mp-alipay/pages/mine/setting.json
vendored
Normal file
9
unpackage/dist/dev/mp-alipay/pages/mine/setting.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"defaultTitle": "",
|
||||
"usingComponents": {
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"u-button": "../../uni_modules/uview-plus/components/u-button/u-button",
|
||||
"uni-popup-dialog": "../../uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog",
|
||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
48
unpackage/dist/dev/mp-alipay/pages/mine/share.acss
vendored
Normal file
48
unpackage/dist/dev/mp-alipay/pages/mine/share.acss
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
|
||||
page {
|
||||
background: linear-gradient(180deg, #dbe5ff 0%, #f7f7f7 15%, #f7f7f7 81%, #f7f7f7 100%);
|
||||
}
|
||||
|
||||
.mine.data-v-66f7dc32 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
.mine_header.data-v-66f7dc32 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.mine_header_img.data-v-66f7dc32 {
|
||||
width: 152rpx;
|
||||
height: 152rpx;
|
||||
margin-right: 22rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.mine_header_text.data-v-66f7dc32 {
|
||||
flex: 1;
|
||||
}
|
||||
.mine_header_text_nick.data-v-66f7dc32 {
|
||||
font-weight: bold;
|
||||
font-size: 40rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 15rpx;
|
||||
}
|
||||
.mine_header_text_acc.data-v-66f7dc32 {
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.mine_header_sz.data-v-66f7dc32 {
|
||||
width: 44rpx;
|
||||
height: 38rpx;
|
||||
}
|
||||
.mine ::deep .u-grid-item.data-v-66f7dc32 {
|
||||
margin-top: 0;
|
||||
}
|
||||
.mine button.data-v-66f7dc32::after {
|
||||
all: unset;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/mine/share.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/mine/share.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="mine p30 data-v-66f7dc32"><view a:if="{{a}}" class="data-v-66f7dc32" style="background-color:#f6faff;padding:30rpx;border-radius:10rpx"><view class="data-v-66f7dc32" style="font-size:30rpx;color:#999999;text-align:center;margin-bottom:20rpx"> 邀请码:{{b}} <text class="data-v-66f7dc32" style="text-decoration:underline;margin-left:30rpx" onTap="{{c}}">复制</text></view><view class="u-flex u-flex-xy-center data-v-66f7dc32"><up-image class="data-v-66f7dc32" u-i="66f7dc32-0" onVI="__l" u-p="{{d}}"></up-image></view><view class="data-v-66f7dc32" style="height:10rpx"></view><view class="data-v-66f7dc32" style="font-size:30rpx;color:#999999;text-align:center">长按保存或者转发</view></view></view>
|
||||
56
unpackage/dist/dev/mp-alipay/pages/mine/share.js
vendored
Normal file
56
unpackage/dist/dev/mp-alipay/pages/mine/share.js
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
require("../../store/index.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_image2 = common_vendor.resolveComponent("up-image");
|
||||
_easycom_up_image2();
|
||||
}
|
||||
const _easycom_up_image = () => "../../uni_modules/uview-plus/components/u-image/u-image.js";
|
||||
if (!Math) {
|
||||
_easycom_up_image();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "share",
|
||||
setup(__props) {
|
||||
let getInfo = common_vendor.ref({});
|
||||
let loginTan = common_vendor.ref(true);
|
||||
common_vendor.onShow(() => {
|
||||
let Authorization = common_vendor.index.getStorageSync("token") || "";
|
||||
if (Authorization) {
|
||||
getUserInfo();
|
||||
loginTan.value = true;
|
||||
} else {
|
||||
loginTan.value = false;
|
||||
}
|
||||
});
|
||||
let getUserInfo = async () => {
|
||||
let _res = await api_api.userInfo();
|
||||
getInfo.value = _res;
|
||||
};
|
||||
let copy = (e) => {
|
||||
common_vendor.index.setClipboardData({
|
||||
data: e,
|
||||
success: function() {
|
||||
}
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.unref(getInfo).qrCode
|
||||
}, common_vendor.unref(getInfo).qrCode ? {
|
||||
b: common_vendor.t(common_vendor.unref(getInfo).shareCode),
|
||||
c: common_vendor.o(($event) => common_vendor.unref(copy)(common_vendor.unref(getInfo).shareCode)),
|
||||
d: common_vendor.p({
|
||||
src: common_vendor.unref(getInfo).qrCode,
|
||||
radius: "20rpx",
|
||||
width: "440rpx",
|
||||
height: "440rpx",
|
||||
mode: "widthFix"
|
||||
})
|
||||
} : {});
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-66f7dc32"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
6
unpackage/dist/dev/mp-alipay/pages/mine/share.json
vendored
Normal file
6
unpackage/dist/dev/mp-alipay/pages/mine/share.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"defaultTitle": "邀请码",
|
||||
"usingComponents": {
|
||||
"up-image": "../../uni_modules/uview-plus/components/u-image/u-image"
|
||||
}
|
||||
}
|
||||
83
unpackage/dist/dev/mp-alipay/pages/mine/toUser.acss
vendored
Normal file
83
unpackage/dist/dev/mp-alipay/pages/mine/toUser.acss
vendored
Normal file
@@ -0,0 +1,83 @@
|
||||
.withdraw_k.data-v-24a13c27 {
|
||||
width: 100%;
|
||||
height: 74rpx;
|
||||
padding: 0 20rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.withdraw_k_tit.data-v-24a13c27 {
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
margin-right: 100rpx;
|
||||
}
|
||||
.withdraw_k_input.data-v-24a13c27 {
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.withdraw_k_img.data-v-24a13c27 {
|
||||
width: 44rpx;
|
||||
height: 44rpx;
|
||||
}
|
||||
.withdraw_mon.data-v-24a13c27 {
|
||||
padding: 20rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
}
|
||||
.withdraw_mon_tit.data-v-24a13c27 {
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.withdraw_mon_input.data-v-24a13c27 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border-bottom: 2rpx solid #cccccc;
|
||||
padding: 15rpx 0;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.withdraw_mon_input_fu.data-v-24a13c27 {
|
||||
font-weight: bold;
|
||||
font-size: 66rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.withdraw_mon_input_note.data-v-24a13c27 {
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #ff7777;
|
||||
}
|
||||
.withdraw_mon_note.data-v-24a13c27 {
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.withdraw_note.data-v-24a13c27 {
|
||||
margin-top: 30rpx;
|
||||
padding: 0 15rpx;
|
||||
}
|
||||
.withdraw_note view.data-v-24a13c27 {
|
||||
margin-bottom: 15rpx;
|
||||
font-weight: 400;
|
||||
font-size: 26rpx;
|
||||
color: #232323;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
.affirm_btn.data-v-24a13c27 {
|
||||
width: 650rpx;
|
||||
height: 78rpx;
|
||||
background: #4874e5;
|
||||
border-radius: 12rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/mine/toUser.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/mine/toUser.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="withdraw p30 data-v-24a13c27"><view class="data-v-24a13c27" style="height:30rpx"></view><view class="data-v-24a13c27" style="background-color:#ffffff;padding:30rpx;border-radius:10rpx;font-size:30rpx;color:#949494"><view class="data-v-24a13c27">当前基础收益 ¥{{a}},最低转赠¥1</view></view><view class="data-v-24a13c27" style="height:30rpx"></view><view class="withdraw_mon data-v-24a13c27"><view class="withdraw_mon_input data-v-24a13c27"><view class="withdraw_mon_input_fu data-v-24a13c27">¥</view><view class="data-v-24a13c27"><up-input class="data-v-24a13c27" u-i="24a13c27-0" onVI="__l" onUpdateModelValue="{{b}}" u-p="{{c}}"></up-input></view><view class="withdraw_mon_input_note data-v-24a13c27" onTap="{{d}}">全部转赠</view></view><view class="data-v-24a13c27"><up-input class="data-v-24a13c27" u-i="24a13c27-1" onVI="__l" onUpdateModelValue="{{e}}" u-p="{{f}}"></up-input></view><view class="withdraw_mon_input data-v-24a13c27"><up-input class="data-v-24a13c27" u-i="24a13c27-2" onVI="__l" onUpdateModelValue="{{g}}" u-p="{{h}}"></up-input><view class="data-v-24a13c27" style="width:250rpx"><up-code class="data-v-24a13c27" ref="__r" u-r="{{i}}" onChange="{{j}}" u-i="24a13c27-3" onVI="__l" u-p="{{k}}"></up-code><up-button class="data-v-24a13c27" u-s="{{['d']}}" onClick="{{m}}" u-i="24a13c27-4" onVI="__l" u-p="{{n}}">{{l}}</up-button></view></view><view class="withdraw_mon_input data-v-24a13c27"><up-input class="data-v-24a13c27" u-i="24a13c27-5" onVI="__l" onUpdateModelValue="{{o}}" u-p="{{p}}"></up-input></view><view class="withdraw_mon_input data-v-24a13c27"><up-input class="data-v-24a13c27" u-i="24a13c27-6" onVI="__l" onUpdateModelValue="{{q}}" u-p="{{r}}"></up-input></view></view><view class="data-v-24a13c27" style="height:20rpx"></view><view class="data-v-24a13c27" style="background-color:#ffffff;border-radius:12rpx;padding:30rpx"><view class="data-v-24a13c27" style="color:#f29100">温馨提示</view><view class="data-v-24a13c27" style="height:10rpx"></view><view class="data-v-24a13c27" style="font-size:28rpx;color:#909399"><view class="data-v-24a13c27">1.基础收益转赠给团队成员(直线上级、直线下级);</view><view class="data-v-24a13c27" style="height:10rpx"></view><view class="data-v-24a13c27">2.转赠金额实时到账,不扣手续费;</view><view class="data-v-24a13c27" style="height:10rpx"></view><view class="data-v-24a13c27">3.转赠成功后实时生效,不支持撤回。</view></view></view><view class="data-v-24a13c27" style="height:50rpx"></view><view class="data-v-24a13c27" style="display:flex;justify-content:center;margin-top:80rpx"><view class="affirm_btn data-v-24a13c27" onTap="{{s}}">确认</view></view><view class="data-v-24a13c27" style="height:50rpx"></view></view>
|
||||
132
unpackage/dist/dev/mp-alipay/pages/mine/toUser.js
vendored
Normal file
132
unpackage/dist/dev/mp-alipay/pages/mine/toUser.js
vendored
Normal file
@@ -0,0 +1,132 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
const _easycom_up_code2 = common_vendor.resolveComponent("up-code");
|
||||
const _easycom_up_button2 = common_vendor.resolveComponent("up-button");
|
||||
(_easycom_up_input2 + _easycom_up_code2 + _easycom_up_button2)();
|
||||
}
|
||||
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
|
||||
const _easycom_up_code = () => "../../uni_modules/uview-plus/components/u-code/u-code.js";
|
||||
const _easycom_up_button = () => "../../uni_modules/uview-plus/components/u-button/u-button.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_input + _easycom_up_code + _easycom_up_button)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "toUser",
|
||||
setup(__props) {
|
||||
common_vendor.ref();
|
||||
let getInfo = common_vendor.ref({});
|
||||
let appConfig = common_vendor.ref([]);
|
||||
let tips = common_vendor.ref("");
|
||||
let uCode = common_vendor.ref(null);
|
||||
let dataFrom = common_vendor.reactive({
|
||||
rechargeMoney: "",
|
||||
smsCode: "",
|
||||
toUserName: "",
|
||||
toPhone: ""
|
||||
});
|
||||
common_vendor.ref();
|
||||
common_vendor.onLoad(async () => {
|
||||
let _res = await api_api.userInfo();
|
||||
getInfo.value = _res;
|
||||
const { configValue } = await api_api.getAppConfig({ configKey: "DEPOSIT" });
|
||||
appConfig.value = JSON.parse(configValue);
|
||||
});
|
||||
let codeChange2 = (text) => {
|
||||
tips.value = text;
|
||||
};
|
||||
let getCode = () => {
|
||||
if (!getInfo.value.phone)
|
||||
return common_vendor.index.showToast({ title: "请输入手机号", icon: "none" });
|
||||
if (uCode.value.canGetCode) {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在获取验证码"
|
||||
});
|
||||
api_api.smsCode({
|
||||
phone: getInfo.value.phone
|
||||
}).then((res) => {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.$u.toast("验证码已发送");
|
||||
uCode.value.start();
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.$u.toast("倒计时结束后再发送");
|
||||
}
|
||||
};
|
||||
let payOrder = async () => {
|
||||
if (!dataFrom.rechargeMoney)
|
||||
return common_vendor.index.showToast({ title: "请输入金额", icon: "none" });
|
||||
if (!dataFrom.smsCode)
|
||||
return common_vendor.index.showToast({ title: "请输入验证码", icon: "none" });
|
||||
if (!dataFrom.toUserName)
|
||||
return common_vendor.index.showToast({ title: "请输入转赠用户名", icon: "none" });
|
||||
if (!dataFrom.toPhone)
|
||||
return common_vendor.index.showToast({ title: "请输入转赠手机号", icon: "none" });
|
||||
await api_api.giveWallet(dataFrom);
|
||||
common_vendor.index.showModal({
|
||||
title: "提示",
|
||||
content: "转赠成功",
|
||||
showCancel: false,
|
||||
success() {
|
||||
common_vendor.index.navigateBack();
|
||||
}
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.t(common_vendor.unref(getInfo).points1),
|
||||
b: common_vendor.o(($event) => common_vendor.unref(dataFrom).rechargeMoney = $event),
|
||||
c: common_vendor.p({
|
||||
fontSize: "36rpx",
|
||||
placeholder: "请输入转赠金额",
|
||||
border: false,
|
||||
modelValue: common_vendor.unref(dataFrom).rechargeMoney
|
||||
}),
|
||||
d: common_vendor.o(($event) => common_vendor.unref(dataFrom).rechargeMoney = common_vendor.unref(getInfo).points1),
|
||||
e: common_vendor.o(($event) => common_vendor.unref(getInfo).phone = $event),
|
||||
f: common_vendor.p({
|
||||
border: false,
|
||||
disabled: true,
|
||||
modelValue: common_vendor.unref(getInfo).phone
|
||||
}),
|
||||
g: common_vendor.o(($event) => common_vendor.unref(dataFrom).smsCode = $event),
|
||||
h: common_vendor.p({
|
||||
placeholder: "请输入验证码",
|
||||
border: false,
|
||||
modelValue: common_vendor.unref(dataFrom).smsCode
|
||||
}),
|
||||
i: () => ({
|
||||
r: uCode,
|
||||
k: "uCode"
|
||||
}),
|
||||
j: common_vendor.o(common_vendor.unref(codeChange2)),
|
||||
k: common_vendor.p({
|
||||
["keep-running"]: true,
|
||||
["start-text"]: "点我获取验证码"
|
||||
}),
|
||||
l: common_vendor.t(common_vendor.unref(tips)),
|
||||
m: common_vendor.o(common_vendor.unref(getCode)),
|
||||
n: common_vendor.p({
|
||||
color: "#4874e5"
|
||||
}),
|
||||
o: common_vendor.o(($event) => common_vendor.unref(dataFrom).toUserName = $event),
|
||||
p: common_vendor.p({
|
||||
placeholder: "转赠用户名",
|
||||
border: false,
|
||||
modelValue: common_vendor.unref(dataFrom).toUserName
|
||||
}),
|
||||
q: common_vendor.o(($event) => common_vendor.unref(dataFrom).toPhone = $event),
|
||||
r: common_vendor.p({
|
||||
placeholder: "转赠手机号",
|
||||
border: false,
|
||||
modelValue: common_vendor.unref(dataFrom).toPhone
|
||||
}),
|
||||
s: common_vendor.o((...args) => common_vendor.unref(payOrder) && common_vendor.unref(payOrder)(...args))
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-24a13c27"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
8
unpackage/dist/dev/mp-alipay/pages/mine/toUser.json
vendored
Normal file
8
unpackage/dist/dev/mp-alipay/pages/mine/toUser.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"defaultTitle": "基础收益转赠",
|
||||
"usingComponents": {
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-code": "../../uni_modules/uview-plus/components/u-code/u-code",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
83
unpackage/dist/dev/mp-alipay/pages/mine/toUser2.acss
vendored
Normal file
83
unpackage/dist/dev/mp-alipay/pages/mine/toUser2.acss
vendored
Normal file
@@ -0,0 +1,83 @@
|
||||
.withdraw_k.data-v-ec7b646f {
|
||||
width: 100%;
|
||||
height: 74rpx;
|
||||
padding: 0 20rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.withdraw_k_tit.data-v-ec7b646f {
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
margin-right: 100rpx;
|
||||
}
|
||||
.withdraw_k_input.data-v-ec7b646f {
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.withdraw_k_img.data-v-ec7b646f {
|
||||
width: 44rpx;
|
||||
height: 44rpx;
|
||||
}
|
||||
.withdraw_mon.data-v-ec7b646f {
|
||||
padding: 20rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 8rpx 8rpx 8rpx 8rpx;
|
||||
}
|
||||
.withdraw_mon_tit.data-v-ec7b646f {
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.withdraw_mon_input.data-v-ec7b646f {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border-bottom: 2rpx solid #cccccc;
|
||||
padding: 15rpx 0;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.withdraw_mon_input_fu.data-v-ec7b646f {
|
||||
font-weight: bold;
|
||||
font-size: 66rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.withdraw_mon_input_note.data-v-ec7b646f {
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #ff7777;
|
||||
}
|
||||
.withdraw_mon_note.data-v-ec7b646f {
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.withdraw_note.data-v-ec7b646f {
|
||||
margin-top: 30rpx;
|
||||
padding: 0 15rpx;
|
||||
}
|
||||
.withdraw_note view.data-v-ec7b646f {
|
||||
margin-bottom: 15rpx;
|
||||
font-weight: 400;
|
||||
font-size: 26rpx;
|
||||
color: #232323;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
.affirm_btn.data-v-ec7b646f {
|
||||
width: 650rpx;
|
||||
height: 78rpx;
|
||||
background: #4874e5;
|
||||
border-radius: 12rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #ffffff;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/pages/mine/toUser2.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/pages/mine/toUser2.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="withdraw p30 data-v-ec7b646f"><view class="data-v-ec7b646f" style="height:30rpx"></view><view class="data-v-ec7b646f" style="background-color:#ffffff;padding:30rpx;border-radius:10rpx;font-size:30rpx;color:#949494"><view class="data-v-ec7b646f">当前增值收益 ¥{{a}},最低转赠¥1</view></view><view class="data-v-ec7b646f" style="height:30rpx"></view><view class="withdraw_mon data-v-ec7b646f"><view class="withdraw_mon_input data-v-ec7b646f"><view class="withdraw_mon_input_fu data-v-ec7b646f">¥</view><view class="data-v-ec7b646f"><up-input class="data-v-ec7b646f" u-i="ec7b646f-0" onVI="__l" onUpdateModelValue="{{b}}" u-p="{{c}}"></up-input></view><view class="withdraw_mon_input_note data-v-ec7b646f" onTap="{{d}}">全部转赠</view></view><view class="data-v-ec7b646f"><up-input class="data-v-ec7b646f" u-i="ec7b646f-1" onVI="__l" onUpdateModelValue="{{e}}" u-p="{{f}}"></up-input></view><view class="withdraw_mon_input data-v-ec7b646f"><up-input class="data-v-ec7b646f" u-i="ec7b646f-2" onVI="__l" onUpdateModelValue="{{g}}" u-p="{{h}}"></up-input><view class="data-v-ec7b646f" style="width:250rpx"><up-code class="data-v-ec7b646f" ref="__r" u-r="{{i}}" onChange="{{j}}" u-i="ec7b646f-3" onVI="__l" u-p="{{k}}"></up-code><up-button class="data-v-ec7b646f" u-s="{{['d']}}" onClick="{{m}}" u-i="ec7b646f-4" onVI="__l" u-p="{{n}}">{{l}}</up-button></view></view><view class="withdraw_mon_input data-v-ec7b646f"><up-input class="data-v-ec7b646f" u-i="ec7b646f-5" onVI="__l" onUpdateModelValue="{{o}}" u-p="{{p}}"></up-input></view><view class="withdraw_mon_input data-v-ec7b646f"><up-input class="data-v-ec7b646f" u-i="ec7b646f-6" onVI="__l" onUpdateModelValue="{{q}}" u-p="{{r}}"></up-input></view></view><view class="data-v-ec7b646f" style="height:20rpx"></view><view class="data-v-ec7b646f" style="background-color:#ffffff;border-radius:12rpx;padding:30rpx"><view class="data-v-ec7b646f" style="color:#f29100">温馨提示</view><view class="data-v-ec7b646f" style="height:10rpx"></view><view class="data-v-ec7b646f" style="font-size:28rpx;color:#909399"><view class="data-v-ec7b646f">1.增值收益转赠给团队成员(直线上级、直线下级);</view><view class="data-v-ec7b646f" style="height:10rpx"></view><view class="data-v-ec7b646f">2.转赠金额实时到账,不扣手续费;</view><view class="data-v-ec7b646f" style="height:10rpx"></view><view class="data-v-ec7b646f">3.转赠成功后实时生效,不支持撤回。</view></view></view><view class="data-v-ec7b646f" style="height:50rpx"></view><view class="data-v-ec7b646f" style="display:flex;justify-content:center;margin-top:80rpx"><view class="affirm_btn data-v-ec7b646f" onTap="{{s}}">确认</view></view><view class="data-v-ec7b646f" style="height:50rpx"></view></view>
|
||||
132
unpackage/dist/dev/mp-alipay/pages/mine/toUser2.js
vendored
Normal file
132
unpackage/dist/dev/mp-alipay/pages/mine/toUser2.js
vendored
Normal file
@@ -0,0 +1,132 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
const _easycom_up_code2 = common_vendor.resolveComponent("up-code");
|
||||
const _easycom_up_button2 = common_vendor.resolveComponent("up-button");
|
||||
(_easycom_up_input2 + _easycom_up_code2 + _easycom_up_button2)();
|
||||
}
|
||||
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
|
||||
const _easycom_up_code = () => "../../uni_modules/uview-plus/components/u-code/u-code.js";
|
||||
const _easycom_up_button = () => "../../uni_modules/uview-plus/components/u-button/u-button.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_input + _easycom_up_code + _easycom_up_button)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "toUser2",
|
||||
setup(__props) {
|
||||
common_vendor.ref();
|
||||
let getInfo = common_vendor.ref({});
|
||||
let appConfig = common_vendor.ref([]);
|
||||
let tips = common_vendor.ref("");
|
||||
let uCode = common_vendor.ref(null);
|
||||
let dataFrom = common_vendor.reactive({
|
||||
rechargeMoney: "",
|
||||
smsCode: "",
|
||||
toUserName: "",
|
||||
toPhone: ""
|
||||
});
|
||||
common_vendor.ref();
|
||||
common_vendor.onLoad(async () => {
|
||||
let _res = await api_api.userInfo();
|
||||
getInfo.value = _res;
|
||||
const { configValue } = await api_api.getAppConfig({ configKey: "DEPOSIT" });
|
||||
appConfig.value = JSON.parse(configValue);
|
||||
});
|
||||
let codeChange2 = (text) => {
|
||||
tips.value = text;
|
||||
};
|
||||
let getCode = () => {
|
||||
if (!getInfo.value.phone)
|
||||
return common_vendor.index.showToast({ title: "请输入手机号", icon: "none" });
|
||||
if (uCode.value.canGetCode) {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在获取验证码"
|
||||
});
|
||||
api_api.smsCode({
|
||||
phone: getInfo.value.phone
|
||||
}).then((res) => {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.$u.toast("验证码已发送");
|
||||
uCode.value.start();
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.$u.toast("倒计时结束后再发送");
|
||||
}
|
||||
};
|
||||
let payOrder = async () => {
|
||||
if (!dataFrom.rechargeMoney)
|
||||
return common_vendor.index.showToast({ title: "请输入金额", icon: "none" });
|
||||
if (!dataFrom.smsCode)
|
||||
return common_vendor.index.showToast({ title: "请输入验证码", icon: "none" });
|
||||
if (!dataFrom.toUserName)
|
||||
return common_vendor.index.showToast({ title: "请输入转赠用户名", icon: "none" });
|
||||
if (!dataFrom.toPhone)
|
||||
return common_vendor.index.showToast({ title: "请输入转赠手机号", icon: "none" });
|
||||
await api_api.giveWallet2(dataFrom);
|
||||
common_vendor.index.showModal({
|
||||
title: "提示",
|
||||
content: "转赠成功",
|
||||
showCancel: false,
|
||||
success() {
|
||||
common_vendor.index.navigateBack();
|
||||
}
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.t(common_vendor.unref(getInfo).points2),
|
||||
b: common_vendor.o(($event) => common_vendor.unref(dataFrom).rechargeMoney = $event),
|
||||
c: common_vendor.p({
|
||||
fontSize: "36rpx",
|
||||
placeholder: "请输入转赠金额",
|
||||
border: false,
|
||||
modelValue: common_vendor.unref(dataFrom).rechargeMoney
|
||||
}),
|
||||
d: common_vendor.o(($event) => common_vendor.unref(dataFrom).rechargeMoney = common_vendor.unref(getInfo).points2),
|
||||
e: common_vendor.o(($event) => common_vendor.unref(getInfo).phone = $event),
|
||||
f: common_vendor.p({
|
||||
border: false,
|
||||
disabled: true,
|
||||
modelValue: common_vendor.unref(getInfo).phone
|
||||
}),
|
||||
g: common_vendor.o(($event) => common_vendor.unref(dataFrom).smsCode = $event),
|
||||
h: common_vendor.p({
|
||||
placeholder: "请输入验证码",
|
||||
border: false,
|
||||
modelValue: common_vendor.unref(dataFrom).smsCode
|
||||
}),
|
||||
i: () => ({
|
||||
r: uCode,
|
||||
k: "uCode"
|
||||
}),
|
||||
j: common_vendor.o(common_vendor.unref(codeChange2)),
|
||||
k: common_vendor.p({
|
||||
["keep-running"]: true,
|
||||
["start-text"]: "点我获取验证码"
|
||||
}),
|
||||
l: common_vendor.t(common_vendor.unref(tips)),
|
||||
m: common_vendor.o(common_vendor.unref(getCode)),
|
||||
n: common_vendor.p({
|
||||
color: "#4874e5"
|
||||
}),
|
||||
o: common_vendor.o(($event) => common_vendor.unref(dataFrom).toUserName = $event),
|
||||
p: common_vendor.p({
|
||||
placeholder: "转赠用户名",
|
||||
border: false,
|
||||
modelValue: common_vendor.unref(dataFrom).toUserName
|
||||
}),
|
||||
q: common_vendor.o(($event) => common_vendor.unref(dataFrom).toPhone = $event),
|
||||
r: common_vendor.p({
|
||||
placeholder: "转赠手机号",
|
||||
border: false,
|
||||
modelValue: common_vendor.unref(dataFrom).toPhone
|
||||
}),
|
||||
s: common_vendor.o((...args) => common_vendor.unref(payOrder) && common_vendor.unref(payOrder)(...args))
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-ec7b646f"]]);
|
||||
my.createPage(MiniProgramPage);
|
||||
8
unpackage/dist/dev/mp-alipay/pages/mine/toUser2.json
vendored
Normal file
8
unpackage/dist/dev/mp-alipay/pages/mine/toUser2.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"defaultTitle": "增值收益转赠",
|
||||
"usingComponents": {
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
|
||||
"up-code": "../../uni_modules/uview-plus/components/u-code/u-code",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user