|
@@ -2,20 +2,36 @@
|
|
<view class="examact">
|
|
<view class="examact">
|
|
<view class="examact-tname">{{ tenantInfo.name }}</view>
|
|
<view class="examact-tname">{{ tenantInfo.name }}</view>
|
|
<img
|
|
<img
|
|
- :src="$method.splitImgHost('oss/images/file/20230317/1679036853309.png')"
|
|
|
|
|
|
+ :src="$method.splitImgHost('oss/images/file/20230318/1679109165004.png')"
|
|
alt=""
|
|
alt=""
|
|
srcset=""
|
|
srcset=""
|
|
/>
|
|
/>
|
|
<view class="examact-btn" @click="collectMerch"> 点击领取真题题库 </view>
|
|
<view class="examact-btn" @click="collectMerch"> 点击领取真题题库 </view>
|
|
- <img
|
|
|
|
- class="examact-qrcode"
|
|
|
|
- :src="'../../static/qrcode/' + tenantInfo.qrcodeUrl"
|
|
|
|
- alt=""
|
|
|
|
- srcset=""
|
|
|
|
- />
|
|
|
|
- <view class="examact-phone" v-if="tenantInfo.phone">{{
|
|
|
|
- tenantInfo.phone
|
|
|
|
- }}</view>
|
|
|
|
|
|
+
|
|
|
|
+ <view class="examact-phone" v-if="tenantInfo.phone">
|
|
|
|
+ 报名热线:
|
|
|
|
+ <view>020-87085982</view>
|
|
|
|
+ <view>020-87085983</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="examact-qrcode">
|
|
|
|
+ <tki-qrcode
|
|
|
|
+ :show="true"
|
|
|
|
+ :size="160"
|
|
|
|
+ cid="qrcode1"
|
|
|
|
+ ref="qrcode"
|
|
|
|
+ :val="val"
|
|
|
|
+ :showLoading="false"
|
|
|
|
+ :loadMake="true"
|
|
|
|
+ :usingComponents="true"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <img
|
|
|
|
+ class="examact-qrcode111"
|
|
|
|
+ :src="'../../static/qrcode/' + tenantInfo.qrcodeUrl"
|
|
|
|
+ alt=""
|
|
|
|
+ srcset=""
|
|
|
|
+ />
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -25,10 +41,10 @@ const map = {
|
|
name: "测试云学堂",
|
|
name: "测试云学堂",
|
|
qrcodeUrl: "hnjsxt_act.png",
|
|
qrcodeUrl: "hnjsxt_act.png",
|
|
},
|
|
},
|
|
- "120.79.166.78:19012": {
|
|
|
|
|
|
+ "120.79.166.78:19006": {
|
|
name: "广东省祥粤建设职业培训学校",
|
|
name: "广东省祥粤建设职业培训学校",
|
|
qrcodeUrl: "h_act.png",
|
|
qrcodeUrl: "h_act.png",
|
|
- phone: "报名热线: 020-87085982/87085983",
|
|
|
|
|
|
+ phone: true,
|
|
},
|
|
},
|
|
"h.xyyxt.net": {
|
|
"h.xyyxt.net": {
|
|
name: "广东省祥粤建设职业培训学校",
|
|
name: "广东省祥粤建设职业培训学校",
|
|
@@ -39,6 +55,7 @@ const map = {
|
|
name: "企帮(广州)工程建设咨询服务有限公司",
|
|
name: "企帮(广州)工程建设咨询服务有限公司",
|
|
qrcodeUrl: "hnjsxt_act.png",
|
|
qrcodeUrl: "hnjsxt_act.png",
|
|
scheme: "http://",
|
|
scheme: "http://",
|
|
|
|
+ learnUrl: "",
|
|
},
|
|
},
|
|
"zsh5.zzyxt.net": {
|
|
"zsh5.zzyxt.net": {
|
|
name: "中山市勘设工程咨询有限公司",
|
|
name: "中山市勘设工程咨询有限公司",
|
|
@@ -66,6 +83,7 @@ const map = {
|
|
},
|
|
},
|
|
};
|
|
};
|
|
import { actCheck } from "../../common/httpList/act";
|
|
import { actCheck } from "../../common/httpList/act";
|
|
|
|
+import tkiQrcode from "tki-qrcode";
|
|
export default {
|
|
export default {
|
|
name: "SaasMiniprogramExamact",
|
|
name: "SaasMiniprogramExamact",
|
|
data() {
|
|
data() {
|
|
@@ -76,6 +94,7 @@ export default {
|
|
"http://localhost:8080/pages5/scan/examact?jump=www.hnjsxt.cn/detail/6",
|
|
"http://localhost:8080/pages5/scan/examact?jump=www.hnjsxt.cn/detail/6",
|
|
jump: undefined,
|
|
jump: undefined,
|
|
tenantInfo: {},
|
|
tenantInfo: {},
|
|
|
|
+ val: "",
|
|
};
|
|
};
|
|
},
|
|
},
|
|
onLoad(option) {
|
|
onLoad(option) {
|
|
@@ -112,10 +131,15 @@ export default {
|
|
let domain = this.jump ? this.jump.split("/")[0] : window.location.host;
|
|
let domain = this.jump ? this.jump.split("/")[0] : window.location.host;
|
|
domain = this.$method.checkDomain(domain)
|
|
domain = this.$method.checkDomain(domain)
|
|
? domain
|
|
? domain
|
|
- : "120.79.166.78:19012";
|
|
|
|
|
|
+ : "120.79.166.78:19006";
|
|
|
|
+ this.val = this.jump || domain + "/pages/questionBank/index?isAct=1";
|
|
|
|
+ console.log(this.val)
|
|
return map[domain];
|
|
return map[domain];
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
+ components: {
|
|
|
|
+ tkiQrcode,
|
|
|
|
+ },
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
|
|
|
|
@@ -150,18 +174,30 @@ export default {
|
|
font-size: 36rpx;
|
|
font-size: 36rpx;
|
|
}
|
|
}
|
|
.examact-qrcode {
|
|
.examact-qrcode {
|
|
- width: 180rpx;
|
|
|
|
- height: 180rpx;
|
|
|
|
|
|
+ width: 396rpx;
|
|
|
|
+ display: flex;
|
|
position: absolute;
|
|
position: absolute;
|
|
|
|
+ justify-content: space-between;
|
|
right: 32rpx;
|
|
right: 32rpx;
|
|
- bottom: 52rpx;
|
|
|
|
|
|
+ bottom: 122rpx;
|
|
|
|
+ img {
|
|
|
|
+ width: 180rpx;
|
|
|
|
+ height: 180rpx;
|
|
|
|
+ }
|
|
|
|
+ view {
|
|
|
|
+ background: #ffffff;
|
|
|
|
+ width: 180rpx;
|
|
|
|
+ height: 180rpx;
|
|
|
|
+ padding: 10rpx;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.examact-phone {
|
|
.examact-phone {
|
|
position: absolute;
|
|
position: absolute;
|
|
- bottom: 52rpx;
|
|
|
|
|
|
+ bottom: 46rpx;
|
|
left: 33rpx;
|
|
left: 33rpx;
|
|
color: #222222;
|
|
color: #222222;
|
|
- font-size: 28rpx;
|
|
|
|
|
|
+ font-size: 30rpx;
|
|
|
|
+ line-height: 40rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|