Merge branch 'develop' into feature/CSR-92
This commit is contained in:
commit
48e83cbe2d
4 changed files with 18 additions and 4 deletions
|
|
@ -67,9 +67,9 @@ export function getDeviceIdValue(){
|
||||||
return cookieValuesSplit[1];
|
return cookieValuesSplit[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
const cookieValueMatch = cookieValue.match("(?<=did=).*?(?=&)");
|
const cookieValueMatch = cookieValue.match("^did=[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}");
|
||||||
if(cookieValueMatch){
|
if(cookieValueMatch){
|
||||||
return cookieValueMatch[0];
|
return cookieValueMatch[0].split('=')[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
return '';
|
return '';
|
||||||
|
|
|
||||||
|
|
@ -200,6 +200,13 @@ function navigateToUrl(url, optionalQuery = {}) {
|
||||||
externalUrl.searchParams.append(queryKey, optionalQuery[queryKey]);
|
externalUrl.searchParams.append(queryKey, optionalQuery[queryKey]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////
|
||||||
|
// TEMP CODE FOR TESTING WITH SPECIFIC EXPERIMENTS //
|
||||||
|
/////////////////////////////////////////////////////
|
||||||
|
if (externalUrl.search.indexOf("corid=") != -1)
|
||||||
|
externalUrl.search = externalUrl.search + '&experiments=CollectEmailOnQuote=CollectEmailOnQuote_V1=YesCollectEmail_TEST1=true,RemoveServiceAreaPage=ServAreaRemoval_V7=ServAreaNoRemove_V7_TEST=true,VINeducationV2=VINeducation_V2=NoShowVINmodalV2_CONTROL=true,ServicePackages=ServicePackages_V1=NoShowPackages_CONTROL=true,PhotoUploadRedesign=PhotoUploadRedesign_V1=CurrentPhotoUpload_CONTROL=true,ScheduleDetailsServiceType=ScheduleBeforeServiceType_V1=ServTypeThenSched_CONTROL=true';
|
||||||
|
///////////// END TEMP CODE /////////////////////////
|
||||||
|
|
||||||
window.location.assign(externalUrl);
|
window.location.assign(externalUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,9 @@
|
||||||
input[type=radio]:focus + label {
|
input[type=radio]:focus + label {
|
||||||
box-shadow: 0 0 0 2.5px $red;
|
box-shadow: 0 0 0 2.5px $red;
|
||||||
}
|
}
|
||||||
|
input[type=checkbox]:checked + label {
|
||||||
|
box-shadow: 0 0 0 1px $red !important;
|
||||||
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
box-shadow: 0px 0px 0px 4px $red-200;
|
box-shadow: 0px 0px 0px 4px $red-200;
|
||||||
border-radius: 10px !important;
|
border-radius: 10px !important;
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,10 @@
|
||||||
<span v-if="copy.includes('routerLink:')" class="m-0 text-body small">
|
<span v-if="copy.includes('routerLink:')" class="m-0 text-body small">
|
||||||
<router-link :to="{query: {fmgPage: `${copy.split(':')[1].split(',')[0]}`}, name: 'root'}">{{ copy.split(':')[1].split(',')[1] }}</router-link>
|
<router-link :to="{query: {fmgPage: `${copy.split(':')[1].split(',')[0]}`}, name: 'root'}">{{ copy.split(':')[1].split(',')[1] }}</router-link>
|
||||||
</span>
|
</span>
|
||||||
<span v-else class="m-0 text-body small">{{ copy }}</span>
|
<span v-else class="m-0 text-body small" v-html="copy"></span>
|
||||||
</template>
|
</template>
|
||||||
</p>
|
</p>
|
||||||
<p v-else class="m-0 text-body small">{{ alertCopy }}</p>
|
<p v-else class="m-0 text-body small" v-html="alertCopy"></p>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="btn-close p-2"
|
class="btn-close p-2"
|
||||||
|
|
@ -128,5 +128,9 @@ export default {
|
||||||
height: 1rem;
|
height: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
& p {
|
||||||
|
font-size: 14px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue