Commit cbe664d2 authored by 俞嘉婷's avatar 俞嘉婷

feat: 浏览产品任务新增1v1icon&跳转

parent 81b2b978
......@@ -66,6 +66,6 @@ if (CFG.env == 'test') {
}
if (!getUrlParam("appID")) {
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}</script><link href="//yun.duiba.com.cn/spark/v2/temp_base/1754019389006/styles/vendors.5afa9965dccba3311274.css" rel="stylesheet"><link href="//yun.duiba.com.cn/spark/v2/temp_base/1754019389006/styles/main.5afa9965dccba3311274.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>"use strict";
}</script><link href="//yun.duiba.com.cn/spark/v2/temp_base/1754362750293/styles/vendors.531f87d5fdaff5bc5a92.css" rel="stylesheet"><link href="//yun.duiba.com.cn/spark/v2/temp_base/1754362750293/styles/main.531f87d5fdaff5bc5a92.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>"use strict";
CFG.___G___ = 'yujiating%3Borigin%09git%40gitlab2.dui88.com%3Asparkprojects%2F20250711_tbguardinglife.git%20(fetch)%3Borigin%09git%40gitlab2.dui88.com%3Asparkprojects%2F20250711_tbguardinglife.git%20(push)%3Bmaster%3B';</script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1754019389006/js/runtime-main.d556b1b3.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1754019389006/js/vendors.4e667ab2.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1754019389006/js/main.468d4578.js" crossorigin="anonymous"></script></body></html>
\ No newline at end of file
CFG.___G___ = 'yujiating%3Bmaster%3Borigin%09git%40gitlab2.dui88.com%3Asparkprojects%2F20250711_tbguardinglife.git%20(fetch)%3Borigin%09git%40gitlab2.dui88.com%3Asparkprojects%2F20250711_tbguardinglife.git%20(push)%3B';</script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1754362750293/js/runtime-main.f2a4b19c.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1754362750293/js/vendors.7a2250d0.js" crossorigin="anonymous"></script><script src="//yun.duiba.com.cn/spark/v2/temp_base/1754362750293/js/main.8c3247a9.js" crossorigin="anonymous"></script></body></html>
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){function r(r){for(var n,a,l=r[0],i=r[1],p=r[2],c=0,s=[];c<l.length;c++)a=l[c],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,l=1;l<t.length;l++){var i=t[l];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=a(a.s=t[0]))}return e}var n={},o={1:0},u=[];function a(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=e,a.c=n,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="//yun.duiba.com.cn/spark/v2/temp_base/1754019389006/";var l=window.webpackJsonp=window.webpackJsonp||[],i=l.push.bind(l);l.push=r,l=l.slice();for(var p=0;p<l.length;p++)r(l[p]);var f=i;t()}([]);
//# sourceMappingURL=runtime-main.d556b1b3.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,l=r[0],i=r[1],p=r[2],c=0,s=[];c<l.length;c++)a=l[c],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,p||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,l=1;l<t.length;l++){var i=t[l];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=a(a.s=t[0]))}return e}var n={},o={1:0},u=[];function a(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=e,a.c=n,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="//yun.duiba.com.cn/spark/v2/temp_base/1754362750293/";var l=window.webpackJsonp=window.webpackJsonp||[],i=l.push.bind(l);l.push=r,l=l.slice();for(var p=0;p<l.length;p++)r(l[p]);var f=i;t()}([]);
//# sourceMappingURL=runtime-main.f2a4b19c.js.map
\ No newline at end of file
......@@ -214,4 +214,4 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
function a(e,t,n,r){return new(n||(n=Promise))(function(i,a){function s(e){try{l(r.next(e))}catch(e){a(e)}}function o(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,o)}l((r=r.apply(e,t||[])).next())})}function s(e,t){var n,r,i,a,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,o])}}}function o(e,t,n,a,s,o,l){return void 0===t&&(t={}),void 0===n&&(n="get"),void 0===a&&(a={}),void 0===s&&(s="form"),void 0===o&&(o=!1),new Promise(function(u,c){var d;if(window.XMLHttpRequest?d=new XMLHttpRequest:window.ActiveXObject?d=new window.ActiveXObject(void 0):alert("no xhr"),null!=d){t&&(t=JSON.parse(JSON.stringify(t)));var h="GET"===n.toUpperCase(),p=void 0,f=Date.now();switch(s){case"form":a["Content-Type"]="application/x-www-form-urlencoded",t._t=f,p=function(e,t,n){e&&Object.keys(e).length>0&&("function"==typeof t?e.sign=t(e,n):t&&(e.sign=function(e,t){var n=Object.keys(e);n.sort();for(var i=[],a=0,s=n;a<s.length;a++){var o=s[a];i.push(o+"="+e[o])}i.push("key="+t);var l=i.join("&");return Object(r.j)(l)}(e,n)));return Object(r.k)(e)}(t,o,l);break;case"json":a["Content-Type"]="application/json",p=JSON.stringify(t);break;case"plain":a["Content-Type"]="text/plain",p=t}var m=e,g=window.url_process;for(var _ in g&&(m=g(m)),m=h?Object(r.o)(m,p):Object(r.o)(m,"_t="+f),d.timeout=1e4,d.open(n,m,!0),a)d.setRequestHeader(_,a[_]);d.responseType="text",d.onreadystatechange=function(){4==d.readyState&&200==d.status&&u(d.response)},d.onerror=function(){c(new i.a({code:i.b.NET_ERROR,message:"网络错误,请检查网络是否通畅"}))},d.onloadend=function(){var t=d.status;if(200!==t){var n=i.b.NET_ERROR,r="网络错误,请检查网络是否通畅";switch(t){case 404:r=e+" 404 (Not Found)";break;case 429:r="活动太火爆了,请稍后再试~";try{r=JSON.parse(d.response).message}catch(e){}n=i.b.CALL_LIMITING}c(new i.a({code:n,message:r,payload:{code:t,response:d.response}}))}},d.ontimeout=function(){c(new i.a(i.b.REQUEST_TIMEOUT,"请求超时"))},h?d.send():d.send(p)}})}function l(e,t){void 0===t&&(t={}),t._t=Date.now();var n=Object(r.o)(e,Object(r.k)(t));return Object(r.a)(n)}function u(e,t,n,r,l,u,c,d){return void 0===n&&(n="get"),void 0===l&&(l=!0),void 0===u&&(u=!1),a(this,void 0,void 0,function(){var a,h;return s(this,function(s){switch(s.label){case 0:return[4,o(e,t,n,r,d,u,c)];case 1:a=s.sent();try{h=JSON.parse(a)}catch(e){throw new i.a(i.b.INVALID_RESPONSE)}if(l){if(h.success)return[2,h.data];throw new i.a(h)}return[2,h]}})})}function c(e,t,n,r,a,s,o,l){void 0===r&&(r=10),void 0===a&&(a=500),void 0===s&&(s="get"),void 0===l&&(l=!0);for(var c,d=Promise.resolve(),h=0;h<r;h++)d=(d=d.then(p)).then(function(){return new Promise(function(e){return setTimeout(e,a)})});return d.then(function(){throw new i.a(i.b.POLLING_TIMEOUT,"轮询超时")},function(e){if("success"===e){if(l){if(c.success)return c.data;throw new i.a(c)}return c}throw e});function p(){return u(t,n,s,o,!1).then(function(t){if(e(t))return c=t,Promise.reject("success")},function(e){return Promise.reject(e)})}}function d(e){var t=e.uri,n=e.params,r=e.method,i=e.headers,a=e.justData,s=e.secret,o=e.secretKey,l=e.requestContentType;return u.apply(null,[t,n,r,i,a,s,o,l])}}}]);
//# sourceMappingURL=vendors.4e667ab2.js.map
\ No newline at end of file
//# sourceMappingURL=vendors.7a2250d0.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
{"numOfComponents":5048,"numOfProject":3578}
\ No newline at end of file
{"numOfComponents":5048,"numOfProject":3582}
\ No newline at end of file
......@@ -12,7 +12,7 @@ module.exports = {
shareCode: "9527",
salesmanFlag: true,
rewardDailyFreeGameTimes: 123,
leftGameTimes: null,
leftGameTimes: 10,
},
},
"GET /game/startGame.do": {
......
......@@ -10,5 +10,5 @@ module.exports ={
"IMAGE_Q2": 0.8,
"RES_PATH": "/src/assets/",
"RES_PATH_PROD": "//yun.duiba.com.cn/spark/v2/temp_base/1754019365583",
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1754019389006/js"
"JS_PATH_PROD": "https://yun.duiba.com.cn/spark/v2/temp_base/1754362750293/js"
}
\ No newline at end of file
......@@ -4,7 +4,7 @@ import React from 'react';
import { observer } from 'mobx-react';
import './longImgPop.less';
import modalStore from '@src/store/modal';
import { _throttle } from '@src/utils/utils';
import { _throttle, windowJumpUrl } from '@src/utils/utils';
import { Button } from '../Button';
@observer
......@@ -52,6 +52,10 @@ class LongImgPop extends React.Component {
modalStore.closePop();
}
goServeice = _throttle(() => {
windowJumpUrl(CFG.serviceJumpUrl)
});
render() {
const { imgUrl } = this.props.popData || {}
const { isFinish, countdownTime } = this.state
......@@ -60,6 +64,7 @@ class LongImgPop extends React.Component {
<img src={imgUrl} alt="" className="mainImg" />
<Button className="back_home" onClick={this.closeHandle}></Button>
{!isFinish && <span className='countdown'>{`${countdownTime}s`}</span>}
<Button className="service_btn" onClick={this.goServeice}></Button>
</div>
);
}
......
......@@ -46,4 +46,14 @@
box-sizing: border-box;
}
.service_btn {
right: 0;
top: 900px;
width: 146px;
height: 159px;
position: fixed;
.sparkBg("homePage/1v1.png");
transform-origin: 100% 0;
}
}
......@@ -110,6 +110,7 @@
height: 159px;
position: absolute;
.sparkBg("homePage/1v1.png");
transform-origin: 100% 0;
}
.rule_prize {
position: absolute;
......
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