
                window.open(imgDataUrl);
                break;
            default:
                layer.open({
                    type: 1,
                    title: false,
                    closeBtn: 0,
                    area: '516px',
                    skin: 'layui-layer-nobg', //没有背景色
                    shadeClose: true,
                    content: '<img width="516" src="'+imgSrc+'">'
                });
        }
    });
});

function setFileUpload(from, id, maxLength, width, height, typeid){
    var idDiv = '#'+id;
    $(idDiv).on('change', 'input[name="'+id+'File[]"]', function(){
        var fm = new FormData();
        var img = $(this)[0].files[0];
        var $img = $(this).parent().prev();
        var $section = $(this).parent().parent();
        var $parent = $(this).parent();
        fm.append('img', img);
        fm.append('from', from);
        fm.append('action', id);
        fm.append('typeid', typeid);
        $.ajax({
                url: '/index/file/uploadImg',
                type: 'POST',
                data: fm,
                contentType: false, //禁止设置请求类型
                processData: false, //禁止jquery对DAta数据的处理,默认会处理
                //禁止的原因是,FormData已经帮我们做了处理
                success: function (result) {
                    if (result.code == 1) {
                        var fileLength = $('input[name="' + id + 'File[]"]').length;
                        //判断文件格式：
                        var fileType = result.data.url.substring(result.data.url.lastIndexOf('.')+1).toLocaleLowerCase();
                        switch(fileType){
                            case 'doc':
                            case 'docx':
                                $img.attr('src', '/static/index/images/doc.png');
                                break;
                            case 'pdf':
                                $img.attr('src', '/static/index/images/pdf.png');
                                break;
                            default:
                                $img.attr('src', result.data.url);
                        }
                        $img.attr('data-id', result.data.id);
                        var value = $('input[name='+id+']').val();
                        if(value!=''){
                            value += ',';
                        }
                        $('input[name='+id+']').val(value+result.data.url);
                        $section.css({"width":width+"px","height":height+"px"});
                        if (fileLength < maxLength) {
                            $(idDiv).append('<section class="up-section" style="width: 110px;height: 110px;"><img class="up-img" src="/static/index/images/shangc-bg.png"><a href="javascript:void(0)"><input type="file" name="' + id + 'File[]" id="' + id + 'File' + (fileLength + 1) + '"></a></section>');
                        }
                        $parent.append('<img class="close-upimg" src="/static/admin/images/a7.png"><span class="up-span"></span>');
                    }else if(result.code == -1){
                        if(window.top==window.self){
                            window.location.href = result.data.url;
                        }else{
                            window.parent.location.href = result.data.url;
                        }
                    } else {
                        layer.msg(result.msg, {
                            icon: 2,
                            time: 2000
                        });
                    }
                }
            });
    });

    $(idDiv).on('click', '.close-upimg', function(){
        var $img = $(this);
        layer.confirm('确定删除？', {
            btn: ['确定','取消'] //按钮
        }, function(){
            var $srcImg = $img.parent().parent().find('img');
            var imgId = $srcImg.attr('data-id');
            var srcUrl = $srcImg.attr('data-url');
            $.ajax({
                url: '/index/file/delImg',
                type: 'POST',
                data: {id:imgId},
                //禁止的原因是,FormData已经帮我们做了处理
                success: function (result) {
                    if (result.code == 1) {
                        $img.parent().parent().remove();
                        var isAdd  = true;
                        var fileLength = 0;
                        $('input[name="'+id+'File[]"]').each(function(){
                            fileLength++;
                            $(this).attr('id',id+'File'+fileLength);
                            if($(this).val() == "") {
                                isAdd = false;
                            }
                        });
                        var value = $('input[name='+id+']').val();
                        var values = value == ''? new Array() : value.split(',');
                        for (i=0;i<values.length ;i++ )
                        {
                            if(values[i] == srcUrl){
                                values.splice(i, 1);
                            }
                        }
                        $('input[name='+id+']').val(values.join(','));
                        if(fileLength<maxLength && isAdd) {
                            $(idDiv).append('<section class="up-section" style="width: 110px;height: 110px;"><img class="up-img" src="/static/index/images/shangc-bg.png"><a href="javascript:void(0)"><input type="file" name="'+id+'File[]" id="'+id+'File'+ (fileLength+1)+'"></a></section>');
                        }
                        layer.msg('删除成功', {icon: 1});
                    }else if(result.code == -1){
                        if(window.top==window.self){
                            window.location.href = result.data.url;
                        }else{
                            window.parent.location.href = result.data.url;
                        }
                    } else {
                        layer.msg(result.msg, {
                            icon: 2,
                            time: 2000
                        });
                    }
                }
            });
        }, function(){

        });
    });
}Hands down great massage!
Great experience. Will be back. Thank you!
I have gotten a lot of massages before, but this was by far the best one I have ever received. Jennifer was very professional and focused on everything that I asked for. She relaxed me in places I didn’t even realize were holding stress. She had a beautiful store and great vibe to it. Loved it overall.
Very pleasant therapist and gave a thorough and relaxing massage!
I absolutely LOVED my massage with Jennifer! She did such a wonderful job working with me and figuring out areas that needed some extra TLC. She made me feel very comfortable and her space was beautiful. She is very passionate about what she does and educatates you about your pains. She is sending me stretches and a treatment plan of future focal areas. I am excited to continue massages with her!
Jennifer was great to talk too and made sure I was comfortable every step of the way.
My mother and I had an enjoyable time. The hot stone treatment was grand. And Jennifer is so affable. I am looking forward to adding Jennifer to my self-care methods.
Softly glowing candles, relaxing music, and fragrant essential oils create an atmosphere of peace and tranquility at Massage Reform's cozy studio. Its guests are treated to a variety of massages and bodywork treatments that calm the mind and cause irritating muscle aches to slowly melt away. Jennifer, the studio's owner and chief therapist, completed her professional training at the Southeastern School of Neuromuscular Massage, and later went on to hone her craft at a number of high-end spas and massage studios. Her expertise covers many diverse modalities and techniques, including deep-tissue, Swedish, and prenatal massage.
For.
This Psalm speaks to what we were talking about yesterday. David’s sarcasm is clear about Doeg the Edomite… why do you boast in evil you mighty hero? Life is difficult for David, an entire village of priests, their wives, their children and all their livestock killed because David misled a priest to help him. I know that we have difficult patches in our lives. I know we go through challenges and that our challenges are difficulties that we need to face. I am not sure that any of