|
@@ -16,9 +16,9 @@
|
|
:src="require('../assets/svg/icon-money.svg')"
|
|
:src="require('../assets/svg/icon-money.svg')"
|
|
class="icon-money"
|
|
class="icon-money"
|
|
/>
|
|
/>
|
|
- <div class="amount">$3.75</div>
|
|
|
|
|
|
+ <div class="amount">${{ canWithdrawBalance / 100 }}</div>
|
|
<div class="withdraw-btn" @click="clickWithdraw">Withdraw</div>
|
|
<div class="withdraw-btn" @click="clickWithdraw">Withdraw</div>
|
|
- <div class="msg">(Paypal charges $0.25 fee)</div>
|
|
|
|
|
|
+ <div class="msg">(Paypal charges fee: 4.4% + $0.3)</div>
|
|
</div>
|
|
</div>
|
|
<div class="tab-bar">
|
|
<div class="tab-bar">
|
|
<div
|
|
<div
|
|
@@ -34,39 +34,148 @@
|
|
</div>
|
|
</div>
|
|
<div class="list-wrapper" ref="pageGiveList">
|
|
<div class="list-wrapper" ref="pageGiveList">
|
|
<div class="give-list" v-if="currentTabIndex == 0">
|
|
<div class="give-list" v-if="currentTabIndex == 0">
|
|
- <div
|
|
|
|
- class="cell"
|
|
|
|
- v-for="(item, index) in giveList"
|
|
|
|
- :key="index"
|
|
|
|
- >
|
|
|
|
- <div class="img-wrapper">
|
|
|
|
- <img
|
|
|
|
- class="icon-avatar"
|
|
|
|
- src="https://t7.baidu.com/it/u=1595072465,3644073269&fm=193&f=GIF"
|
|
|
|
- />
|
|
|
|
- <img
|
|
|
|
- class="icon-give"
|
|
|
|
- :src="
|
|
|
|
- require('../assets/svg/icon-giveaways.svg')
|
|
|
|
- "
|
|
|
|
- />
|
|
|
|
- </div>
|
|
|
|
- <div class="info-wrapper">
|
|
|
|
- <div class="left">
|
|
|
|
- <div class="nickname">Benedict22</div>
|
|
|
|
- <div class="time">03-12 13:36</div>
|
|
|
|
|
|
+ <template v-if="giveList.length">
|
|
|
|
+ <div
|
|
|
|
+ class="cell"
|
|
|
|
+ v-for="(item, index) in giveList"
|
|
|
|
+ :key="index"
|
|
|
|
+ @click="clickListItem(item, index)"
|
|
|
|
+ >
|
|
|
|
+ <div class="img-wrapper">
|
|
|
|
+ <!-- 收到红包 -->
|
|
|
|
+ <template v-if="item.type == 1">
|
|
|
|
+ <img
|
|
|
|
+ class="icon-avatar"
|
|
|
|
+ :src="item.userInfo.avatarUrl"
|
|
|
|
+ />
|
|
|
|
+ <img
|
|
|
|
+ class="icon-give"
|
|
|
|
+ :src="
|
|
|
|
+ require('../assets/svg/icon-giveaways.svg')
|
|
|
|
+ "
|
|
|
|
+ />
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 发出去红包 -->
|
|
|
|
+ <template v-else-if="2">
|
|
|
|
+ <img
|
|
|
|
+ :src="
|
|
|
|
+ require('../assets/svg/icon-list-big-give.svg')
|
|
|
|
+ "
|
|
|
|
+ />
|
|
|
|
+ </template>
|
|
</div>
|
|
</div>
|
|
- <div class="right">
|
|
|
|
- <div class="msg">$0.51</div>
|
|
|
|
- <img
|
|
|
|
- class="icon"
|
|
|
|
- :src="
|
|
|
|
- require('../assets/svg/icon-cell-arrow-right.svg')
|
|
|
|
- "
|
|
|
|
- />
|
|
|
|
|
|
+ <div class="info-wrapper">
|
|
|
|
+ <div class="left">
|
|
|
|
+ <div class="nickname">
|
|
|
|
+ {{
|
|
|
|
+ item.type == 1
|
|
|
|
+ ? item.userInfo.nickName
|
|
|
|
+ : "Giveaways"
|
|
|
|
+ }}
|
|
|
|
+ </div>
|
|
|
|
+ <div class="time">
|
|
|
|
+ {{
|
|
|
|
+ moment(item.timestamp).format(
|
|
|
|
+ "MM-DD hh:mm:ss"
|
|
|
|
+ )
|
|
|
|
+ }}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="right">
|
|
|
|
+ <div class="msg">
|
|
|
|
+ <div class="bold">
|
|
|
|
+ <!-- 收到的 -->
|
|
|
|
+ <template v-if="item.type == 1">
|
|
|
|
+ <!-- 进行中-->
|
|
|
|
+ <template
|
|
|
|
+ v-if="item.status == 0"
|
|
|
|
+ >
|
|
|
|
+ in progress
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 已完成 -->
|
|
|
|
+ <template
|
|
|
|
+ v-else-if="item.status == 1"
|
|
|
|
+ >
|
|
|
|
+ ${{ item.amount / 100 }}
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 已过期 -->
|
|
|
|
+ <template
|
|
|
|
+ v-else-if="item.status == 2"
|
|
|
|
+ >
|
|
|
|
+ Timeout
|
|
|
|
+ </template>
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 发出去的 -->
|
|
|
|
+ <template
|
|
|
|
+ v-else-if="item.type == 2"
|
|
|
|
+ >
|
|
|
|
+ -${{ item.amount / 100 }}
|
|
|
|
+ </template>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- 发出的红包显示 -->
|
|
|
|
+ <div class="desc" v-if="item.type == 2">
|
|
|
|
+ <!-- 未发送-->
|
|
|
|
+ <template v-if="item.status == 0">
|
|
|
|
+ Unpublished
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 进行中 -->
|
|
|
|
+ <template
|
|
|
|
+ v-else-if="item.status == 1"
|
|
|
|
+ >
|
|
|
|
+ {{
|
|
|
|
+ item.postTaskLuckdrop
|
|
|
|
+ .receivedCount
|
|
|
|
+ }}/{{
|
|
|
|
+ item.postTaskLuckdrop
|
|
|
|
+ .totalCount
|
|
|
|
+ }}
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 已结束 -->
|
|
|
|
+ <template
|
|
|
|
+ v-else-if="item.status == 2"
|
|
|
|
+ >
|
|
|
|
+ (Time expired)
|
|
|
|
+ {{
|
|
|
|
+ item.postTaskLuckdrop
|
|
|
|
+ .receivedCount
|
|
|
|
+ }}/{{
|
|
|
|
+ item.postTaskLuckdrop
|
|
|
|
+ .totalCount
|
|
|
|
+ }}
|
|
|
|
+ </template>
|
|
|
|
+ <!-- 红包未发出显示 -->
|
|
|
|
+ <div
|
|
|
|
+ v-if="item.status == 0"
|
|
|
|
+ class="send-btn"
|
|
|
|
+ @click.stop="sendTwitter(item)"
|
|
|
|
+ >
|
|
|
|
+ Send
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- 发红包,红包未发出隐藏-->
|
|
|
|
+ <img
|
|
|
|
+ v-if="
|
|
|
|
+ !(
|
|
|
|
+ item.type == 2 &&
|
|
|
|
+ item.status == 0
|
|
|
|
+ )
|
|
|
|
+ "
|
|
|
|
+ class="icon"
|
|
|
|
+ :src="
|
|
|
|
+ require('../assets/svg/icon-cell-arrow-right.svg')
|
|
|
|
+ "
|
|
|
|
+ />
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </div>
|
|
|
|
|
|
+ </template>
|
|
|
|
+ <template v-else>
|
|
|
|
+ <img
|
|
|
|
+ class="icon-empty"
|
|
|
|
+ :src="require('../assets/svg/icon-empty-list.svg')"
|
|
|
|
+ />
|
|
|
|
+ </template>
|
|
</div>
|
|
</div>
|
|
<div class="more-list" v-else>
|
|
<div class="more-list" v-else>
|
|
<div
|
|
<div
|
|
@@ -74,9 +183,7 @@
|
|
v-for="(item, index) in moreTabList"
|
|
v-for="(item, index) in moreTabList"
|
|
:key="index"
|
|
:key="index"
|
|
>
|
|
>
|
|
- <div class="img-wrapper">
|
|
|
|
- <img class="icon" :src="item.icon" />
|
|
|
|
- </div>
|
|
|
|
|
|
+ <img class="icon" :src="item.icon" />
|
|
<div class="info-wrapper">
|
|
<div class="info-wrapper">
|
|
<div class="left">
|
|
<div class="left">
|
|
{{ item.label }}
|
|
{{ item.label }}
|
|
@@ -94,24 +201,35 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
- <option-login
|
|
|
|
- v-if="!isLogin"
|
|
|
|
- @loginSuccess="loginSuccess" />
|
|
|
|
|
|
+ <!-- login -->
|
|
|
|
+ <option-login v-if="!isLogin" @loginSuccess="loginSuccess" />
|
|
|
|
+ <!-- 交易列表 -->
|
|
<option-transactions
|
|
<option-transactions
|
|
v-if="isLogin && !homeVisibility && transactionsVisibility"
|
|
v-if="isLogin && !homeVisibility && transactionsVisibility"
|
|
- @showHome="onShowHome" />
|
|
|
|
|
|
+ @showHome="onShowHome"
|
|
|
|
+ />
|
|
|
|
+ <!-- 提现页 -->
|
|
<option-withdraw
|
|
<option-withdraw
|
|
- v-if="isLogin && !homeVisibility && optionWithdraw"
|
|
|
|
- @back="withdrawBack" />
|
|
|
|
|
|
+ :amountValue="canWithdrawBalance"
|
|
|
|
+ v-if="isLogin && !homeVisibility && withdrawVisibility"
|
|
|
|
+ @back="withdrawBack"
|
|
|
|
+ />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
/* eslint-disable */
|
|
/* eslint-disable */
|
|
-import { ref, reactive, onMounted } from "vue";
|
|
|
|
|
|
+import { ref, reactive, onMounted, watch } from "vue";
|
|
import optionTransactions from "./components/options-transactions";
|
|
import optionTransactions from "./components/options-transactions";
|
|
import optionLogin from "./components/option-login.vue";
|
|
import optionLogin from "./components/option-login.vue";
|
|
import optionWithdraw from "./components/option-withdraw.vue";
|
|
import optionWithdraw from "./components/option-withdraw.vue";
|
|
|
|
+import {
|
|
|
|
+ getChromeStorage,
|
|
|
|
+ setStorage,
|
|
|
|
+ getStorage,
|
|
|
|
+} from "../uilts/chromeExtension";
|
|
|
|
+import { getBalance, getMineLuckdropRecords } from "../http/account";
|
|
|
|
+var moment = require("moment");
|
|
|
|
|
|
let pageWrapper = ref(null);
|
|
let pageWrapper = ref(null);
|
|
let pageGiveList = ref(null);
|
|
let pageGiveList = ref(null);
|
|
@@ -121,9 +239,20 @@ let homeVisibility = ref(false);
|
|
let transactionsVisibility = ref(false);
|
|
let transactionsVisibility = ref(false);
|
|
let withdrawVisibility = ref(false);
|
|
let withdrawVisibility = ref(false);
|
|
|
|
|
|
|
|
+let userInfo = ref({});
|
|
|
|
+let canWithdrawBalance = ref(0);
|
|
|
|
+
|
|
let currentTabIndex = ref(0);
|
|
let currentTabIndex = ref(0);
|
|
let giveList = ref([]);
|
|
let giveList = ref([]);
|
|
|
|
|
|
|
|
+let giveReqParams = {
|
|
|
|
+ params: {
|
|
|
|
+ pageNum: 1,
|
|
|
|
+ pageSize: 10,
|
|
|
|
+ },
|
|
|
|
+ loadMore: false,
|
|
|
|
+};
|
|
|
|
+
|
|
let moreTabList = ref([
|
|
let moreTabList = ref([
|
|
{
|
|
{
|
|
icon: require("../assets/svg/icon-twitter.svg"),
|
|
icon: require("../assets/svg/icon-twitter.svg"),
|
|
@@ -146,9 +275,117 @@ let tabList = ref([
|
|
},
|
|
},
|
|
]);
|
|
]);
|
|
|
|
|
|
|
|
+const login = () => {
|
|
|
|
+ callEventPageMethod("POPUP_LOGIN", "", function (response) {
|
|
|
|
+ console.log("res", response);
|
|
|
|
+ });
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+const callEventPageMethod = (method, data, callback) => {
|
|
|
|
+ chrome.runtime.sendMessage(
|
|
|
|
+ { method: method, data: data },
|
|
|
|
+ function (response) {
|
|
|
|
+ if (typeof callback === "function") callback(response);
|
|
|
|
+ }
|
|
|
|
+ );
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+const getAccountBalance = () => {
|
|
|
|
+ getBalance({
|
|
|
|
+ params: {
|
|
|
|
+ currencyCode: "USD",
|
|
|
|
+ },
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ if (res.code == 0) {
|
|
|
|
+ if (res.data) {
|
|
|
|
+ canWithdrawBalance.value = res.data.canWithdrawBalance;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+const getLuckdropRecordsList = () => {
|
|
|
|
+ getMineLuckdropRecords({
|
|
|
|
+ params: giveReqParams.params,
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ if (res.data && res.data.length) {
|
|
|
|
+ if (giveReqParams.params.pageNum < 2) {
|
|
|
|
+ giveList.value = res.data;
|
|
|
|
+ } else {
|
|
|
|
+ let data = giveList.value;
|
|
|
|
+ data = data.concat(res.data);
|
|
|
|
+ giveList.value = data;
|
|
|
|
+ }
|
|
|
|
+ giveReqParams.loadMore = false;
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+const clickListItem = (params, index) => {
|
|
|
|
+ let url = "";
|
|
|
|
+ let twitterUrl = "https://twitter.com/";
|
|
|
|
+ let nickName = "";
|
|
|
|
+ if (params.type == 1) {
|
|
|
|
+ nickName = params.userInfo.nickName;
|
|
|
|
+ } else if (params.type == 2) {
|
|
|
|
+ nickName = userInfo.value.nickName;
|
|
|
|
+ }
|
|
|
|
+ url = twitterUrl + nickName + "/status/" + params.srcContentId;
|
|
|
|
+
|
|
|
|
+ chrome.tabs.create({
|
|
|
|
+ url,
|
|
|
|
+ });
|
|
|
|
+ console.log(url);
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+const pageScroll = (e) => {
|
|
|
|
+ let wrapperHeight = pageWrapper.value.offsetHeight;
|
|
|
|
+ let pageGiveListHeight = pageGiveList.value.offsetHeight;
|
|
|
|
+ let scrollTop = e.target.scrollTop || 0;
|
|
|
|
+ if (currentTabIndex.value != 0) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ if (
|
|
|
|
+ giveReqParams.loadMore === false &&
|
|
|
|
+ wrapperHeight + scrollTop >= pageGiveListHeight
|
|
|
|
+ ) {
|
|
|
|
+ giveReqParams.loadMore = true;
|
|
|
|
+ giveReqParams.params.pageNum++;
|
|
|
|
+ getLuckdropRecordsList();
|
|
|
|
+ }
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+const getUserInfo = (cb) => {
|
|
|
|
+ getChromeStorage("userInfo", (res) => {
|
|
|
|
+ cb && cb(res);
|
|
|
|
+ });
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+const checkLoginState = (cb) => {
|
|
|
|
+ let res = getStorage("de-userInfo");
|
|
|
|
+ getUserInfo((res) => {
|
|
|
|
+ if (res && res.accessToken) {
|
|
|
|
+ userInfo.value = res;
|
|
|
|
+ setStorage("de-userInfo", res);
|
|
|
|
+ isLogin.value = true;
|
|
|
|
+ homeVisibility.value = true;
|
|
|
|
+ } else {
|
|
|
|
+ userInfo.value = {};
|
|
|
|
+ isLogin.value = false;
|
|
|
|
+ }
|
|
|
|
+ cb && cb();
|
|
|
|
+ });
|
|
|
|
+};
|
|
|
|
+
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
- giveList.value.length = 100;
|
|
|
|
|
|
+ checkLoginState(() => {
|
|
|
|
+ if (isLogin.value) {
|
|
|
|
+ getAccountBalance();
|
|
|
|
+ getLuckdropRecordsList();
|
|
|
|
+ }
|
|
|
|
+ });
|
|
});
|
|
});
|
|
|
|
+
|
|
const clickTab = (params, index) => {
|
|
const clickTab = (params, index) => {
|
|
currentTabIndex.value = index;
|
|
currentTabIndex.value = index;
|
|
console.log(params, index);
|
|
console.log(params, index);
|
|
@@ -169,6 +406,8 @@ const withdrawBack = () => {
|
|
withdrawVisibility.value = false;
|
|
withdrawVisibility.value = false;
|
|
}
|
|
}
|
|
homeVisibility.value = true;
|
|
homeVisibility.value = true;
|
|
|
|
+ getAccountBalance();
|
|
|
|
+ getLuckdropRecordsList();
|
|
}
|
|
}
|
|
};
|
|
};
|
|
|
|
|
|
@@ -187,23 +426,14 @@ const clickWithdraw = () => {
|
|
withdrawVisibility.value = true;
|
|
withdrawVisibility.value = true;
|
|
};
|
|
};
|
|
|
|
|
|
-const pageScroll = (e) => {
|
|
|
|
- let wrapperHeight = pageWrapper.value.offsetHeight;
|
|
|
|
- let pageGiveListHeight = pageGiveList.value.offsetHeight;
|
|
|
|
- let scrollTop = e.target.scrollTop || 0;
|
|
|
|
- let loadMore = false;
|
|
|
|
- if (
|
|
|
|
- loadMore.value === false &&
|
|
|
|
- wrapperHeight + scrollTop >= pageGiveListHeight
|
|
|
|
- ) {
|
|
|
|
- // loadMore = true;
|
|
|
|
- // pageData.pageNum++;
|
|
|
|
- // getListData((res) => {
|
|
|
|
- // if (res.data.length) {
|
|
|
|
- // loadMore = false;
|
|
|
|
- // }
|
|
|
|
- // });
|
|
|
|
- }
|
|
|
|
|
|
+const sendTwitter = (params) => {
|
|
|
|
+ callEventPageMethod(
|
|
|
|
+ "POPUP_PUBLISH_TWITTER_RED_PACK",
|
|
|
|
+ { srcContent: params.postTaskLuckdrop.srcContent },
|
|
|
|
+ function (response) {
|
|
|
|
+ console.log("res", response);
|
|
|
|
+ }
|
|
|
|
+ );
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
|
|
|
|
@@ -314,7 +544,10 @@ const pageScroll = (e) => {
|
|
}
|
|
}
|
|
|
|
|
|
.list-wrapper {
|
|
.list-wrapper {
|
|
|
|
+ min-height: 202px;
|
|
.give-list {
|
|
.give-list {
|
|
|
|
+ min-height: 202px;
|
|
|
|
+ position: relative;
|
|
.cell {
|
|
.cell {
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
@@ -322,6 +555,7 @@ const pageScroll = (e) => {
|
|
height: 66px;
|
|
height: 66px;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
padding-left: 20px;
|
|
padding-left: 20px;
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
|
.img-wrapper {
|
|
.img-wrapper {
|
|
position: relative;
|
|
position: relative;
|
|
@@ -346,7 +580,7 @@ const pageScroll = (e) => {
|
|
align-items: center;
|
|
align-items: center;
|
|
border-bottom: 1px solid #d1d1d1;
|
|
border-bottom: 1px solid #d1d1d1;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
- padding-right: 20px;
|
|
|
|
|
|
+ padding-right: 16px;
|
|
.left {
|
|
.left {
|
|
.nickname {
|
|
.nickname {
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
@@ -363,16 +597,48 @@ const pageScroll = (e) => {
|
|
align-items: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
.msg {
|
|
.msg {
|
|
- font-weight: 500;
|
|
|
|
- font-size: 14px;
|
|
|
|
|
|
+ .bold {
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ text-align: right;
|
|
|
|
+ }
|
|
|
|
+ .desc {
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ color: #b6b6b6;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: end;
|
|
|
|
+ margin-top: 5px;
|
|
|
|
+
|
|
|
|
+ .send-btn {
|
|
|
|
+ height: 24px;
|
|
|
|
+ width: 54px;
|
|
|
|
+ line-height: 24px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ border-radius: 100px;
|
|
|
|
+ border: 1px solid #389aff;
|
|
|
|
+ color: #389aff;
|
|
|
|
+ font-weight: 500;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ margin-left: 8px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.icon {
|
|
.icon {
|
|
width: 18px;
|
|
width: 18px;
|
|
height: 24px;
|
|
height: 24px;
|
|
|
|
+ margin-left: 4px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ .icon-empty {
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 50%;
|
|
|
|
+ top: 50%;
|
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.more-list {
|
|
.more-list {
|
|
.cell {
|
|
.cell {
|
|
@@ -382,12 +648,10 @@ const pageScroll = (e) => {
|
|
height: 66px;
|
|
height: 66px;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
padding-left: 20px;
|
|
padding-left: 20px;
|
|
- .img-wrapper {
|
|
|
|
- .icon {
|
|
|
|
- width: 42px;
|
|
|
|
- height: 42px;
|
|
|
|
- border-radius: 50%;
|
|
|
|
- }
|
|
|
|
|
|
+ .icon {
|
|
|
|
+ width: 42px;
|
|
|
|
+ height: 42px;
|
|
|
|
+ border-radius: 50%;
|
|
}
|
|
}
|
|
.info-wrapper {
|
|
.info-wrapper {
|
|
flex: 1;
|
|
flex: 1;
|
|
@@ -397,7 +661,7 @@ const pageScroll = (e) => {
|
|
align-items: center;
|
|
align-items: center;
|
|
border-bottom: 1px solid #d1d1d1;
|
|
border-bottom: 1px solid #d1d1d1;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
- padding-right: 20px;
|
|
|
|
|
|
+ padding-right: 16px;
|
|
|
|
|
|
.left {
|
|
.left {
|
|
font-weight: 500;
|
|
font-weight: 500;
|