|
@@ -15,21 +15,25 @@
|
|
|
<view class="" style="margin: 0 30rpx 0 30rpx">保护文物</view>
|
|
|
<view class="">留下历史</view>
|
|
|
</view>
|
|
|
+ <view class="shz">守护者 {{ bhVal }} 欢迎您</view>
|
|
|
<!-- 答题按钮 -->
|
|
|
- <view class="dati">
|
|
|
- <view class="dt">
|
|
|
- <image style="width: 100%; height: 100%" src="/static/img/img_left@2x.png"></image>
|
|
|
- </view>
|
|
|
- <view class="dt_box" @click="starBtn">开始答题</view>
|
|
|
- <view class="dt">
|
|
|
- <image style="width: 100%; height: 100%" src="/static/img/img_right@2x.png"></image>
|
|
|
+ <view class="dati" @click="starBtn">
|
|
|
+ <view style="display: flex; align-items: center; margin-left: 700rpx; margin-top: -1200rpx">
|
|
|
+ <view class="dt">
|
|
|
+ <image style="width: 100%; height: 100%" src="/static/img/img_left@2x.png"></image>
|
|
|
+ </view>
|
|
|
+ <view class="dt_box" style="margin: auto">开始答题</view>
|
|
|
+ <view class="dt">
|
|
|
+ <image style="width: 100%; height: 100%" src="/static/img/img_right@2x.png"></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 昵称弹层 -->
|
|
|
<view class="nc_box" v-if="starShow">
|
|
|
<view class="">
|
|
|
- <view class="nc">请留下您的昵称</view>
|
|
|
- <input v-model.trim="iptVal" class="ipt" type="text" placeholder="请输入您的昵称" />
|
|
|
+ <view class="nc">您的守护编号</view>
|
|
|
+ <!-- <input v-model.trim="iptVal" class="ipt" type="text" placeholder="请输入您的昵称" /> -->
|
|
|
+ <view class="bh">{{ bhVal }}</view>
|
|
|
</view>
|
|
|
<view class="qr" @click="isOk">确认</view>
|
|
|
</view>
|
|
@@ -37,10 +41,34 @@
|
|
|
<view class="ph_box" v-if="rankinglShow">
|
|
|
<view class="ph_box2">
|
|
|
<view class="phb">排行榜</view>
|
|
|
- <view class="phb_box" v-for="item in rankingList" :key="item.index">
|
|
|
+ <view class="ph_top">
|
|
|
+ <view class="phb2">您的排名</view>
|
|
|
+ <view class="phb_box">
|
|
|
+ <view class="phb_item">
|
|
|
+ <view class="phb_pm">
|
|
|
+ <!-- <image style="width: 100%; height: 100%" src="/static/img/img_no1@2x.png"></image> -->
|
|
|
+ <view class="paiming">
|
|
|
+ {{ myPM }}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="phb_tx">
|
|
|
+ <image style="width: 100%; height: 100%" src="/static/img/img_avatar@2x(1).png"></image>
|
|
|
+ </view>
|
|
|
+ <view class="phb_nc">{{ myBh }}</view>
|
|
|
+ </view>
|
|
|
+ <view style="display: flex; align-items: center">
|
|
|
+ <view class="fenshu">{{ myss }}分</view>
|
|
|
+ <view class="shijian">{{ mysj }}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="phb_box" v-for="(item, index) in rankingList" :key="item.index">
|
|
|
<view class="phb_item">
|
|
|
<view class="phb_pm">
|
|
|
- <image style="width: 100%; height: 100%" src="/static/img/img_no1@2x.png"></image>
|
|
|
+ <!-- <image style="width: 100%; height: 100%" src="/static/img/img_no1@2x.png"></image> -->
|
|
|
+ <view class="paiming">
|
|
|
+ {{ index + 1 }}
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="phb_tx">
|
|
|
<image style="width: 100%; height: 100%" src="/static/img/img_avatar@2x(1).png"></image>
|
|
@@ -62,9 +90,9 @@
|
|
|
<view class="star_box2">
|
|
|
<!-- 开始答题 -->
|
|
|
<view class="" v-if="resultShow">
|
|
|
- <view class="tm_box">
|
|
|
- <view @click="answerShow = false" style="cursor: pointer; position: absolute; top: -36rpx; left: 10rpx" class="">
|
|
|
- <image style="width: 80rpx; height: 80rpx" src="/static/img/icon_back@2x.png"></image>
|
|
|
+ <view class="tm_box" @click="answerShow = false">
|
|
|
+ <view @click="answerShow = false" style="width: 500rpx; cursor: pointer; position: absolute; top: -36rpx; left: 10rpx" class="">
|
|
|
+ <image style="width: 100rpx; height: 100rpx" src="/static/img/icon_back@2x.png"></image>
|
|
|
</view>
|
|
|
<view class="tihao">{{ i }}</view>
|
|
|
<view class="wenti">{{ list.title }}</view>
|
|
@@ -98,12 +126,16 @@
|
|
|
</view>
|
|
|
<!-- 查看排行榜按钮 -->
|
|
|
<view class="restart">
|
|
|
- <view class="dt">
|
|
|
- <image style="width: 100%; height: 100%" src="/static/img/img_left@2x.png"></image>
|
|
|
- </view>
|
|
|
- <view @click="phbBtn" class="dt_box">查看排行榜</view>
|
|
|
- <view class="dt">
|
|
|
- <image style="width: 100%; height: 100%" src="/static/img/img_right@2x.png"></image>
|
|
|
+ <view class="ck_box" @click="phbBtn">
|
|
|
+ <view class="" style="margin: auto; display: flex; align-items: center">
|
|
|
+ <view class="dt">
|
|
|
+ <image style="width: 100%; height: 100%" src="/static/img/img_left@2x.png"></image>
|
|
|
+ </view>
|
|
|
+ <view class="dt_ck">查看排行榜</view>
|
|
|
+ <view class="dt">
|
|
|
+ <image style="width: 100%; height: 100%" src="/static/img/img_right@2x.png"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -113,7 +145,10 @@
|
|
|
<view class="dh">导航</view>
|
|
|
</view>
|
|
|
<!-- 菜单弹层 -->
|
|
|
- <u-popup :show="show" @close="close" mode="left" bgColor="#f8efe1" customStyle="width:500rpx">
|
|
|
+ <u-popup :show="show" @close="close" mode="left" bgColor="#f8efe1" customStyle="width:1000rpx">
|
|
|
+ <view class="box_gb" @click="show = false">
|
|
|
+ <view class="gb">X</view>
|
|
|
+ </view>
|
|
|
<LeftNav></LeftNav>
|
|
|
</u-popup>
|
|
|
</view>
|
|
@@ -126,11 +161,15 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
i: 0,
|
|
|
+ myPM: '',
|
|
|
+ myBh: '',
|
|
|
+ myss: '',
|
|
|
+ mysj: '',
|
|
|
recordNumber: 0 /* 记录对的题数 */,
|
|
|
activeTab: '',
|
|
|
selectTab: true,
|
|
|
selectTab2: null,
|
|
|
- iptVal: '',
|
|
|
+ bhVal: '001',
|
|
|
show: false,
|
|
|
starShow: false,
|
|
|
answerShow: false,
|
|
@@ -145,6 +184,7 @@ export default {
|
|
|
},
|
|
|
onLoad() {
|
|
|
that = this;
|
|
|
+ this.bianHaoBtn();
|
|
|
},
|
|
|
computed: {
|
|
|
abNiu() {
|
|
@@ -156,13 +196,18 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ bianHaoBtn() {
|
|
|
+ this.bhVal = Math.floor(Math.random() * 900) + 100;
|
|
|
+ console.log(this.bhVal, 456545);
|
|
|
+ },
|
|
|
navBtn() {
|
|
|
this.show = true;
|
|
|
},
|
|
|
// 开始答题
|
|
|
starBtn() {
|
|
|
+ uni.setStorageSync('val', this.bhVal);
|
|
|
// this.startTime = new Date().getTime(); // 记录开始时间戳
|
|
|
-
|
|
|
+ console.log(that.bhVal, 'bhVal');
|
|
|
this.answerShow = true;
|
|
|
this.$api.startChallenge({}, function (res) {
|
|
|
that.anNiuList = res.data.question_data;
|
|
@@ -218,41 +263,60 @@ export default {
|
|
|
},
|
|
|
// 完成答题
|
|
|
completeBtn() {
|
|
|
- this.endTime = new Date().getTime(); // 记录结束时间戳
|
|
|
+ console.log(this.bhVal, '5456+46545');
|
|
|
if (!this.selectTab) {
|
|
|
this.$common.normalToShow('还未选择答案');
|
|
|
return false;
|
|
|
}
|
|
|
this.answerShow = false;
|
|
|
- this.starShow = true;
|
|
|
+ // this.starShow = true;
|
|
|
this.i = 0;
|
|
|
- if (this.iptVal !== '' && this.iptVal !== undefined) {
|
|
|
- this.starShow = false;
|
|
|
- }
|
|
|
+ this.resultShow = true;
|
|
|
+ this.jieGuoShow = true;
|
|
|
// 昵称
|
|
|
- this.$api.complete({ name: this.iptVal }, function (res) {
|
|
|
+ this.$api.complete({ name: this.bhVal }, function (res) {
|
|
|
console.log(res, 'name');
|
|
|
});
|
|
|
+ // const val = uni.getStorageSync('val');
|
|
|
+ // this.bhVal = Number(val) + 1;
|
|
|
},
|
|
|
// 昵称确认
|
|
|
isOk() {
|
|
|
- if (this.iptVal == '' && this.iptVal.length <= 0) {
|
|
|
- this.$common.normalToShow('昵称不能为空');
|
|
|
- } else {
|
|
|
- setTimeout(() => {
|
|
|
- this.$common.successToShow('提交成功');
|
|
|
- }, 500);
|
|
|
- this.starShow = false;
|
|
|
- this.resultShow = true;
|
|
|
- this.jieGuoShow = true;
|
|
|
- // this.yongShi = this.startTime - this.endTime;
|
|
|
- }
|
|
|
+ setTimeout(() => {
|
|
|
+ this.$common.successToShow('提交成功');
|
|
|
+ }, 500);
|
|
|
+ this.starShow = false;
|
|
|
+ this.resultShow = true;
|
|
|
+ this.jieGuoShow = true;
|
|
|
+
|
|
|
+ // if (this.iptVal == '' && this.iptVal.length <= 0) {
|
|
|
+ // this.$common.normalToShow('昵称不能为空');
|
|
|
+ // } else {
|
|
|
+ // setTimeout(() => {
|
|
|
+ // this.$common.successToShow('提交成功');
|
|
|
+ // }, 500);
|
|
|
+ // this.starShow = false;
|
|
|
+ // this.resultShow = true;
|
|
|
+ // this.jieGuoShow = true;
|
|
|
+
|
|
|
+ // }
|
|
|
},
|
|
|
// 排行榜
|
|
|
phbBtn() {
|
|
|
this.$api.getTopList({}, function (res) {
|
|
|
- console.log(res, '排行');
|
|
|
that.rankingList = res.data;
|
|
|
+ console.log(that.rankingList, '排行');
|
|
|
+
|
|
|
+ that.$nextTick(() => {
|
|
|
+ that.rankingList.forEach((item, index) => {
|
|
|
+ if (item.name == that.bhVal) {
|
|
|
+ that.myPM = index + 1; /* 排名 */
|
|
|
+ that.myBh = item.name; /* 编号 */
|
|
|
+ that.myss = item.score; /* 分数 */
|
|
|
+ that.mysj = item.cost_time; /* 时间 */
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
});
|
|
|
this.jieGuoShow = false;
|
|
|
this.rankinglShow = true;
|
|
@@ -268,10 +332,27 @@ export default {
|
|
|
|
|
|
<style>
|
|
|
.active {
|
|
|
- background-image: linear-gradient(270deg, rgba(188, 95, 41, 1) 0, rgba(91, 60, 41, 1) 100%);
|
|
|
+ /* background-image: linear-gradient(270deg, rgba(188, 95, 41, 1) 0, rgba(91, 60, 41, 1) 100%);
|
|
|
-webkit-background-clip: text;
|
|
|
- -webkit-text-fill-color: transparent;
|
|
|
- border: 1px solid #563530;
|
|
|
+ -webkit-text-fill-color: transparent; */
|
|
|
+ background-color: #e78a80 !important;
|
|
|
+}
|
|
|
+.shz {
|
|
|
+ width: 600rpx;
|
|
|
+ margin: auto;
|
|
|
+ margin-top: 50rpx;
|
|
|
+ font-size: 46rpx;
|
|
|
+ color: #563530;
|
|
|
+ letter-spacing: 0.1em;
|
|
|
+}
|
|
|
+.ck_box {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ background-color: #fdd7c8;
|
|
|
+ cursor: pointer;
|
|
|
+ width: 1000rpx;
|
|
|
+ height: 200rpx;
|
|
|
+ margin: auto;
|
|
|
}
|
|
|
.active2 {
|
|
|
border: 2px solid #5ac725 !important;
|
|
@@ -281,7 +362,8 @@ export default {
|
|
|
}
|
|
|
.body {
|
|
|
padding-top: 100rpx;
|
|
|
- height: 1825rpx;
|
|
|
+ height: 1905rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
}
|
|
|
.header {
|
|
|
margin-left: 10%;
|
|
@@ -291,11 +373,22 @@ export default {
|
|
|
align-items: center;
|
|
|
display: flex;
|
|
|
}
|
|
|
+.bh {
|
|
|
+ font-size: 38rpx;
|
|
|
+ color: #563530;
|
|
|
+ width: 1000rpx;
|
|
|
+ height: 100rpx;
|
|
|
+ line-height: 100rpx;
|
|
|
+ text-indent: 1em;
|
|
|
+
|
|
|
+ background-color: #efe6d8;
|
|
|
+}
|
|
|
.jieGuo {
|
|
|
position: absolute;
|
|
|
top: 400rpx;
|
|
|
left: 32%;
|
|
|
height: 1000rpx;
|
|
|
+ z-index: 2;
|
|
|
background-color: #efe6d8;
|
|
|
}
|
|
|
.box {
|
|
@@ -310,9 +403,9 @@ export default {
|
|
|
height: 160rpx;
|
|
|
}
|
|
|
.box_tit_2 {
|
|
|
- width: 700rpx;
|
|
|
+ width: 850rpx;
|
|
|
display: flex;
|
|
|
- font-size: 38rpx;
|
|
|
+ font-size: 46rpx;
|
|
|
margin: auto;
|
|
|
margin-top: 60rpx;
|
|
|
color: #563530;
|
|
@@ -321,7 +414,6 @@ export default {
|
|
|
|
|
|
.tit {
|
|
|
background-image: linear-gradient(270deg, rgba(188, 95, 41, 1) 0, rgba(91, 60, 41, 1) 100%);
|
|
|
-
|
|
|
height: 96rpx;
|
|
|
font-size: 48rpx;
|
|
|
letter-spacing: 0.3em;
|
|
@@ -338,34 +430,55 @@ export default {
|
|
|
}
|
|
|
.caidan {
|
|
|
margin-left: 10%;
|
|
|
- margin-top: 2%;
|
|
|
+ margin-top: -300rpx;
|
|
|
display: flex;
|
|
|
- width: 180rpx;
|
|
|
+ width: 420rpx;
|
|
|
+ height: 450rpx;
|
|
|
cursor: pointer;
|
|
|
align-items: center;
|
|
|
}
|
|
|
-.img {
|
|
|
+.box_gb {
|
|
|
+ position: absolute;
|
|
|
+ cursor: pointer;
|
|
|
+ width: 1000rpx;
|
|
|
+ height: 160rpx;
|
|
|
+}
|
|
|
+.gb {
|
|
|
width: 80rpx;
|
|
|
height: 80rpx;
|
|
|
+ line-height: 80rpx;
|
|
|
+ position: absolute;
|
|
|
+ right: 100rpx;
|
|
|
+ top: 30rpx;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 52rpx;
|
|
|
+ color: #563530;
|
|
|
+ margin-left: 300rpx;
|
|
|
+ border: #563530 1px solid;
|
|
|
+}
|
|
|
+.img {
|
|
|
+ width: 100rpx;
|
|
|
+ height: 100rpx;
|
|
|
}
|
|
|
.dh {
|
|
|
margin-left: 10rpx;
|
|
|
- font-size: 36rpx;
|
|
|
+ font-size: 42rpx;
|
|
|
color: #563530;
|
|
|
}
|
|
|
.dati {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- margin: auto;
|
|
|
- width: 200px;
|
|
|
+ cursor: pointer;
|
|
|
+ margin-left: -100rpx;
|
|
|
+ width: 1400px;
|
|
|
+ height: 1200rpx;
|
|
|
line-height: 18rpx;
|
|
|
margin-top: 100rpx;
|
|
|
+ /* background-color: #5ac725; */
|
|
|
}
|
|
|
.restart {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- margin: auto;
|
|
|
- width: 200px;
|
|
|
line-height: 18rpx;
|
|
|
margin-top: 260rpx;
|
|
|
}
|
|
@@ -382,20 +495,35 @@ export default {
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
border: 1px solid #563530;
|
|
|
}
|
|
|
+.dt_ck {
|
|
|
+ cursor: pointer;
|
|
|
+ width: 300rpx;
|
|
|
+ height: 80rpx;
|
|
|
+ font-size: 48rpx;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 80rpx;
|
|
|
+ margin: 0 20rpx 0 20rpx;
|
|
|
+ background-image: linear-gradient(270deg, rgba(188, 95, 41, 1) 0, rgba(91, 60, 41, 1) 100%);
|
|
|
+ -webkit-background-clip: text;
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
+ border: 1px solid #563530;
|
|
|
+}
|
|
|
.dt {
|
|
|
width: 60rpx;
|
|
|
height: 16rpx;
|
|
|
}
|
|
|
.ph_box {
|
|
|
- margin: auto;
|
|
|
- margin-top: 50rpx;
|
|
|
- width: 1000rpx;
|
|
|
- height: 740rpx;
|
|
|
+ position: absolute;
|
|
|
+ top: 800rpx;
|
|
|
+ left: 26%;
|
|
|
+ width: 1600rpx;
|
|
|
+ height: 940rpx;
|
|
|
border: 3px solid #563530;
|
|
|
+ background-color: #eeeadd;
|
|
|
}
|
|
|
.ph_box2 {
|
|
|
- width: 980rpx;
|
|
|
- height: 720rpx;
|
|
|
+ width: 1580rpx;
|
|
|
+ height: 920rpx;
|
|
|
margin: auto;
|
|
|
margin-top: 10rpx;
|
|
|
overflow: scroll;
|
|
@@ -405,8 +533,17 @@ export default {
|
|
|
}
|
|
|
|
|
|
.phb {
|
|
|
- width: 160rpx;
|
|
|
- font-size: 48rpx;
|
|
|
+ width: 220rpx;
|
|
|
+ font-size: 52rpx;
|
|
|
+ margin: auto;
|
|
|
+ margin-top: 20rpx;
|
|
|
+ background: linear-gradient(180deg, #bc5f29 0%, #5b3c29 100%);
|
|
|
+ -webkit-background-clip: text;
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
+}
|
|
|
+.phb2 {
|
|
|
+ width: 220rpx;
|
|
|
+ font-size: 46rpx;
|
|
|
margin: auto;
|
|
|
margin-top: 20rpx;
|
|
|
background: linear-gradient(180deg, #bc5f29 0%, #5b3c29 100%);
|
|
@@ -414,6 +551,7 @@ export default {
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
}
|
|
|
.phb_box {
|
|
|
+ height: 140rpx;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
@@ -451,15 +589,16 @@ export default {
|
|
|
}
|
|
|
.star_box {
|
|
|
position: absolute;
|
|
|
- top: 20%;
|
|
|
+ top: 26%;
|
|
|
left: 23%;
|
|
|
- width: 2000rpx;
|
|
|
- height: 1100rpx;
|
|
|
+ width: 2200rpx;
|
|
|
+ height: 1300rpx;
|
|
|
+ z-index: 3;
|
|
|
border: 3px solid #563530;
|
|
|
}
|
|
|
.star_box2 {
|
|
|
- width: 1980rpx;
|
|
|
- height: 1080rpx;
|
|
|
+ width: 2180rpx;
|
|
|
+ height: 1280rpx;
|
|
|
margin: auto;
|
|
|
margin-top: 10rpx;
|
|
|
border: 1px solid #563530;
|
|
@@ -477,6 +616,9 @@ export default {
|
|
|
height: 240rpx; */
|
|
|
}
|
|
|
.nc {
|
|
|
+ width: 500rpx;
|
|
|
+ height: 60rpx;
|
|
|
+ background-color: palegreen;
|
|
|
font-size: 36rpx;
|
|
|
background: linear-gradient(180deg, #bc5f29 0%, #5b3c29 100%);
|
|
|
-webkit-background-clip: text;
|
|
@@ -516,7 +658,8 @@ export default {
|
|
|
align-items: center;
|
|
|
width: 100%;
|
|
|
margin-top: 60rpx;
|
|
|
- height: 260rpx;
|
|
|
+ height: 300rpx;
|
|
|
+ cursor: pointer;
|
|
|
border-bottom: 1px solid #ddd0c4;
|
|
|
}
|
|
|
.tm_box2 {
|
|
@@ -547,9 +690,29 @@ export default {
|
|
|
margin-left: 160rpx;
|
|
|
letter-spacing: 0.2em;
|
|
|
}
|
|
|
-
|
|
|
+.paiming {
|
|
|
+ text-align: center;
|
|
|
+ line-height: 80rpx;
|
|
|
+ color: #563530;
|
|
|
+ font-size: 36rpx;
|
|
|
+ width: 80rpx;
|
|
|
+ height: 80rpx;
|
|
|
+ border-radius: 50%;
|
|
|
+ background-color: #e5c22c;
|
|
|
+}
|
|
|
+.paiming2 {
|
|
|
+ display: flex;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 80rpx;
|
|
|
+ width: 80rpx;
|
|
|
+ height: 80rpx;
|
|
|
+ color: #563530;
|
|
|
+ font-size: 36rpx;
|
|
|
+ border-radius: 50%;
|
|
|
+ background-color: #e5c22c;
|
|
|
+}
|
|
|
.daAn_box {
|
|
|
- width: 80%;
|
|
|
+ width: 100%;
|
|
|
margin: auto;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
@@ -557,23 +720,26 @@ export default {
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
.daAn_item {
|
|
|
- width: 520rpx;
|
|
|
- height: 120rpx;
|
|
|
+ width: 820rpx;
|
|
|
+ height: 220rpx;
|
|
|
cursor: pointer;
|
|
|
font-size: 36rpx;
|
|
|
color: #563530;
|
|
|
margin-top: 50rpx;
|
|
|
+ text-align: center;
|
|
|
+ padding-top: 20rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
border: 1px solid #563530;
|
|
|
background-color: #fff9ec;
|
|
|
}
|
|
|
.tjDn2 {
|
|
|
- width: 280rpx;
|
|
|
- height: 90rpx;
|
|
|
+ width: 580rpx;
|
|
|
+ height: 190rpx;
|
|
|
margin: auto;
|
|
|
font-size: 40rpx;
|
|
|
text-align: center;
|
|
|
cursor: pointer;
|
|
|
- line-height: 90rpx;
|
|
|
+ line-height: 190rpx;
|
|
|
letter-spacing: 0.2em;
|
|
|
background-image: linear-gradient(270deg, rgba(188, 95, 41, 1) 0, rgba(91, 60, 41, 1) 100%);
|
|
|
-webkit-background-clip: text;
|
|
@@ -582,11 +748,12 @@ export default {
|
|
|
}
|
|
|
.tjDn {
|
|
|
display: flex;
|
|
|
- width: 1000rpx;
|
|
|
- height: 110rpx;
|
|
|
+ width: 600rpx;
|
|
|
+ height: 210rpx;
|
|
|
margin: auto;
|
|
|
- margin-top: 160rpx;
|
|
|
+ margin-top: 100rpx;
|
|
|
padding-top: 10rpx;
|
|
|
+ background-color: antiquewhite;
|
|
|
}
|
|
|
.dt_end {
|
|
|
font-size: 52rpx;
|
|
@@ -621,4 +788,10 @@ export default {
|
|
|
text-align: center;
|
|
|
background-color: #efe6d8;
|
|
|
}
|
|
|
+.ph_top {
|
|
|
+ position: sticky;
|
|
|
+ top: 0;
|
|
|
+ background-color: #f1bd92;
|
|
|
+ z-index: 2;
|
|
|
+}
|
|
|
</style>
|