Commit 5929d98d authored by wangzhujun's avatar wangzhujun

init

parent 8a0c1973
node_modules
node_modules
This diff is collapsed.
{
"pages": [
"pages/home/home"
],
"subPackages": [
{
"root": "packages/wm-cloud-db_index",
"name": "wm-cloud-db_index",
"pages": [
"db_index/index"
]
},
{
"root": "packages/wm-cloud-db_webview",
"name": "wm-cloud-db_webview",
"pages": [
"db_webview/index"
]
},
{
"root": "packages/wm-cloud-db_jump",
"name": "wm-cloud-db_jump",
"pages": [
"db_jump/index"
]
}
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "WeChat",
"navigationBarTextStyle": "black"
},
"sitemapLocation": "sitemap.json"
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
var webpackRequire = require("./../../../../webpack-require");
webpackRequire(
"./src/packages/wm-cloud-db_index/component/actRuleModal/index.js",
Object.assign({}, require("./../../../../weimob-cloud-commons.js").modules, {
/***/ "./src/packages/wm-cloud-db_index/component/actRuleModal/index.js":
/*!************************************************************************!*\
!*** ./src/packages/wm-cloud-db_index/component/actRuleModal/index.js ***!
\************************************************************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _utils_db_api_globalData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/db_api/globalData */ "./src/packages/wm-cloud-db_index/utils/db_api/globalData.js");
// 活动攻略
const app = getApp();
Component({
data: {
lastScanTimes: 0
},
properties: {},
attached() {
console.log(this);
console.error("看看文案", this.data);
this.setData({
lastScanTimes: _utils_db_api_globalData__WEBPACK_IMPORTED_MODULE_0__["globalData"].indexInfo.lastScanTimes
});
},
methods: {
onModalClose() {
this.triggerEvent("onModalClose", 'actRule');
}
}
});
/***/ })
/******/ }));
\ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
<view class="actRuleModal">
<view class="actRuleModalContainer">
<view class="actrulelgiht"></view>
<view class="actrulebg"></view>
<view class="actrulelogo"></view>
<view class="actruleip"></view>
<view class="actrulelab"></view>
<view class="actrulebtn" catch:tap="onModalClose"></view>
<view class="close" catch:tap="onModalClose"></view>
</view>
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
.actRuleModal {
width: 100%;
height: 100%;
z-index: 10;
position: fixed;
background: rgba(0, 0, 0, 0.7);
}
.actRuleModalContainer {
width: 750rpx;
height: 1209rpx;
top: 0rpx;
bottom: 0rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
position: absolute;
}
.actrulelgiht {
width: 746rpx;
height: 1236rpx;
left: 0rpx;
top: 193rpx;
background: url("https://yun.duiba.com.cn/db_games/jianchun/actrulepop/actrulelgiht.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.actrulebg {
width: 560rpx;
height: 615rpx;
left: 93rpx;
top: 332rpx;
background: url("https://yun.duiba.com.cn/db_games/jianchun/actrulepop/actrulebg.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.actruleip{
width: 657rpx;
height: 712rpx;
left: 64rpx;
top: 111rpx;
background: url("https://yun.duiba.com.cn/db_games/jianchun/actrulepop/actruleip.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.actrulelogo {
width: 93rpx;
height: 106rpx;
left: 324rpx;
top: 0rpx;
background: url("https://yun.duiba.com.cn/db_games/jianchun/actrulepop/actrulelogo.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.actrulelab{
width: 474rpx;
height: 142rpx;
left: 138rpx;
top: 766rpx;
background: url("https://yun.duiba.com.cn/db_games/jianchun/actrulepop/actrulelab.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.actrulebtn{
width: 359rpx;
height: 93rpx;
left: 194rpx;
top: 1001rpx;
background: url("https://yun.duiba.com.cn/db_games/jianchun/actrulepop/actrulebtn.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.close{
width: 67rpx;
height: 67rpx;
left: 342rpx;
top: 1142rpx;
background: url("https://yun.duiba.com.cn/db_games/jianchun/close.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
var webpackRequire = require("./../../../../webpack-require");
webpackRequire(
"./src/packages/wm-cloud-db_index/component/assistFailModal/index.js",
Object.assign({}, require("./../../../../weimob-cloud-commons.js").modules, {
/***/ "./src/packages/wm-cloud-db_index/component/assistFailModal/index.js":
/*!***************************************************************************!*\
!*** ./src/packages/wm-cloud-db_index/component/assistFailModal/index.js ***!
\***************************************************************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _utils_db_api_globalData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/db_api/globalData */ "./src/packages/wm-cloud-db_index/utils/db_api/globalData.js");
/* harmony import */ var _utils_db_api_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/db_api/index */ "./src/packages/wm-cloud-db_index/utils/db_api/index.js");
const app = getApp();
Component({
data: {
isloading: false
},
properties: {
isBindPhone: Boolean,
assistErrorMsg: String
},
attached() {
console.log(this);
console.error("看看文案", this.data, this.data.isBindPhone);
},
methods: {
onModalClose() {
this.triggerEvent("onModalClose", 'assistFail');
}
}
});
/***/ })
/******/ }));
\ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
<view class="assistFailModal">
<view class="assistFailModalContainer">
<view class="assistFailModalIKnowBtn" catch:tap="onModalClose"></view>
<!-- <button wx:if="{{!isBindPhone}}" class="assistFailModalBg" plain="true" open-type="getPhoneNumber" bindgetphonenumber="checkAuth"></button> -->
<view class="assistFailModalCloseBtn" catch:tap="onModalClose"></view>
<text class="assistFailModalTip">{{assistErrorMsg}}</text>
<!-- <text class="assistFailModalTip">无法为自己助力</text> -->
<!-- <text class="assistFailModalTip">活动已结束</text> -->
<view class="assistFailModalBg"></view>
</view>
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
.assistFailModal {
width: 100%;
height: 100%;
z-index: 10;
position: fixed;
background: rgba(0, 0, 0, 0.7);
}
.assistFailModalContainer {
width: 750rpx;
height: 1624rpx;
top: 0rpx;
bottom: 0rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
position: absolute;
}
.assistFailModalIKnowBtn {
width: 395rpx;
height: 92rpx;
left: 178rpx;
top: 677rpx;
z-index: 4;
background: url("https://yun.duiba.com.cn/aurora/assets/58b7c6ab9b871f8fc5de8a0c21c25c5a0d65494a.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.assistFailModalBg {
width: 746rpx;
height: 1236rpx;
left: 4rpx;
pointer-events: none;
top: 273rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/daaf7cee9b82fea07aba4b89eaa4f97e915fc8a2.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.assistFailModalTip {
width: 500rpx;
height: 31rpx;
left: 124rpx;
top: 620rpx;
font-size: 28rpx;
white-space: nowrap;
text-align: center;
color: #977050;
position: absolute;
z-index: 10;
}
.assistFailModalCloseBtn {
width: 50rpx;
height: 50rpx;
left: 350rpx;
top: 897rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/f6dac20123ba49f08d58c07a35be408c845cdecd.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
\ No newline at end of file
var webpackRequire = require("./../../../../webpack-require");
webpackRequire(
"./src/packages/wm-cloud-db_index/component/assistModal/index.js",
Object.assign({}, require("./../../../../weimob-cloud-commons.js").modules, {
/***/ "./src/packages/wm-cloud-db_index/component/assistModal/index.js":
/*!***********************************************************************!*\
!*** ./src/packages/wm-cloud-db_index/component/assistModal/index.js ***!
\***********************************************************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _utils_db_api_globalData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/db_api/globalData */ "./src/packages/wm-cloud-db_index/utils/db_api/globalData.js");
/* harmony import */ var _utils_db_api_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/db_api/index */ "./src/packages/wm-cloud-db_index/utils/db_api/index.js");
const app = getApp();
Component({
data: {
isloading: false,
nickname: "",
avatar: ""
},
properties: {
isBindPhone: Boolean,
shareCode: String,
isAuthUserInfo: Boolean
},
async attached() {
console.log(this);
console.error("看看文案", this.data, this.data.isBindPhone);
const getShareUserInfoResp = await Object(_utils_db_api_index__WEBPACK_IMPORTED_MODULE_1__["apiGetShareUserInfo"])({
inviteCode: this.data.shareCode
});
if (getShareUserInfoResp.success) {
this.setData({
nickname: getShareUserInfoResp.data.nickname,
avatar: getShareUserInfoResp.data.avatar
});
}
},
methods: {
onModalClose() {
this.triggerEvent("onModalClose", 'assist');
},
assistFunc() {
wx.showLoading();
console.warn("助力");
Object(_utils_db_api_index__WEBPACK_IMPORTED_MODULE_1__["apiDoAssist"])({
inviteCode: this.data.shareCode
}).then(res => {
wx.hideLoading();
this.triggerEvent("onAssistResult", res);
});
},
checkAuthPhone(e) {
wx.showLoading();
this.triggerEvent("onAuthPhone", e);
},
checkAuthUser(e) {
// wx.showLoading()
this.triggerEvent("onAuthUser", e);
}
}
});
/***/ })
/******/ }));
\ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
<view class="assistModal">
<view class="assistModalContainer">
<!-- wx:if="{{isBindPhone}}" -->
<view class="assistModalBg"></view>
<view class="assistModalAvatarBg"></view>
<image class="assistModalAvatarImg" src="{{avatar}}"></image>
<text class="assistModalNickname">{{nickname}}</text>
<view wx:if="{{isBindPhone && isAuthUserInfo}}" class="assistModalAssistBtn" bind:tap="assistFunc"></view>
<view wx:if="{{isBindPhone && !isAuthUserInfo}}" class="assistModalAssistBtn" bind:tap="checkAuthUser"></view>
<button wx:if="{{!isBindPhone}}" class="assistModalAssistBtn" plain="true" open-type="getPhoneNumber" bindgetphonenumber="checkAuthPhone"></button>
<view class="assistModalCloseBtn" catch:tap="onModalClose"></view>
</view>
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
.assistModal {
width: 100%;
height: 100%;
z-index: 10;
position: fixed;
background: rgba(0, 0, 0, 0.7);
}
.assistModalContainer {
width: 750rpx;
height: 1624rpx;
top: 0rpx;
bottom: 0rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
position: absolute;
}
.assistModalAvatarBg {
width: 116rpx;
height: 115rpx;
left: 317rpx;
top: 422rpx;
z-index: 4;
background: url("https://yun.duiba.com.cn/aurora/assets/d425f0f0e64e61418d2aae050b60a81007f88ab7.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.assistModalAvatarImg {
width: 108rpx;
height: 108rpx;
border-radius: 50%;
left: 321rpx;
top: 427rpx;
z-index: 10;
position: absolute;
}
.assistModalNickname {
width: 331rpx;
height: 30rpx;
text-align: center;
font-size: 20rpx;
color: #977050;
left: 209rpx;
top: 553rpx;
position: absolute;
}
.assistModalAssistBtn {
width: 395rpx;
height: 92rpx;
left: 178rpx;
top: 677rpx;
border: none !important;
z-index: 4;
background: url("https://yun.duiba.com.cn/aurora/assets/7ff1b540fa7651fd4aa8953f59fbbcff76770fbf.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.assistModalBg {
width: 746rpx;
height: 1236rpx;
left: 4rpx;
pointer-events: none;
top: 273rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/970b193822b7972a84e67ad1b5e246222bbd0a3a.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.assistModalCloseBtn {
width: 50rpx;
height: 50rpx;
left: 350rpx;
top: 897rpx;
z-index: 4;
background: url("https://yun.duiba.com.cn/aurora/assets/f6dac20123ba49f08d58c07a35be408c845cdecd.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
\ No newline at end of file
var webpackRequire = require("./../../../../webpack-require");
webpackRequire(
"./src/packages/wm-cloud-db_index/component/assistReflctModal/index.js",
Object.assign({}, require("./../../../../weimob-cloud-commons.js").modules, {
/***/ "./src/packages/wm-cloud-db_index/component/assistReflctModal/index.js":
/*!*****************************************************************************!*\
!*** ./src/packages/wm-cloud-db_index/component/assistReflctModal/index.js ***!
\*****************************************************************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _utils_db_api_globalData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/db_api/globalData */ "./src/packages/wm-cloud-db_index/utils/db_api/globalData.js");
/* harmony import */ var _utils_db_api_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/db_api/index */ "./src/packages/wm-cloud-db_index/utils/db_api/index.js");
const app = getApp();
Component({
data: {
isloading: false
},
properties: {
isBindPhone: Boolean,
friends: Number,
tickets: Number
},
attached() {
console.log(this);
console.error("看看文案", this.data, this.data.isBindPhone);
},
methods: {
onModalClose() {
this.triggerEvent("onModalClose", 'assistReflct');
}
}
});
/***/ })
/******/ }));
\ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
<view class="assistReflctModal">
<view class="assistReflctModalContainer">
<!-- wx:if="{{isBindPhone}}" -->
<!-- <view class="assistReflctModalAvatarBg"></view> -->
<view class="assistReflctModalIKnowBtn" catch:tap="onModalClose"></view>
<!-- <button wx:if="{{!isBindPhone}}" class="assistReflctModalBg" plain="true" open-type="getPhoneNumber" bindgetphonenumber="checkAuth"></button> -->
<view class="assistReflctModalCloseBtn" catch:tap="onModalClose"></view>
<text class="assistReflctModalTextFriend">一共有 {{friends}} 位好友助力</text>
<text class="assistReflctModalTextTicket">获得 {{tickets}} 张悦龙门门票</text>
<view class="assistReflctModalBg"></view>
</view>
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
.assistReflctModal {
width: 100%;
height: 100%;
z-index: 10;
position: fixed;
background: rgba(0, 0, 0, 0.7);
}
.assistReflctModalContainer {
width: 750rpx;
height: 1624rpx;
top: 0rpx;
bottom: 0rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
position: absolute;
}
.assistReflctModalTextFriend {
width: 480rpx;
height: 50rpx;
left: 136rpx;
top: 545rpx;
font-size: 40rpx;
color: #bf4e00;
text-align: center;
font-weight: 500;
white-space: nowrap;
position: absolute;
z-index: 10;
}
.assistReflctModalTextTicket {
width: 480rpx;
height: 50rpx;
left: 136rpx;
top: 605rpx;
font-size: 40rpx;
text-align: center;
color: #bf4e00;
font-weight: 500;
white-space: nowrap;
position: absolute;
z-index: 10;
}
.assistReflctModalIKnowBtn {
width: 395rpx;
height: 92rpx;
left: 179rpx;
top: 677rpx;
z-index: 4;
background: url("https://yun.duiba.com.cn/aurora/assets/58b7c6ab9b871f8fc5de8a0c21c25c5a0d65494a.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.assistReflctModalBg {
width: 746rpx;
height: 1236rpx;
left: 4rpx;
pointer-events: none;
top: 273rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/0f4db47cb224fcbc452fd07da17a828c5b784760.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.assistReflctModalCloseBtn {
width: 50rpx;
height: 50rpx;
left: 350rpx;
top: 897rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/f6dac20123ba49f08d58c07a35be408c845cdecd.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
\ No newline at end of file
var webpackRequire = require("./../../../../webpack-require");
webpackRequire(
"./src/packages/wm-cloud-db_index/component/assistSucModal/index.js",
Object.assign({}, require("./../../../../weimob-cloud-commons.js").modules, {
/***/ "./src/packages/wm-cloud-db_index/component/assistSucModal/index.js":
/*!**************************************************************************!*\
!*** ./src/packages/wm-cloud-db_index/component/assistSucModal/index.js ***!
\**************************************************************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _utils_db_api_globalData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/db_api/globalData */ "./src/packages/wm-cloud-db_index/utils/db_api/globalData.js");
/* harmony import */ var _utils_db_api_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/db_api/index */ "./src/packages/wm-cloud-db_index/utils/db_api/index.js");
const app = getApp();
Component({
data: {
isloading: false
},
properties: {
isBindPhone: Boolean
},
attached() {
console.log(this);
console.error("看看文案", this.data, this.data.isBindPhone);
},
methods: {
onModalClose() {
this.triggerEvent("onModalClose", 'assistSuc');
}
}
});
/***/ })
/******/ }));
\ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
<view class="assistSucModal">
<view class="assistSucModalContainer">
<!-- wx:if="{{isBindPhone}}" -->
<view class="assistSucModalJoinBtn" catch:tap="onModalClose"></view>
<!-- <button wx:if="{{!isBindPhone}}" class="assistSucModalBg" plain="true" open-type="getPhoneNumber" bindgetphonenumber="checkAuth"></button> -->
<view class="assistSucModalCloseBtn" catch:tap="onModalClose"></view>
<view class="assistSucModalBg"></view>
</view>
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
.assistSucModal {
width: 100%;
height: 100%;
z-index: 10;
position: fixed;
background: rgba(0, 0, 0, 0.7);
}
.assistSucModalContainer {
width: 750rpx;
height: 1624rpx;
top: 0rpx;
bottom: 0rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
position: absolute;
}
.assistSucModalJoinBtn {
width: 395rpx;
height: 92rpx;
left: 179rpx;
top: 677rpx;
z-index: 4;
background: url("https://yun.duiba.com.cn/aurora/assets/251437e38a042f316b8117379c2df423102e5494.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.assistSucModalBg {
width: 746rpx;
height: 1463rpx;
pointer-events: none;
left: 4rpx;
top: 46rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/35ec7509457086cf5ea528f42d9a31939d82c829.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.assistSucModalCloseBtn {
width: 50rpx;
height: 50rpx;
left: 350rpx;
top: 897rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/f6dac20123ba49f08d58c07a35be408c845cdecd.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
\ No newline at end of file
var webpackRequire = require("./../../../../webpack-require");
webpackRequire(
"./src/packages/wm-cloud-db_index/component/authUserInfo/index.js",
Object.assign({}, require("./../../../../weimob-cloud-commons.js").modules, {
/***/ "./src/packages/wm-cloud-db_index/component/authUserInfo/index.js":
/*!************************************************************************!*\
!*** ./src/packages/wm-cloud-db_index/component/authUserInfo/index.js ***!
\************************************************************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _utils_db_api_globalData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/db_api/globalData */ "./src/packages/wm-cloud-db_index/utils/db_api/globalData.js");
/* harmony import */ var _utils_db_api_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/db_api/index */ "./src/packages/wm-cloud-db_index/utils/db_api/index.js");
const defaultAvatarUrl = 'https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0';
const app = getApp();
Component({
data: {
isloading: false,
avatarUrl: defaultAvatarUrl,
nickName: ""
},
properties: {
isBindPhone: Boolean
},
attached() {
console.log(this);
console.error("看看文案", this.data, this.data.isBindPhone);
},
methods: {
onModalClose() {
this.triggerEvent("onModalClose", 'clickGift');
},
onChooseAvatar(e) {
console.warn("eee", e);
const {
avatarUrl
} = e.detail;
console.log(e, "头像");
// this.setData({
// avatar: avatarUrl,
// })
wx.getFileSystemManager().readFile({
filePath: e.detail.avatarUrl,
//地址
encoding: 'base64',
//编码格式
success: res => {
let base64 = 'data:image/png;base64,' + res.data;
Object(_utils_db_api_index__WEBPACK_IMPORTED_MODULE_1__["apiUploadFile"])({
img64: base64
}).then((res = {}) => {
console.warn(JSON.stringify(res), "resttts");
this.setData({
avatarUrl: res.data
});
});
}
});
},
onInputChange(e) {
console.warn("nickName", e.detail.value);
this.setData({
nickName: e.detail.value
});
},
checkAuth(e) {
/**未绑定手机号,先绑定 */
wx.login({
success: res => {
if (res.code) {
const param = {
code: res.code,
phoneEncryptedData: e.detail.encryptedData,
phoneIv: e.detail.iv
};
this.login_db(param);
} else {
console.log('获取用户登录态失败!' + res.errMsg);
}
}
});
},
saveFunc(e) {
this.triggerEvent("onSaveFunc", {
nickName: this.data.nickName,
avatarUrl: this.data.avatarUrl
});
},
cancelFunc(e) {
this.triggerEvent("onCancelFunc", e);
}
}
});
/***/ })
/******/ }));
\ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
<view class="getUserInfoContainer">
<view class="getUserInfoContainerBg" bind:tap="cancelFunc"></view>
<view class="getUserInfo">
<button class="avatar-wrapper" open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar">
<image class="avatar" src="{{avatarUrl}}"></image>
</button>
<input type="nickname" class="nickname" bindinput="onInputChange" placeholder="请输入昵称" />
<view wx:if="{{!nickName}}" class="saveBtn"></view>
<view wx:if="{{nickName}}" class="saveBtnLight" bind:tap="saveFunc"></view>
<view class="cancelBtn" bind:tap="cancelFunc"></view>
</view>
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
.getUserInfoContainer {
width: 100vw;
height: 100vh;
top: 0rpx;
left: 0rpx;
z-index: 100;
position: fixed;
}
.getUserInfoContainerBg {
width: 100vw;
height: 100vh;
background-color: #000;
opacity: .7;
top: 0rpx;
left: 0rpx;
position: absolute;
}
.getUserInfo {
width: 750rpx;
height: 722rpx;
bottom: 0rpx;
left: 0rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/47ffc796692e24a855d993f9b150fe27c1f5842f.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.avatar-wrapper {
width: 750rpx;
height: 80rpx;
position: absolute;
left: 0rpx;
right: 0rpx;
top: 245rpx;
margin: auto;
z-index: 20;
}
.avatar {
width: 80rpx;
height: 80rpx;
left: 125rpx;
position: absolute;
}
.nickname {
width: 500rpx;
height: 60rpx;
left: 0rpx;
right: 0rpx;
font-size: 30rpx;
position: absolute;
color: #000;
margin: auto;
top: 385rpx;
}
.saveBtn {
width: 369rpx;
height: 95rpx;
text-align: center;
font-size: 20rpx;
left: 0rpx;
right: 0rpx;
background: url('https://yun.duiba.com.cn/aurora/assets/3f9e1082241f73629cadcb88d421475e1996de72.png') no-repeat;
background-position: top left;
background-size: 100% 100%;
top: 540rpx;
position: absolute;
margin: auto;
}
.saveBtnLight {
width: 369rpx;
height: 95rpx;
text-align: center;
font-size: 20rpx;
left: 0rpx;
right: 0rpx;
background: url('https://yun.duiba.com.cn/aurora/assets/be4bf7ffa569124368bef5b35d9158aee2f2f99e.png') no-repeat;
background-position: top left;
background-size: 100% 100%;
top: 540rpx;
position: absolute;
margin: auto;
}
.cancelBtn {
width: 40rpx;
height: 40rpx;
text-align: center;
font-size: 20rpx;
right: 50rpx;
top: 40rpx;
background: url('https://yun.duiba.com.cn/aurora/assets/cc6f7eacd837c15b86ea5d7e1eeaa4aeb0c6382b.png') no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
\ No newline at end of file
var webpackRequire = require("./../../../../webpack-require");
webpackRequire(
"./src/packages/wm-cloud-db_index/component/clickGiftModal/index.js",
Object.assign({}, require("./../../../../weimob-cloud-commons.js").modules, {
/***/ "./src/packages/wm-cloud-db_index/component/clickGiftModal/index.js":
/*!**************************************************************************!*\
!*** ./src/packages/wm-cloud-db_index/component/clickGiftModal/index.js ***!
\**************************************************************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _utils_db_api_globalData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/db_api/globalData */ "./src/packages/wm-cloud-db_index/utils/db_api/globalData.js");
/* harmony import */ var _utils_db_api_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/db_api/index */ "./src/packages/wm-cloud-db_index/utils/db_api/index.js");
const app = getApp();
Component({
data: {
isloading: false
},
properties: {
isBindPhone: Boolean
},
attached() {
console.log(this);
console.error("看看文案", this.data, this.data.isBindPhone);
},
methods: {
onModalClose() {
this.triggerEvent("onModalClose", 'clickGift');
},
checkAuth(e) {
/**未绑定手机号,先绑定 */
wx.login({
success: res => {
if (res.code) {
const param = {
code: res.code,
phoneEncryptedData: e.detail.encryptedData,
phoneIv: e.detail.iv
};
this.login_db(param);
} else {
console.log('获取用户登录态失败!' + res.errMsg);
}
}
});
},
openAward() {
/**已绑定的话直接走扫码逻辑 */
this.triggerEvent("onOpenAward");
},
/**登陆逻辑 */
login_db(param) {
if (this.data.isloading) return;
this.setData({
isloading: true
});
wx.showLoading();
Object(_utils_db_api_index__WEBPACK_IMPORTED_MODULE_1__["reqDbLogin"])({
...param
}).then(res => {
wx.hideLoading();
this.setData({
isloading: false
});
if (res.success) {
_utils_db_api_globalData__WEBPACK_IMPORTED_MODULE_0__["globalData"].loginToken = encodeURIComponent(res.data.loginToken);
// wx.setStorageSync('db_loginToken', data.loginToken)
/** 绑定好后走扫码逻辑*/
this.openAward();
} else {
console.log("获取兑吧免登失败", res);
}
});
}
}
});
/***/ })
/******/ }));
\ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
<view class="clickGiftModal">
<view class="clickGiftModalContainer">
<view wx:if="{{isBindPhone}}" class="clickGiftModalBg" catch:tap="openAward"></view>
<button wx:if="{{!isBindPhone}}" class="clickGiftModalBg" plain="true" open-type="getPhoneNumber" bindgetphonenumber="checkAuth"></button>
<view class="clickGiftModalCloseBtn" catch:tap="onModalClose"></view>
</view>
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
.clickGiftModal {
width: 100%;
height: 100%;
z-index: 10;
position: fixed;
background: rgba(0, 0, 0, 0.7);
}
.clickGiftModalContainer {
width: 750rpx;
height: 1317rpx;
top: 0rpx;
bottom: 0rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
position: absolute;
}
.clickGiftModalBg {
width: 750rpx;
height: 1624rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/d497714b59eb6b2fa53dfa888ddc7245cd522c70.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.clickGiftModalCloseBtn {
width: 50rpx;
height: 50rpx;
right: 120rpx;
top: 520rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/f6dac20123ba49f08d58c07a35be408c845cdecd.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
\ No newline at end of file
var webpackRequire = require("./../../../../webpack-require");
webpackRequire(
"./src/packages/wm-cloud-db_index/component/firstInShowModal/index.js",
{
/***/ "./src/packages/wm-cloud-db_index/component/firstInShowModal/index.js":
/*!****************************************************************************!*\
!*** ./src/packages/wm-cloud-db_index/component/firstInShowModal/index.js ***!
\****************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
const app = getApp();
Component({
data: {},
properties: {
isBindPhone: Boolean
},
attached() {
console.log(this);
console.error("看看文案", this.data);
},
methods: {
onModalClose() {
this.triggerEvent("onModalClose", 'firstIn');
},
onModalAuthClose(e) {
this.triggerEvent("onModalClose", 'firstIn-auth');
},
onModalPhoneClose(e) {
this.triggerEvent("onModalPhoneClose", e);
},
onModalCloseShowRule(e) {
this.triggerEvent("onModalCloseShowRule", e);
}
}
});
/***/ })
/******/ });
\ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
<view class="firstInModal">
<view class="firstInModalContainer">
<view class="firstInModalBg"></view>
<view class="firstInModalBgRuleBtn" catch:tap="onModalCloseShowRule"></view>
<view wx:if="{{isBindPhone}}" class="firstInModalTomorrowBtn" catch:tap="onModalAuthClose"></view>
<button wx:if="{{!isBindPhone}}" class="firstInModalTomorrowBtn" plain="true" open-type="getPhoneNumber" bindgetphonenumber="onModalPhoneClose"></button>
<view class="firstInModalCloseBtn" catch:tap="onModalClose"></view>
</view>
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
.firstInModal {
width: 100%;
height: 100%;
z-index: 10;
position: fixed;
background: rgba(0, 0, 0, 0.7);
}
.firstInModalContainer {
width: 750rpx;
height: 1317rpx;
top: 0rpx;
bottom: 0rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
position: absolute;
}
.firstInModalBg {
width: 750rpx;
height: 1317rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/08f2e348b90fa2eac6ffe3b46afc1b377e59be38.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.firstInModalBgRuleBtn {
width: 130rpx;
height: 50rpx;
left: 0rpx;
position: absolute;
right: 0rpx;
top: 733rpx;
margin: auto !important;
}
.firstInModalTomorrowBtn {
width: 395rpx;
height: 92rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
border: none !important;
top: 795rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/8efa5086ead256f9b4b3801c536f51254a260d2e.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.firstInModalCloseBtn {
width: 50rpx;
height: 50rpx;
left: 0rpx;
right: 0rpx;
top: 980rpx;
margin: auto;
background: url("https://yun.duiba.com.cn/aurora/assets/f6dac20123ba49f08d58c07a35be408c845cdecd.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
\ No newline at end of file
var webpackRequire = require("./../../../../webpack-require");
webpackRequire(
"./src/packages/wm-cloud-db_index/component/gameGuideModal/index.js",
{
/***/ "./src/packages/wm-cloud-db_index/component/gameGuideModal/index.js":
/*!**************************************************************************!*\
!*** ./src/packages/wm-cloud-db_index/component/gameGuideModal/index.js ***!
\**************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
const app = getApp();
Component({
data: {
ruleText: ""
},
properties: {},
attached() {
console.log(this);
console.error("看看文案", this.data);
// this.setData({
// ruleText: _utils_db_api_globalData__WEBPACK_IMPORTED_MODULE_0__["globalData"].indexInfo.rule,
// });
},
methods: {
onModalClose() {
this.triggerEvent("onModalClose", "gameGuide");
},
onModalClose2() {
this.triggerEvent("onModalClose2", "gameGuide");
}
}
});
/***/ })
/******/ });
\ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
<view class="gameGuideModal">
<view class="gameGuideModalContainer">
<view class="gameGuideModalBg"></view>
<view class="gameGuideModalTomorrowBtn" catch:tap="onModalClose2"></view>
<!-- <view class="gameGuideModalBgTextContainer">
<view class="gameGuideModalBgRule"></view>
</view> -->
<view class="gameGuideModalCloseBtn" catch:tap="onModalClose"></view>
</view>
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
.gameGuideModal {
width: 100%;
height: 100%;
z-index: 10;
position: fixed;
background: rgba(0, 0, 0, 0.7);
}
.gameGuideModalContainer {
width: 746rpx;
height: 1362rpx;
left: 0rpx;
right: 0rpx;
top: 0rpx;
position: absolute;
margin: auto;
}
/* .gameGuideModalBgRule {
width: 746rpx;
height: 1362rpx;
top: 0rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
background: url("https://yun.duiba.com.cn/polaris/bg.672c5b94d938762e48c46cce4397d454300be15d.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
} */
.gameGuideModalBg {
top: 0rpx;
left: 0rpx;
width: 746rpx;
height: 1362rpx;
background: url("https://yun.duiba.com.cn/polaris/bg6.ea8784c815c6acbc162629f5096e6469d209f4f5.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.gameGuideModalTomorrowBtn {
width: 395rpx;
height: 92rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
border: none !important;
top: 845rpx;
background: url("https://yun.duiba.com.cn/polaris/ok_btn.d616c598b796599729494c6e1c1fc4fd9e60cb46.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.gameGuideModalCloseBtn {
width: 50rpx;
height: 50rpx;
left: 0rpx;
right: 0rpx;
top: 1050rpx;
margin: auto;
background: url("https://yun.duiba.com.cn/aurora/assets/f6dac20123ba49f08d58c07a35be408c845cdecd.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.gameGuideModalBgTextContainer {
width: 543rpx;
height: 546rpx;
top: 145rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
overflow-x: hidden;
overflow-y: auto;
position: absolute;
}
.gameGuideModalBgText {
width: 460rpx;
font-size: 24rpx;
position: absolute;
color: #000000;
text-indent: 2em;
}
\ No newline at end of file
var webpackRequire = require("./../../../../webpack-require");
webpackRequire(
"./src/packages/wm-cloud-db_index/component/openAwardModal/index.js",
Object.assign({}, require("./../../../../weimob-cloud-commons.js").modules, {
/***/ "./src/packages/wm-cloud-db_index/component/openAwardModal/index.js":
/*!**************************************************************************!*\
!*** ./src/packages/wm-cloud-db_index/component/openAwardModal/index.js ***!
\**************************************************************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _utils_db_api__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/db_api */ "./src/packages/wm-cloud-db_index/utils/db_api/index.js");
const app = getApp();
Component({
data: {
firstPrize: {},
lastPrize: []
},
properties: {
prizeInfoVO: Array
},
attached() {
this.time = 0;
console.log(this);
console.error("看看文案3123123", this.data);
const firstPrize = this.data.prizeInfoVO.filter(item => {
return item.type == 1 || item.type == 2;
})[0];
const lastPrize = this.data.prizeInfoVO.filter(item => {
return item.type != 1 && item.type != 2;
});
this.setData({
firstPrize,
lastPrize
});
},
methods: {
onModalClose() {
this.triggerEvent("onModalClose", 'openAward');
},
checkAuth() {
this.triggerEvent("checkAuth");
},
async happyAccept() {
console.warn("happyAccept");
if (this.data.firstPrize.type == 1) {
wx.showLoading({
mask: true
});
this.getorderIddd(no => {
wx.hideLoading();
//微信红包
this.triggerEvent("onModalClose", {
type: 'openWxMoneyAward',
projectOrderNo: no,
recordId: this.data.firstPrize.recordId
});
});
} else {
this.triggerEvent("onModalClose", 'openAward');
}
},
//轮询projectOrderNo
// async getProjectOrderNo() {
// return new Promise(async (r) => {
// const projectOrderNo = await this.getorderIddd()
// if (projectOrderNo) {
// r()
// } else {
// }
// })
// },
async getorderIddd(cb) {
if (this.time >= 5) {
cb && cb(null);
return;
}
this.time++;
const apiQueryOrderIdResp = await Object(_utils_db_api__WEBPACK_IMPORTED_MODULE_0__["apiQueryOrderId"])({
orderId: this.data.firstPrize.recordId
});
if (apiQueryOrderIdResp.success && apiQueryOrderIdResp.data) {
cb && cb(apiQueryOrderIdResp.data);
} else {
setTimeout(() => {
this.getorderIddd();
}, 500);
}
}
}
});
/***/ })
/******/ }));
\ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
<view class="openAwardModal">
<view class="openAwardModalContainer">
<view class="openAwardModalTitle"></view>
<view wx:if="{{firstPrize.type == 1 }}" class="openAwardModalTip">微信红包将自动发放至您账户</view>
<view wx:if="{{firstPrize.type == 2 }}" class="openAwardModalTip">优惠券将自动发放至您账户</view>
<view class="openAwardModalHappyGetBtn" bind:tap="happyAccept"></view>
<image class="openAwardModalPic" src="{{firstPrize.prizeImg}}"></image>
<view class="openAwardModalPicSmallContainer">
<image wx:for="{{lastPrize}}" class="openAwardModalPicSmall" src="{{item.prizeImg}}">
<!-- <image class="openAwardModalPicSmallImg" src="{{item.prizeImg}}"></image>
<text class="openAwardModalPicSmallName">{{item.prizeName}}</text> -->
</image>
</view>
<!-- <view class="openAwardModalCloseBtn" catch:tap="onModalClose"></view> -->
</view>
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
.openAwardModal {
width: 100%;
height: 100%;
z-index: 10;
position: fixed;
background: rgba(0, 0, 0, 0.7);
}
.openAwardModalContainer {
width: 750rpx;
height: 1517rpx;
top: 0rpx;
bottom: 0rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
position: absolute;
}
.openAwardModalTitle {
width: 349rpx;
height: 43rpx;
left: 200rpx;
top: 289rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/6780502182388034f4b211c0c16b8f07ee788292.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.openAwardModalTip {
width: 750rpx;
height: 23rpx;
top: 687rpx;
left: 0rpx;
text-align: center;
font-size: 24rpx;
color: #ffffff;
/* background: url("https://yun.duiba.com.cn/aurora/assets/fe00e959850eb425d44c1bca5f5b778041f711e9.png") no-repeat;
background-position: top left;
background-size: 100% 100%; */
position: absolute;
}
.openAwardModalHappyGetBtn {
width: 526rpx;
height: 138rpx;
left: 111rpx;
top: 1014rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/a221191f050c69bba55989bf97da2121227e849e.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.openAwardModalPic {
width: 271rpx;
height: 304rpx;
left: 240rpx;
top: 362rpx;
/* background: url("https://yun.duiba.com.cn/aurora/assets/fd1119b5dadc7aa189870a58486579e071de5a48.png") no-repeat; */
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.openAwardModalPicSmallContainer {
width: 750rpx;
height: 226rpx;
top: 765rpx;
display: flex;
flex-direction: row;
justify-content: space-around;
position: absolute;
}
.openAwardModalPicSmall {
width: 192rpx;
height: 226rpx;
/* background: url("https://yun.duiba.com.cn/aurora/assets/bbb90de2788e91a5e6a59de9db817cb3d33bb3a0.png") no-repeat;
background-position: top left;
background-size: 100% 100%; */
position: relative;
}
.openAwardModalPicSmallImg {
width: 160rpx;
height: 160rpx;
left: 0rpx;
position: absolute;
right: 0rpx;
margin: auto;
}
.openAwardModalPicSmallName {
width: 160rpx;
height: 30rpx;
left: 0rpx;
text-align: center;
font-size: 24rpx;
color: #c2432a;
position: absolute;
overflow: hidden;
right: 0rpx;
margin: auto;
top: 170rpx;
}
.openAwardModalCloseBtn {
width: 50rpx;
height: 50rpx;
right: 120rpx;
top: 520rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/f6dac20123ba49f08d58c07a35be408c845cdecd.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
\ No newline at end of file
var webpackRequire = require("./../../../../webpack-require");
webpackRequire(
"./src/packages/wm-cloud-db_index/component/ruleModal/index.js",
Object.assign({}, require("./../../../../weimob-cloud-commons.js").modules, {
/***/ "./src/packages/wm-cloud-db_index/component/ruleModal/index.js":
/*!*********************************************************************!*\
!*** ./src/packages/wm-cloud-db_index/component/ruleModal/index.js ***!
\*********************************************************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _utils_db_api_globalData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/db_api/globalData */ "./src/packages/wm-cloud-db_index/utils/db_api/globalData.js");
const app = getApp();
Component({
data: {
ruleText: ""
},
properties: {},
attached() {
console.log(this);
console.error("看看文案", this.data);
this.setData({
ruleText: _utils_db_api_globalData__WEBPACK_IMPORTED_MODULE_0__["globalData"].indexInfo.rule
});
},
methods: {
onModalClose() {
this.triggerEvent("onModalClose", 'rule');
}
}
});
/***/ })
/******/ }));
\ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
<view class="ruleModal">
<view class="ruleModalContainer">
<view class="ruleModalBg"></view>
<view class="ruleModalBgTextContainer">
<view class="ruleModalBgRule"></view>
<!-- <text class="ruleModalBgText"> -->
<!-- {{ruleText}} -->
<!-- </text> -->
</view>
<view class="ruleModalCloseBtn" catch:tap="onModalClose"></view>
</view>
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
.ruleModal {
width: 100%;
height: 100%;
z-index: 10;
position: fixed;
background: rgba(0, 0, 0, 0.7);
}
.ruleModalContainer {
width: 543rpx;
height: 896rpx;
left: 0rpx;
right: 0rpx;
top: 200rpx;
position: absolute;
margin: auto;
}
.ruleModalBgRule {
width: 508rpx;
height: 7787rpx;
top: 0rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
background: url("https://yun.duiba.com.cn/polaris/rule.06cc4edbcde034bd5ad7ff7a456a155c2a09583c.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.ruleModalBg {
width: 543rpx;
height: 796rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/f83daf181f71cc9549b1a7a69039b772b9b7bed4.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.ruleModalCloseBtn {
width: 50rpx;
height: 50rpx;
left: 0rpx;
right: 0rpx;
top: 770rpx;
margin: auto;
background: url("https://yun.duiba.com.cn/aurora/assets/f6dac20123ba49f08d58c07a35be408c845cdecd.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.ruleModalBgTextContainer {
width: 543rpx;
height: 546rpx;
top: 145rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
overflow-x: hidden;
overflow-y: auto;
position: absolute;
}
.ruleModalBgText {
width: 460rpx;
font-size: 24rpx;
position: absolute;
color: #000000;
text-indent: 2em;
}
\ No newline at end of file
var webpackRequire = require("./../../../../webpack-require");
webpackRequire(
"./src/packages/wm-cloud-db_index/component/scanLimitModal/index.js",
{
/***/ "./src/packages/wm-cloud-db_index/component/scanLimitModal/index.js":
/*!**************************************************************************!*\
!*** ./src/packages/wm-cloud-db_index/component/scanLimitModal/index.js ***!
\**************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
const app = getApp();
Component({
data: {},
properties: {},
attached() {
console.log(this);
console.error("看看文案", this.data);
},
methods: {
onModalClose() {
this.triggerEvent("onModalClose", 'scanLimit');
}
}
});
/***/ })
/******/ });
\ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
<view class="scanLimitModal">
<view class="scanLimitModalContainer">
<view class="scanLimitModalBg"></view>
<view class="scanLimitModalTomorrowBtn" catch:tap="onModalClose"></view>
<view class="scanLimitModalCloseBtn" catch:tap="onModalClose"></view>
</view>
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
.scanLimitModal {
width: 100%;
height: 100%;
z-index: 10;
position: fixed;
background: rgba(0, 0, 0, 0.7);
}
.scanLimitModalContainer {
width: 746rpx;
height: 1036rpx;
top: 0rpx;
bottom: 0rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
position: absolute;
}
.scanLimitModalBg {
width: 746rpx;
height: 1236rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/69abf8f70b6b6ebe7f339b2e7b057fdc4a666da2.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.scanLimitModalTomorrowBtn {
width: 395rpx;
height: 92rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
top: 410rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/cf95bf0b22e74f26e3277194819b9164e6755b14.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.scanLimitModalCloseBtn {
width: 50rpx;
height: 50rpx;
left: 0rpx;
right: 0rpx;
top: 570rpx;
margin: auto;
background: url("https://yun.duiba.com.cn/aurora/assets/f6dac20123ba49f08d58c07a35be408c845cdecd.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
\ No newline at end of file
var webpackRequire = require("./../../../../webpack-require");
webpackRequire(
"./src/packages/wm-cloud-db_index/component/scanTipModal/index.js",
Object.assign({}, require("./../../../../weimob-cloud-commons.js").modules, {
/***/ "./src/packages/wm-cloud-db_index/component/scanTipModal/index.js":
/*!************************************************************************!*\
!*** ./src/packages/wm-cloud-db_index/component/scanTipModal/index.js ***!
\************************************************************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _utils_db_api_globalData__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/db_api/globalData */ "./src/packages/wm-cloud-db_index/utils/db_api/globalData.js");
const app = getApp();
Component({
data: {
lastScanTimes: 0
},
properties: {},
attached() {
console.log(this);
console.error("看看文案", this.data);
this.setData({
lastScanTimes: _utils_db_api_globalData__WEBPACK_IMPORTED_MODULE_0__["globalData"].indexInfo.lastScanTimes
});
},
methods: {
onModalClose() {
this.triggerEvent("onModalClose", 'scanTip');
},
scanRightNow() {
this.triggerEvent("scanRightNow");
}
}
});
/***/ })
/******/ }));
\ No newline at end of file
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
<view class="scanTipModal">
<view class="scanTipModalContainer">
<view class="scanTipModalBg"></view>
<view class="scanTipModalRightNow" catch:tap="scanRightNow"></view>
<text class="scanTipModalText">今日剩余扫码次数:{{lastScanTimes}}</text>
<view class="scanTipModalCloseBtn" catch:tap="onModalClose"></view>
</view>
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
.scanTipModal {
width: 100%;
height: 100%;
z-index: 10;
position: fixed;
background: rgba(0, 0, 0, 0.7);
}
.scanTipModalContainer {
width: 746rpx;
height: 1036rpx;
top: 0rpx;
bottom: 0rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
position: absolute;
}
.scanTipModalBg {
width: 746rpx;
height: 1236rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/9c3409e9dffc1a2372a418142a9ca154ded64293.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.scanTipModalText {
width: 450rpx;
height: 50rpx;
left: 0rpx;
right: 0rpx;
top: 280rpx;
margin: auto;
color: #b33800;
font-size: 40rpx;
text-align: center;
font-weight: 500;
position: absolute;
}
.scanTipModalRightNow {
width: 395rpx;
height: 92rpx;
left: 0rpx;
right: 0rpx;
margin: auto;
top: 410rpx;
background: url("https://yun.duiba.com.cn/aurora/assets/7090d52c41f5e0fac35064a301b0c0aaf8cef803.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
.scanTipModalCloseBtn {
width: 50rpx;
height: 50rpx;
left: 0rpx;
right: 0rpx;
top: 670rpx;
margin: auto;
background: url("https://yun.duiba.com.cn/aurora/assets/f6dac20123ba49f08d58c07a35be408c845cdecd.png") no-repeat;
background-position: top left;
background-size: 100% 100%;
position: absolute;
}
\ No newline at end of file
This diff is collapsed.
{
"navigationBarTitleText": "首页",
"usingComponents": {
"rule-modal": "./../component/ruleModal/index",
"scan-limit-modal": "./../component/scanLimitModal/index",
"first-in-show-modal": "./../component/firstInShowModal/index",
"click-gift-modal": "./../component/clickGiftModal/index",
"open-award-modal": "./../component/openAwardModal/index",
"assist-modal": "./../component/assistModal/index",
"assist-suc-modal": "./../component/assistSucModal/index",
"assist-fail-modal": "./../component/assistFailModal/index",
"assist-reflct-modal": "./../component/assistReflctModal/index",
"auth-userinfo": "./../component/authUserInfo/index",
"game-guide-modal": "./../component/gameGuideModal/index",
"act-rule-modal": "./../component/actRuleModal/index",
"scan-tip-modal": "./../component/scanTipModal/index"
}
}
\ No newline at end of file
<view class="db_index-container">
<view class="db_index-container2">
<view class="bg"></view>
<view class="top">
<view class="rulebtn" bind:tap="showRuleModal"></view>
<view class="prizebtn"></view>
<view class="logo"></view>
<view class="title"></view>
<view class="taskicon"></view>
<view class="drawicon"></view>
<view class="creditsbg"></view>
<text class="creditslab"></text>
<text class="creditsnum"></text>
<view class="gocredits"></view>
</view>
<view class="car"></view>
<view class="build1"></view>
<view class="build2"></view>
<view class="build3"></view>
<view class="build4"></view>
<view class="build5"></view>
<view class="aibtn"></view>
<view class="gamebtn"></view>
<view class="guessbtn"></view>
<view class="shopbtn"></view>
</view>
<view wx:if="{{!authAvatar && !isShowAuth}}" class="db_index-container3" bind:tap="showAuth"></view>
<!-- <button wx:if="{{!isBindPhone}}" class="db_index-container3" plain="true" open-type="getPhoneNumber" bindgetphonenumber="checkAuth"></button> -->
<game-guide-modal wx:if="{{showModalType == 'gameGuide'}}" catch:onModalClose="onModalClose" catch:onModalClose2="showChallange"></game-guide-modal>
<rule-modal wx:if="{{showModalType == 'rule'}}" catch:onModalClose="onModalClose"></rule-modal>
<scan-limit-modal wx:if="{{showModalType == 'scanLimit'}}" catch:onModalClose="onModalClose"></scan-limit-modal>
<scan-tip-modal wx:if="{{showModalType == 'scanTip'}}" catch:scanRightNow="scanRightNow" catch:onModalClose="onModalClose"></scan-tip-modal>
<first-in-show-modal wx:if="{{showModalType == 'firstIn'}}" isBindPhone="{{isBindPhone}}" catch:onModalClose="onModalClose" catch:onModalPhoneClose="onModalPhoneClose" catch:onModalCloseShowRule="onModalCloseShowRule"></first-in-show-modal>
<click-gift-modal wx:if="{{showModalType == 'clickGift'}}" isBindPhone="{{isBindPhone}}" catch:onOpenAward="onOpenAward" catch:onModalClose="onModalClose"></click-gift-modal>
<open-award-modal wx:if="{{showModalType == 'openAward'}}" prizeInfoVO="{{prizeInfoVO}}" catch:onModalClose="onModalClose"></open-award-modal>
<assist-modal wx:if="{{showModalType == 'assist'}}" catch:onAssistResult="onAssistResult" catch:onAuthPhone="onAuthPhone" catch:onAuthUser="onAuthUser" isBindPhone="{{isBindPhone}}" isAuthUserInfo="{{authAvatar}}" shareCode="{{shareCode}}" catch:onModalClose="onModalClose"></assist-modal>
<assist-fail-modal wx:if="{{showModalType == 'assistFail'}}" assistErrorMsg="{{assistErrorMsg}}" catch:onModalClose="onModalClose"></assist-fail-modal>
<assist-reflct-modal wx:if="{{showModalType == 'assistReflct'}}" catch:onModalClose="onModalClose" friends="{{inviteNum}}" tickets="{{inviteTicketNum}}"></assist-reflct-modal>
<assist-suc-modal wx:if="{{showModalType == 'assistSuc'}}" catch:onModalClose="onModalClose"></assist-suc-modal>
<auth-userinfo wx:if="{{isShowAuth}}" catch:onCancelFunc="cancelFunc" catch:onSaveFunc="saveFunc"></auth-userinfo>
<act-rule-modal wx:if="{{showModalType == 'actRule'}}" catch:onModalClose="onModalClose"></act-rule-modal>
</view>
\ No newline at end of file
This diff is collapsed.
var webpackRequire = require("./../../../webpack-require");
webpackRequire(
"./src/packages/wm-cloud-db_jump/db_jump/index.js",
{
/***/ "./src/packages/wm-cloud-db_jump/db_jump/index.js":
/*!********************************************************!*\
!*** ./src/packages/wm-cloud-db_jump/db_jump/index.js ***!
\********************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
Page({
data: {
activityId: "",
code: ""
},
onLoad: function (options) {
// // 线上环境使用立减金小程序
// prod: {
// appId: 'wxaff903c88607b2c6',
// ghId: 'gh_04e5a6a3271d',
// path: 'pages/wxCouponWebview/index',
// // 开发:develop 体验:trial 正式版:release
// envVersion: 'release'
// }
const {
url
} = options;
this.setData({
url
});
// console.warn("activityId", activityId, code)
// wx.navigateTo({
// url: "/packages/wm-cloud-db_jump/db_jump/index"
// })
},
jump() {
if (this.data.url) {
wx.navigateToMiniProgram({
appId: 'wxaff903c88607b2c6',
path: `/pages/pureWebview/webview?url=${this.data.url}`,
envVersion: 'release',
success(res) {
// 打开成功
console.warn('0', res);
},
fail(res) {
console.warn('1', res);
}
});
}
}
});
/***/ })
/******/ });
\ No newline at end of file
{
"navigationBarTitleText": "db_jump",
"usingComponents": {
}
}
\ No newline at end of file
<view class="db_jump-container">
<view class="getAwardBtn" bind:tap="jump">前往领取</view>
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
.db_jump-container {}
.getAwardBtn {
width: 300rpx;
height: 30rpx;
text-align: center;
left: 0rpx;
right: 0rpx;
top: 400rpx;
margin: auto;
position: absolute;
}
\ No newline at end of file
This diff is collapsed.
{
"navigationBarTitleText": "",
"usingComponents": {
}
}
\ No newline at end of file
<!-- index.wxml -->
<view class="webcontainer">
<view class="webview">
<web-view src="{{path}}" bindmessage="getMessage"></web-view>
</view>
<!-- <view class="tabContainer">
<tab></tab>
</view> -->
</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
/**index.wxss**/
.webcontainer {}
.webcontainer .tabContainer {
width: 750rpx;
height: 207rpx;
bottom: 0rpx;
z-index: 10;
position: fixed;
}
\ No newline at end of file
var webpackRequire = require("./../../webpack-require");
webpackRequire(
"./src/pages/home/home.js",
{
/***/ "./src/pages/home/home.js":
/*!********************************!*\
!*** ./src/pages/home/home.js ***!
\********************************/
/*! no static exports found */
/***/ (function(module, exports) {
Page({});
/***/ })
/******/ });
\ No newline at end of file
{
}
\ No newline at end of file
<view>欢迎使用微盟云小程序定制</view>
\ No newline at end of file
@import '/cloud-reset-app.wxss';
This diff is collapsed.
{
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
"rules": [{
"action": "allow",
"page": "*"
}]
}
\ No newline at end of file
var _0x1a0c=['call','prototype','undefined','Module','__esModule','create','default','被加载两次','exports','defineProperty','toStringTag','bind'];(function(_0x3c235a,_0x1a0c1b){var _0x547ad1=function(_0x35ec01){while(--_0x35ec01){_0x3c235a['push'](_0x3c235a['shift']());}};_0x547ad1(++_0x1a0c1b);}(_0x1a0c,0x160));var _0x547a=function(_0x3c235a,_0x1a0c1b){_0x3c235a=_0x3c235a-0x0;var _0x547ad1=_0x1a0c[_0x3c235a];return _0x547ad1;};var installedModules={};module[_0x547a('0x4')]=function(_0x5b62bd,_0x537828,_0x220a23=!0x0){var _0x52a4ee=null;function _0x2480e7(_0x368378){if(_0x368378===_0x5b62bd&&_0x52a4ee)throw new Error('入口文件'+_0x368378+_0x547a('0x3'));if(_0x368378!==_0x5b62bd&&installedModules[_0x368378])return installedModules[_0x368378][_0x547a('0x4')];var _0x1c83ca=installedModules[_0x368378]={'i':_0x368378,'l':!0x1,'exports':{}};return _0x368378===_0x5b62bd&&(_0x52a4ee=_0x1c83ca),_0x537828[_0x368378][_0x547a('0x8')](_0x1c83ca['exports'],_0x1c83ca,_0x1c83ca['exports'],_0x2480e7),_0x1c83ca['l']=!0x0,_0x1c83ca[_0x547a('0x4')];}return _0x2480e7['m']=_0x537828,_0x2480e7['c']=installedModules,_0x2480e7['d']=function(_0x264136,_0x57f87a,_0x3f3a83){_0x2480e7['o'](_0x264136,_0x57f87a)||Object[_0x547a('0x5')](_0x264136,_0x57f87a,{'enumerable':!0x0,'get':_0x3f3a83});},_0x2480e7['r']=function(_0xcb72b2){_0x547a('0xa')!=typeof Symbol&&Symbol[_0x547a('0x6')]&&Object['defineProperty'](_0xcb72b2,Symbol['toStringTag'],{'value':_0x547a('0xb')}),Object[_0x547a('0x5')](_0xcb72b2,_0x547a('0x0'),{'value':!0x0});},_0x2480e7['t']=function(_0x73fb0e,_0x101b18){if(0x1&_0x101b18&&(_0x73fb0e=_0x2480e7(_0x73fb0e)),0x8&_0x101b18)return _0x73fb0e;if(0x4&_0x101b18&&'object'==typeof _0x73fb0e&&_0x73fb0e&&_0x73fb0e[_0x547a('0x0')])return _0x73fb0e;var _0x2f005c=Object[_0x547a('0x1')](null);if(_0x2480e7['r'](_0x2f005c),Object[_0x547a('0x5')](_0x2f005c,'default',{'enumerable':!0x0,'value':_0x73fb0e}),0x2&_0x101b18&&'string'!=typeof _0x73fb0e)for(var _0x1c6afe in _0x73fb0e)_0x2480e7['d'](_0x2f005c,_0x1c6afe,function(_0x24221e){return _0x73fb0e[_0x24221e];}[_0x547a('0x7')](null,_0x1c6afe));return _0x2f005c;},_0x2480e7['n']=function(_0x4154f7){var _0xb099a6=_0x4154f7&&_0x4154f7[_0x547a('0x0')]?function(){return _0x4154f7[_0x547a('0x2')];}:function(){return _0x4154f7;};return _0x2480e7['d'](_0xb099a6,'a',_0xb099a6),_0xb099a6;},_0x2480e7['o']=function(_0x25a5af,_0x55e70f){return Object[_0x547a('0x9')]['hasOwnProperty'][_0x547a('0x8')](_0x25a5af,_0x55e70f);},_0x2480e7['p']='',_0x2480e7(_0x2480e7['s']=_0x5b62bd);};
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "test-mini",
"setting": {
"compileHotReLoad": true
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"component": true,
"usingComponents": {
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment