123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- <template name="alert">
- <view class="alert spec" :class="specClass">
- <!-- 运费弹窗说明 -->
- <view class="freight-alert" @tap="hideFreight">
- <view class="content">
- <view class="text-content">
- <view class="title">运费说明</view>
- <view class="text">
- <text>所有仪器类商品都是到付;针对非仪器类商品,若您所在的机构购买了包邮服务,则为包邮;否则,也是到付。包邮服务可以联系客服进行购买,</text>
- </view>
- <view class="tel">客服热线:<text class="txt">{{cellPhone}}</text></view>
- </view>
- <view class="btn" @tap="hideFreight">确定</view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default{
- name:'alert',
- props:['cellPhone'],
- data() {
- return{
-
- }
- },
- created() {
-
- },
- onLoad(){
-
- },
- methods:{
- hideFreight(){
- this.$parent.isfreightTip = false
- },
- },
- onShow(){
-
- }
- }
- </script>
- <style lang="scss">
- /*弹窗*/
- .model-warp.none{
- display: none;
- }
- .model-warp.show{
- display: block;
- }
- .freight-alert{
- width: 100%;
- height: 100%;
- background: rgba(0,0,0,.5);
- position: fixed;
- top: 0;
- left: 0;
- z-index: 8888;
- transition: all 0.4s;
- &.none{
- display: none;
- }
- &.show{
- display: block;
- }
- .content{
- width: 518rpx;
- height: 420rpx;
- position: absolute;
- background: $bg-color;
- left: 0;
- right: 0;
- bottom: 0;
- top: 0;
- margin: auto;
- .text-content{
- width: 448rpx;
- height: 264rpx;
- padding: 35rpx;
- float: left;
- .title{
- line-height: 40rpx;
- font-size: $font-size-base;
- color: $text-color;
- text-align: center;
- font-weight: bold;
- margin-bottom: 32rpx;
- }
- .text{
- line-height: 36rpx;
- font-size: $font-size-sb;
- color: $text-color;
- text-align: justify;
- margin-top: 22rpx;
- }
- .tel{
- line-height: 36rpx;
- font-size: $font-size-sb;
- color: $text-color;
- text-align: justify;
- margin-top: 22rpx;
- font-weight: bold;
- .txt{
- margin-left: 10rpx;
- }
- }
- }
- .btn{
- width: 100%;
- height: 88rpx;
- float: left;
- background: $btn-confirm;
- line-height: 88rpx;
- font-size: $font-size-base;
- text-align: center;
- color: #FFFFFF;
- border-radius: 0;
- padding: 0;
- margin-top: 2rpx;
- }
- }
- }
-
- </style>
|