This commit is contained in:
youda 2025-04-16 19:07:46 +08:00
parent 17827e0834
commit 203a23db85
97 changed files with 184 additions and 30 deletions

View File

@ -99,13 +99,18 @@ class Goods extends Base
//充值金额
$whe[] = ['unlock_amount', '=', 0];
} else {
$isTest = \app\common\helper\ConfigHelper::getSystemTestKey("enable_test");
if ($isTest == "1") {
$order_money = Order::where('status', '=', 1)->where('user_id', '=', $user_id)->sum('order_zhe_total');
} else {
$order_money = Order::where('status', '=', 1)->where('user_id', '=', $user_id)->sum('price');
}
// $order_money = Order::where('status', '=', 1)->where('user_id', '=', $user_id)->sum('price');
$order_money = Order::where('status', '=', 1)->where('user_id', '=', $user_id)->sum('order_zhe_total');
// $userInfo = User::where('id', '=', $user_id)->field('istest')->find();
// if ($userInfo && $userInfo['istest'] > 0) {
// //推广账号,门槛计算是全部的
// $order_money = Order::where('status', '=', 1)->where('user_id', '=', $user_id)->sum('order_zhe_total');
// }
$userInfo = User::where('id', '=', $user_id)->field('istest')->find();
if ($userInfo && $userInfo['istest'] > 0) {
//推广账号,门槛计算是全部的
$order_money = Order::where('status', '=', 1)->where('user_id', '=', $user_id)->sum('order_zhe_total');
}
$whe[] = ['unlock_amount', '<=', $order_money];
}
//将goods_type表中的所有数据查询出来查询字段value,corner_text,将数组转换为map
@ -203,8 +208,6 @@ class Goods extends Base
public function goodsdetail()
{
$user_id = $this->getUserId();
$goods_id = request()->param('goods_id/d', 0);
$goods_num = request()->param('goods_num/d', 0);
$goods = Goodsmodel::field('id,title,imgurl_detail,price,stock,sale_stock,lock_is,type,status,sale_time,is_shou_zhe,quanju_xiangou,daily_xiangou,quanju_xiangou')
@ -244,7 +247,10 @@ class Goods extends Base
}
$goods['num'] = $goods_num;
$collection_is = 0;
$goods_type = GoodsType::field('corner_text')->where('value', '=', $goods['type'])->find();
if ($goods_type) {
$goods['type_text'] = $goods_type['corner_text'];
}
#本箱子余量
$goods_surplus = GoodsList::field('sum(`stock`) as stock, sum(`surplus_stock`) as surplus_stock')
@ -1005,7 +1011,13 @@ class Goods extends Base
$order_info->save();
}
}
$isTest = \app\common\helper\ConfigHelper::getSystemTestKey("disable_wechat_pay");
if ($isTest == "1") {
Db::rollback();
#删除redis
$redis->del($redis_key);
return $this->renderError("支付未开放");
}
$payRes = (new Pay())->wxCreateOrder($order_num, $paymentResult['price'], $user['openid'], $body, $attach);
if ($payRes['status'] == 1) {
#结果集

View File

@ -20,6 +20,7 @@ use app\common\model\CouponReceive as CouponReceiveModel;
use app\common\model\GoodsExtend;
use \think\Request;
use app\common\service\GoodsService;
use app\common\model\GoodsType;
/**
* 无限赏
*/
@ -73,6 +74,11 @@ class Infinite extends Base
if ($goods['type'] == 7) {
$goods['need_draw_num'] = 1;
}
$goods_type = GoodsType::field('corner_text')->where('value','=',$goods['type'] )->find();
if($goods_type){
$goods['type_text'] = $goods_type['corner_text'];
}
#当前热度
$join_user = OrderList::field('user_id')
->append(['userinfo'])
@ -598,6 +604,13 @@ class Infinite extends Base
if ($goods['type'] == 16) {
$attach = 'order_fbs';
}
$isTest = \app\common\helper\ConfigHelper::getSystemTestKey("disable_wechat_pay");
if ($isTest == "1") {
Db::rollback();
#删除redis
$redis->del($redis_key);
return $this->renderError("支付未开放");
}
$payRes = (new Pay())->wxCreateOrder($order_num, $paymentResult['price'], $user['openid'], $body, $attach);
if ($payRes['status'] == 1) {
#结果集
@ -1194,11 +1207,13 @@ class Infinite extends Base
$king_user = Db::name('user')->field('id,nickname,headimg')->where(['id' => $goods['king_user_id']])->find();
if ($goods && $goods['king_user_id'] && $king_user) {
$king_user['headimg'] = imageUrl($king_user['headimg']);
$goods_king_rank = Db::name('goods_king_rank')->field('order_list_id')->where(['user_id' => $goods['king_user_id'], 'goods_id' => $goods_id])->order('id desc')->limit(1)->find();
$goods_king_rank = Db::name('goods_king_rank')->field('id,z_nums,order_list_id,count')->where(['user_id' => $goods['king_user_id'], 'goods_id' => $goods_id])->order('id desc')->limit(1)->find();
$order_list_id = $goods_king_rank ? $goods_king_rank['order_list_id'] : 0;
$jiang_img = OrderList::field('goodslist_title,goodslist_imgurl')->where(['id' => $order_list_id])->find();
$king_user['jiang_title'] = $jiang_img ? $jiang_img['goodslist_title'] : '';
$king_user['count'] = $goods_king_rank ? $goods_king_rank['count'] : 0;
$king_user['jiang_img'] = $jiang_img ? imageUrl($jiang_img['goodslist_imgurl']) : '';
$king_user['z_nums'] = $goods_king_rank ? $goods_king_rank['z_nums'] : 0;
} else {
$king_user = null;
}

View File

@ -207,6 +207,6 @@ Route::any('getRankList', 'Index/getRankList');
Route::any('order_list', 'Order/getOrderList');
Route::any('order_detail', 'Order/getOrderDetail');
// getUserAccount
Route::any('getUserAccount', 'User/getUserAccount');
Route::any('createUser', 'User/createUser');
// // getUserAccount
// Route::any('getUserAccount', 'User/getUserAccount');
// Route::any('createUser', 'User/createUser');

View File

@ -335,14 +335,17 @@ class ConfigHelper
// 如果静态属性已有值,直接返回
$system_test = self::getSystemTest();
if ($system_test != null && $system_test['enable_test'] == "1") {
return $system_test[$key];
}
if ($key == "sign_multiple") {
return "0";
}
if ($key == "disable_wechat_pay") {
return "1";
}
return "0";
return $system_test['enable_test'];
}
/**

View File

@ -283,20 +283,25 @@ class PaymentCalculator
}
} else {
// 常规消费验证
// $user_price = Order::where('user_id', '=', $user_id)->where('status', '=', 1)->sum('price');
// $user_price = Order::where('user_id', '=', $user_id)->where('status', '=', 1)->sum('order_zhe_total');
// if ($user_price < $choujiang_xianzhi) {
// if ($user['istest'] > 0) {
// $user_price = Order::where('user_id', '=', $user_id)->where('status', '=', 1)->sum('order_zhe_total');
// }
$isTest = \app\common\helper\ConfigHelper::getSystemTestKey("enable_test");
$user_price = 0;
if ($isTest == "1") {
$user_price = Order::where('user_id', '=', $user_id)->where('status', '=', 1)->sum('order_zhe_total');
} else {
$user_price = Order::where('user_id', '=', $user_id)->where('status', '=', 1)->sum('price');
}
if ($user_price < $choujiang_xianzhi) {
if ($user['istest'] > 0) {
$user_price = Order::where('user_id', '=', $user_id)->where('status', '=', 1)->sum('order_zhe_total');
}
// if ($user_price < $choujiang_xianzhi) {
// return [
// 'status' => 0,
// 'msg' => "消费满" . $choujiang_xianzhi . "元可参与 已消费" . round($user_price, 2) . "元"
// ];
// }
// }
if ($user_price < $choujiang_xianzhi) {
return [
'status' => 0,
'msg' => "消费满" . $choujiang_xianzhi . "元可参与 已消费" . round($user_price, 2) . ""
];
}
}
}
}

View File

@ -7,7 +7,10 @@ return [
'127.0.0.1',
'192.168.1.56',
'test.zfunbox.cn',
'testapi.zfunbox.cn'
'testapi.zfunbox.cn',
'youda.zfunbox.cn',
'api.zfunbox.cn',
],
# 后台允许访问的域名
'admin_domains' => [
@ -15,6 +18,7 @@ return [
'127.0.0.1',
'192.168.1.56',
'test.zfunbox.cn',
'admin.zfunbox.cn',
],
// 不需要验证域名的白名单路径
'whitelist_paths' => [

Binary file not shown.

20
public/h5/index.html Normal file
View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset=UTF-8>
<meta name=viewport content="width=device-width,initial-scale=1">
<title>友达赏</title>
<link rel=icon type=image/png href=https://image.zfunbox.cn/icon.png>
<script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script>
<link rel=stylesheet href=/h5/static/index.2da1efab.css>
</head>
<body>
<div id=app></div>
<script src=/h5/static/js/chunk-vendors.8983ce74.js></script>
<script src=/h5/static/js/index.45ba8a75.js></script>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["package-mine-qy-rule"],{"1f7a":function(t,n,e){"use strict";e.r(n);var i=e("5f78"),r=e("213c");for(var a in r)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(a);e("519e");var c=e("828b"),o=Object(c["a"])(r["default"],i["b"],i["c"],!1,null,"59cd0980",null,!1,i["a"],void 0);n["default"]=o.exports},"20a4":function(t,n,e){var i=e("d3c9");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=e("967d").default;r("7b775bb3",i,!0,{sourceMap:!1,shadowMode:!1})},"213c":function(t,n,e){"use strict";e.r(n);var i=e("be28"),r=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=r.a},"519e":function(t,n,e){"use strict";var i=e("20a4"),r=e.n(i);r.a},"5f78":function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return i}));var i={uniIcons:e("ec06").default},r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"navLeft align-center",style:{top:t.$sys().statusBarHeight+"px"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.$c.back(1)}}},[e("uni-icons",{attrs:{type:"left",color:"#000000"}})],1),e("v-uni-view",{staticClass:"column center header"}),e("v-uni-view",{staticClass:"rule-list"},t._l(t.listData,(function(n,i){return e("v-uni-view",{key:i,staticClass:"rule-item common_bg"},[e("v-uni-view",{staticClass:"rule-title hang1 relative"},[t._v(t._s(n.title))]),e("v-uni-scroll-view",{staticClass:"rule-content",attrs:{"scroll-y":!0}},[e("v-uni-view",{domProps:{innerHTML:t._s(n.content)}})],1)],1)})),1)],1)},a=[]},be28:function(t,n,e){"use strict";e("6a54"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={data:function(){return{listData:[]}},onLoad:function(t){this.listData=uni.getStorageSync("_qy_rule")}};n.default=i},d3c9:function(t,n,e){var i=e("c86c");n=i(!1),n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.navLeft[data-v-59cd0980]{position:fixed;left:%?30?%;z-index:100;height:44px}.navLeft > uni-view[data-v-59cd0980]{font-weight:400;font-size:%?50?%;color:#fff}.header[data-v-59cd0980]{width:%?750?%;height:%?380?%;background:url(https://image.zfunbox.cn/static/web/static/my/qysm.png);background-size:cover;background-position:50%}.header > uni-text[data-v-59cd0980]:nth-child(1){font-weight:400;font-size:%?72?%;color:#fff}.header > uni-text[data-v-59cd0980]:nth-child(2){font-weight:400;font-size:%?24?%;color:#fff}.content[data-v-59cd0980]{min-height:100vh;background:#fff}.content .rule-list[data-v-59cd0980]{padding:0 %?30?% %?30?%}.content .rule-list .rule-item[data-v-59cd0980]{height:%?460?%;margin-top:%?30?%;background:#fcf8db;border-radius:%?20?%}.content .rule-list .rule-item .rule-title[data-v-59cd0980]{padding:%?50?% %?40?% %?30?%;font-weight:500;font-size:%?28?%;color:#ee871f}.content .rule-list .rule-item .rule-content[data-v-59cd0980]{height:%?300?%;padding:0 %?40?%;font-size:%?24?%;font-weight:400;color:#333;line-height:%?48?%;box-sizing:border-box}',""]),t.exports=n}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-guize-guize"],{"0e28":function(t,e,a){"use strict";a.r(e);var n=a("8371"),i=a("890f");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("e0ce");var c=a("828b"),o=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"ab1c6cd0",null,!1,n["a"],void 0);e["default"]=o.exports},"21bf":function(t,e,a){var n=a("c86c");e=n(!1),e.push([t.i,"[data-v-ab1c6cd0] span{text-wrap:wrap!important}.text_2[data-v-ab1c6cd0],\n.text_3[data-v-ab1c6cd0]{font-size:%?28?%;margin-top:%?60?%}.text_1[data-v-ab1c6cd0]{margin-top:%?30?%;font-size:%?32?%;color:#fff}.guize[data-v-ab1c6cd0]{width:100vw;min-height:100vh;position:relative;padding:%?24?%;background-color:#fff;box-sizing:border-box}",""]),t.exports=e},3969:function(t,e,a){var n=a("21bf");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("967d").default;i("01f195c9",n,!0,{sourceMap:!1,shadowMode:!1})},8371:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"guize"},[e("v-uni-view",{staticStyle:{color:"#676767"},domProps:{innerHTML:this._s(this.rule)}})],1)},i=[]},"890f":function(t,e,a){"use strict";a.r(e);var n=a("ccb1"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},ccb1:function(t,e,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("5c47"),a("a1c1"),a("45da");var i=n(a("6155")),r={components:{uParse:i.default},data:function(){return{z_imgUrl:this.$z_imgUrl,rule:"",title:""}},onLoad:function(t){console.log(t),this.getnews(t.type);var e="";1==t.type&&(e="什么是用户等级"),2==t.type&&(e="等级相关福利"),3==t.type&&(e="公告"),4==t.type&&(e="用户协议"),5==t.type&&(e="隐私政策"),6==t.type&&(e="平台消费规则"),7==t.type&&(e="一番裳购买说明"),8==t.type&&(e="无限赏购买说明"),9==t.type&&(e="排行榜规则"),10==t.type&&(e="发货规则"),11==t.type&&(e=" 请好友规则"),12==t.type&&(e="抽奖券说明"),13==t.type&&(e="权益中心说明"),14==t.type&&(e="领主玩法"),15==t.type&&(e="连击赏玩法"),16==t.type&&(e="签到规则"),this.title=e,uni.setNavigationBarTitle({title:e})},methods:{getnews:function(t){var e=this;e.req({url:"danye",data:{type:t},success:function(t){if(1==t.status){var a=t.data;e.rule=a.replaceAll('style="text-wrap: nowrap;"',"")}}})}}};e.default=r},e0ce:function(t,e,a){"use strict";var n=a("3969"),i=a.n(n);i.a}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-jiaoliu-jiaoliu"],{"2c69":function(n,e,t){"use strict";t.d(e,"b",(function(){return o})),t.d(e,"c",(function(){return i})),t.d(e,"a",(function(){}));var o=function(){var n=this.$createElement,e=this._self._c||n;return e("div")},i=[]},"2e28":function(n,e,t){"use strict";t.r(e);var o=t("2c69"),i=t("3934");for(var c in i)["default"].indexOf(c)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(c);var u=t("828b"),a=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,"34d9d66e",null,!1,o["a"],void 0);e["default"]=a.exports},3934:function(n,e,t){"use strict";t.r(e);var o=t("9081"),i=t.n(o);for(var c in o)["default"].indexOf(c)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(c);e["default"]=i.a},9081:function(n,e,t){"use strict";t("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={onShow:function(){var n=this;wx.showModal({title:"温馨提示",content:"即将进入新的小程序",showCancel:!0,cancelText:"取消",cancelColor:"#000000",confirmText:"确定",confirmColor:"#ff7514",success:function(e){e.cancel?uni.switchTab({url:"/pages/shouye/index"}):n.toNewMp()},fail:function(n){},complete:function(n){}})},methods:{toNewMp:function(){uni.navigateToMiniProgram({appId:uni.getStorageSync("jump_appid"),path:"pages/my/index?token="+uni.getStorageSync("token"),envVersion:"release",extraData:{token:uni.getStorageSync("token")},success:function(n){console.log("打开成功",n)},fail:function(n){console.log(n,"取消了"),uni.switchTab({url:"/pages/shouye/index"})}})}}};e.default=o}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-sangdai-hegui"],{"1bf7":function(n,t,e){"use strict";e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){}));var u=function(){var n=this.$createElement,t=this._self._c||n;return t("div")},i=[]},"37c3":function(n,t,e){"use strict";e("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={onLoad:function(n){uni.redirectTo({url:"/pages/sangdai/sangdai"})}};t.default=u},a34c:function(n,t,e){"use strict";e.r(t);var u=e("1bf7"),i=e("b724");for(var a in i)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(a);var r=e("828b"),c=Object(r["a"])(i["default"],u["b"],u["c"],!1,null,"552e54d9",null,!1,u["a"],void 0);t["default"]=c.exports},b724:function(n,t,e){"use strict";e.r(t);var u=e("37c3"),i=e.n(u);for(var a in u)["default"].indexOf(a)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(a);t["default"]=i.a}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-shouye-danye"],{"4cdc":function(t,e,n){"use strict";n.r(e);var a=n("6cb1"),r=n("a78d");for(var u in r)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(u);var i=n("828b"),c=Object(i["a"])(r["default"],a["b"],a["c"],!1,null,"43e34ece",null,!1,a["a"],void 0);e["default"]=c.exports},"6cb1":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return a}));var a={pageContainer:n("d81f").default},r=function(){var t=this.$createElement,e=this._self._c||t;return e("page-container",{attrs:{title:this.title,showBack:!0}},[e("v-uni-view",{domProps:{innerHTML:this._s(this.content)}})],1)},u=[]},a78d:function(t,e,n){"use strict";n.r(e);var a=n("cbe0"),r=n.n(a);for(var u in a)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(u);e["default"]=r.a},cbe0:function(t,e,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n("2634")),u=a(n("2fdc")),i=a(n("d81f")),c={components:{PageContainer:i.default},onLoad:function(t){console.log(t),t.advert&&this.load(t.advert)},data:function(){var t;return t=uni.getStorageSync("fuliwu_title"),{title:t,content:[]}},methods:{load:function(t){var e=this;return(0,u.default)((0,r.default)().mark((function n(){var a,u,i;return(0,r.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,e.$request.get("getDanye",{type:t});case 2:a=n.sent,u=a.status,i=a.data,a.msg,1==u&&(""==e.title&&(e.title=i.title),e.content=i.content);case 7:case"end":return n.stop()}}),n)})))()}}};e.default=c}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-shouye-rili"],{"24de":function(t,i,e){"use strict";var n=e("b6c2"),a=e.n(n);a.a},4484:function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"news_z"},t._l(t.goods,(function(i,n){return e("v-uni-view",{key:n,staticClass:"con"},[e("v-uni-view",{staticClass:"con_l"},[e("v-uni-view",{staticClass:"time_box"},[e("v-uni-view",[t._v(t._s(i.day))]),e("v-uni-view",[t._v(t._s(i.month))])],1),e("v-uni-view",{staticClass:"yuan2"},[e("v-uni-view",{staticClass:"yuan3"})],1)],1),e("v-uni-view",{staticClass:"con_r",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.todetails(i)}}},[e("v-uni-image",{attrs:{src:i.imgurl}}),e("v-uni-view",{staticClass:"time"},[t._v(t._s(i.title))])],1)],1)})),1)],1)},a=[]},"67f2":function(t,i,e){"use strict";e("6a54"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n={data:function(){return{goods:[]}},onLoad:function(t){this.getData()},methods:{todetails:function(t){0!==t.goods_id&&uni.navigateTo({url:"detail?goods_id="+t.goods_id})},getData:function(){var t=this;t.req({url:"yushourili",Loading:!0,data:{goods_id:t.goods_id},success:function(i){1==i.status&&(t.goods=i.data)}})}}};i.default=n},"7ed0":function(t,i,e){"use strict";e.r(i);var n=e("4484"),a=e("e40f");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(o);e("24de");var d=e("828b"),s=Object(d["a"])(a["default"],n["b"],n["c"],!1,null,"0e31c489",null,!1,n["a"],void 0);i["default"]=s.exports},b6c2:function(t,i,e){var n=e("fdc2");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("967d").default;a("25bc629e",n,!0,{sourceMap:!1,shadowMode:!1})},e40f:function(t,i,e){"use strict";e.r(i);var n=e("67f2"),a=e.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(o);i["default"]=a.a},fdc2:function(t,i,e){var n=e("c86c");i=n(!1),i.push([t.i,".news_z[data-v-0e31c489]{width:%?690?%;margin:%?20?% auto 0;border-radius:%?10?%}.yuan3[data-v-0e31c489]{width:%?24?%;height:%?24?%;background:#ff7514;border-radius:50%}.yuan2[data-v-0e31c489]{\n\t/* background: rgba(255, 117, 20, 0.3); */width:%?36?%;height:%?36?%;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff}.time[data-v-0e31c489]{color:#989898;margin-top:%?20?%}.time_box>uni-view[data-v-0e31c489]:nth-of-type(1){font-size:%?54?%;font-weight:700}.time_box[data-v-0e31c489]{\n\t/* position: absolute; */color:#fff;width:%?80?%}.con_l[data-v-0e31c489]{width:%?200?%;display:flex;\n\t/* justify-content: space-between; */align-items:center;position:relative}.con_r>uni-image[data-v-0e31c489]{width:%?512?%;height:%?231?%;border-radius:%?7?%}.con_r[data-v-0e31c489]{width:%?540?%;font-size:%?24?%;border-bottom:1px solid #333;padding:%?20?% 0;margin-right:%?20?%}.yuan[data-v-0e31c489]{width:%?24?%;height:%?24?%;background:#ddd;border-radius:50%}.con[data-v-0e31c489]{display:flex;align-items:center;width:100%}.content[data-v-0e31c489]{width:100vw;min-height:100vh;padding:%?1?% 0 %?50?% 0;background:#161616}",""]),t.exports=i}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-bangding"],{"0670":function(n,t,e){"use strict";e("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={data:function(){return{z_imgPath:this.$z_img2}},created:function(){},methods:{back:function(){uni.reLaunch({url:"index"})},getPhoneNumber:function(n){var t=this;uni.login({success:function(e){uni.checkSession({success:function(){t.req({url:"login_bind_mobile",data:{code:n.detail.code,encryptedData:n.detail.encryptedData,iv:n.detail.iv},success:function(n){1==n.status&&uni.showToast({title:"绑定成功~",icon:"success",success:function(){setTimeout((function(){uni.reLaunch({url:"index"})}),1e3)}})}})}})}})}}};t.default=i},"3e75":function(n,t,e){var i=e("c86c");t=i(!1),t.push([n.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* .box {\n\tposition: fixed;\n\tbottom: 0;\n} */.header[data-v-3c140fa6]{padding-top:%?90?%;\n\t/* padding: 90rpx 0 90rpx 50rpx; */text-align:center;width:100%;height:%?300?%;line-height:%?450?%}.header uni-image[data-v-3c140fa6]{width:%?200?%;height:%?200?%;border-radius:50%}.content[data-v-3c140fa6]{margin-top:%?68?%;margin-left:%?50?%;margin-bottom:%?90?%;color:#333;font-size:%?28?%}.content uni-text[data-v-3c140fa6]{display:block;margin-top:%?40?%}.bottom[data-v-3c140fa6]{\n\t/* border-radius: 80rpx; */width:%?416?%;height:%?80?%;margin:%?70?% %?50?%;font-size:%?28?%}uni-button[data-v-3c140fa6]::after{border:none}uni-button[data-v-3c140fa6]{background:#333;font-size:%?28?%;font-weight:400;color:#cdef27;border-radius:%?16?%}.quxiao[data-v-3c140fa6]{background-color:#cdef27;width:%?416?%;height:%?80?%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;border-radius:%?16?%;font-size:%?28?%;font-weight:400;color:#333}",""]),n.exports=t},"57e1":function(n,t,e){"use strict";e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){}));var i=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("v-uni-view",{staticStyle:{"background-color":"white",width:"100%","min-height":"100vh"}},[e("v-uni-view",{staticClass:"header"},[e("v-uni-image",{attrs:{src:n.$img1("common/logo.png?x=1")}})],1),e("v-uni-view",{staticStyle:{width:"676rpx",height:"2rpx","background-color":"#E8E8E8","margin-left":"38rpx"}}),e("v-uni-view",{staticClass:"content"},[e("v-uni-view",[n._v("申请获取以下权限")]),e("v-uni-text",{staticStyle:{color:"#979797"}},[n._v("获得您的手机号")])],1),e("v-uni-view",{staticClass:"flex center column",staticStyle:{width:"100%"}},[e("v-uni-button",{staticClass:"bottom flex center",attrs:{withCredentials:"true",lang:"zh_CN","open-type":"getPhoneNumber"},on:{getphonenumber:function(t){arguments[0]=t=n.$handleEvent(t),n.getPhoneNumber.apply(void 0,arguments)}}},[n._v("授权手机号")]),e("v-uni-view",{staticClass:"quxiao",on:{click:function(t){arguments[0]=t=n.$handleEvent(t),n.back()}}},[n._v("取消")])],1)],1)},a=[]},"6e9b":function(n,t,e){"use strict";var i=e("f5e0"),a=e.n(i);a.a},c36a:function(n,t,e){"use strict";e.r(t);var i=e("57e1"),a=e("e643");for(var o in a)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return a[n]}))}(o);e("6e9b");var c=e("828b"),r=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"3c140fa6",null,!1,i["a"],void 0);t["default"]=r.exports},e643:function(n,t,e){"use strict";e.r(t);var i=e("0670"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(o);t["default"]=a.a},f5e0:function(n,t,e){var i=e("3e75");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=e("967d").default;a("7062b4c6",i,!0,{sourceMap:!1,shadowMode:!1})}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-myCa"],{"201d":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return i}));var i={mescrollBody:e("2cbf").default},a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"content"},[e("mescroll-body",{ref:"mescrollRef",attrs:{down:t.downOption},on:{init:function(n){arguments[0]=n=t.$handleEvent(n),t.mescrollInit.apply(void 0,arguments)},down:function(n){arguments[0]=n=t.$handleEvent(n),t.downCallback.apply(void 0,arguments)},up:function(n){arguments[0]=n=t.$handleEvent(n),t.upCallback.apply(void 0,arguments)}}},t._l(t.listData,(function(n){return e("v-uni-view",{staticClass:"content_item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.gotoPage("myCaDetail?caId="+n.goods_id)}}},[e("v-uni-view",{staticClass:"content_item_lf"},[e("v-uni-view",[e("v-uni-image",{attrs:{src:n.goods_imgurl,mode:"aspectFill"}})],1),e("v-uni-view",{staticClass:"info"},[e("v-uni-view",{staticStyle:{color:"#fff","font-size":"30rpx"}},[t._v(t._s(n.goods_title))]),e("v-uni-view",[t._v("所属IP "+t._s(n.goods_title))]),e("v-uni-view",[t._v("拥有卡片数量:"+t._s(n.buy_count))]),e("v-uni-view",[t._v("已选卡片数量:"+t._s(n.all_count))])],1)],1),e("v-uni-view",{staticClass:"content_item_ri"},[e("v-uni-image",{attrs:{src:t.z_imgPath+"mine/point_r.png"}})],1)],1)})),1)],1)},o=[]},2392:function(t,n,e){"use strict";e("6a54"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("c223");n.default={data:function(){return{z_imgPath:this.$z_img1,downOption:{auto:!1},listData:[]}},onLoad:function(t){},methods:{downCallback:function(){this.mescroll.resetUpScroll()},upCallback:function(t){this.loadData(t.num)},loadData:function(t){var n=this;n.req({url:"warehouse_index",Loading:!0,data:{page:t,type:3},success:function(e){n.mescroll.endByPage(e.data.data.length,e.data.last_page),n.listData=1==t?e.data.data:n.listData.concat(e.data.data)}})}}}},3480:function(t,n,e){"use strict";var i=e("78ff"),a=e.n(i);a.a},"6ecb":function(t,n,e){var i=e("c86c");n=i(!1),n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.content_item[data-v-32e1b3e6]{padding:%?30?%;margin:%?30?% auto;background-color:#262626;display:flex;align-items:center;box-sizing:border-box;width:%?690?%;justify-content:space-between}.content_item_lf[data-v-32e1b3e6]{display:flex;justify-content:baseline}.content_item_lf uni-image[data-v-32e1b3e6]{width:%?140?%;height:%?180?%;margin-right:%?22?%}.content_item_lf .info[data-v-32e1b3e6]{color:hsla(0,0%,100%,.4);font-size:%?24?%}.content_item_lf .info > uni-view[data-v-32e1b3e6]{margin:%?12?% 0}.content_item_ri uni-image[data-v-32e1b3e6]{width:%?40?%;height:%?40?%}',""]),t.exports=n},"78ff":function(t,n,e){var i=e("6ecb");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("967d").default;a("20b7333e",i,!0,{sourceMap:!1,shadowMode:!1})},8207:function(t,n,e){"use strict";e.r(n);var i=e("201d"),a=e("b678");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("3480");var r=e("828b"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"32e1b3e6",null,!1,i["a"],void 0);n["default"]=s.exports},b678:function(t,n,e){"use strict";e.r(n);var i=e("2392"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 961 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB